Home Forums Wiki Doc Install Extras Screenshots Source Code Projects Blog Users Groups Register
Glx-Dock / Cairo-Dock List of forums Technical discussions | Discussions techniques Using script for Ubuntu-Forked Distributions
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)
Technical discussions | Discussions techniques

Subjects Author Language Messages Last message
[Locked] Using script for Ubuntu-Forked Distributions
Eduardo Mucelli English 10 matttbe [Read]
17 October 2009 à 12:07

Eduardo Mucelli, Wednesday 14 October 2009 à 19:07


Subscription date : 05 August 2009
Messages : 285
I guess that is a small point and I was not quite sure if that was a tech subject, anyway just to report I'm here.
I was suggesting to a friend that uses Linux Mint (a Ubuntu-forked distro) to install Cairo-dock through the Mav's script. Anyway, the script was projected to Debian/Ubuntu (or if it does not recognize the distro it will warning the user about). So how the distro was not Ubuntu/Debian I edited the /etc/issue from "Linux Mint ..." to "Ubuntu Linux Mint ..." just to make the evaluation of script's "grep -c ^Ubuntu /etc/issue" becomes "1" and consequently to make the script run in a Ubuntu-like way.

Everything worked fine so I was wondering if there is an intention to change the script a lil bit to fit another forked distros like Mint (the most famous Ubuntu-forked I know at the moment).

I could help in that point if necessary.

edit: I mean the ppa feature.
edit2: I know would be necessary "synchronize" the forked distro release with the release of Ubuntu to adjust that "$LSB_RELEASE" variable. For example, Mint Felicia could be treated the same way as Ubuntu Intrepid. Anyway that's my two cents.

matttbe, Wednesday 14 October 2009 à 20:00


Subscription date : 24 January 2009
Messages : 12573
Ok, no problem

Can you just say to me which version of Mint (finded with "$LSB_RELEASE") correspond to which Ubuntu version ?
Or I can add the weekly build ppa for debian (where dependences are added manually and it works whit all versions of Ubuntu and Debian)

fabounet, Thursday 15 October 2009 à 13:53


Subscription date : 30 November 2007
Messages : 17118
I'm not even sure why we test the distro. shouldn't we test the desktop environnement instead (Gnome/KDE/XFCE) ?
or maybe directly the libs installed ?

matttbe, Thursday 15 October 2009 à 15:14


Subscription date : 24 January 2009
Messages : 12573
We test the distribution for two reasons :
  • Firstly because the script is made for Debian-forked distributions (because it uses dpkg and apt-get)
  • And secondly (the case of Eduardo) because the ppa weekly is only made for Debian forked too (and it depends also of the version -> a repository for hardy, intrepid, jaunty, karmic and debian where dependences are different )

fabounet, Friday 16 October 2009 à 10:21


Subscription date : 30 November 2007
Messages : 17118
ok, sounds logical
maybe we could do a version that only compile and install from the sources without testing the dependencies before ?

matttbe, Friday 16 October 2009 à 12:12


Subscription date : 24 January 2009
Messages : 12573
Yes, maybe

But it's not so hard to compile manually on other releases
$ cd cairo-dock-core
$ bzr up # or bzr pull
$ autoreconf -isvf && ./configure --prefix=/usr && make -j $(grep -c ^processor /proc/cpuinfo)
# make install
$ cd ../cairo-dock-plug-ins/
$ bzr up # or bzr pull
$ autoreconf -isvf && ./configure --prefix=/usr && make -j $(grep -c ^processor /proc/cpuinfo)
# make install

fabounet, Friday 16 October 2009 à 12:27


Subscription date : 30 November 2007
Messages : 17118
indeed
maybe for lazy guys, as a fallback option ?

matttbe, Friday 16 October 2009 à 12:41


Subscription date : 24 January 2009
Messages : 12573
They can copy these lines
But it's not easy to have a script for all distrib... you can't use 'sudo' on a fresh install of Debian, etc.

Approximatively 60 people use Mav' script every days .

Eduardo Mucelli, Saturday 17 October 2009 à 06:26


Subscription date : 05 August 2009
Messages : 285
mattbe, here is the list with the Ubuntu and the respective Mint LSB_RELEASE

Dapper    Ada
Edgy    Barbara
Edgy    Bea
Edgy    Bianca    
Feisty    Cassandra    
Feisty    Celena    
Gutsy    Daryna
Hardy    Elyssa
IntrepidFelicia
Jaunty    Gloria
Karmic    Helena

nochka85, Saturday 17 October 2009 à 10:58


Subscription date : 29 November 2007
Messages : 7408
(double-post erased)

matttbe, Saturday 17 October 2009 à 12:07


Subscription date : 24 January 2009
Messages : 12573
Ok thanks for this search.
For the moment I've added a "generic" repository for Linux Mint (to not modify the script because I can forget to change that ). If someone reports a problem, I will added these informations.

Technical discussions | Discussions techniques

Subjects Author Language Messages Last message
[Locked] Using script for Ubuntu-Forked Distributions
Eduardo Mucelli English 10 matttbe [Read]
17 October 2009 à 12:07


Glx-Dock / Cairo-Dock List of forums Technical discussions | Discussions techniques Using script for Ubuntu-Forked Distributions 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.