Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.2:Test
gnome-shell
gnome-shell-libmozjs.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gnome-shell-libmozjs.patch of Package gnome-shell
Index: gnome-shell-0.0.1/src/gnome-shell.in =================================================================== --- gnome-shell-0.0.1.orig/src/gnome-shell.in +++ gnome-shell-0.0.1/src/gnome-shell.in @@ -151,6 +151,18 @@ def start_shell(): mozjs_libdir = re.sub('-(sdk|devel)', '', mozjs_sdkdir) if os.path.exists(mozjs_libdir + '/libmozjs.so'): env['LD_LIBRARY_PATH'] = os.environ.get('LD_LIBRARY_PATH', '') + ':' + mozjs_libdir + else: + # code taken from jhbuild + uname = os.uname() + use_lib64 = (uname[0], uname[4]) in [ ('Linux', 'x86_64'), + ('Linux', 'ppc64'), + ('Linux', 's390x') ] + del uname + if use_lib64: + mozjs_libdir = '/usr/lib64/xulrunner-1.9' + else: + mozjs_libdir = '/usr/lib/xulrunner-1.9' + env['LD_LIBRARY_PATH'] = os.environ.get('LD_LIBRARY_PATH', '') + ':' + mozjs_libdir if not options.verbose: # Unless verbose() is specified, only let gjs show errors and
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor