Th3Ya0vi / vdrift-ogre

Automatically exported from code.google.com/p/vdrift-ogre
0 stars 0 forks source link

The game is installed into /usr/local/share/games which contradicts FHS 2.2. #46

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
The game is installed in /usr/local/share/games which contradicts FHS 2.2. 

Nothing should be installed in /usr/local. This prevents stuntrally to pass the 
OpenSUSE Build Srvice post-build checks.

Please move the game files into /usr/stuntrally

Original issue reported on code.google.com by neptu...@mail.ru on 6 Apr 2011 at 7:51

GoogleCodeExporter commented 8 years ago
Err sorry please move the game files into /usr/share/stuntrally

Original comment by neptu...@mail.ru on 6 Apr 2011 at 7:55

GoogleCodeExporter commented 8 years ago
CMake uses /usr/local as standard prefix.

To override this, use cmake -DCMAKE_PREFIX=/usr

Original comment by scrawl...@gmail.com on 6 Apr 2011 at 8:00

GoogleCodeExporter commented 8 years ago

Original comment by scrawl...@gmail.com on 6 Apr 2011 at 8:05

GoogleCodeExporter commented 8 years ago
Sorry, wrong line:

cmake -DCMAKE_INSTALL_PREFIX=/usr ..

Original comment by scrawl...@gmail.com on 6 Apr 2011 at 8:05

GoogleCodeExporter commented 8 years ago
/usr/local is pretty universal default prefix for stuff installed from sources. 
Packages should change that to /usr as is done in e.g. debian/ubuntu packages 
(in the way scrawl123 described).

As for the games part in the path, if that is wrong on OpenSUSE, an OpenSUSE 
specific patch should be included in the package.

Original comment by tapiovie...@gmail.com on 6 Apr 2011 at 8:21

GoogleCodeExporter commented 8 years ago
How to override the /games part?

Original comment by neptu...@mail.ru on 6 Apr 2011 at 8:25

GoogleCodeExporter commented 8 years ago
So you want it to be installed in $PREFIX/share instead of $PREFIX/share/games ?

Just set the variable SHARE_INSTALL (which is checked in ./CMakeLists.txt) to 
"share/stuntrally"

e.g. cmake -DSHARE_INSTALL=share/stuntrally

Original comment by scrawl...@gmail.com on 6 Apr 2011 at 8:32

GoogleCodeExporter commented 8 years ago
Also remember to set a specific CMake build type (i guess Release will be the 
correct one for you)

-DCMAKE_BUILD_TYPE=Release

Original comment by scrawl...@gmail.com on 6 Apr 2011 at 8:34

GoogleCodeExporter commented 8 years ago
thanks. Let's see what happens

Original comment by neptu...@mail.ru on 6 Apr 2011 at 8:36