1
To compile the dock or any plug-in, you just copy-paste these lines into a terminal (assuming you are in the sources directory of the dock/plug-in) :
2
autoreconf -isvf && ./configure && make
4
Note: you have to install the dock before compiling any plug-in.
6
you can provide directory installation by adding --prefix=/path/of/the/directory after the 'configure'.
4
To compile the core or the plug-ins, just copy-paste these lines into a terminal (assuming you are in the main directory of the core/plug-ins) :
6
-------------------------------------------------
7
cmake CMakeLists.txt -DCMAKE_INSTALL_PREFIX=/usr
10
-------------------------------------------------
17
Install the dock first, and then compile the plug-ins. For more details, have a look at this webpage: http://www.glx-dock.org/ww_page.php?p=By%20compiling&lang=en
19
If you choose to install in another folder than /usr, you must specify the same prefix for both core and plug-ins (and specify this folder in LD_LIBRARY_PATH and PKG_CONFIG_PATH).
21
You can launch 'cmake' and 'make' commands from another directory, it's maybe cleaner:
22
-------------------------------------------------
25
cmake .. -DCMAKE_INSTALL_PREFIX=/usr
28
-------------------------------------------------
30
For 64bits (x86_64) architectures, the libraries are installed in a 'lib64' directory by default but it seems it can be a problem for some distributions (e.g.: ArchLinux). If you have a problem by launching Cairo-Dock, you can compile it (core and its plug-ins) with the flag "FORCE_NOT_LIB64":
31
$ cmake CMakeLists.txt -DCMAKE_INSTALL_PREFIX=/usr -DFORCE_NOT_LIB64=yes
32
You can also force another prefix for this librairy directory with "LIB_SUFFIX" flag, e.g. for 'lib32' directory:
33
$ cmake CMakeLists.txt -DCMAKE_INSTALL_PREFIX=/usr -DLIB_SUFFIX=32
9
36
If your libcairo is compiled with glitz support (that is, with --enable-glitz option), you can benefit from glitz hardware acceleration in cairo-dock too.
10
Just add the --enable-glitz option after the 'configure'.
37
Just add the -Denable-glitz option.
13
Stable plug-ins can be compile at once, or one by one. Unstable plug-ins have to be compiled one by one.
40
Plug-ins are compiled all at once, but you can skip some of them. Unstable plug-ins are skipped by default, unless you add "-Denable-xxx=yes", where xxx is the name of the plug-in.
14
41
See the "Applets.stable" file in the "plug-ins" folder for an exhaustive list of stable applets (that are effectively integrated into the official package).
16
To build the Cairo-Dock documentation, use the generate-doc.sh script in the 'doc' directory.
17
To build the entire project, use the compile-all.sh script, in the 'cairo-dock' folder. Run it with :
18
./compile-all.sh -acCiu
43
To build the Cairo-Dock documentation, use the generate-doc.sh script in the 'doc' directory of the core.
20
45
Thanks for using Cairo-Dock, hope you will enjoy it ! ^_^
47
Website: http://glx-dock.org/
48
Project: https://launchpad.net/cairo-dock
49
Wiki: http://wiki.glx-dock.org/
50
Forum: http://forum.glx-dock.org/
51
Screenshots: http://pics.glx-dock.org/
52
Documentation: http://doc.glx-dock.org/
53
API DBus: http://dbus.glx-dock.org/
54
Applets extras: http://extras.glx-dock.org/
55
Identi.ca: http://identi.ca/cairodock
56
Twitter: http://twitter.com/cairodock