Changeset 165452 in webkit
- Timestamp:
- Mar 11, 2014 8:09:12 AM (10 years ago)
- Location:
- trunk/Tools
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r165451 r165452 1 2014-03-11 Martin Robinson <mrobinson@igalia.com> 2 3 [GTK] The jhbuild environment should set CMAKE_PREFIX_PATH and CMAKE_LIBRARY_PATH 4 https://bugs.webkit.org/show_bug.cgi?id=130064 5 6 Reviewed by Philippe Normand. 7 8 * efl/jhbuildrc: Remove duplicated code. 9 * gtk/jhbuildrc: Remove duplicated code. 10 * jhbuild/jhbuildrc_common.py: 11 (init): Move duplicated code from jhbuildrc's and extend setting CMake environment variables to 12 GTK+. We always set the CMAKE_LIBRARY_PATH, which should be harmless for EFL 32-bit systems. 13 and is apparently necessary for GTK+. 14 1 15 2014-03-11 László Langó <llango.u-szeged@partner.samsung.com> 2 16 -
trunk/Tools/efl/jhbuildrc
r164585 r165452 23 23 jhbuildrc_common.init(globals(), "efl") 24 24 25 if 'NUMBER_OF_PROCESSORS' in os.environ:26 jobs = os.environ['NUMBER_OF_PROCESSORS']27 28 # Use system libraries while building.29 if use_lib64:30 _libdir = 'lib64'31 else:32 _libdir = 'lib'33 addpath('PKG_CONFIG_PATH', os.path.join(os.sep, 'usr', _libdir, 'pkgconfig'))34 addpath('PKG_CONFIG_PATH', os.path.join(os.sep, 'usr', 'share', 'pkgconfig'))35 36 25 addpath('XDG_DATA_DIRS', '/usr/share') 37 26 addpath('XDG_CONFIG_DIRS', '/etc/xdg') 38 27 39 addpath('CMAKE_PREFIX_PATH', prefix)40 41 # jhbuild installs libraries into lib64/ by default when building on42 # 64-bit Linux installations, while CMake does not look for libraries43 # in lib64/ if /etc/debian_version exists. For now we just pass the44 # lib64/ directory to the CMAKE_LIBRARY_PATH environment variable to45 # make sure the libraries installed by jhbuild are found by CMake on46 # Debian-based systems as well.47 if use_lib64:48 addpath('CMAKE_LIBRARY_PATH', os.path.join(prefix, _libdir))49 50 28 partial_build = False 51 52 # Avoid runtime conflicts with GStreamer system-wide plugins. We want53 # to use only the plugins we build in JHBuild.54 os.environ['GST_PLUGIN_SYSTEM_PATH'] = '' -
trunk/Tools/gtk/jhbuildrc
r164585 r165452 26 26 import common 27 27 28 if 'NUMBER_OF_PROCESSORS' in os.environ:29 jobs = os.environ['NUMBER_OF_PROCESSORS']30 31 28 # GTK+ 3.0.12 misses the -lm flag when linking the tests. 32 29 module_makeargs['gtk+'] = 'LDFLAGS="-lm" ' + makeargs 33 34 # Avoid runtime conflicts with GStreamer system-wide plugins. We want35 # to use only the plugins we build in JHBuild.36 os.environ['GST_PLUGIN_SYSTEM_PATH'] = ''37 30 38 31 # We always enable introspection so that we can sniff out problems with our -
trunk/Tools/jhbuild/jhbuildrc_common.py
r164585 r165452 63 63 jhbuildrc_globals["nonotify"] = True 64 64 jhbuildrc_globals["notrayicon"] = True 65 66 if 'NUMBER_OF_PROCESSORS' in os.environ: 67 jhbuildrc_globals['jobs'] = os.environ['NUMBER_OF_PROCESSORS'] 68 69 # Avoid runtime conflicts with GStreamer system-wide plugins. We want 70 # to use only the plugins we build in JHBuild. 71 os.environ['GST_PLUGIN_SYSTEM_PATH'] = '' 72 73 # Use system libraries while building. 74 if jhbuildrc_globals['use_lib64']: 75 _library_dir = 'lib64' 76 else: 77 _library_dir = 'lib' 78 addpath = jhbuildrc_globals['addpath'] 79 addpath('PKG_CONFIG_PATH', os.path.join(os.sep, 'usr', _library_dir, 'pkgconfig')) 80 addpath('PKG_CONFIG_PATH', os.path.join(os.sep, 'usr', 'share', 'pkgconfig')) 81 82 prefix = jhbuildrc_globals['prefix'] 83 addpath('CMAKE_PREFIX_PATH', prefix) 84 addpath('CMAKE_LIBRARY_PATH', os.path.join(prefix, _library_dir))
Note: See TracChangeset
for help on using the changeset viewer.