Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 232805 - app-emulation/virt-manager: add gnome USE flag?
Summary: app-emulation/virt-manager: add gnome USE flag?
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Donnie Berkholz (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-24 00:05 UTC by Julian Golderer
Modified: 2008-11-25 05:07 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Julian Golderer 2008-07-24 00:05:40 UTC
virt-manager has a lot of gnome/gtk dependencies. maybe there should be a gnome use-flag for things like dev-python/gnome-python-desktop and gnome-base/gnome-keyring. are they really needed?

Reproducible: Always
Comment 1 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2008-07-24 02:41:38 UTC
Don't think it is possible to avoid the gtk deps based on the website:
"The application logic is written in Python, while the UI is constructed with Glade and GTK+."

Not sure though.
Comment 2 Donnie Berkholz (RETIRED) gentoo-dev 2008-07-25 19:45:18 UTC
virt-manager has built-in support for gnome-keyring.. Have you tested not installing the two packages you mention and see whether it works and what kind of problems come up?
Comment 3 Julian Golderer 2008-07-25 22:02:47 UTC
i've tested that in my sandbox-overlay and it installes without problems. though i'm not really sure if there are no other problems, because i've problems to get virt-manager with libvirtd running through ssh (but it seems to be the same problem with fedora-client..i think there's something wrong in my config-file on the server with libvirtd).
Comment 4 Denys Duchier 2008-10-27 19:46:05 UTC
hmm... has someone looked into this?  Below is the list of packages that merge wants to pull in just to install virt-manager, and it is clearly ridiculous:

froody ~ # emerge virt-manager -atv

These are the packages that would be merged, in reverse order:

Calculating dependencies... done!
[ebuild  N    ] app-emulation/virt-manager-0.5.4  1,808 kB
[ebuild  N    ]  app-emulation/virtinst-0.300.3-r1  169 kB
[ebuild  N    ]   dev-python/urlgrabber-3.1.0  77 kB
[ebuild  N    ]   app-emulation/libvirt-0.4.4-r1  USE="avahi kvm parted sasl -iscsi -lvm -openvz -qemu (-selinux) -server -xen" 4,829 kB
[ebuild  N    ]    net-analyzer/netcat-110-r8  USE="crypt ipv6 -static" 108 kB
[ebuild  N    ]     dev-libs/libmix-2.05  USE="-no-net2" 78 kB
[ebuild  N    ]    app-emulation/kvm-77  USE="alsa esd gnutls modules ncurses sdl -havekernel -pulseaudio -test -vde" 7,171 kB
[ebuild  N    ]  sys-apps/usermode-1.96  USE="-debug (-selinux)" 375 kB
[ebuild  N    ]   sys-libs/libuser-0.56.8  USE="ldap sasl -quotas (-selinux)" 838 kB
[ebuild  N    ]    app-text/linuxdoc-tools-0.9.21_p11  USE="latex" 579 kB
[ebuild  N    ]  dev-python/gnome-python-desktop-2.24.0  0 kB
[ebuild  N    ]   dev-python/metacity-python-2.24.0  USE="-debug" 607 kB
[ebuild  N    ]    x11-wm/metacity-2.24.0  USE="-debug -xinerama" 2,110 kB
[ebuild  N    ]   dev-python/bug-buddy-python-2.24.0  USE="-debug" 0 kB
[ebuild  N    ]    gnome-extra/bug-buddy-2.22.0  USE="eds -debug" 1,052 kB
[ebuild  N    ]     dev-libs/elfutils-0.131-r2  1,380 kB
[ebuild  N    ]   dev-python/totem-python-2.24.0  USE="-debug" 0 kB
[ebuild  N    ]    media-video/totem-2.24.2  USE="nsplugin python -bluetooth -debug -galago -gnome -lirc -nautilus -nvtv -tracker" 2,484 kB
[ebuild  N    ]     dev-libs/totem-pl-parser-2.24.1  USE="doc hal" 610 kB
[ebuild  N    ]     dev-python/gdata-1.0.8  USE="examples" 78 kB
[ebuild  N    ]     media-plugins/gst-plugins-gio-0.10.20  0 kB
[ebuild  N    ]     media-plugins/gst-plugins-pango-0.10.20  0 kB
[ebuild  N    ]   dev-python/nautilus-cd-burner-python-2.24.0  USE="examples -debug" 0 kB
[ebuild  N    ]    gnome-extra/nautilus-cd-burner-2.24.0  USE="cdr dvdr -debug" 709 kB
[ebuild  N    ]     gnome-base/nautilus-2.22.5.1-r1  USE="X -beagle -debug -gnome -tracker" 4,900 kB
[ebuild  N    ]      gnome-base/gvfs-1.0.2  USE="avahi doc gphoto2 hal samba -archive -bash-completion -bluetooth -cdda -debug -fuse -gnome -gnome-keyring" 897 kB
[ebuild  N    ]   dev-python/gnome-media-python-2.24.0  USE="examples -debug" 0 kB
[ebuild  N    ]    gnome-extra/gnome-media-2.24.0.1  USE="esd ipv6 -debug -gnomecd" 2,290 kB
[ebuild  N    ]     media-plugins/gst-plugins-meta-0.10-r2  USE="X a52 alsa dvb dvd esd flac mad mpeg ogg oss theora vorbis xv -ffmpeg -mythtv" 0 kB
[ebuild  N    ]      media-plugins/gst-plugins-mpeg2dec-0.10.8  0 kB
[ebuild  N    ]      media-plugins/gst-plugins-dvdread-0.10.8  0 kB
[ebuild  N    ]      media-plugins/gst-plugins-fluendo-mpegdemux-0.10.15  281 kB
[ebuild  N    ]      media-libs/gst-plugins-ugly-0.10.8  USE="-debug" 0 kB
[ebuild  N    ]      media-libs/gst-plugins-bad-0.10.7  USE="-debug" 1,903 kB
[ebuild  N    ]      media-plugins/gst-plugins-a52dec-0.10.8  0 kB
[ebuild  N    ]      media-plugins/gst-plugins-theora-0.10.20  0 kB
[ebuild  N    ]      media-plugins/gst-plugins-dvb-0.10.7  0 kB
[ebuild  N    ]   dev-python/gnome-applets-python-2.24.0  USE="examples -debug" 0 kB
[ebuild  N    ]   dev-python/gnome-desktop-python-2.24.0  USE="-debug" 0 kB
[ebuild  N    ]   dev-python/librsvg-python-2.24.0  USE="examples -debug" 0 kB
[ebuild  N    ]   dev-python/evolution-python-2.24.0  USE="-debug" 0 kB
[ebuild  N    ]   dev-python/libgtop-python-2.24.0  USE="-debug" 0 kB
[ebuild  N    ]   dev-python/libwnck-python-2.24.0  USE="examples -debug" 0 kB
[ebuild  N    ]   dev-python/gtksourceview-python-2.24.0  USE="doc examples -debug" 0 kB
[ebuild  N    ]   dev-python/gnome-keyring-python-2.24.0  USE="examples -debug" 0 kB
[ebuild  N    ]  dev-python/rhpl-0.213  236 kB
[ebuild  N    ]  net-libs/gtk-vnc-0.3.7  USE="examples opengl python" 422 kB
[nomerge      ] sys-apps/usermode-1.96  USE="-debug (-selinux)"
[ebuild  N    ]  sys-libs/system-config-base-1-r1  0 kB
[nomerge      ] gnome-extra/nautilus-cd-burner-2.24.0  USE="cdr dvdr -debug"
[ebuild  N    ]  gnome-base/eel-2.22.2  USE="X -debug" 584 kB
[nomerge      ] media-video/totem-2.24.2  USE="nsplugin python -bluetooth -debug -galago -gnome -lirc -nautilus -nvtv -tracker"
[ebuild  N    ]  media-plugins/gst-plugins-gconf-0.10.8-r1  0 kB
[nomerge      ] dev-python/gtksourceview-python-2.24.0  USE="doc examples -debug"
[ebuild  N    ]  dev-python/libgnomeprint-python-2.24.0  USE="doc examples -debug" 0 kB
[ebuild  N    ]   dev-python/gnome-python-desktop-base-2.24.0  USE="-debug" 0 kB

