~ubuntu-branches/ubuntu/utopic/picmi/utopic

« back to all changes in this revision

Viewing changes to INSTALL

  • Committer: Package Import Robot
  • Author(s): Jonathan Riddell
  • Date: 2012-12-03 17:39:47 UTC
  • Revision ID: package-import@ubuntu.com-20121203173947-tt1kk5wp92zk1f2z
Tags: upstream-4.9.90
ImportĀ upstreamĀ versionĀ 4.9.90

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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
Installation from AUR (Archlinux)
 
30
-------------------
 
31
 
 
32
Install using your favorite AUR helper or manually with wget && makepkg && pacman -U.
 
33
 
 
34
Package Name: picmi-git
 
35
URL: https://aur.archlinux.org/packages.php?ID=56720
 
36
 
 
37
 
 
38
 
 
39
Manual Installation
 
40
-------------------
 
41
 
 
42
In the picmi directory containing CMakeLists.txt, execute:
 
43
 
 
44
cmake -DCMAKE_INSTALL_PREFIX="/usr" .
 
45
make
 
46
make install
 
47
 
 
48
CMAKE_INSTALL_PREFIX can be set as required.
 
49
This will install to the default directories as specified above. For packaging,
 
50
 
 
51
make DESTDIR="/your/packaging/dir" install
 
52
 
 
53
will install to /your/packaging/dir.
 
54
 
 
55
All done, execute picmi to run the game.
 
56
 
 
57
 
 
58
 
 
59
Cross Platform Compatibility
 
60
----------------------------
 
61
 
 
62
Picmi should be compatible with any platform supported by Qt and KDE4. At the
 
63
very least, this means Linux, Mac and Windows installs should work just fine.
 
64
 
 
65
To install on another platform than Linux, edit CMakeLists.txt and set picmi_FILEPATH
 
66
to a location appropriate to your platform.
 
67
 
 
68
Settings and high scores will be automatically saved to platform-dependent locations;
 
69
for more details, see the QSettings documentation.
 
70
 
 
71
 
 
72
Enjoy!