Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 143827 - xfce 4.4 automagic librsvg dependency
Summary: xfce 4.4 automagic librsvg dependency
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Steve Dibb (RETIRED)
URL:
Whiteboard:
Keywords:
: 163607 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-08-13 16:52 UTC by Nick Bowler
Modified: 2007-01-29 08:02 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nick Bowler 2006-08-13 16:52:54 UTC
Various programs in XFCE 4.4 are autodetcting the presence of the "gnome-base/librsvg" package and enabling/disabling SVG depending on this presence.  This came as a bit of a surprise when i reinstalled and noticed none of my SVG icons were working anymore.  The packages with SVG functionality should have a USEflag for this (consists of at least xfce4-panel and xfdesktop, probably more).

Portage 2.1.1_pre5 (default-linux/amd64/2006.0, gcc-3.4.6/amd64-vanilla, glibc-2.4-r3, 2.6.17-mm6 x86_64)
=================================================================
System uname: 2.6.17-mm6 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.12.4
Last Sync: Sat, 12 Aug 2006 19:30:01 +0000
app-admin/eselect-compiler: 2.0.0_rc2-r1
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.17
sys-devel/gcc-config: [Not Present]
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.16
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=k8 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=k8 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="ftp://mirror.datapipe.net/gentoo"
LANG="en_CA.UTF-8"
LINGUAS=""
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X a52 aac aalib acpi alsa audiofile avi bash-completion berkdb bitmap-fonts bzip2 cdr cgi cjk cli crypt cups curl dmx dri dts dvd dvdr dvdread elibc_glibc emboss encode exo expat fastcgi fbcon ffmpeg fifo flac fontconfig foomaticdb fortran gd gdbm gif glitz glut gmp gpm gstreamer gtk gtk2 gtkhtml guile howl icecast iconv idn imagemagick imlib input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 isdnlog java jpeg jpeg2k junit kernel_linux lcms libcaca lua lzw lzw-tiff mad matroska mikmod mng mouse mozilla mp3 mpeg musepack mysql ncurses nls nptl nptlonly nvidia ogg openal opengl pam pcre pdflib perl php png posix pppd pulseaudio python quicktime readline reflection ruby samba sdl session sockets speex spell spl ssl startup-notification svg sysfs tcpd tetex theora thunar-vfs tiff truetype truetype-fonts type1-fonts unicode usb userland_GNU userlocales video_cards_nvidia video_cards_tdfx video_cards_vesa vorbis x264 xine xinerama xml xml2 xorg xpm xscreensaver xv xvid xvmc zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Josh Nichols (RETIRED) gentoo-dev 2006-12-27 19:13:17 UTC
I talked to an upstream dev, and it seems that librsvg is a 'soft' dependency. It will be used at runtime if it is available, but there isn't any xfce code that directly use svg stuff.

So the question is, where to actually depend on librsvg.
Comment 2 Josh Nichols (RETIRED) gentoo-dev 2007-01-06 19:12:27 UTC
Probably the meta package would be the best place for this, ie xfce-base/xfce4.
Comment 3 Steve Dibb (RETIRED) gentoo-dev 2007-01-18 14:57:21 UTC
(In reply to comment #2)
> Probably the meta package would be the best place for this, ie xfce-base/xfce4.
> 

I ran into this bug again this week, and I was thinking the same thing, the virtual is the best place to put it.

Added use flag, committed in CVS.
Comment 4 Steve Dibb (RETIRED) gentoo-dev 2007-01-24 14:49:27 UTC
*** Bug 163607 has been marked as a duplicate of this bug. ***
Comment 5 Steve Dibb (RETIRED) gentoo-dev 2007-01-26 01:00:29 UTC
actually xfce virtual is a terrible place to put it, because it wont get pulled in before everything else.  So fix the dep order, or place it somewhere else.
Comment 6 Samuli Suominen (RETIRED) gentoo-dev 2007-01-26 04:30:09 UTC
(In reply to comment #5)
> actually xfce virtual is a terrible place to put it, because it wont get pulled
> in before everything else.  So fix the dep order, or place it somewhere else.
> 

+1 from me too, it should be RDEPEND without USE flag on xfdesktop (because it shows icons on desktop menu), on xfce4-icon-theme (because it contains most of the .svg icons), on thunar (because it uses svg icons from icon themes) and maybe also  xfce4-panel (because it is capable of adding launchers w/ svg icons in them)

did I forget something?
Comment 7 Josh Nichols (RETIRED) gentoo-dev 2007-01-26 14:27:38 UTC
xfdesktop also can display svg icons.

The problem, of course, is that it is a magical dependency. Which is to say, even if you have USE=-svg, but have librsvg installed from something else, you get svg support
Comment 8 Samuli Suominen (RETIRED) gentoo-dev 2007-01-29 08:02:22 UTC
xfdesktop, xfce4-panel and thunar now rdeps on librsvg..