Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 129225 - kchmviewer-2.5/2.6 installs icons to /crystalsvg/ instead of /usr/share/icons
Summary: kchmviewer-2.5/2.6 installs icons to /crystalsvg/ instead of /usr/share/icons
Status: RESOLVED FIXED
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: 2006-04-08 05:09 UTC by Mindphaser
Modified: 2007-03-16 09:22 UTC (History)
4 users (show)

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


Attachments
patch for configure script for kchmviewer-2.5 - 2.6 (kchmviewer-2.5-configure.patch,564 bytes, patch)
2006-11-04 23:13 UTC, CDigger
Details | Diff
kchmviewer-2.7.ebuild.diff (kchmviewer-2.7.ebuild.diff,428 bytes, patch)
2006-12-07 03:59 UTC, Peter Volkov (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mindphaser 2006-04-08 05:09:40 UTC
emergeing kchmviewer results in this:

gentoo matze # equery files kchmviewer
[ Searching for packages matching kchmviewer... ]
* Contents of app-doc/kchmviewer-2.5:
/crystalsvg
/crystalsvg/128x128
/crystalsvg/128x128/apps
/crystalsvg/128x128/apps/kchmviewer.png
/crystalsvg/48x48
/crystalsvg/48x48/apps
/crystalsvg/48x48/apps/kchmviewer.png
/crystalsvg/64x64
/crystalsvg/64x64/apps
/crystalsvg/64x64/apps/kchmviewer.png
/usr
/usr/bin
/usr/bin/kchmviewer
/usr/share
/usr/share/doc
/usr/share/doc/kchmviewer-2.5
/usr/share/doc/kchmviewer-2.5/ChangeLog.gz


I think the icons belong in /usr/share/icons.
I am not good enough to write an ebuild where the icons will be installed in the directory where they belong, sry

Also sorry for my bad english, but I think the problem should be clear.

greets
Matthias T.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-04-08 05:17:53 UTC
Don't restrict bugs without any reason.
Comment 2 Mindphaser 2006-04-08 05:29:42 UTC
(In reply to comment #1)
> Don't restrict bugs without any reason.
> 

sorry... this is the first bug I created here, and I was unable to undo the restriction... I promise this wont happen again ;)
Comment 3 Carsten Lohrke (RETIRED) gentoo-dev 2006-08-15 10:55:29 UTC
Did not experience this with 2.5. I've just committed 2.6, so it'll take a bit to the mirrors. Please drop a line, if you have the problem with this version, too.
Comment 4 Mindphaser 2006-08-27 19:58:53 UTC
After v2.6 builds/installs here on my system too, the icons are still in /crystalsvg.

Here is my emerge --info, if it helps :

Portage 2.1-r2 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.4-r3, 2.6.17-suspend2-r4 i686)
=================================================================
System uname: 2.6.17-suspend2-r4 i686 AMD Athlon(tm) XP 2600+
Gentoo Base System version 1.12.4
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
app-admin/eselect-compiler: [Not Present]
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.17
sys-devel/autoconf:  2.13, 2.59-r7
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.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -pipe -ftracer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-O2 -march=athlon-xp -pipe -ftracer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="de_DE"
LC_ALL="de_DE.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes"
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 /usr/local/portage-xgl"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 3dnow X alsa apache2 avi bitmap-fonts cairo cli dbus dlloader dvd dvdr emboss encode exif firefox flac fortran gif gnome gtk gtk2 hal imlib isdnlog jpeg libg++ libwww mad mikmod mmx motif mp3 mpeg ncurses nfs nls nptl ogg opengl oss pam pcre pdflib perl png pppd qt3 readline reflection sdl session spell spl sse ssl startup-notification svg tcpd truetype truetype-fonts type1-fonts udev unicode vorbis xml xorg xv zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_de userland_GNU video_cards_none video_cards_nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK


thanx
Comment 5 Georgi Georgiev 2006-10-24 10:36:23 UTC
Same here with 2.6

I'd like to point out that I have USE=-kde (and I do not have kdelibs either), and the same goes for comment #4 it seems, and I have no idea if this is related in any way at all.
Comment 6 CDigger 2006-11-04 23:11:10 UTC
This behavior is occurs when you set USE=-kde flag. When I put 'app-doc/kchmviewer kde' line to /etc/portage/package.use file on my GNOME system icons placed correctly. But then app-doc/kchmviewer required kde-base/kdelibs as dependency. I have kde-base/kdelibs already installed on my system and it is not problem for me, but i think it isn't solution -it is workaround.

Problem in that after run ./configure --without-kde variable 'kde_icondir' in Makefile remains empty, and when files are copied - they are copied into / dir. I try to resolve this issue with small patch for ./configure file.

I think it is upstream problem, not gentoo-specific, and I'll send it information there too.
Comment 7 CDigger 2006-11-04 23:13:17 UTC
Created attachment 101255 [details, diff]
patch for configure script for kchmviewer-2.5 - 2.6
Comment 8 CDigger 2006-11-04 23:22:31 UTC
I have tried this patch on version 2.6 and there it works too.
Comment 9 Ihar Hrachyshka 2006-11-08 11:58:48 UTC
I think we should see this patch in the portage-tree as quickly as it can be. It's just not-FSH-compliant bug:(
Comment 10 Peter Volkov (RETIRED) gentoo-dev 2006-12-07 03:59:14 UTC
Created attachment 103537 [details, diff]
kchmviewer-2.7.ebuild.diff

kde team: The new version of kchmveiwer is out and this bug is partially fixed there. Now build system install icons into /usr/share. I've reported this problem upstream also, but this couldn't be fixed cleanly until next release.

Currently I think new version is better, so it's necessary to bump the version ASAP. Patch of changes in ebuild submited. kchmviewer-2.6-build-Qt.diff is not required because macros i18n() was changed on QKeySequence() and thus bug #144315 is fixed upstream.
Comment 11 Peter Volkov (RETIRED) gentoo-dev 2006-12-09 01:20:40 UTC
Added 2.7 into the tree. It does not fixes the bug, but highly improves situation... Everyone straggling from this bug are suggested to try the new version. :)

kde team: I hope there are not objections if I took this package?
Comment 12 Peter Volkov (RETIRED) gentoo-dev 2007-03-16 09:22:25 UTC
At last should be fixed in kchmviewer-3.0. Enjoy. :)