Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=pam.git;a=commitdiff;h=1820b41f5a422874243de69a1246a7f87a0f9dfe

commit 1820b41f5a422874243de69a1246a7f87a0f9dfe
Author: bouleetbil <bouleet...@frogdev.info>
Date:   Sun Oct 4 22:30:13 2009 +0200

gnome-power-manager-2.28.0-2-i686
*launch it on startup

diff --git a/source/gnome/gnome-power-manager/FrugalBuild 
b/source/gnome/gnome-power-manager/FrugalBuild
index f7333e2..0bb5522 100644
--- a/source/gnome/gnome-power-manager/FrugalBuild
+++ b/source/gnome/gnome-power-manager/FrugalBuild
@@ -3,7 +3,7 @@

pkgname=gnome-power-manager
pkgver=2.28.0
-pkgrel=1
+pkgrel=2
pkgdesc="GNOME Power Management tool"
url="http://www.gnome.org/";
depends=('libnotify>=0.4.4' 'hal>=0.5.11' 'dbus-glib>=0.80' 'xextproto' 
'libgnomeui>=2.24.0-2' 'libgnome>=2.28.0' \
@@ -18,7 +18,9 @@ _F_gnome_desktop=y
_F_gnome_iconcache=y
Finclude gnome gnome-scriptlet
Fconfopts="$Fconfopts --enable-dpms-ext --enable-libnotify --enable-applets 
--enable-keyring"
-sha1sums=('c5d4ea2df2561e04ff155d8f7c10099d5cd308f4')
+source=($source gnome-power-manager.desktop)
+sha1sums=('c5d4ea2df2561e04ff155d8f7c10099d5cd308f4' \
+          '4e920c90509778d2f23e252fb58b11a975a4d099')

build() {
Fcd
@@ -29,6 +31,10 @@ build() {
Fmakeinstall
Fbuild_slice_scrollkeeper
Fbuild_gnome_scriptlet
+
+       #autostart
+       Fmkdir usr/share/gnome/autostart
+       Fcp gnome-power-manager.desktop usr/share/gnome/autostart/
}

# optimization OK
diff --git a/source/gnome/gnome-power-manager/gnome-power-manager.desktop 
b/source/gnome/gnome-power-manager/gnome-power-manager.desktop
new file mode 100644
index 0000000..ceff796
--- /dev/null
+++ b/source/gnome/gnome-power-manager/gnome-power-manager.desktop
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Type=Application
+Name=GNOME power manager
+Exec=gnome-power-manager.desktop
+OnlyShowIn=GNOME;
+X-GNOME-Autostart-Phase=Initialization
+X-GNOME-Autostart-Notify=true
+X-GNOME-AutoRestart=true
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to