[banshee] [build] add XDG variables to the environment



commit a7132254d439c51bf452123e1a8bc47c35365d20
Author: Aaron Bockover <abockover novell com>
Date:   Tue Jan 19 11:22:19 2010 -0500

    [build] add XDG variables to the environment

 build/bundle/bockbuild/unixprofile.py |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/build/bundle/bockbuild/unixprofile.py b/build/bundle/bockbuild/unixprofile.py
index 482ca29..879ce74 100644
--- a/build/bundle/bockbuild/unixprofile.py
+++ b/build/bundle/bockbuild/unixprofile.py
@@ -11,7 +11,8 @@ class UnixProfile (Profile):
 		self.env.set ('PATH', ':',
 			'%{prefix}/bin',
 			'/usr/bin',
-			'/bin')
+			'/bin',
+			'/usr/local/git/bin')
 
 		self.env.set ('CFLAGS',          '%{gcc_flags}')
 		self.env.set ('CXXFLAGS',        '%{env.CFLAGS}')
@@ -25,3 +26,7 @@ class UnixProfile (Profile):
 		self.env.set ('PKG_CONFIG_PATH', ':',
 			'%{prefix}/lib/pkgconfig',
 			'%{prefix}/share/pkgconfig')
+
+		self.env.set ('XDG_CONFIG_DIRS', '%{prefix}/etc/xdg')
+		self.env.set ('XDG_DATA_DIRS',   '%{prefix}/share')
+		self.env.set ('XDG_CONFIG_HOME', '$HOME/.config')



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]