Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 184432
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: X11 External Driver Maintainers <x11-drivers@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Robert Golding <robert.golding@gmail.com>
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 184432 depends on: Show dependency tree
Bug 184432 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: 2007-07-06 17:16 0000
When I first emerged the 100 series of nvidia-drivers (which include the
nvidia-settings) the emerge didn'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 "${FILESDIR}/nvidia-settings.png" || die "doicon"
-       domenu "${FILESDIR}/nvidia-settings.desktop" || die "domenu"
+       doicon "${FILESDIR}/icon/nvidia-settings.png" || die "doicon"
+       domenu "${FILESDIR}/icon/nvidia-settings.desktop" || die "domenu"

        doman doc/nvidia-settings.1 || die
// 
and copied the 'files/icon' 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 'NVIDIA X Server Settings' 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.

------- Comment #1 From Paul Bredbury 2007-07-06 18:15:24 0000 -------
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 "|| die" sanity protections in the ebuild are
useless.

The BASH code should *not* be skipping over these errors.

------- Comment #2 From Doug Goldstein 2007-07-06 18:28:16 0000 -------
yeah trapni committed these ebuilds without all the necessary files.

------- Comment #3 From Robert Golding 2007-07-07 03:37:19 0000 -------
(In reply to comment #2)
> yeah trapni committed these ebuilds without all the necessary files.
> 

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

Can the dev please populate the files dir as noted above?

------- Comment #4 From Doug Goldstein 2007-07-07 15:09:27 0000 -------
it's a masked ebuild that's under development. minor issue in the grand scheme
of things. it will be fixed shortly.

------- Comment #5 From Paul Bredbury 2007-07-07 15:17:13 0000 -------
> it's a masked ebuild that's under development. minor issue in the grand scheme
> of things. it will be fixed shortly.

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

------- Comment #6 From Doug Goldstein 2007-07-07 16:46:38 0000 -------
I apologize. We were debating some security issues as well as a new approach to
the nvidia-drivers. Also I've been completely slammed outside of Gentoo
(moving, buying furniture,etc)

I wanted to just commit everything at once completely done but you're right. I
need to work with everyone a bit. I'm committing a snapshot ebuild that fixes a
couple of bugs. I know this ebuild works since I've tested it and I'm using it.
More changes will come but I haven't tested those too well.

------- Comment #7 From burzmali 2007-07-12 06:21:25 0000 -------
Can we have building nvidia-settings be optional?

------- Comment #8 From Ed Catmur 2007-07-12 12:05:29 0000 -------
(In reply to comment #7)
> Can we have building nvidia-settings be optional?
Bug 182622.  Please saerch before spamming unrelated bugs.

------- Comment #9 From Doug Goldstein 2007-07-12 14:13:02 0000 -------
This was fixed.

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