gnome-menus-2.12.0 mis-uses the global python use flag: $ grep python /usr/portage/profiles/use.desc python - Adds support/bindings for the Python language but without the python use flag, i don't get the menu editor, because it's written in python i suggest you either hard-code the python-dependency or introduce a new, local, more evident use flag, e.g. 'menu-editor'
it doesn't really misuse it, in the configure.in it does say: [AC_HELP_STRING([--enable-python], [build python bindings [default=auto]])], which *enable* bindings, but I guess the menu-editor also relies on this: if HAVE_PYTHON PYTHON_SUBDIRS = python simple-editor endif
right, didn't check that. in that case the use flag should completely get removed, IMHO, but that's just my opinion. :)
removed python useflag, in CVS. Thanks!
I don't think this is a very good solution until we have a USE flag for the editor. gnome-menus is a dep of other packages that don't imply gnome itself, and I don't want pygtk and all its deps. Standard Gentoo theory - don't force it. How about simply changing the "python" USE flag from the pre-r1 ebuild to "editor" and letting configure do the rest?
(In reply to comment #5) > I don't think this is a very good solution until we have a USE flag for the > editor. gnome-menus is a dep of other packages that don't imply gnome itself, > and I don't want pygtk and all its deps. Standard Gentoo theory - don't force it. > > How about simply changing the "python" USE flag from the pre-r1 ebuild to > "editor" and letting configure do the rest? I totally agree with this. I don't want to pull in [ebuild N ] dev-python/pyopengl-2.0.0.44 0 kB [ebuild N ] x11-libs/gtkglarea-1.99.0 +debug 0 kB [ebuild N ] dev-python/pygtk-2.6.1 -doc +gnome +opengl 0 kB just because I must have gnome-menus installed to get gnome-base installed (I actually only want the libraries for a few programs, as I don't even use the panel, but that's another story). I still don't understand quite why we're misusing the python flag here, but you know better than me. Perhaps upstream should separate the editor from gnome-menus and create a gnome-menu-editor package instead. I guess we could do that as well, kind of like how we do with gst-plugins-*.