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

commit e09d2fd7a42cdc608be4eb33db8d5e52b3cf1228
Author: Devil505 <devil505li...@gmail.com>
Date:   Sun Jul 3 18:59:30 2011 +0200

unity-2d-3.8.8-2-i686
* added session files (unity-2d is now listed on GDM)

diff --git a/source/ayatana-extra/unity-2d/FrugalBuild 
b/source/ayatana-extra/unity-2d/FrugalBuild
index f6c1458..92a8b01 100644
--- a/source/ayatana-extra/unity-2d/FrugalBuild
+++ b/source/ayatana-extra/unity-2d/FrugalBuild
@@ -3,7 +3,7 @@

pkgname=unity-2d
pkgver=3.8.8
-pkgrel=1
+pkgrel=2
pkgdesc="unity-2d project is a 2d implementation of Unity"
depends=('libwnck2' 'libdbusmenu-qt' 'libindicator' 'libqtbamf>=0.2.1' 
'libqtdee' 'libqtgconf' \
'utouch-geis' 'unity-asset-pool' 'libqtopengl')
@@ -12,9 +12,19 @@ archs=('i686' 'x86_64')
Finclude cmake launchpad
Fpkgversep="_"
up2date="Flasttar https://launchpad.net/ubuntu/oneiric/+source/$pkgname | sed 
's/.orig//g'"
-source=(https://launchpad.net/ubuntu/oneiric/+source/$pkgname/$pkgver-0ubuntu1/+files/$pkgname$Fpkgversep$pkgver.orig.tar.gz
 gio-unix.patch)
+source=(https://launchpad.net/ubuntu/oneiric/+source/$pkgname/$pkgver-0ubuntu1/+files/$pkgname$Fpkgversep$pkgver.orig.tar.gz
 \
+        gio-unix.patch $pkgname.desktop $pkgname.session)
_F_cd_path="$pkgname-$pkgver"
sha1sums=('0cf52864f8e050726b0dfdaf8abb1b1e06d55144' \
-          '38f4638c2af7b05fb1f83eb52350e0e946a9a8f2')
+          '38f4638c2af7b05fb1f83eb52350e0e946a9a8f2' \
+          'fe674eb62915eea13a77c90c4c1ead6d947fdc6d' \
+          '590c4de584afe4329317e6dab09e5a596e4773c7')
+
+build() {
+        CMake_build
+        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
+}

# optimization OK
diff --git a/source/ayatana-extra/unity-2d/unity-2d.desktop 
b/source/ayatana-extra/unity-2d/unity-2d.desktop
new file mode 100644
index 0000000..9da74a2
--- /dev/null
+++ b/source/ayatana-extra/unity-2d/unity-2d.desktop
@@ -0,0 +1,9 @@
+
+[Desktop Entry]
+Name=Unity 2D
+Comment=This session logs you into Unity 2D Mode
+Exec=gnome-session --session=unity-2d
+TryExec=unity-2d-panel
+Icon=
+Type=Application
+X-Gnome-Gettext-Domain=gnome-session-3.0
diff --git a/source/ayatana-extra/unity-2d/unity-2d.session 
b/source/ayatana-extra/unity-2d/unity-2d.session
new file mode 100644
index 0000000..f858ae3
--- /dev/null
+++ b/source/ayatana-extra/unity-2d/unity-2d.session
@@ -0,0 +1,8 @@
+[GNOME Session]
+Name=Unity 2D
+RequiredComponents=gnome-settings-daemon;
+RequiredProviders=windowmanager;panel;launcher;
+DefaultProvider-windowmanager=metacity
+DefaultProvider-panel=unity-2d-panel
+DefaultProvider-launcher=unity-2d-launcher
+
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to