<?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>184432</bug_id>
          
          <creation_ts>2007-07-06 17:16 0000</creation_ts>
          <short_desc>nvidia-drivers-100.14.* fix to install the menu item and icon for nvidia-settings</short_desc>
          <delta_ts>2007-07-12 14:13:02 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>Ebuilds</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>minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>robert.golding@gmail.com</reporter>
          <assigned_to>x11-drivers@gentoo.org</assigned_to>
          <cc>brebs@sent.com</cc>
    
    <cc>ed@catmur.co.uk</cc>

      

      
          <long_desc isprivate="0">
            <who>robert.golding@gmail.com</who>
            <bug_when>2007-07-06 17:16:49 0000</bug_when>
            <thetext>When I first emerged the 100 series of nvidia-drivers (which include the nvidia-settings) the emerge didn&apos;t install the icon or desktop/menu files.

I patched the ebuild;
//
## usr/portage/x11-drivers/nvidia-drivers/nvidia-drivers-100.14.11.ebuild patch

@@ -286,6 +286,6 @@

	# Install icon and .desktop entry
-	doicon &quot;${FILESDIR}/nvidia-settings.png&quot; || die &quot;doicon&quot;
-	domenu &quot;${FILESDIR}/nvidia-settings.desktop&quot; || die &quot;domenu&quot;
+	doicon &quot;${FILESDIR}/icon/nvidia-settings.png&quot; || die &quot;doicon&quot;
+	domenu &quot;${FILESDIR}/icon/nvidia-settings.desktop&quot; || die &quot;domenu&quot;

	doman doc/nvidia-settings.1 || die
// 
and copied the &apos;files/icon&apos; dir from media-video/nvidia-settings to x11-drivers/nvidia-drivers.


Reproducible: Always

Steps to Reproduce:
1. patch nvidia-drivers-100.* as per above
2. cp -pR /usr/portage/media-video/nvidia-settings/files/icon /usr/portage/x11-drivers/nvidia-drivers/files/
3. ebuild /usr/portage/x11-drivers/nvidia-drivers/nvidia-drivers-100.14.11.ebuild digest
4. emerge nvidia-drivers

Actual Results:  
Now have the menu item for &apos;NVIDIA X Server Settings&apos; with icon

Expected Results:  
nvidia-settings to be added to menu with icon

I hand edited the ebuild for the patch as I am not comfortable with making diff/patch files.

This has worked with both 100.14.09 and 100.14.11.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>brebs@sent.com</who>
            <bug_when>2007-07-06 18:15:24 0000</bug_when>
            <thetext>The Gentoo devs forgot to populate /usr/portage/x11-drivers/nvidia-drivers/files/ with nvidia-settings.{png,desktop}

doicon and domenu in /usr/portage/eclass/eutils.eclass are far too fault-tolerant, meaning that the &quot;|| die&quot; sanity protections in the ebuild are useless.

The BASH code should *not* be skipping over these errors.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>cardoe@gentoo.org</who>
            <bug_when>2007-07-06 18:28:16 0000</bug_when>
            <thetext>yeah trapni committed these ebuilds without all the necessary files.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>robert.golding@gmail.com</who>
            <bug_when>2007-07-07 03:37:19 0000</bug_when>
            <thetext>(In reply to comment #2)
&gt; yeah trapni committed these ebuilds without all the necessary files.
&gt; 

I just retried the fix by only copying the two files (nvidia-settings.{png,desktop} to x11-drivers/nvidia-drivers/files and didn&apos;t patch the ebuild, just did a digest. Worked well.

Can the dev please populate the files dir as noted above?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>cardoe@gentoo.org</who>
            <bug_when>2007-07-07 15:09:27 0000</bug_when>
            <thetext>it&apos;s a masked ebuild that&apos;s under development. minor issue in the grand scheme of things. it will be fixed shortly.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>brebs@sent.com</who>
            <bug_when>2007-07-07 15:17:13 0000</bug_when>
            <thetext>&gt; it&apos;s a masked ebuild that&apos;s under development. minor issue in the grand scheme
&gt; of things. it will be fixed shortly.

Stop being so damned mysterious. State what you&apos;re up to, and you might actually get some *help*.

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>cardoe@gentoo.org</who>
            <bug_when>2007-07-07 16:46:38 0000</bug_when>
            <thetext>I apologize. We were debating some security issues as well as a new approach to the nvidia-drivers. Also I&apos;ve been completely slammed outside of Gentoo (moving, buying furniture,etc)

I wanted to just commit everything at once completely done but you&apos;re right. I need to work with everyone a bit. I&apos;m committing a snapshot ebuild that fixes a couple of bugs. I know this ebuild works since I&apos;ve tested it and I&apos;m using it. More changes will come but I haven&apos;t tested those too well.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>burzmali@comcast.net</who>
            <bug_when>2007-07-12 06:21:25 0000</bug_when>
            <thetext>Can we have building nvidia-settings be optional?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ed@catmur.co.uk</who>
            <bug_when>2007-07-12 12:05:29 0000</bug_when>
            <thetext>(In reply to comment #7)
&gt; Can we have building nvidia-settings be optional?
Bug 182622.  Please saerch before spamming unrelated bugs.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>cardoe@gentoo.org</who>
            <bug_when>2007-07-12 14:13:02 0000</bug_when>
            <thetext>This was fixed.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>