Summary: | azureus-bin-2.2.0.2.ebuild could employ use flags to avoid revdep-rebuild errors | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Philip Kovacs <pkdevel> |
Component: | New packages | Assignee: | Petteri Räty (RETIRED) <betelgeuse> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | betelgeuse, flash3001, geekypenguin, net-p2p, rbachl |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 113389 | ||
Bug Blocks: |
Description
Philip Kovacs
2005-01-17 14:11:06 UTC
duplicate of bug #64446 ? yes, but my bug report more accurately describes the problem and possible solution. *** Bug 64446 has been marked as a duplicate of this bug. *** *** Bug 92315 has been marked as a duplicate of this bug. *** How about something like this (i'm looking at azureus-bin-2.3.0.2.ebuild now): src_unpack() { ... # remove libraries for which no support is indicated and which will # produce revdep-rebuild errors if present on systems without these # desktop environments installed if ! use kde; then rm ${MY_PN}/azureus/libswt-kde-gtk-3106.so fi if ! use gnome; then rm ${MY_PN}/azureus/libswt-gnome-gtk-3106.so fi ... } there's also the azureus/libswt-mozilla-gtk-3106.so lib which i think requires a Mozilla browser to be installed. i'll leave it to other to suggest a USE flag check for that one. sejo is back now and i think he is the best person to decide about it. reassigning I think this is the way to go and am willing to do the change if net-p2p gives me the permission. This was my original bug report and, since so much time has passed, some alternatives have arisen that you may wish to consider first. In the latest (still masked 0.2.1_pre8) gentoolkit, they modified revdep-rebuild to include several new portage (/etc/make.conf) variables, one of which is: SEARCH_DIRS_MASK="< a list of directory paths for revdep-rebuild to ignore >" This was due to complaints, in general, about how revdep-rebuild presents errors on many different binary packages, e.g. open office, sun jdk and, yes, azureus-bin. I am now using the SEARCH_DIRS_MASK method to have revdep-rebuild ignore my binary stuff. It works well and you may consider simply printing some einfo's at the end of the az-bin installation advising the user to add, e.g. /use/lib/azureus to the SEARCH_DIR_MASK path in /etc/make.conf. Something to think consider. Phil gentoolkit-0.2.1_pre9 supports the ability to have a file placed into /etc/revdep-rebuild to adjust revdep-rebuilds environment. For example, adding the file /etc/revdep-rebuild/10azureus-bin which contains the line SEARCH_DIRS_MASK="/usr/lib/azureus" will cause revdep-rebuild to ignore that directory when looking for broken dynamic linking. The intent for this directory is for package maintainers to have a place to adjust the behavior of revdep-rebuild. This will be solved with the from sources version (dev-java/azureus) because it does not install any native code. *** Bug 140413 has been marked as a duplicate of this bug. *** (In reply to comment #10) > This will be solved with the from sources version (dev-java/azureus) because it > does not install any native code. azureus-bin removed from the tree so the revdep-rebuild errors are gone from the azureus part. |