|
From SVN |
|
Caution: this version is regarded as unstable and can present some bugs
Use at your own risk
And stay updated
Don't forget to remove other releases of CD before install it by SVN
You can install dependences, download sources files from SVN and compile cairo-dock and after each plug-ins but there is a script to help you :
Mav wrote a script for Debian/Ubuntu users (cairo-dock_svn.sh) which allows the installation and the update via SVN and avoids the tiresome steps for the recovery of the sources and the installation. Moreover, the script will automatically install all the packages necessary for the compilation (the same ones as those described in the part "By compilation").
Generic
You can install dependences, download sources files from SVN and compile cairo-dock
- Dependences :
libtool build-essential automake1.9 autoconf m4 autotools-dev pkg-config subversion intltool gettext libcairo2-dev libgtk2.0-dev librsvg2-dev libdbus-glib-1-dev libgnomeui-dev libvte-dev libxxf86vm-dev libx11-dev libalsa-ocaml-dev libasound2-dev libxtst-dev libgnome-menu-dev libgtkglext1-dev freeglut3-dev glutg3-dev libetpan-dev libxklavier12-dev libwebkit-dev libexif-dev curl
- After that go to a new repertory to download sources (for example /opt/ with user right)
svn co http://svn.berlios.de/svnroot/repos/cairo-dock/trunk/ cairo-dock
- Compile Cairo-Dock and its plug-ins:
cd cairo-dock/cairo-dock/
autoreconf -isvf && ./configure --prefix=/usr && make
# make install # with root right ! if you haven't any error !!!
cd ../plug-ins/
autoreconf -isvf && ./configure --prefix=/usr && make
# make install # with root right ! if you haven't any error !!! make install
Debian / Ubuntu
Mav wrote a script for Debian/Ubuntu users (cairo-dock_svn.sh) which allows the installation and the update via SVN and avoids the tiresome steps for the recovery of the sources and the installation. Moreover, the script will automatically install all the packages necessary for the compilation (the same ones as those described in the part "By compilation").
First installation
Open a Terminal, start by creating a specific directory (for example /opt/cairo-dock_svn) and use it without administrator right:
sudo mkdir /opt/cairo-dock_svn
sudo chown $USER:$USER /opt/cairo-dock_svn
cd /opt/cairo-dock_svn
Then get the script, make it executable and launch it:
wget http://bzr.glx-dock.org/cairo-dock_svn.sh
sudo chmod u+x cairo-dock_svn.sh
./cairo-dock_svn.sh
After that, you have this menu :
1 --> Mettre à jour la version SVN installée
2 --> Installer la version SVN pour la première fois
3 --> Reinstaller la version SVN actuelle
4 --> Désinstaller la version SVN
5 --> A propos
And the translation is :
1 --> Update (your SVN release)
2 --> Install (your SVN release)
3 --> Reinstall (your SVN release)
4 --> Uninstall (your SVN release)
5 --> About
After pressing "2" menu, you can downloading sources by http or https (proxy).
To finish, enter your own password when the script requires it of you in order to proceed to the installation.
A message is posted with each installation of modules and the final message indicates if everything went well. If not consult the log.txt file in the directory which it's created at the beginning (/opt/cairo-dock_svn). Look at the end to locate the problem, then post it on the forum.
Update a svn version already installed
Open a Terminal, in the specific file which you had created with the first installation (in our /opt/cairo-dock_svn example) and start the script again:
cd /opt/cairo-dock_svn
./cairo-dock_svn.sh
Press "1" to start the update.
If an update is found, enter your own password, otherwise the message “No update available” will appear and the script will exit.
Note: Mav's script “auto-update”, therefore each time you launch it, it will seek the last version of script available…
Tips
You can create a launcher in Cairo-Dock to execute the script… For that, create a new launcher (Right Click on the dock and select “Add a launcher”). Click on “New” and Enter this:
- Name of the launcher (example) : Cairo SVN Update
- Command to execute at the click :
gnome-terminal --working-directory=/opt/cairo-dock_svn/ -e "./cairo-dock_svn.sh"
(change your "working-directory" if necessary
- Directory of the picture :
(your most beautiful icon !)
Validate!!! and just click on your new icon to update your svn version.
ArchLinux
It's easy with Yaourt !
On root mode, add arlinuxfr repositories in your file /etc/rc.conf
[archlinuxfr]
Server = http://repo.archlinux.fr/i686/
Install yaourt if you have do that before.
sudo pacman -S yaourt
yaourt -Syu
Now, install cairo-dock and its plug-ins !
yaourt -S cairo-dock-svn cairo-dock-plugins-svn --noconfirm
Fedora
- Install this kit
su -
yum -y groupinstall buildsys-build
- After that, install all dependences with yum install:
yum install subversion alsa-lib-devel automake dbus-glib-devel desktop-file-utils gettext gnome-menus-devel gnome-vfs2-devel gtk2-devel gtkglext-devel intltool libXcomposite-devel libXinerama-devel libXrender-devel libXtst-devel libXxf86vm-devel libetpan-devel libexif-devel libgnomeui-devel librsvg2-devel libtool libxklavier-devel libxml2-devel vte-devel perl WebKit-gtk-devel curl Install Thunar-devel instead of gnome-vfs2-devel if you uses XFCE
- After that go to a new repertory to download sources (for example /opt/ with user right)
svn co http://svn.berlios.de/svnroot/repos/cairo-dock/trunk/ cairo-dock
- Compile Cairo-Dock and its plug-ins:
cd cairo-dock/cairo-dock/
autoreconf -isvf && ./configure --prefix=/usr && make
su -
make install # If there is no error !
exit
cd ../plug-ins/
autoreconf -isvf && ./configure --prefix=/usr && make
su -
make install # If there is no error !
exit
RSS
You can follow the evolution with a RSS feed :
http://www.glx-dock.org/rss/cd_svn.xml
If it doesn't work, you can use ATOM here |
|