Summary: | net-misc/nxclient-3.0.0 broken icons | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Henning Schild <henning> |
Component: | Current packages | Assignee: | Gentoo NX Server project <nx> |
Status: | RESOLVED FIXED | ||
Severity: | trivial | CC: | m.debruijne |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Henning Schild
2007-06-24 11:31:01 UTC
--- /usr/portage/net-misc/nxclient/nxclient-3.0.0.ebuild 2007-06-21 22:15:48.000000000 +0200 +++ /usr/local/portage/net-misc/nxclient/nxclient-3.0.0.ebuild 2007-06-24 13:18:25.000000000 +0200 @@ -51,10 +51,17 @@ dodir /usr/NX/share cp -R share ${D}/usr/NX - - # Add icons/desktop entries (missing in the tarball) - doicon share/icons/*.png - make_desktop_entry "nxclient" "NX Client" nx-desktop.png - make_desktop_entry "nxclient -admin" "NX Session Administrator" nxclient-admin.png - make_desktop_entry "nxclient -wizard" "NX Connection Wizard" nxclient-wizard.png + for x in 48 32 22 16 ; do + dir=/usr/share/icons/hicolor/${x}x${x}/apps/ + dodir $dir + for y in admin desktop icon wizard ; do + name=nxclient-${y}.png + dosym /usr/NX/share/icons/${x}x${x}/${name} ${dir}/${name} + unset name + done + unset dir + done + make_desktop_entry "nxclient" "NX Client" nxclient-icon + make_desktop_entry "nxclient -admin" "NX Session Administrator" nxclient-admin + make_desktop_entry "nxclient -wizard" "NX Connection Wizard" nxclient-wizard } Thanks, the missing icons were already fixed in portage, but this solution is better! Fixed in CVS I think you should change the version to -r1. That way anyone who installed the broken version will get the fix with the next update. If you dont the bug will only be fixed for people who remerge because they know about the problem. The icons were fixed days before I switched to this new method. Also, I'd prefer to keep the -rX releases for upstream bumps (all 3.0 releases will be called 3.0.0, only the internal release number changes), not only for icons |