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

commit ab7b843a1fe97686af5c7ce36ee72db494c2c1ef
Author: bouleetbil <bouleet...@frogdev.info>
Date:   Wed Oct 7 21:03:24 2009 +0200

gnome-menus-2.28.0.1-2-i686
*added gnomemenu.sh
*that fix alacarte and gnome-menus

diff --git a/source/gnome/gnome-menus/FrugalBuild 
b/source/gnome/gnome-menus/FrugalBuild
index 5943fef..14242d5 100644
--- a/source/gnome/gnome-menus/FrugalBuild
+++ b/source/gnome/gnome-menus/FrugalBuild
@@ -3,7 +3,7 @@

pkgname=gnome-menus
pkgver=2.28.0.1
-pkgrel=1
+pkgrel=2
pkgdesc="GNOME menus and menu editor"
depends=('gamin>=0.1.9-3' 'pygtk>=2.16.0')
makedepends=('intltool')
@@ -13,8 +13,14 @@ archs=('i686' 'x86_64' 'ppc')
Finclude gnome
Fsysconfdir="/etc/gnome"
Fconfopts="$Fconfopts --enable-python --enable-debug=no"
-source=(${sour...@]} $pkgname-2.18.0-categorize-prefs-menu.patch)
+source=(${sour...@]} $pkgname-2.18.0-categorize-prefs-menu.patch gnomemenu.sh)
sha1sums=('af3469cc2ffd41aad3e3931176e17e9c91e94a29' \
-          '2e365ed35fefe56e388e410219c391eb40d089f7')
+          '2e365ed35fefe56e388e410219c391eb40d089f7' \
+          '094b5b28d49eab54ee4020efb042812ae25e500d')
+
+build() {
+       Fbuild
+       Fexe /etc/profile.d/gnomemenu.sh
+}

# optimization OK
diff --git a/source/gnome/gnome-menus/gnomemenu.sh 
b/source/gnome/gnome-menus/gnomemenu.sh
new file mode 100644
index 0000000..36ff1da
--- /dev/null
+++ b/source/gnome/gnome-menus/gnomemenu.sh
@@ -0,0 +1,8 @@
+#!/bin/bash
+
+if [ -z "$XDG_CONFIG_DIRS" ]; then
+       XDG_CONFIG_DIRS=/etc/gnome/xdg
+else
+       XDG_CONFIG_DIRS="$XDG_CONFIG_DIRS":/etc/gnome/xdg
+fi
+export XDG_CONFIG_DIRS
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to