Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 469596 - x11-apps/ccsm-0.8.4-r3: incorrect default prefix path
Summary: x11-apps/ccsm-0.8.4-r3: incorrect default prefix path
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Desktop-Effects herd
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-12 16:32 UTC by Alexander E. Patrakov
Modified: 2013-05-13 16:51 UTC (History)
0 users

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


Attachments
set prefix (prefix_patch,410 bytes, patch)
2013-05-12 22:35 UTC, CBke -Left- bye
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander E. Patrakov 2013-05-12 16:32:16 UTC
x11-apps/ccsm-0.8.4-r3 does not display any icons in its main window. Downgrading to x11-apps/ccsm-0.8.4-r2 fixes that.

Reproducible: Always

Steps to Reproduce:
1. Run ccsm
2. Look at the main window

Actual Results:  
All icons are broken

Expected Results:  
All icons are shown correctly

Here is the relevant part of the diff between the resulting binary packages:

diff -urN r2/usr/lib64/python2.7/site-packages/ccm/Constants.py r3/usr/lib64/python2.7/site-packages/ccm/Constants.py
--- r2/usr/lib64/python2.7/site-packages/ccm/Constants.py	2013-05-12 22:22:10.000000000 +0600
+++ r3/usr/lib64/python2.7/site-packages/ccm/Constants.py	2013-05-12 22:24:15.000000000 +0600
@@ -72,7 +72,7 @@
 
 # Paths
 #
-DataDir = "/usr/share"
+DataDir = "/usr/local/share"
 IconDir = DataDir+"/ccsm/icons"
 PixmapDir = DataDir+"/ccsm/images"
 
So ccsm looks icons up in /usr/local, no wonder that it doesn't find them.

# emerge --info
Portage 2.1.11.63 (default/linux/amd64/13.0/desktop, gcc-4.7.2, glibc-2.17, 3.9.2-gentoo x86_64)
=================================================================
System uname: Linux-3.9.2-gentoo-x86_64-Intel-R-_Core-TM-2_CPU_6420_@_2.13GHz-with-gentoo-2.2
KiB Mem:     8024748 total,   5858932 free
KiB Swap:    6291440 total,   6291440 free
Timestamp of tree: Sun, 12 May 2013 06:15:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
app-shells/bash:          4.2_p45
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.4, 3.2.4
dev-util/cmake:           2.8.10.2-r2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.12.6
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.7.2-r1
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.9 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo x86lib32 local
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs buildpkg config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirror.yandex.ru/gentoo-distfiles"
LANG="ru_RU.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/usr/portage/packages/build"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/x86lib32 /usr/local/portage"
SYNC="rsync://mirror.yandex.ru/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 amr avahi bash-completion berkdb bluetooth bluray bzip2 cairo cdda cddb cdr cjk cli consolekit cracklib crypt cups cxx dbus djvu dri dts dvd dvdr emboss encode exif ffmpeg firefox flac fontconfig fortran gdbm gif gphoto2 gtk gtk3 iconv icu idn introspection ipv6 jack jbig jpeg jpeg2k lcms ldap libnotify lzma mad matroska mmx mmxext mng modules mp3 mp4 mpeg mudflap multilib musepack ncurses nls nptl ogg opengl openmp openrc pam pango pcre pdf png policykit postscript ppds pulseaudio qt3support readline samba scanner sdl session spell sse sse2 sse3 ssl ssse3 startup-notification svg tcpd theora tiff truetype udev udisks unicode upnp upower usb v4l v4l2 vaapi vim-syntax vorbis vp8 wavpack webkit webm webp wxwidgets x264 xattr xcb xface xinerama xml xv xvid zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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="authn_core authz_core socache_shmcb unixd 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 cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" DRACUT_MODULES="lvm mdraid crypt" DVB_CARDS="tda10046lifeview" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev synaptics mutouch" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2 pypy1_9 pypy2_0" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="intel nouveau radeon" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
USE_PYTHON="2.7 3.2 2.7-pypy-1.9 2.7-pypy-2.0"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 CBke -Left- bye 2013-05-12 21:44:30 UTC
confirmed, the whole ebuild is crap, selecting a key for a shortcut also stopped working...
Comment 2 CBke -Left- bye 2013-05-12 22:35:47 UTC
Created attachment 348114 [details, diff]
set prefix

set the install prefix to /usr instead of the default /usr/local
Comment 3 Sergey Popov gentoo-dev 2013-05-13 16:51:31 UTC
(In reply to comment #1)
> confirmed, the whole ebuild is crap, selecting a key for a shortcut also
> stopped working...

It was my mistake, yes, but you do not need to be rude...

(In reply to comment #2)
> Created attachment 348114 [details, diff] [details, diff]
> set prefix
> 
> set the install prefix to /usr instead of the default /usr/local

+*ccsm-0.8.4-r4 (13 May 2013)
+
+  13 May 2013; Sergey Popov <pinkbyte@gentoo.org> -ccsm-0.8.4-r3.ebuild,
+  +ccsm-0.8.4-r4.ebuild:
+  Revision bump: fix default prefix path, wrt bug #469596, thanks to Alexander
+  E. Patrakov <patrakov AT gmail.com> for discovering this and CBke <cb AT
+  linux.be> for suggested fix. Remove broken revision