~ximion/listaller/master

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
Listaller 0.5b:dev

=== Compiling instructions ===

To compile Listaller, please read the file "DEPENDENCIES" first and make sure that you have all
needed libraries installed. The continue.

First cd to the source directory and execute
./configure
The configure script will set up the required makefiles for the project.
You can pass the following options to the script:

--enable-gtk      | Enables the GTK+ frontent
--enable-qt       | Enables building of the Qt frontend
--enable-creator  | Enables the IPK setup creator GUI
--enable-all      | Enables building of GTK+ and Qt frontends and GTK+ and Qt version of liCreator
--prefix=<prefix> | Set an installation prefix

After configuring, you type "make all" to build the enabled modules.
The compiled bianries are stored in subdirectories of /build.

Alternatively you can use the CMake build system directly:
mkdir build
cd build
cmake .. <flags>
Possible flags are:
 -DQT=ON          | Build Listaller's Qt4 modules (Qt4 interface & frontends)
 -DGTK=ON         | Build Listaller's GTK2 modules (Frontends)
 -DFRONTENDS=ON   | Compile Listaller's frontends (only usable if one GUI toolkit is enabled)
 -DCREATOR=ON     | Build the liCreator application
 -DBUILDTOOLS=ON  | APGCC and stuff to build your application for IPK packaging
 -DVLDD=ON        | Compile VisualLDD dependency explorer (needs Qt4 installed)

=== Installation ===

To install the compiled binaries and required data files, execute
"make install" with superuser rights.

=== Build dependencies ===

Listaller needs the following modules to compile for Qt4, GTK2 and NoX:

 * Lazarus >=0.9.30
 * FPC Compiler >= 2.4.0
 * GLib 2.0 development files
 * libQt4Pas [Qt-only]
 * Qt4 core libraries >= 4.5 [Qt-only]
 * GTK2 >= 2.18 [GTK+-only]
 * SQLite3
 * PackageKit >= 0.5.6
 * PackageKit GLib2 module
 * GNU Gettext
 * DBus
 * PolicyKit (GLib-GObject)

=== Dependencies ===

Listaller needs the following libraries and tools to run:

General:
 * xdg-utils (freedesktop.org utils)
 * lsb-release (LSB release information)

GTK2 version:
 * libc6
 * libglib2.0-0
 * libgtk2.0-0
 * libpango1.0-0
 * packagekit >=0.4.6
 * libsqlite3-0
 * libx11-6
 * gksu
 * gnome-packagekit [optional]

Qt4 version:
 * libc6
 * libsqlite3-0
 * kdesudo
 * packagekit >=0.4.6
 * libqt4pas
 * kde-icons-oxygen
 * kpackagekit [optional]