Summary: | rss-glx-0.8.0-r2 forces kscreensaver and kdeartwork emerge when not wanted | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Peter Hyman <pete4abw> |
Component: | New packages | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
Status: | RESOLVED INVALID | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Peter Hyman
2006-01-10 01:19:14 UTC
Well I hacked around with this, but think this is not the correct solution. I think the proper approach is to only check to see if kscreensaver is installed AND xscreensaver is in use. Sorry, I don't know the efunctions well, but in pseudocode, something like this. DEPEND only check for xscreensaver RDEPEND nothing pkg_setup if !use xscreensaver AND kscreensaver IS installed abort gracefully src_install do xscreensaver-related install by default if kscreensaver IS installed do kde related install I think using the KDE use variable is a mistake. Something like this: if use kde; then find . -name '*.desktop' -exec \ sed -i \ -e 's:Exec=kxsrun \(.*\):Exec=kxsrun \1:g' \ -e 's:Exec=kxsconfig \(.*\):Exec=kxsconfig \1:g' \ '{}' \ \; \ || die "couldnt sed desktop files" myconf="${myconf} -with-kdessconfigdir=/usr/share/applnk/System /ScreenSavers" will fail incorrectly. HTH USE="-kde" emerge rss-glx does NOT depend on kdeartwork-kscreensaver or kdeartwork, I don't see what's your problem here. when installing any kde apps, kde is set automatically. the user should not have to fight use variables. RU saying that I should set -kde in make.conf? Even when I have kde applications installed? If so, this should be documented somewhere. In any event, the logic is still wrong on this app. Consider reopening and sending to the maintainer. (In reply to comment #3) > when installing any kde apps, kde is set automatically. the user should not > have to fight use variables. Not an ebuild bug at all; use.defaults feature has been discussed extensively on gentoo-dev mailing list and it has been decided that it should be removed in future. forwarding directly to maintainer. (In reply to comment #3) > when installing any kde apps, kde is set automatically. the user should not > have to fight use variables. RU saying that I should set -kde in make.conf? > Even when I have kde applications installed? Disable KDE just for rss-glx, snippet from `man portage`: package.use Per-package USE flags. Useful for tracking local USE flags or for enabling USE flags for certain packages only. Perhaps you develop GTK and thus you want documentation for it, but you don't want documentation for QT. Easy as pie my friend! Format: - comments begin with # - one DEPEND atom per line with space-delimited USE flags Example: # turn on docs for GTK 2.x =x11-libs/gtk+-2* doc # disable mysql support for QT x11-libs/qt -mysql |