grantsinchak / takeoff-launcher

Automatically exported from code.google.com/p/takeoff-launcher
0 stars 0 forks source link

version 1.0 has wrong assumption on install path #39

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago

I wanted to install your program in "/home/local/KDE4" by using the following 
config options.

cmake -DCMAKE_INSTALL_PREFIX=/home/local/KDE4  -DCMAKE_BUILD_TYPE=MINSIZEREL . 
..

Your program on the other hand ignored where i prefer it to be installed and 
instead installed itself at "/usr/lib/" with the following install ouput:

Install the project...
-- Install configuration: "MINSIZEREL"
-- Installing: /usr/lib/kde4/plasma_applet_takeoff.so
-- Set runtime path of "/usr/lib/kde4/plasma_applet_takeoff.so" to 
"/home/local/KDE4/lib"
-- Up-to-date: /usr/share/kde4/services/plasma-applet-takeoff.desktop
-- Installing: /usr/share/locale/gl/LC_MESSAGES/plasma_applet_takeoff.mo
-- Installing: /usr/share/locale/el/LC_MESSAGES/plasma_applet_takeoff.mo
-- Installing: /usr/share/locale/pl/LC_MESSAGES/plasma_applet_takeoff.mo
-- Installing: /usr/share/locale/it/LC_MESSAGES/plasma_applet_takeoff.mo
-- Installing: /usr/share/locale/es/LC_MESSAGES/plasma_applet_takeoff.mo
-- Installing: /usr/share/locale/tr/LC_MESSAGES/plasma_applet_takeoff.mo
-- Installing: /usr/share/locale/ru/LC_MESSAGES/plasma_applet_takeoff.mo
-- Installing: /usr/share/locale/ca/LC_MESSAGES/plasma_applet_takeoff.mo
-- Installing: /usr/share/locale/de/LC_MESSAGES/plasma_applet_takeoff.mo

It will be nice if your program respected "-DCMAKE_INSTALL_PREFIX" option since 
not everybody install everything in standard prefix.

Original issue reported on code.google.com by mhogomch...@gmail.com on 18 Nov 2012 at 8:39

GoogleCodeExporter commented 8 years ago
You can try to edit the cmakelist.txt file to change the installation path.
I have build thus the file to facilitate the installation to the  "normal" 
users.

Original comment by jose.exposito89@gmail.com on 19 Nov 2012 at 10:43

GoogleCodeExporter commented 8 years ago
Traditionally,distro managed packages are installed in "/usr".

Personal packages build from source are installed in "/usr/local".

If you were doing it the "expected and normal way",you would have auto 
installed it in "/usr/local".

It things were done the "normal" way,"--prefix" config option would be 
respected,it is "normal and expected way".

If I had already installed your program with my distro package and wanted to 
build my own to check the latest version,then your program would have 
overwritten my distro provided package, and that wouldnt have been cool.

I am surprised you chose to not fix it when your package break expectations.

Original comment by mhogomch...@gmail.com on 19 Nov 2012 at 1:58

GoogleCodeExporter commented 8 years ago

Original comment by jose.exposito89@gmail.com on 19 Nov 2012 at 2:09