New user registration is currently disabled due to spam abuse / Регистрация новых пользователей в настоящее время приостановлена из-за злоупотреблений спаммерами

[compiling] prefix ignored for pixmaps, icons, *.desktop

Report bugs here

[compiling] prefix ignored for pixmaps, icons, *.desktop

Postby gorilych » Sat Jul 11, 2009 11:28 pm

BUG 1: prefix ignored for pixmaps, icons, *.desktop
BUG 2: make install tries to `strip` png and desktop files. (bug does not do any harm, can be ignored)

To reproduce:

Download and unpack http://prdownload.berlios.de/goldendict ... 11.tar.bz2 . Try to compile and install:

- $ qmake-qt4 PREFIX=/usr/local
- $ make
- $ checkinstall
or
- $ make install

from checkinstall (make install) output:

==============
install -m 755 -p "goldendict" "/usr/local/bin/goldendict"
strip "/usr/local/bin/goldendict"
install -m 755 -p /home/akartashov/downloads/goldendict-0.9.0/redist/icons/goldendict.png /usr/share/pixmaps/
strip /usr/share/pixmaps/goldendict.png
strip:/usr/share/pixmaps/goldendict.png: File format not recognized
make: [install_icons] Ошибка 1 (игнорирована)
install -m 755 -p /home/akartashov/downloads/goldendict-0.9.0/redist/icons/goldendict.png /usr/share/app-install/icons/
strip /usr/share/app-install/icons/goldendict.png
strip:/usr/share/app-install/icons/goldendict.png: File format not recognized
make: [install_icons2] Ошибка 1 (игнорирована)
install -m 755 -p /home/akartashov/downloads/goldendict-0.9.0/redist/goldendict.desktop /usr/share/applications/
strip /usr/share/applications/goldendict.desktop
strip:/usr/share/applications/goldendict.desktop: File format not recognized
make: [install_desktops] Ошибка 1 (игнорирована)
install -m 755 -p /home/akartashov/downloads/goldendict-0.9.0/redist/goldendict.desktop /usr/share/app-install/desktop/
strip /usr/share/app-install/desktop/goldendict.desktop
strip:/usr/share/app-install/desktop/goldendict.desktop: File format not recognized
make: [install_desktops2] Ошибка 1 (игнорирована)
==============

Note installation paths in this output, some of them uses not '/usr/local', but just '/usr'.

Expected:

PREFIX path is used for all files installed, strip is not used against *.png, *.desktop, f.e.:

==============
install -m 755 -p "goldendict" "/usr/local/bin/goldendict"
strip "/usr/local/bin/goldendict"
install -m 755 -p /home/akartashov/downloads/goldendict-0.9.0/redist/icons/goldendict.png /usr/local/share/pixmaps/
install -m 755 -p /home/akartashov/downloads/goldendict-0.9.0/redist/icons/goldendict.png /usr/local/share/app-install/icons/
install -m 755 -p /home/akartashov/downloads/goldendict-0.9.0/redist/goldendict.desktop /usr/local/share/applications/
install -m 755 -p /home/akartashov/downloads/goldendict-0.9.0/redist/goldendict.desktop /usr/local/share/app-install/desktop/
==============

Unfortunately I am not programmer, cannot suggest solution or smart workaround.
gorilych
 
Posts: 3
Joined: Sat Jul 11, 2009 11:11 pm

Return to Bugs

Who is online

Users browsing this forum: No registered users and 7 guests