Hello community, here is the log from the commit of package meson for openSUSE:Factory checked in at 2020-01-24 14:20:49 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/meson (Old) and /work/SRC/openSUSE:Factory/.meson.new.26092 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "meson" Fri Jan 24 14:20:49 2020 rev:50 rq:766158 version:0.53.0 Changes: -------- --- /work/SRC/openSUSE:Factory/meson/meson.changes 2019-11-04 17:00:17.435868428 +0100 +++ /work/SRC/openSUSE:Factory/.meson.new.26092/meson.changes 2020-01-24 14:20:58.726615433 +0100 @@ -1,0 +2,34 @@ +Wed Jan 8 11:48:50 UTC 2020 - Dominique Leuenberger <dims...@opensuse.org> + +- Update to version 0.53.0: + + A new module for filesystem operations. + + meson dist --include-subprojects. + + Added new Meson templates for Dlang, Rust, Objective-C + + Add a new summary() function + + Generic Overrider for Dynamic Linker selection + + fortran_std option + + python.dependency() embed kwarg + + Scalapack + + Search directories for find_program() + + Source tags targets + + Dictionary entry using string variable as key + + Improved CMake subprojects support + + compiler.get_linker_id() + + CUDA dependency + + Added global option to disable C++ RTTI + + Introspection API changes +- Add meson-testsuite-boost.patch: Fix detection of boost_python + names. This is apparently inconsistent accross distros. +- Add meson-pkgconf-libdir.patch: pkgconf does not honor /usr/lib + as 'system directory' on biarch systems. + +------------------------------------------------------------------- +Sat Nov 30 12:25:34 UTC 2019 - Dominique Leuenberger <dims...@opensuse.org> + +- Update to version 0.52.1: + + linkers: Concatenate -L and the directory. + + Remove duplicated object files in static libraries. + + Revert "Add `-Wl,-rpath-link` for secondary dependencies". +- Drop meson-testsuite.patch: fixed upstream. + +------------------------------------------------------------------- @@ -9,0 +44,26 @@ + +------------------------------------------------------------------- +Mon Oct 7 09:56:54 UTC 2019 - Dominique Leuenberger <dims...@opensuse.org> + +- Update to version 0.52.0: + + Gettext targets are ignored if gettext is not installed. + + Support taking environment values from a dictionary. + + Enhancements to the pkg_config_path argument. + + The meson test program now accepts an additional "--gdb-path" + argument to specify the GDB binary. + + Splitting of Compiler.get_function_attribute('visibility'). + + Compiler and dynamic linker representation split. + + Enhancements to the source_set module. + + added --only test(s) option to run_project_tests.py. + + Experimental Webassembly support via Emscripten. + + Version check in find_program(). + + Improved support for static libraries. + + Enhancements to the kconfig module. + + Enhancements to configure_file(). + + Projects args can be set separately for build and host machines + (potentially breaking change). + + Dist is now a top level command. +- Rebase meson-test-installed-bin.patch and meson-distutils.patch. +- Drop gcc9-sanitizer.patch: no longer needed. +- Add meson-testsuite.patch: linkers: Concatenate -L and the + directory. Old: ---- gcc9-sanitizer.patch meson-0.51.2.tar.gz meson-0.51.2.tar.gz.asc New: ---- meson-0.53.0.tar.gz meson-0.53.0.tar.gz.sig meson-pkgconf-libdir.patch meson-testsuite-boost.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ meson.spec ++++++ --- /var/tmp/diff_new_pack.mrLted/_old 2020-01-24 14:21:00.918616203 +0100 +++ /var/tmp/diff_new_pack.mrLted/_new 2020-01-24 14:21:00.922616205 +0100 @@ -1,7 +1,7 @@ # # spec file for package meson # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -28,14 +28,14 @@ %{!?vim_data_dir:%global vim_data_dir %{_datadir}/vim} %bcond_with setuptools Name: meson%{name_ext} -Version: 0.51.2 +Version: 0.53.0 Release: 0 Summary: Python-based build system License: Apache-2.0 Group: Development/Tools/Building URL: http://mesonbuild.com/ Source: https://github.com/%{_name}/meson/releases/download/%{version}/meson-%{version}.tar.gz -Source1: https://github.com/%{_name}/meson/releases/download/%{version}/meson-%{version}.tar.gz.asc +Source1: https://github.com/%{_name}/meson/releases/download/%{version}/meson-%{version}.tar.gz.sig Source2: meson.keyring # PATCH-FIX-OPENSUSE meson-suse-ify-macros.patch dims...@opensuse.org -- Make the macros non-RedHat specific: so far there are no separate {C,CXX,F}FLAGS. Patch0: meson-suse-ify-macros.patch @@ -49,7 +49,10 @@ Patch4: meson-fix-gcc48.patch # PATCH-FEATURE-OPENSUSE meson-distutils.patch tchva...@suse.com -- build and install using distutils instead of full setuptools Patch5: meson-distutils.patch -Patch6: gcc9-sanitizer.patch +# PATCH-FIX-UPSTREAM meson-pkgconf-libdir.patch dims...@opensuse.org -- https://github.com/mesonbuild/meson/pull/6458 +Patch6: meson-pkgconf-libdir.patch +# PATCH-FIX-UPSREAM meson-testsuite-boost.patch dims...@opensuse.org -- https://github.com/mesonbuild/meson/issues/4788 +Patch7: meson-testsuite-boost.patch BuildRequires: fdupes BuildRequires: python-rpm-macros BuildRequires: python3-base @@ -108,6 +111,8 @@ %if 0%{?suse_version} >= 1500 BuildRequires: java-headless BuildRequires: libboost_log-devel +BuildRequires: libboost_python-devel +BuildRequires: libboost_python3-devel BuildRequires: libboost_system-devel BuildRequires: libboost_test-devel BuildRequires: libboost_thread-devel @@ -166,6 +171,9 @@ %patch5 -p1 %endif %patch6 -p1 +(cd "test cases/frameworks/1 boost" +%patch7 -p0 +) # Remove static boost tests from "test cases/frameworks/1 boost/". sed -i "/static/d" test\ cases/frameworks/1\ boost/meson.build @@ -190,7 +198,6 @@ %if !%{with test} %python3_build %else -# FIXME: you should use %%meson macros # Ensure we have no mesonbuild / meson in CWD, thus guaranteeing we use meson in $PATH rm -r meson.py mesonbuild %endif ++++++ meson-0.51.2.tar.gz -> meson-0.53.0.tar.gz ++++++ ++++ 73186 lines of diff (skipped) ++++++ meson-distutils.patch ++++++ --- /var/tmp/diff_new_pack.mrLted/_old 2020-01-24 14:21:01.666616466 +0100 +++ /var/tmp/diff_new_pack.mrLted/_new 2020-01-24 14:21:01.670616467 +0100 @@ -1,9 +1,9 @@ -Index: meson-0.49.0/setup.py +Index: meson-0.52.0/setup.py =================================================================== ---- meson-0.49.0.orig/setup.py -+++ meson-0.49.0/setup.py -@@ -22,7 +22,7 @@ if sys.version_info < (3, 5, 0): - sys.exit(1) +--- meson-0.52.0.orig/setup.py ++++ meson-0.52.0/setup.py +@@ -21,7 +21,7 @@ if sys.version_info < (3, 5, 2): + '\nMeson requires Python 3.5.2 or greater'.format(sys.version)) from mesonbuild.coredata import version -from setuptools import setup ++++++ meson-pkgconf-libdir.patch ++++++ >From 1ce668f9163e1c912382eeb0e6ae40d123c0cca9 Mon Sep 17 00:00:00 2001 From: Mike Gilbert <flop...@gentoo.org> Date: Mon, 13 Jan 2020 23:46:09 -0500 Subject: [PATCH] test_pkgconfig_gen_deps: set PKG_CONFIG_SYSTEM_LIBRARY_PATH=/usr/lib pkgconf automatically prunes "system library paths" from its output. The system library paths depend on the system toolchain. A common value on a 64-bit system is as follows: /lib64:/usr/lib64:/usr/local/lib64 So, if -L/usr/lib64 appears in the Libs section, it will be pruned from the output of pkg-config --libs. The pc files generated for this test contain something like this: libdir=/usr/lib Libs: -L${libdir} ... pkgconf may not consider /usr/lib to be a system library path, so it is not pruned as the test expects. To work around this, override the compiled-in list of paths via the PKG_CONFIG_SYSTEM_LIBRARY_PATH environment variable. Fixes: https://github.com/mesonbuild/meson/issues/6004 --- run_unittests.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/run_unittests.py b/run_unittests.py index 898f05e54d..5a60b9b6a4 100755 --- a/run_unittests.py +++ b/run_unittests.py @@ -4832,7 +4832,10 @@ def test_pkgconfig_gen_deps(self): privatedir2 = self.privatedir os.environ - env = {'PKG_CONFIG_LIBDIR': os.pathsep.join([privatedir1, privatedir2])} + env = { + 'PKG_CONFIG_LIBDIR': os.pathsep.join([privatedir1, privatedir2]), + 'PKG_CONFIG_SYSTEM_LIBRARY_PATH': '/usr/lib', + } self._run(['pkg-config', 'dependency-test', '--validate'], override_envvars=env) # pkg-config strips some duplicated flags so we have to parse the ++++++ meson-test-installed-bin.patch ++++++ --- /var/tmp/diff_new_pack.mrLted/_old 2020-01-24 14:21:01.686616473 +0100 +++ /var/tmp/diff_new_pack.mrLted/_new 2020-01-24 14:21:01.686616473 +0100 @@ -1,11 +1,13 @@ ---- a/run_tests.py -+++ b/run_tests.py -@@ -104,18 +104,10 @@ def get_meson_script(): +Index: meson-0.53.0/run_tests.py +=================================================================== +--- meson-0.53.0.orig/run_tests.py ++++ meson-0.53.0/run_tests.py +@@ -134,18 +134,10 @@ def get_meson_script(): Also used by run_unittests.py to determine what meson to run when not running in-process (which is the default). ''' - # Is there a meson.py next to the mesonbuild currently in use? -- mesonbuild_dir = Path(mesonbuild.__file__).resolve().parent.parent +- mesonbuild_dir = Path(mesonmain.__file__).resolve().parent.parent - meson_script = mesonbuild_dir / 'meson.py' - if meson_script.is_file(): - return str(meson_script) @@ -21,7 +23,7 @@ def get_backend_args_for_dir(backend, builddir): ''' -@@ -296,12 +288,12 @@ def main(): +@@ -363,12 +355,12 @@ def main(): else: env['PYTHONPATH'] = temp_dir if not cross: @@ -37,6 +39,6 @@ + #returncode += subprocess.call(cmd, env=env) + #if options.failfast and returncode != 0: + # return returncode - cmd = mesonlib.python_command + ['run_unittests.py', '-v'] - if options.failfast: - cmd += ['--failfast'] + if no_unittests: + print('Skipping all unit tests.') + returncode = 0 ++++++ meson-testsuite-boost.patch ++++++ Index: meson-0.53.0/test cases/frameworks/1 boost/meson.build =================================================================== --- meson.build +++ meson.build @@ -35,16 +35,7 @@ python3dep = python3.dependency(required # compile python 2/3 modules only if we found a corresponding python version if(python2dep.found() and host_machine.system() == 'linux') - if(dep.version().version_compare('>=1.67')) - # if we have a new version of boost, we need to construct the module name based - # on the installed version of python (and hope that they match the version boost - # was compiled against) - py2version_string = ''.join(python2dep.version().split('.')) - bpython2dep = dependency('boost', modules : ['python' + py2version_string]) - else - # if we have an older version of boost, we need to use the old module names - bpython2dep = dependency('boost', modules : ['python']) - endif + bpython2dep = dependency('boost', modules : ['python']) if not (bpython2dep.found()) bpython2dep = disabler() @@ -55,12 +46,7 @@ else endif if(python3dep.found() and host_machine.system() == 'linux') - if(dep.version().version_compare('>=1.67')) - py3version_string = ''.join(python3dep.version().split('.')) - bpython3dep = dependency('boost', modules : ['python' + py3version_string]) - else - bpython3dep = dependency('boost', modules : ['python3']) - endif + bpython3dep = dependency('boost', modules : ['python3']) if not (bpython3dep.found()) bpython3dep = disabler()