| 1 |
PICMI |
| 2 |
|
| 3 |
|
| 4 |
General Information |
| 5 |
------------------- |
| 6 |
|
| 7 |
Picmi has the following dependencies: |
| 8 |
|
| 9 |
At run time: |
| 10 |
qt, kdelibs, libkdegames |
| 11 |
|
| 12 |
Additionally, at compile time: |
| 13 |
cmake, automoc4 |
| 14 |
|
| 15 |
|
| 16 |
The default installation directories are |
| 17 |
|
| 18 |
$prefix/bin (executable) |
| 19 |
$prefix/share/apps/picmi (graphics and levels) |
| 20 |
$prefix/share/applications/kde4 (.desktop file) |
| 21 |
$prefix/share/doc/kde/ (documentation) |
| 22 |
$prefix/share/icons/ (icons) |
| 23 |
~/.config/picmi/ (user configurations and highscores, created at runtime) |
| 24 |
|
| 25 |
$prefix can be configured by setting the CMAKE_INSTALL_PREFIX variable when running cmake and defaults to /usr/local/ if not set. |
| 26 |
|
| 27 |
|
| 28 |
|
| 29 |
Manual Installation |
| 30 |
------------------- |
| 31 |
|
| 32 |
Assuming no defaults are changed, |
| 33 |
in the picmi directory containing CMakeLists.txt, execute: |
| 34 |
|
| 35 |
cmake -DCMAKE_INSTALL_PREFIX="/usr" . |
| 36 |
make -f Makefile |
| 37 |
sudo make install |
| 38 |
|
| 39 |
CMAKE_INSTALL_PREFIX can be set as required. |
| 40 |
This will install to the default directories as specified above. For packaging, |
| 41 |
|
| 42 |
make DESTDIR="/your/packaging/dir" install |
| 43 |
|
| 44 |
will install to /your/packaging/dir. |
| 45 |
|
| 46 |
All done, execute picmi to run the game. |
| 47 |
|
| 48 |
|
| 49 |
|
| 50 |
Cross Platform Compatibility |
| 51 |
---------------------------- |
| 52 |
|
| 53 |
Picmi should be compatible with any platform supported by Qt and KDE4. At the |
| 54 |
very least, this means Linux, Mac and Windows installs should work just fine. |
| 55 |
|
| 56 |
To install on another platform than Linux, edit CMakeLists.txt and set picmi_FILEPATH |
| 57 |
to a location appropriate to your platform. |
| 58 |
|
| 59 |
Settings and high scores will be automatically saved to platform-dependent locations; |
| 60 |
for more details, see the QSettings documentation. |
| 61 |
|
| 62 |
|
| 63 |
Enjoy! |