Home Forums Wiki Doc Install Extras Screenshots Source Code Projects Blog Users Groups Register
Glx-Dock / Cairo-Dock Wiki By compiling
The latest stable release is the *3.4.0* : How to install it here.
Note: We just switched from BZR to Git on Github! (only to host the code and your future pull requests)
History View code

Glx-Dock / Cairo-Dock

Home

History

Support Us

Flattr this

Cairo-Dockon

By compiling

BZR
Si quieres tener la ultima version (Y actualizada diariamente), Venga Aqui: Por BZR. Por otra parte, hay un script para usuarios de Debian / Ubuntu para instalarlo fácilmente! También hay una explicación para los usuarios de ArchLinux y Fedora.

Autoconf Ha sido reemplazado por CMake (Versiones de Cairo-Dock >= 2.2.0) !



Versión Estable

  • It's better to clean the installation folder of Cairo-Dock if you make an update
    su -c "rm -r /usr/share/cairo-dock/"
    REM : "su -c" can be different on your distribution (with Ubuntu, it's "sudo").

    • Install all dependencies. Caution : naming may vary depending on your distribution (dev can be called devel, etc.). Here are the Debian names.
      • For compiling:
        cmake make pkg-config gcc gettext build-essential
      • For the core:
        • Modules
          Required: gtk+-3.0 (or gtk+-2.0) gthread-2.0 cairo librsvg-2.0 dbus-1 dbus-glib-1 libxml-2.0 xrender gl glu pangox libcurl
          Recommended: xtst xcomposite xinerama
        • Example with Debian packages:
          libxxf86vm-dev libxtst-dev libx11-dev libgtkglext1-dev libcurl4-gnutls-dev libcairo2-dev librsvg2-dev libdbus-glib-1-dev libglu1-mesa-dev libpango1.0-dev libgtk-3-dev # (or libgtk2.0-dev) #
      • For the plug-ins:
        • Modules
          Required: cairo librsvg-2.0 dbus-1 dbus-glib-1 libxml-2.0 glib-2.0 gldi # = cairo-dock-core, with the same version!
          Highly Recommended: alsa libgnome-menu(-3.0) gio-2.0 (and gvfs) libxklavier xrandr x11 xxf86vm
          Recommended: libical upower-glib zeitgeist-1.0 libexif vte(-2.90) ; 'python', 'curl' and 'wget' package ; dbusmenu-glib(-0.4) dbusmenu-gtk(3)(-0.4) indicator(3)-0.4 libido(3)-0.1 + these daemons: indicator-messages and indicator-sound
          Suggested: libpulse webkitgtk-3.0 (or webkit-1.0) ; 'ruby' and 'valac' packages
          Optional: fftw3, mono: glib-sharp-2.0 ndesk-dbus-1.0 ndesk-dbus-glib-1.0
        • Example with Debian packages:
          libdbusmenu-gtk-dev libasound2-dev libgnome-menu-dev libetpan-dev libxklavier-dev libwebkit-dev libexif-dev libvte-dev curl libzeitgeist-dev libido-0.1-dev libindicator-dev libsensors4-dev libupower-glib-dev
      • Add thunar-vfs-1 (libthunar-vfs-1-dev) for old XCFE (< 4.6) or gnome-vfs-2.0 and libgnomeui-2.0 (libgnomevfs2-dev) for very old Gnome (< 2.20).
      • GNote is nice for the Notes applet, and Zeitgeist is needed for the Recent-Events applet.



  • Go with a terminal in the folder cairo-dock-X.X.X and do: ($ for user mode and # for root mode)
    $ mkdir build && cd build
    $ cmake .. -DCMAKE_INSTALL_PREFIX=/usr
    $ make -j $(grep -c ^processor /proc/cpuinfo) ## if you have an error, see if you have install all dependences and/or post a new thread on our forum
    # make install ## on root mode

  • Do the same with the folder cairo-dock-plugins-X.X.X.
    $ mkdir build && cd build
    $ cmake .. -DCMAKE_INSTALL_PREFIX=/usr
    $ make -j $(grep -c ^processor /proc/cpuinfo) ## if you have an error, see if you have install all dependences and/or post a new thread on our forum
    # make install ## on root mode
    Rem.: with "make -j $(grep -c ^processor /proc/cpuinfo)" the compilation uses all core of your processor. (you can use 'make' without any other options)


The program will installed in /usr/share/cairo-dock, /usr/lib/ and /usr/bin.

REM
64bits arch (x86_64)
For 64bits (x86_64) architectures, the libraries are installed in a 'lib/' directory by default but it seems it can be a problem for some distributions (e.g.: OpenSUSE, CentOS, etc.).
If you have a problem by launching Cairo-Dock and after having uninstall it with this command launched as root from the both 'build' dir
make uninstall
you can compile it (core and its plug-ins) with the flag "FORCE_LIB64":
cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DFORCE_LIB64=yes
You can also force another prefix for this librairy directory with "LIB_SUFFIX" flag, e.g. for 'lib32' directory:
cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DLIB_SUFFIX=32


CMake
Autoconf is now remplaced by CMake (Cairo-Dock versions >= 2.2.0). It's much faster and a bit easier.
Now you can compile Cairo-Dock and its plug-ins from another directory, it's cleaner.

Fedora
A SRPM package is maybe available. Check here. There is also a list with all dependences.

OpenSUSE
Have a look on this page in order to have some informations about dependences, 64bits arch, etc. : From BZR


Glx-Dock / Cairo-Dock Wiki By compiling Top

Online users :

Powered by ElementSpeak © 2007 Adrien Pilleboue, 2009-2013 Matthieu Baerts.
Dock based on CSS Dock Menu (Ndesign) with jQuery. Icons by zgegball
Cairo-Dock is a free software under GNU-GPL3 licence. First stable version created by Fabounet.
Many thanks to TuxFamily for the web Hosting and Mav for the domain name.