Hello community, here is the log from the commit of package meson for openSUSE:Factory checked in at 2018-02-09 15:44:05 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/meson (Old) and /work/SRC/openSUSE:Factory/.meson.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "meson" Fri Feb 9 15:44:05 2018 rev:27 rq:573240 version:0.44.0 Changes: -------- --- /work/SRC/openSUSE:Factory/meson/meson-testsuite.changes 2017-11-30 12:34:45.733107022 +0100 +++ /work/SRC/openSUSE:Factory/.meson.new/meson-testsuite.changes 2018-02-09 15:44:07.698754504 +0100 @@ -1,0 +2,25 @@ +Mon Feb 5 15:06:54 UTC 2018 - dims...@opensuse.org + +- Update to version 0.44.0: + + New features: + - Added warning function. + - Adds support for additional Qt5-Module keyword + moc_extra_arguments. + - Prefix-dependent defaults for sysconfdir, localstatedir and + sharedstatedir. + - An array type for user options. + - LLVM dependency supports both dynamic and static linking. + - Added if_found to subdir. + - get_unquoted() method for the configuration data object. + - Added disabler object. + - Config-Tool based dependencies gained a method to get + arbitrary options. + - Embedded Python in Windows MSI packages. +- Rebase meson-suse-ify-macros.patch, meson-fix-gcc48.patch and + meson-test-installed-bin.patch. +- Testsuite changes: + + Disable tests for static llvm: we don't ship the static libs. + + Add cmake(Qt5LinguistTools), libwmf-devel BuildRequires and + zlib-devel-static: new dependencies for various tests. + +------------------------------------------------------------------- meson.changes: same change Old: ---- meson-0.43.0.tar.gz meson-0.43.0.tar.gz.asc New: ---- meson-0.44.0.tar.gz meson-0.44.0.tar.gz.asc ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ meson-testsuite.spec ++++++ --- /var/tmp/diff_new_pack.3P64Yb/_old 2018-02-09 15:44:08.374730234 +0100 +++ /var/tmp/diff_new_pack.3P64Yb/_new 2018-02-09 15:44:08.374730234 +0100 @@ -1,7 +1,7 @@ # # spec file for package meson-testsuite # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -24,7 +24,7 @@ %endif %define _name mesonbuild Name: meson%{name_ext} -Version: 0.43.0 +Version: 0.44.0 Release: 0 Summary: Python-based build system License: Apache-2.0 @@ -56,8 +56,9 @@ BuildRequires: gtk-doc BuildRequires: itstool BuildRequires: libpcap-devel +BuildRequires: libwmf-devel BuildRequires: llvm-devel -BuildRequires: meson >= %{version} +BuildRequires: meson = %{version} BuildRequires: ncurses-devel BuildRequires: ninja BuildRequires: openmpi-devel @@ -67,8 +68,10 @@ BuildRequires: python3-setuptools BuildRequires: vala BuildRequires: vulkan-devel +BuildRequires: zlib-devel-static BuildRequires: cmake(Qt5Core) BuildRequires: cmake(Qt5Gui) +BuildRequires: cmake(Qt5LinguistTools) BuildRequires: cmake(Qt5Widgets) BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(gobject-introspection-1.0) @@ -125,6 +128,9 @@ # Remove static boost tests from test cases/frameworks/1 boost (can't use patch due to spaces in dirname) sed -i "/static/d" test\ cases/frameworks/1\ boost/meson.build +# Disable test of llvm-static libs: openSUSE does not package/ship them +sed -i "s/foreach static : \[true, false\]/foreach static : \[false\]/" test\ cases/frameworks/15\ llvm/meson.build + # We do not have gmock available at this moment - can't run the test suite for it rm -rf "test cases/frameworks/3 gmock" \ "test cases/objc/2 nsstring" @@ -138,7 +144,9 @@ python3 setup.py build %else # When running the test suite, we want to be sure to use the installed meson version -rm -rf meson.py mesonbuild +# For now, the only supported test suite is against the source directory, https://github.com/mesonbuild/meson/issues/3015 +# and there is so much weird code now in mesonlibs, that patching it to not require it became a nightmare - let's do what upstream wants for now +echo "Prefereably we would do 'rm -rf meson.py mesonbuild' here, but we can't" %endif %install @@ -150,11 +158,11 @@ install -Dpm 0644 data/macros.meson \ %{buildroot}%{_rpmconfigdir}/macros.d/macros.meson -install -Dpm 0644 syntax-highlighting/vim/ftdetect/meson.vim \ +install -Dpm 0644 data/syntax-highlighting/vim/ftdetect/meson.vim \ -t %{buildroot}%{vim_data_dir}/site/ftdetect -install -Dpm 0644 syntax-highlighting/vim/indent/meson.vim \ +install -Dpm 0644 data/syntax-highlighting/vim/indent/meson.vim \ -t %{buildroot}%{vim_data_dir}/site/indent -install -Dpm 0644 syntax-highlighting/vim/syntax/meson.vim \ +install -Dpm 0644 data/syntax-highlighting/vim/syntax/meson.vim \ -t %{buildroot}%{vim_data_dir}/site/syntax %endif @@ -187,7 +195,7 @@ %if !%{testsuite} %files vim -%doc syntax-highlighting/vim/README +%doc data/syntax-highlighting/vim/README %dir %{vim_data_dir} %dir %{vim_data_dir}/site %dir %{vim_data_dir}/site/ftdetect ++++++ meson.spec ++++++ --- /var/tmp/diff_new_pack.3P64Yb/_old 2018-02-09 15:44:08.390729660 +0100 +++ /var/tmp/diff_new_pack.3P64Yb/_new 2018-02-09 15:44:08.394729516 +0100 @@ -1,7 +1,7 @@ # # spec file for package meson-testsuite # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -24,7 +24,7 @@ %endif %define _name mesonbuild Name: meson%{name_ext} -Version: 0.43.0 +Version: 0.44.0 Release: 0 Summary: Python-based build system License: Apache-2.0 @@ -56,8 +56,9 @@ BuildRequires: gtk-doc BuildRequires: itstool BuildRequires: libpcap-devel +BuildRequires: libwmf-devel BuildRequires: llvm-devel -BuildRequires: meson >= %{version} +BuildRequires: meson = %{version} BuildRequires: ncurses-devel BuildRequires: ninja BuildRequires: openmpi-devel @@ -67,8 +68,10 @@ BuildRequires: python3-setuptools BuildRequires: vala BuildRequires: vulkan-devel +BuildRequires: zlib-devel-static BuildRequires: cmake(Qt5Core) BuildRequires: cmake(Qt5Gui) +BuildRequires: cmake(Qt5LinguistTools) BuildRequires: cmake(Qt5Widgets) BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(gobject-introspection-1.0) @@ -125,6 +128,9 @@ # Remove static boost tests from test cases/frameworks/1 boost (can't use patch due to spaces in dirname) sed -i "/static/d" test\ cases/frameworks/1\ boost/meson.build +# Disable test of llvm-static libs: openSUSE does not package/ship them +sed -i "s/foreach static : \[true, false\]/foreach static : \[false\]/" test\ cases/frameworks/15\ llvm/meson.build + # We do not have gmock available at this moment - can't run the test suite for it rm -rf "test cases/frameworks/3 gmock" \ "test cases/objc/2 nsstring" @@ -138,7 +144,9 @@ python3 setup.py build %else # When running the test suite, we want to be sure to use the installed meson version -rm -rf meson.py mesonbuild +# For now, the only supported test suite is against the source directory, https://github.com/mesonbuild/meson/issues/3015 +# and there is so much weird code now in mesonlibs, that patching it to not require it became a nightmare - let's do what upstream wants for now +echo "Prefereably we would do 'rm -rf meson.py mesonbuild' here, but we can't" %endif %install @@ -150,11 +158,11 @@ install -Dpm 0644 data/macros.meson \ %{buildroot}%{_rpmconfigdir}/macros.d/macros.meson -install -Dpm 0644 syntax-highlighting/vim/ftdetect/meson.vim \ +install -Dpm 0644 data/syntax-highlighting/vim/ftdetect/meson.vim \ -t %{buildroot}%{vim_data_dir}/site/ftdetect -install -Dpm 0644 syntax-highlighting/vim/indent/meson.vim \ +install -Dpm 0644 data/syntax-highlighting/vim/indent/meson.vim \ -t %{buildroot}%{vim_data_dir}/site/indent -install -Dpm 0644 syntax-highlighting/vim/syntax/meson.vim \ +install -Dpm 0644 data/syntax-highlighting/vim/syntax/meson.vim \ -t %{buildroot}%{vim_data_dir}/site/syntax %endif @@ -187,7 +195,7 @@ %if !%{testsuite} %files vim -%doc syntax-highlighting/vim/README +%doc data/syntax-highlighting/vim/README %dir %{vim_data_dir} %dir %{vim_data_dir}/site %dir %{vim_data_dir}/site/ftdetect ++++++ meson-0.43.0.tar.gz -> meson-0.44.0.tar.gz ++++++ ++++ 10792 lines of diff (skipped) ++++++ meson-fix-gcc48.patch ++++++ --- /var/tmp/diff_new_pack.3P64Yb/_old 2018-02-09 15:44:08.978708548 +0100 +++ /var/tmp/diff_new_pack.3P64Yb/_new 2018-02-09 15:44:08.982708405 +0100 @@ -1,17 +1,19 @@ ---- a/mesonbuild/compilers/cpp.py -+++ b/mesonbuild/compilers/cpp.py -@@ -75,9 +75,13 @@ +Index: meson-0.44.0/mesonbuild/compilers/cpp.py +=================================================================== +--- meson-0.44.0.orig/mesonbuild/compilers/cpp.py ++++ meson-0.44.0/mesonbuild/compilers/cpp.py +@@ -75,9 +75,13 @@ class ClangCPPCompiler(ClangCompiler, CP '3': default_warn_args + ['-Wextra', '-Wpedantic']} def get_options(self): -+ c_stds = ['c++03', 'c++11'] ++ c_stds = ['c++98', 'c++03', 'c++11'] + g_stds = ['gnu++11'] + if version_compare(self.version, '>=5.0.0'): -+ c_stds += ['c++14', 'c++1z'] -+ g_stds += ['gnu++14', 'gnu++1z'] ++ c_stds += ['c++14', 'c++17', 'c++1z'] ++ g_stds += ['gnu++14', 'gnu++17', 'gnu++1z'] return {'cpp_std': coredata.UserComboOption('cpp_std', 'C++ language standard to use', -- ['none', 'c++03', 'c++11', 'c++14', 'c++1z', -- 'gnu++11', 'gnu++14', 'gnu++1z'], +- ['none', 'c++98', 'c++03', 'c++11', 'c++14', 'c++17', 'c++1z', +- 'gnu++11', 'gnu++14', 'gnu++17', 'gnu++1z'], + ['none'] + c_stds + g_stds, 'none')} ++++++ meson-suse-ify-macros.patch ++++++ --- /var/tmp/diff_new_pack.3P64Yb/_old 2018-02-09 15:44:08.990708118 +0100 +++ /var/tmp/diff_new_pack.3P64Yb/_new 2018-02-09 15:44:08.990708118 +0100 @@ -1,7 +1,7 @@ -Index: meson-0.41.0/data/macros.meson +Index: meson-0.44.0/data/macros.meson =================================================================== ---- meson-0.41.0.orig/data/macros.meson -+++ meson-0.41.0/data/macros.meson +--- meson-0.44.0.orig/data/macros.meson ++++ meson-0.44.0/data/macros.meson @@ -1,12 +1,14 @@ %__meson %{_bindir}/meson %__meson_wrap_mode nodownload @@ -22,7 +22,7 @@ %{__meson} \\\ --buildtype=plain \\\ --prefix=%{_prefix} \\\ -@@ -27,10 +29,13 @@ +@@ -27,12 +29,15 @@ %{nil} %meson_build \ @@ -35,4 +35,6 @@ %meson_test \ + export LANG=C.UTF-8 \ - %ninja_test -C %{_vpath_builddir} + %ninja_test -C %{_vpath_builddir} || \ + { rc=$?; \ + echo "-----BEGIN TESTLOG-----"; \ ++++++ meson-test-installed-bin.patch ++++++ --- /var/tmp/diff_new_pack.3P64Yb/_old 2018-02-09 15:44:09.002707687 +0100 +++ /var/tmp/diff_new_pack.3P64Yb/_new 2018-02-09 15:44:09.002707687 +0100 @@ -1,7 +1,7 @@ -Index: meson-0.43.0/run_project_tests.py +Index: meson-0.44.0/run_project_tests.py =================================================================== ---- meson-0.43.0.orig/run_project_tests.py -+++ meson-0.43.0/run_project_tests.py +--- meson-0.44.0.orig/run_project_tests.py ++++ meson-0.44.0/run_project_tests.py @@ -126,7 +126,7 @@ no_meson_log_msg = 'No meson-log.txt fou system_compiler = None @@ -11,23 +11,16 @@ if not os.path.exists(meson_command): meson_command += '.py' if not os.path.exists(meson_command): -Index: meson-0.43.0/run_unittests.py +Index: meson-0.44.0/run_unittests.py =================================================================== ---- meson-0.43.0.orig/run_unittests.py -+++ meson-0.43.0/run_unittests.py -@@ -459,11 +459,11 @@ class BasePlatformTests(unittest.TestCas +--- meson-0.44.0.orig/run_unittests.py ++++ meson-0.44.0/run_unittests.py +@@ -462,7 +462,7 @@ class BasePlatformTests(unittest.TestCas # Get the backend # FIXME: Extract this from argv? self.backend = getattr(Backend, os.environ.get('MESON_UNIT_TEST_BACKEND', 'ninja')) -- self.meson_args = [os.path.join(src_root, 'meson.py'), '--backend=' + self.backend.name] -+ self.meson_args = ['/usr/bin/meson', '--backend=' + self.backend.name] - self.meson_command = [sys.executable] + self.meson_args -- self.mconf_command = [sys.executable, os.path.join(src_root, 'meson.py'), 'configure'] -- self.mintro_command = [sys.executable, os.path.join(src_root, 'meson.py'), 'introspect'] -- self.mtest_command = [sys.executable, os.path.join(src_root, 'meson.py'), 'test', '-C', self.builddir] -+ self.mconf_command = [sys.executable, '/usr/bin/meson', 'configure'] -+ self.mintro_command = [sys.executable, '/usr/bin/meson', 'introspect'] -+ self.mtest_command = [sys.executable, '/usr/bin/meson', 'test', '-C', self.builddir] - # Backend-specific build commands - self.build_command, self.clean_command, self.test_command, self.install_command, \ - self.uninstall_command = get_backend_commands(self.backend) +- self.meson_mainfile = os.path.join(src_root, 'meson.py') ++ self.meson_mainfile = '/usr/bin/meson' + self.meson_args = ['--backend=' + self.backend.name] + self.meson_command = meson_command + self.meson_args + self.mconf_command = meson_command + ['configure']