Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 273089 - kde-base/kdelibs-3.5.10-r6 breaks some icons under gnome because of XDG_DATA_DIRS variable
Summary: kde-base/kdelibs-3.5.10-r6 breaks some icons under gnome because of XDG_DATA_...
Status: RESOLVED DUPLICATE of bug 267018
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-07 18:39 UTC by Pacho Ramos
Modified: 2009-06-09 07:22 UTC (History)
1 user (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 Pacho Ramos gentoo-dev 2009-06-07 18:39:35 UTC
After upgrading to kde-base/kdelibs-3.5.10-r6 (recently stabilized) some icons are missing under gnome:
- Evolution -> icon for Inbox is lost
- Epiphany -> icons for subscribing to news feed and icon showing security level are lost

After unmerging this kdelibs version, icons are restored:

My emerge --info:
Portage 2.1.6.13 (default/linux/amd64/2008.0/desktop, gcc-4.3.2, glibc-2.8_p20080602-r1, 2.6.29-gentoo-r3 x86_64)
=================================================================
System uname: Linux-2.6.29-gentoo-r3-x86_64-AMD_Athlon-tm-_64_Processor_3200+-with-glibc2.2.5
Timestamp of tree: Sun, 07 Jun 2009 17:30:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 2.1.7
dev-lang/python:     2.5.4-r2
dev-python/pycrypto: 2.0.1-r8
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.2-r1
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/distfiles"
FEATURES="autoaddcvs ccache cvs distlocks fixpackages multilib-strict parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.free.fr/mirrors/ftp.gentoo.org"
LANG="es_ES.UTF-8"
LC_ALL="es_ES.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="es es_ES en_US"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/sunrise /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acl acpi alsa amd64 applet avahi bash-completion beagle berkdb branding bzip2 cairo cddb cdinstall cdr cleartype cli consolekit cracklib crypt css cups daap dbus djvu dri dts dvd dvdr dvdread dvi eds emboss empathy encode evo exif fam fat ffmpeg firefox flac fortran fuse gdbm gif git glitz gnome gnome-keyring gpm gstreamer gtk hal iconv imagemagick isdnlog java jpeg kdeenablefinal kdehiddenvisibility kpathsea latex libnotify lyx lzma mad midi mikmod mmx mmxext mono mp3 mpeg mudflap multilib musicbrainz nautilus ncurses network network-cron nls nptl nptlonly ntfs nvidia ogg opengl openmp pam pango pch pcre pdf perl png policykit ppds pppd python qt3support qt4 quicktime readline reflection reiserfs scanner sdl session spell spl sse sse2 ssl ssse3 startup-notification subversion svg sysfs t1lib tcpd threads tiff truetype unicode usb v4l2 vcd vorbis webkit xattr xcb xinetd xml xmp xorg xpm xulrunner xv xvid zeroconf zlib" ALSA_CARDS="via82xx" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="es es_ES en_US" USERLAND="GNU" VIDEO_CARDS="nvidia nv vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


Reproducible: Always
Comment 1 Pacho Ramos gentoo-dev 2009-06-07 18:50:20 UTC
This is because XDG_DATA_DIRS variable, when it's set to:
/usr/local/share:/usr/kde/3.5/share:/usr/share:/usr/share/gdm

it breaks because /usr/share should be before /usr/kde/3.5/share (like in 3.5.9)
Comment 2 emerald 2009-06-07 21:04:52 UTC
/usr/share should probably not be before /usr/kde/3.5/share since if you got 
kde 4 installed beside kde 3.5 all kde 4 thingies will be unsed instead of the 
kde 3.5 stuff, so it will go awry very soon
Comment 3 Pacho Ramos gentoo-dev 2009-06-08 07:09:01 UTC
(In reply to comment #2)
> /usr/share should probably not be before /usr/kde/3.5/share since if you got 
> kde 4 installed beside kde 3.5 all kde 4 thingies will be unsed instead of the 
> kde 3.5 stuff, so it will go awry very soon
> 

At least it will go awry very soon instead of go awry just now :-/

What about re-exporting "proper" (for kde-3.5) XDG_DATA_DIRS variable in KDE-3.5 session file? Yes, I know it's "ugly", but it would allow to make it work until kde-3.5 is finally dropped with kde-3, kde-4 and gnome (even still allowing to see KDE-3 apps desktop entries under gnome)
Comment 4 Pacho Ramos gentoo-dev 2009-06-08 12:43:33 UTC
This problem seems to be caused by:
/usr/kde/3.5/share/icons/hicolor/index.theme
Comment 5 Pacho Ramos gentoo-dev 2009-06-08 13:03:57 UTC
(In reply to comment #4)
> This problem seems to be caused by:
> /usr/kde/3.5/share/icons/hicolor/index.theme
> 

I have just seen that opensuse's kdelibs-3.5.10 is requiring hicolor-icon-theme to be installed and they drop kdelibs's index.theme file
Comment 6 Pacho Ramos gentoo-dev 2009-06-08 13:13:47 UTC
(In reply to comment #4)
> This problem seems to be caused by:
> /usr/kde/3.5/share/icons/hicolor/index.theme
> 

I think that simply removing it is ok, it was the decission taken by fedora in the past:
https://bugzilla.redhat.com/show_bug.cgi?id=178319
http://cvs.fedoraproject.org/viewvc/rpms/kdelibs/F-7/kdelibs.spec?r1=1.126&r2=1.127

I have tried to simply remove it and seems to work ok (I still have menu entries for kile, kpdf and other kde apps, at least under gnome).
Comment 7 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-06-08 21:06:24 UTC
so is that bug really different from bug #267018 ?
Comment 8 Pacho Ramos gentoo-dev 2009-06-09 07:22:09 UTC
I think that it's the same problem, thanks for the link

*** This bug has been marked as a duplicate of bug 267018 ***