Installation problems | Problèmes à l'installation
Lockheed, Wednesday 23 March 2011 à 21:17
|
|
Subscription date : 13 January 2010
Messages : 72
|
Hmm, I see two problems. First I don't know which files should I modify. Second, isn't "#" used to mark line as non-executable? |
matttbe, Wednesday 23 March 2011 à 21:22
|
|
Subscription date : 24 January 2009
Messages : 12573
|
The first line of a script can be used to specify the language (in fact, the binary which is needed to excecute the script) if this line start with #! (...)
And you've to modify this file (in the sources): cairo-dock-plug-ins/Dbus/interfaces/python/CDApplet.py
And all python scripts of our external applets (=> http://www.glx-dock.org/mc_album.php?a=6) |
Lockheed, Wednesday 23 March 2011 à 21:38
|
|
Subscription date : 13 January 2010
Messages : 72
|
Thanks. Do I have to re-compile CD afterwards? |
matttbe, Wednesday 23 March 2011 à 22:36
|
|
Subscription date : 24 January 2009
Messages : 12573
|
Yes, if you change something into the source files directory (but for this file on Arch, it'll work if you only launch a # make install) |
Lockheed, Thursday 24 March 2011 à 11:28
|
|
Subscription date : 13 January 2010
Messages : 72
|
Ok, one more question. Do I need to remove CD, download sources, modify it and then make install, or can I do this on existing installation?
If so, where is this cairo-dock-plug-ins folder located? |
matttbe, Thursday 24 March 2011 à 12:29
|
|
Subscription date : 24 January 2009
Messages : 12573
|
I think that on Arch, you've to update (or reinstall) cairo-dock and then cairo-dock-plugins and just before the compilation of all plug-ins, you've to modify CDApplet.py file.
Or if you've compiled CD and its plug-ins manually, you can do this on existing installation |
Tofe, Thursday 24 March 2011 à 13:04
|
|
Subscription date : 09 February 2008
Messages : 921
|
What I can do, also, is to modify the PKGBUILD so that it does this modification automagically upon installation of the package. But I can only do that on the packages I own, not on the bzr version. Which version did you install ? |
Lockheed, Thursday 24 March 2011 à 13:10
|
|
Subscription date : 13 January 2010
Messages : 72
|
I had to go for 2.3 because previous versions don't support Cardapio applet. I installed it from Yaourt.
Tofe, are you a CD developer? |
Tofe, Thursday 24 March 2011 à 15:06
|
|
Subscription date : 09 February 2008
Messages : 921
|
I'm a CD developer, though currently not a very active one
CD 2.3 (final) should be out within days, if the current rc is conclusive. As soon as it is out, I'll upgrade my package and include that fix. If you want, I can try to find a line to insert in the package() function of the PKGBUILD you are using so that it modifies the .py files. I'll propose that to the maintainer of the bzr version.
I won't have time to do that today, so it's likely that I'll do it in the week-end. I'll keep you in touch! |
Lockheed, Thursday 24 March 2011 à 15:09
|
|
Subscription date : 13 January 2010
Messages : 72
|
Excellent. Does it mean I will have to remove current version installed from yaourt and then install regular 2.3 form pacman?
Will I then still have to modify the code? |
Lockheed, Saturday 09 April 2011 à 09:19
|
|
Subscription date : 13 January 2010
Messages : 72
|
Any news on the subject? Tofe? |
Tofe, Monday 11 April 2011 à 13:31
|
|
Subscription date : 09 February 2008
Messages : 921
|
Weeeell, CD 2.3 is still in RC, and I didn't find any plugin in the cairo-dock-plug-ins that are written in Python. They are all in cairo-dock-plug-ins-extra, and the latter isn't packaged yet. Am I right ? |
matttbe, Monday 11 April 2011 à 15:50
|
|
Subscription date : 24 January 2009
Messages : 12573
|
Yes this branch isn't packaged but it's maybe a solution for Arch users. It can be packaged easily and a patch can be applied (to change all #python to #python2) |
Tofe, Wednesday 13 April 2011 à 10:04
|
|
Subscription date : 09 February 2008
Messages : 921
|
Yes, that I can do. Do you know to which bzr version does the latest 2.2 version correspond to ? |
Lockheed, Wednesday 13 April 2011 à 11:18
|
|
Subscription date : 13 January 2010
Messages : 72
|
Version 2.2 does not work with python menu desklets... |
Tofe, Wednesday 13 April 2011 à 20:02
|
|
Subscription date : 09 February 2008
Messages : 921
|
Ok, I'll make up a bzr package for cairo-dock-plug-ins-extra. With AUR, anyway, you can choose the bzr version you want to have. But note that it may not work (obviously) with the stable version of CD. |
Tofe, Wednesday 13 April 2011 à 20:57
|
|
Subscription date : 09 February 2008
Messages : 921
|
Please, enjoy: http://aur.archlinux.org/packages.php?ID=48213 |
Lockheed, Wednesday 13 April 2011 à 21:01
|
|
Subscription date : 13 January 2010
Messages : 72
|
Is this gonna work with CD 2.3? |
Tofe, Wednesday 13 April 2011 à 22:43
|
|
Subscription date : 09 February 2008
Messages : 921
|
yep, it should |
matttbe, Thursday 14 April 2011 à 11:25
|
|
Subscription date : 24 January 2009
Messages : 12573
|
@Tofe: Thank you
But did you try it with the 2.3 version? Maybe this patch has to be added in CDApplet.py, no? |
Installation problems | Problèmes à l'installation
|