gnome-shell r28 - trunk/tools/build
- From: otaylor svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-shell r28 - trunk/tools/build
- Date: Mon, 3 Nov 2008 21:11:28 +0000 (UTC)
Author: otaylor
Date: Mon Nov 3 21:11:28 2008
New Revision: 28
URL: http://svn.gnome.org/viewvc/gnome-shell?rev=28&view=rev
Log:
Fix location of libmozjs.so for Ubuntu
/usr/lib/xulrunner-<version>/lib in the previous patch
was wrong, should be /usr/lib/xulrunner-<version>. Also,
fix comment.
Modified:
trunk/tools/build/jhbuildrc-gnome-shell
Modified: trunk/tools/build/jhbuildrc-gnome-shell
==============================================================================
--- trunk/tools/build/jhbuildrc-gnome-shell (original)
+++ trunk/tools/build/jhbuildrc-gnome-shell Mon Nov 3 21:11:28 2008
@@ -38,10 +38,10 @@
addpath('XDG_CONFIG_DIRS', '/etc/xdg')
#
-# For Ubuntu Intrepid, libmozjs lives in /usr/lib/xulrunner-<version>/lib
+# For Ubuntu Intrepid, libmozjs lives in /usr/lib/xulrunner-<version>
# However, that path isn't in ld.so.conf, meaning that it's basically
# impossible to use the xulrunner .pc files and libraries. Work around
-# this by deriving the path and adding it to LD_SO_CONF ourself.
+# this by deriving the path and adding it to LD_LIBRARY_PATH ourself.
#
import re
import subprocess
@@ -50,7 +50,7 @@
_sdkdir = _pkgconfig.communicate()[0].strip()
_pkgconfig.wait()
if _pkgconfig.returncode == 0:
- _libdir = re.sub('-(sdk|devel)', '', _sdkdir) + '/lib'
+ _libdir = re.sub('-(sdk|devel)', '', _sdkdir)
if os.path.exists(_libdir + '/libmozjs.so'):
addpath('LD_LIBRARY_PATH', _libdir)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]