Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 102207 - xmms icon and entry does not appear in gnome menu due to character set mismatch and icon path error
Summary: xmms icon and entry does not appear in gnome menu due to character set mismat...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Luis Medinas (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-12 02:09 UTC by Lance Lucas
Modified: 2005-11-05 19:19 UTC (History)
2 users (show)

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


Attachments
changes to xmms.desktop which fix bug on my system (xmms.desktop.patch,612 bytes, patch)
2005-08-12 02:11 UTC, Lance Lucas
Details | Diff
cleanups to make desktop-file-validate happier (xmms.desktop.patch,1.43 KB, patch)
2005-09-30 03:31 UTC, Lance Lucas
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Lance Lucas 2005-08-12 02:09:48 UTC
Within Gnome 2.10, the entry & icon for XMMS does not appear under Applications
-> Sound & Video as it should.  Switching 'Encoding=Legacy-Mixed' to
'Encoding=UTF-8' within /usr/share/applications/xmms.desktop caused the entry to
appear, sans icon.   Changing 'Icon=mini/xmms_mini.xpm' to its full path of
'Icon=/usr/share/pixmaps/mini/xmms_mini.xpm' caused the icon to appear, as well.
 I don't know what this would do on a non UTF-8 machine.  Possibly the bug
doesn't exist on them anyways.


Reproducible: Always
Steps to Reproduce:
1.  emerge xmms
2.  start gnome
3.  frantically search for nonexistant icon

Actual Results:  
search failed, no xmms icon :(

Expected Results:  
added/created a functonal xmms.desktop file

Portage 2.0.51.22-r2 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r1,
2.6.12-morph7 i686)
=================================================================
System uname: 2.6.12-morph7 i686 Mobile Intel(R) Celeron(R) CPU 2.20GHz
Gentoo Base System version 1.6.13
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.11
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distcc distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X a52 aac aalib acpi aim alsa arts avi berkdb bitmap-fonts
browserplugin bzip2 cd cdr crypt css cups curl dbus divx4linux dv dvd dvdread
eds emboss encode esd fam fame firefox flac foomaticdb fortran gdbm gif
gimpprint gnome gpm gstreamer gtk gtk2 gtkhtml hal imagemagick imlib ipv6 java
javascript jikes jpeg ldap libcaca libg++ libwww mad mikmod mjpeg mmx mng motif
mozilla mp3 mpeg ncurses nls nptl nsplugin offensive ogg oggvorbis opengl oss
pam pcmcia pdflib perl pic png posix python quicktime readline sdl spell sse
sse2 ssl svga tcltk tcpd theora tiff truetype truetype-fonts type1-fonts unicode
usb vorbis win32codecs xine xml2 xmms xv xvid xvmc zlib userland_GNU
kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS

'emerge -pv xmms':
[ebuild   R   ] media-sound/xmms-1.2.10-r15  -3dnow +alsa +arts -directfb +esd
+flac -jack -lirc +mad +mikmod +mmx +mp3 +nls +oss -sndfile +vorbis 0 kB
Comment 1 Lance Lucas 2005-08-12 02:11:23 UTC
Created attachment 65739 [details, diff]
changes to xmms.desktop which fix bug on my system

dunno what behavior this will cause on a non-UTF8 system, dunno if this
will/would work for anyone else besides me :)
Comment 2 Akos Ladanyi 2005-08-24 09:17:59 UTC
Note that desktop-file-validate reports other errors too.
Comment 3 Lance Lucas 2005-09-30 03:31:53 UTC
Created attachment 69546 [details, diff]
cleanups to make desktop-file-validate happier

makes icon appear in gnome menus, cleans up errors reported by
desktop-file-validate.	these remain on my system:

llucas@clemens ~ $ desktop-file-validate
/usr/share/applications/xmms.desktop.ne w
/usr/share/applications/xmms.desktop.new: error: value for key "Comment[ca]"
con tains invalid UTF-8 characters, even though the encoding is UTF-8
/usr/share/applications/xmms.desktop.new: error: value for key "Comment[cs]"
con tains invalid UTF-8 characters, even though the encoding is UTF-8
/usr/share/applications/xmms.desktop.new: error: value for key "Comment[th]"
con tains invalid UTF-8 characters, even though the encoding is UTF-8
/usr/share/applications/xmms.desktop.new: error: value for key "Comment[zh_TW]"
contains invalid UTF-8 characters, even though the encoding is UTF-8
Comment 4 Luis Medinas (RETIRED) gentoo-dev 2005-11-05 19:19:28 UTC
fixed in cvs.
Comment 5 Luis Medinas (RETIRED) gentoo-dev 2005-11-05 19:19:41 UTC
fixed in cvs.