Total: 52 packages (52 new), Size of downloads: 36,563 kB

Would you like to merge these packages? [Yes/No]  
Comment 5 Ludovic Gasc (GMLudo) 2008-11-21 18:45:08 UTC
I'm agree with this. I'm a KDE user, I need to install 86 packages and download more than 129 MB to use this software.

Somebody could explain to me how to install virt-manager without gnome dependencies ?

Thanks.
Comment 6 Micheal Marineau (RETIRED) gentoo-dev 2008-11-24 06:44:41 UTC
Committed virt-manager-0.6.0 to the tree which has its dependency list cleaned up a bit and gnome-keyring support is optional. Being a gnome-based app it still includes a handful of gnome libs but at least now it is limited to a couple core ones.
Comment 7 Ludovic Gasc (GMLudo) 2008-11-24 15:37:22 UTC
I'm sorry, but it isn't true.
Yes I have less dependencies, but I have always gnome-base/gnome-keyring even if I don't have gnome-keyring flag, because virt-manager needs dev-python/libgnome-python, needs dev-python/gnome-vfs-python, needs dev-python/gnome-vfs, needs gnome-base/gnome-mount, needs gnome-base/gnome-keyring.

It's maybe impossible to remove gnome-keyring dependency, then your flag name is bad.
Comment 8 Micheal Marineau (RETIRED) gentoo-dev 2008-11-24 15:44:26 UTC
(In reply to comment #7)
> I'm sorry, but it isn't true.
> Yes I have less dependencies, but I have always gnome-base/gnome-keyring even
> if I don't have gnome-keyring flag, because virt-manager needs
> dev-python/libgnome-python, needs dev-python/gnome-vfs-python, needs
> dev-python/gnome-vfs, needs gnome-base/gnome-mount, needs
> gnome-base/gnome-keyring.
> 
> It's maybe impossible to remove gnome-keyring dependency, then your flag name
> is bad.
> 

Doh, I didn't catch that. I know it would be pretty trivial for virt-manager to not require anything from gnome-vfs-python (it only uses one function from there to linkify the url in the about page) but I'm not sure how strict the libgnome-python requirement is on gnome-vfs-python. I'll look into this soonish, thanks for pointing it out.
Comment 9 Ludovic Gasc (GMLudo) 2008-11-24 16:35:26 UTC
No problems for me, thank you very much for your work.

I use Paludis (not emerge), maybe Paludis is more strict to apply the dependencies.
Comment 10 Ludovic Gasc (GMLudo) 2008-11-24 21:52:01 UTC
I had a new problem: virt-manager compiles with all gnome/gtk dependencies with -gnome-keyring flag, but when I launch, I have an error message about "gconf" is missed.

I've installed dev-python/gconf-python and now it runs.
Comment 11 Micheal Marineau (RETIRED) gentoo-dev 2008-11-25 05:07:59 UTC
(In reply to comment #10)
> I had a new problem: virt-manager compiles with all gnome/gtk dependencies with
> -gnome-keyring flag, but when I launch, I have an error message about "gconf"
> is missed.
> 
> I've installed dev-python/gconf-python and now it runs.
> 

Oops, I meant to have that in the list but it got left out by mistake. Fixed now.