[Frugalware-git] ayatana: unity-4.0.1-2-i686 * added session files to get Unity listed on GDM

Devil505 devil505linux at gmail.com
Sun Jul 3 19:14:23 CEST 2011


Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=ayatana.git;a=commitdiff;h=c30978424f61d038bda870dcf4e6950e0f8bce19

commit c30978424f61d038bda870dcf4e6950e0f8bce19
Author: Devil505 <devil505linux at gmail.com>
Date:   Sun Jul 3 19:11:55 2011 +0200

unity-4.0.1-2-i686
* added session files to get Unity listed on GDM

diff --git a/source/ayatana-extra/unity/FrugalBuild b/source/ayatana-extra/unity/FrugalBuild
index 9854773..8c1396f 100644
--- a/source/ayatana-extra/unity/FrugalBuild
+++ b/source/ayatana-extra/unity/FrugalBuild
@@ -3,7 +3,7 @@

pkgname=unity
pkgver=4.0.1
-pkgrel=1
+pkgrel=2
pkgdesc="A desktop experience designed for efficiency of space and interaction"
url="https://launchpad.net/unity/"
depends=('compiz-gnome>=0.9.4-2' 'nux>=1.0.1' 'bamf>=0.2.92' 'libdee>=0.5.16' \
@@ -18,9 +18,11 @@ _F_launchpad_ext=".tar.bz2"
_F_launchpad_branch="4.0"
Finclude cmake gnome-scriptlet launchpad
archs=('i686' 'x86_64')
-source=($source frugalware-icon.png)
+source=($source frugalware-icon.png $pkgname.desktop $pkgname.session)
sha1sums=('4bc6109443b4cf3c2599983e0abe4dfcb3dade7a' \
-          '74be0bbad4cda0b411fb4f8e62c5fa401535aa8b')
+          '74be0bbad4cda0b411fb4f8e62c5fa401535aa8b' \
+          '87515570912a71e38708e5ec1df2227fcf30128a' \
+          '7527affeb3bcc0d815ea0fd18b86e235a3ab60df')

build() {
CMake_build
@@ -34,6 +36,11 @@ build() {
# replacing ubuntu icon by frugalware icon :)
Frm usr/share/unity/3/bfb.png
Ffile frugalware-icon.png usr/share/unity/3/bfb.png
+
+    # session entries
+    Fmkdir usr/share/{xsessions,gnome-session/sessions}
+    Ffile $pkgname.desktop usr/share/xsessions/$pkgname.desktop
+    Ffile $pkgname.session usr/share/gnome-session/sessions/$pkgname.session
}


diff --git a/source/ayatana-extra/unity/unity.desktop b/source/ayatana-extra/unity/unity.desktop
new file mode 100644
index 0000000..7188846
--- /dev/null
+++ b/source/ayatana-extra/unity/unity.desktop
@@ -0,0 +1,10 @@
+
+[Desktop Entry]
+Name=Unity
+Comment=This session logs you into Unity
+Exec=gnome-session --session=Unity
+TryExec=gnome-session
+Icon=
+Type=Application
+X-Gnome-Gettext-Domain=gnome-session-3.0
+Name[fr_FR]=unity.desktop
diff --git a/source/ayatana-extra/unity/unity.session b/source/ayatana-extra/unity/unity.session
new file mode 100644
index 0000000..9de4187
--- /dev/null
+++ b/source/ayatana-extra/unity/unity.session
@@ -0,0 +1,8 @@
+[GNOME Session]
+Name=Unity
+RequiredComponents=gnome-settings-daemon;
+RequiredProviders=windowmanager;panel;
+DefaultProvider-windowmanager=compiz
+DefaultProvider-panel=compiz
+IsRunnableHelper=/usr/lib/nux/unity_support_test
+FallbackSession=Unity-2d


More information about the Frugalware-git mailing list