Technical discussions | Discussions techniques
Fyda, Sunday 23 March 2008 à 01:16
|
|
Subscription date : 23 March 2008
Messages : 11
|
UPDATE: The gnome-integration and xfce-integration plugins are now built as part of cairo-dock-plugins-svn. That build script lists all failed and successful plug-in builds; on installation of the package, it displays a message to the user about which build-deps are needed for gnome-integration and/or xfce-integration, if they are missing either one.
Hello,
For Arch Linux, I have made unofficial PKGBUILDs for cairo-dock, its themes, and its plugins. The links are below.
All of these PKGBUILDs differ from the existing cairo-dock and cairo-dock-plugins PKGBUILDs in the fact that they always checkout the latest SVN revision, instead of using static tarballs. As such, they are mostly "self-maintaining" and don't require manual updating by the author/user.
(Of course, there are valid reasons to use the tarballs instead of SVN; I don't intend for these to replace the other contributor's work.)
Suggestion: It might be simpler if the cairo-dock build system were changed to auto-detect the user's installed DEs and select the appropriate items to build. (The build system for Compiz does this, so that the user doesn't need to specify --enable-gnome, --disable-kde, etc.) Thus it would intelligently know whether or not to build plugins for GNOME or XFCE, or laptop-specific ones like Wifi and Battery.
|
ppmt, Sunday 23 March 2008 à 01:45
|
|
Subscription date : 29 November 2007
Messages : 3520
|
Hi,
I don't use Arch Linux (not even sure what it is ) but I am sure rhinopierroce will add your work in the french Wiki....When I have some time I will implement your text in the english part...if you haven't done it before me (hint hint... )
Regarding your suggestion: it has been discussed before I believe but the question was to find how to detect the DE without fault on all the various distributions.
From what I remember all distro don't use the same method to identify the DE!
Now if I could find that message again... |
Mav, Sunday 23 March 2008 à 02:34
|
|
Subscription date : 29 November 2007
Messages : 3146
|
As you are kind of lost PPMT, I'm gonna help (the first but the last :))
- --------------------------------------
- Checks for known desktop environments
- set variable DE to the desktop environments name, lowercase
detectDE()
{
if [ x"$KDE_FULL_SESSION" = x"true" ]; then DE=kde;
elif [ x"$GNOME_DESKTOP_SESSION_ID" != x"" ]; then DE=gnome;
elif xprop -root _DT_SAVE_MODE | grep ' = \"xfce4\"$' >/dev/null 2>&1; then DE=xfce;
fi
} |
ppmt, Sunday 23 March 2008 à 03:09
|
|
Subscription date : 29 November 2007
Messages : 3520
|
thanks Mav (oooh it hurts :D) don't worry Fyda it is between him and I
Was it discuss somewhere on the forum already?
Shouldn't that bit of code be in your script?
Or am I really lost that time? |
Subscription date : 30 November 2007
Messages : 422
|
For sure, I should add the Open Suse repository too.
Many thanks for your contribution Fyda |
Mav, Sunday 23 March 2008 à 13:48
|
|
Subscription date : 29 November 2007
Messages : 3146
|
Sure I should already have had it. |
Guest, Monday 23 March 2009 à 19:59
|
|
|
I'm using xfce and I'm new to svn would you tell me how to install and svn menu integration in this window manager as painless as posible |
Guest, Monday 23 March 2009 à 20:01
|
|
|
I'm using xfce and I'm new to svn would you tell me how to install and svn menu integration in this window manager as painless as posible |
Subscription date : 30 November 2007
Messages : 17118
|
wow exactly 1 year after
you should find all what you need in the wiki. |
Technical discussions | Discussions techniques
|