Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 107887 - gnome-menus-2.12.0 misusing the global python use flag
Summary: gnome-menus-2.12.0 misusing the global python use flag
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-02 06:02 UTC by Simon Stelling (RETIRED)
Modified: 2005-10-28 06:02 UTC (History)
1 user (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 Simon Stelling (RETIRED) gentoo-dev 2005-10-02 06:02:17 UTC
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'
Comment 1 John N. Laliberte (RETIRED) gentoo-dev 2005-10-07 05:22:49 UTC
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
Comment 2 Simon Stelling (RETIRED) gentoo-dev 2005-10-07 06:52:04 UTC
right, didn't check that. in that case the use flag should completely get
removed, IMHO, but that's just my opinion. :)
Comment 3 John N. Laliberte (RETIRED) gentoo-dev 2005-10-27 13:53:15 UTC
removed python useflag, in CVS.

Thanks!
Comment 4 Tom Kirchner 2005-10-28 05:52:09 UTC
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?
Comment 5 Tom Kirchner 2005-10-28 05:53:24 UTC
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?
Comment 6 Nikolai Weibull 2005-10-28 06:02:19 UTC
(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-*.