Hello again!
ecatmur: Hope, you will be back!
Until then, FYI, I have made some patches to the script treating problems, that occured lately:
* The thing with the
urw-fonts, already reported earlier in this thread:
Code: Select all
-$(has_version media-fonts/urw-fonts && fontdir urw-fonts)
+$(has_version "<=media-fonts/urw-fonts-2.0-r1" && fontdir default/Type1)
+$(has_version ">=media-fonts/urw-fonts-2.1" && fontdir urw-fonts)
* I switched from
gdm to
entrance. -- New false positives:
Code: Select all
+has_version x11-misc/entrance \
+ && PRUNE="${PRUNE}
+ $(echo /var/lib/{:*.Xauth,entrance_ipc_`cat /var/run/entranced.pid`\|*})
+ /var/run/entranced.pid"
*
alsa-lib creates the following symlink:
Code: Select all
+$(has_version media-libs/alsa-lib && echo "/usr/include/sound")
* The new version of
mozilla-firefox has some new false positives, I added to
XPIApp():
Code: Select all
- echo "$path"/{chrome/{chrome.rdf,overlayinfo},components/{compreg.dat,xpti.dat},chrome,install.log,searchplugins}
+ echo "$path"/{chrome/{chrome.rdf,overlayinfo},components/{compreg.dat,xpti.dat},components.ini,chrome,extensions,install.log,searchplugins}
* The
/usr/lib/eclipse directory is only used for the unslotted versions. I added a 0, so it should get reported once there are only slotted versions left:
Code: Select all
-has_version dev-util/eclipse-sdk \
+has_version dev-util/eclipse-sdk 0 \
&& PRUNE="${PRUNE}
$(echo /usr/lib/eclipse/{Uninstaller,features,plugins})"
* To solve the issues with the man-pages of
samba,
svgalib and possibly other packages, which install them into
/usr/man, I replace all occurrences of
/usr/man/ in the prune list with
/usr/share/man/ (The trailing slash is important to let the symlink itself in the prune list):
Code: Select all
| sed 's/.*\.py$/\0\n\0c\n\0o/' \
+| sed 's/^\/usr\/man\//\/usr\/share\/man\//' \
* With the same kind of hack, the problem with the GL thingies installing into
/usr/include/GL, which really is
/usr/X11R6/include/GL, can be solved:
Code: Select all
+| sed 's/^\/usr\/include\/GL\//\/usr\/X11R6\/include\/GL\//' \
Hence, these can go:
Code: Select all
-$(has_version media-libs/gle && echo "/usr/X11R6/include/GL/gle.h")
-$(has_version media-libs/glut && echo /usr/X11R6/include/GL/glut{,f90}.h)
-$(has_version media-video/ati-drivers && echo "/usr/X11R6/include/GL/glxATI.h")
* And I also use this hack for my
/opt symlink pointing to
/usr/opt (Attention: You probably wouldn't want to add this, if
/opt is on the root or its own partition):
Code: Select all
+| sed 's/^\/opt\//\/usr\/opt\//' \
| sort -u \
>/tmp/cruft-portagefiles
* Prepared with this I gave
cruft a try on
/opt:
It works very well! Except for
tomcat with a lot of false positives (
WEB-INF things and others), which I unmerged, since I didn't use it, anyway. But you probably would want to add it sometime, ...
Personally, I think
/opt should be considered portage administrated and treated by
cruft, and other things should go to
/usr/local, but you disagreed earlier in this thread, ...
If you're interested the latest version of my modified
cruft can be found
here (Again: For "normal" systems the line regarding
/usr/opt should be removed.) and a patch against the last "official" version is
here.
Regards,
sean