<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>107887</bug_id>
          
          <creation_ts>2005-10-02 06:02 0000</creation_ts>
          <short_desc>gnome-menus-2.12.0 misusing the global python use flag</short_desc>
          <delta_ts>2005-10-28 06:02:19 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>GNOME</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>blubb@gentoo.org</reporter>
          <assigned_to>gnome@gentoo.org</assigned_to>
          <cc>tjkirch+gentoobugzilla@gmail.com</cc>

      

      
          <long_desc isprivate="0">
            <who>blubb@gentoo.org</who>
            <bug_when>2005-10-02 06:02:17 0000</bug_when>
            <thetext>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&apos;t get the menu editor, because it&apos;s
written in python

i suggest you either hard-code the python-dependency or introduce a new, local,
more evident use flag, e.g. &apos;menu-editor&apos;</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>allanonjl@gentoo.org</who>
            <bug_when>2005-10-07 05:22:49 0000</bug_when>
            <thetext>it doesn&apos;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
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>blubb@gentoo.org</who>
            <bug_when>2005-10-07 06:52:04 0000</bug_when>
            <thetext>right, didn&apos;t check that. in that case the use flag should completely get
removed, IMHO, but that&apos;s just my opinion. :)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>allanonjl@gentoo.org</who>
            <bug_when>2005-10-27 13:53:15 0000</bug_when>
            <thetext>removed python useflag, in CVS.

Thanks!</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>tjkirch+gentoobugzilla@gmail.com</who>
            <bug_when>2005-10-28 05:52:09 0000</bug_when>
            <thetext>I don&apos;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&apos;t imply gnome itself,
and I don&apos;t want pygtk and all its deps.  Standard Gentoo theory - don&apos;t force it.

How about simply changing the &quot;python&quot; USE flag from the pre-r1 ebuild to
&quot;editor&quot; and letting configure do the rest?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>tjkirch+gentoobugzilla@gmail.com</who>
            <bug_when>2005-10-28 05:53:24 0000</bug_when>
            <thetext>I don&apos;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&apos;t imply gnome itself,
and I don&apos;t want pygtk and all its deps.  Standard Gentoo theory - don&apos;t force it.

How about simply changing the &quot;python&quot; USE flag from the pre-r1 ebuild to
&quot;editor&quot; and letting configure do the rest?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>now@bitwi.se</who>
            <bug_when>2005-10-28 06:02:19 0000</bug_when>
            <thetext>(In reply to comment #5)
&gt; I don&apos;t think this is a very good solution until we have a USE flag for the
&gt; editor.  gnome-menus is a dep of other packages that don&apos;t imply gnome itself,
&gt; and I don&apos;t want pygtk and all its deps.  Standard Gentoo theory - don&apos;t force it.
&gt; 
&gt; How about simply changing the &quot;python&quot; USE flag from the pre-r1 ebuild to
&gt; &quot;editor&quot; and letting configure do the rest?

I totally agree with this.  I don&apos;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&apos;t even use the
panel, but that&apos;s another story).  I still don&apos;t understand quite why we&apos;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-*.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>