Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 107887
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Linux Gnome Desktop Team <gnome@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Simon Stelling (RETIRED) <blubb@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 107887 depends on: Show dependency tree
Bug 107887 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-10-02 06:02 0000
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 From John N. Laliberte (RETIRED) 2005-10-07 05:22:49 0000 -------
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 From Simon Stelling (RETIRED) 2005-10-07 06:52:04 0000 -------
right, didn't check that. in that case the use flag should completely get
removed, IMHO, but that's just my opinion. :)

------- Comment #3 From John N. Laliberte (RETIRED) 2005-10-27 13:53:15 0000 -------
removed python useflag, in CVS.

Thanks!

------- Comment #4 From Thomas Kirchner 2005-10-28 05:52:09 0000 -------
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 From Thomas Kirchner 2005-10-28 05:53:24 0000 -------
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 From Nikolai Weibull 2005-10-28 06:02:19 0000 -------
(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-*.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug