[sushi] build: set GI_TYPELIB_PATH too if it's not set
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [sushi] build: set GI_TYPELIB_PATH too if it's not set
- Date: Wed, 27 Apr 2011 19:12:58 +0000 (UTC)
commit 90dab8df4654a8cd3edb94464dce56adcbd2f27c
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Wed Apr 27 15:02:02 2011 -0400
build: set GI_TYPELIB_PATH too if it's not set
src/Makefile.am | 1 +
src/sushi.in | 6 ++++++
2 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/src/Makefile.am b/src/Makefile.am
index e981764..5f6bf52 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -25,6 +25,7 @@ do_subst = sed -e 's|@abs_top_srcdir[ ]|$(abs_top_srcdir)|g' \
-e 's|@abs_top_builddir[ ]|$(abs_top_builddir)|g' \
-e 's|@localedir[ ]|$(localedir)|g' \
-e 's|@bindir[ ]|$(bindir)|g' \
+ -e 's|@libdir[ ]|$(libdir)|g' \
-e 's|@libexecdir[ ]|$(libexecdir)|g' \
-e 's|@pkglibdir[ ]|$(pkglibdir)|g' \
-e 's|@pkgdatadir[ ]|$(pkgdatadir)|g' \
diff --git a/src/sushi.in b/src/sushi.in
index 30deed6..9bc091f 100644
--- a/src/sushi.in
+++ b/src/sushi.in
@@ -27,4 +27,10 @@ if test x"$FONTCONFIG_FILE" = x ; then
export FONTCONFIG_FILE= pkgdatadir@/fonts.conf
fi
+if test x"$GI_TYPELIB_PATH" = x ; then
+ export GI_TYPELIB_PATH= libdir@/girepository-1.0
+else
+ export GI_TYPELIB_PATH= libdir@/girepository-1.0:$GI_TYPELIB_PATH
+fi
+
@libexecdir@/sushi-start
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]