Hello community, here is the log from the commit of package meson for openSUSE:Factory checked in at 2017-03-22 23:04:52 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/meson (Old) and /work/SRC/openSUSE:Factory/.meson.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "meson" Wed Mar 22 23:04:52 2017 rev:16 rq:481314 version:0.39.1 Changes: -------- --- /work/SRC/openSUSE:Factory/meson/meson.changes 2017-01-11 12:04:59.163029841 +0100 +++ /work/SRC/openSUSE:Factory/.meson.new/meson.changes 2017-03-22 23:04:54.717422887 +0100 @@ -1,0 +2,39 @@ +Mon Mar 20 11:21:10 UTC 2017 - dims...@opensuse.org + +- Add meson-disable-untested-code.patch: meson has code in the test + suite that assumes different behaviour between glib 2.51.5 (rc) + and 2.52.0 (final); this must be a wrong assumption to start with + and the test suite fails with 2.52.0. When this was added by + upstream 4 months before glib-2.52.0 was released, there must + have been no way at all to test this. We revert back to a state + like with the previous glib verison, where this test was simply + skipped (gh#mesonbuild/meson#1480). + +------------------------------------------------------------------- +Thu Mar 16 11:04:13 UTC 2017 - sor.ale...@meowr.ru + +- Update to version 0.39.1 (changes since 0.38.1): + * Allow specifying extra arguments for tests. + * Bug fixes and minor polishes. +- Add meson-fix-gcc48.patch: fix GCC 4.8 handling for + openSUSE Leap 42.x. + +------------------------------------------------------------------- +Sat Mar 4 14:50:28 UTC 2017 - dims...@opensuse.org + +- Update to version 0.38.1: + + New Uninstall target. + + Support for arbitrary test setups. + + Intel C/C++ compiler support. + + Get values from configuration data objects. + + Python 3 module support simplified. + + Default options to subprojects. + + Set targets to be built (or not) by default. + + Add option to mesonconf to wipe cached data. + + Can specify file permissions and owner when installing data. + + has_header() checks are now faster. + + Array indexing now supports fallback values. + + Silent mode for Mesontest. +- Rebase meson-suse-ify-macros.patch. + +------------------------------------------------------------------- Old: ---- meson-0.37.1.tar.gz meson-0.37.1.tar.gz.asc New: ---- meson-0.39.1.tar.gz meson-0.39.1.tar.gz.asc meson-disable-untested-code.patch meson-fix-gcc48.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ meson.spec ++++++ --- /var/tmp/diff_new_pack.0UNwrg/_old 2017-03-22 23:04:56.309197293 +0100 +++ /var/tmp/diff_new_pack.0UNwrg/_new 2017-03-22 23:04:56.313196727 +0100 @@ -18,7 +18,7 @@ %define _name mesonbuild Name: meson -Version: 0.37.1 +Version: 0.39.1 Release: 0 Summary: Python-based build system License: Apache-2.0 @@ -27,8 +27,12 @@ Source: https://github.com/%{_name}/%{name}/releases/download/%{version}/%{name}-%{version}.tar.gz Source1: https://github.com/%{_name}/%{name}/releases/download/%{version}/%{name}-%{version}.tar.gz.asc Source2: %{name}.keyring -# PATCH-FIX-OPENSUSE meson-suse-ify-macros.patch dims...@opensuse.org -- Make the macros non-RetHat specific. So far we do not have sep. {C,CXX,F}FLAGS +# 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 +# PATCH-FIX-OPENSUSE meson-fix-gcc48.patch sor.ale...@meowr.ru -- Fix GCC 4.8 handling for openSUSE Leap 42.x. +Patch1: meson-fix-gcc48.patch +# PATCH-FIX-UPSTREAM meson-disable-untested-code.patch gh#mesonbuild/meson#1480 dims...@opensuse.org -- Do not assume that the untested meson test works with glib 2.52.0 +Patch2: meson-disable-untested-code.patch BuildRequires: bison BuildRequires: boost-devel BuildRequires: flex @@ -74,6 +78,8 @@ %prep %setup -q %patch0 -p1 +%patch1 -p1 +%patch2 -p1 # Lack of gtest, gmock, gnustep. rm -rf "test cases/frameworks/2 gtest" \ @@ -109,6 +115,7 @@ %{_mandir}/man1/%{name}.1%{?ext_man} %{_mandir}/man1/%{name}conf.1%{?ext_man} %{_mandir}/man1/%{name}introspect.1%{?ext_man} +%{_mandir}/man1/%{name}test.1%{?ext_man} %{_mandir}/man1/wraptool.1%{?ext_man} %changelog ++++++ meson-0.37.1.tar.gz -> meson-0.39.1.tar.gz ++++++ ++++ 19946 lines of diff (skipped) ++++++ meson-disable-untested-code.patch ++++++ Index: meson-0.39.1/test cases/frameworks/7 gnome/resources/meson.build =================================================================== --- meson-0.39.1.orig/test cases/frameworks/7 gnome/resources/meson.build +++ meson-0.39.1/test cases/frameworks/7 gnome/resources/meson.build @@ -29,7 +29,7 @@ gnome.compile_resources('simple-resource ) test('simple resource test (gresource)', find_program('resources.py')) -if glib.version() >= '2.52.0' +if glib.version() >= '9.99.9' # This test cannot pass if GLib version is older than 9.99.9. # Meson will raise an error if the user tries to use the 'dependencies' # argument and the version of GLib is too old for generated resource ++++++ meson-fix-gcc48.patch ++++++ --- a/mesonbuild/compilers.py +++ b/mesonbuild/compilers.py @@ -2403,9 +2403,13 @@ class GnuCPPCompiler(GnuCompiler, CPPCom '3': default_warn_args + ['-Wextra', '-Wpedantic']} def get_options(self): + c_stds = ['c++03', 'c++11'] + g_stds = ['gnu++03', 'gnu++11'] + if mesonlib.version_compare(self.version, '>=5.0.0'): + c_stds += ['c++14', 'c++1z'] + g_stds += ['gnu++14', 'gnu++1z'] opts = {'cpp_std': coredata.UserComboOption('cpp_std', 'C++ language standard to use', - ['none', 'c++03', 'c++11', 'c++14', 'c++1z', - 'gnu++03', 'gnu++11', 'gnu++14', 'gnu++1z'], + ['none'] + c_stds + g_stds, 'none'), 'cpp_debugstl': coredata.UserBooleanOption('cpp_debugstl', 'STL debug mode', ++++++ meson-suse-ify-macros.patch ++++++ --- /var/tmp/diff_new_pack.0UNwrg/_old 2017-03-22 23:04:56.821124742 +0100 +++ /var/tmp/diff_new_pack.0UNwrg/_new 2017-03-22 23:04:56.825124175 +0100 @@ -1,8 +1,8 @@ -Index: meson-0.37.1/data/macros.meson +Index: meson-0.38.1/data/macros.meson =================================================================== ---- meson-0.37.1.orig/data/macros.meson -+++ meson-0.37.1/data/macros.meson -@@ -1,11 +1,12 @@ +--- meson-0.38.1.orig/data/macros.meson ++++ meson-0.38.1/data/macros.meson +@@ -1,11 +1,13 @@ %__meson %{_bindir}/meson +%_vpath_srcdir . +%_vpath_builddir build @@ -13,6 +13,7 @@ - export FFLAGS="${FFLAGS:-%__global_fflags}" \ - export FCFLAGS="${FCFLAGS:-%__global_fcflags}" \ - export LDFLAGS="${LDFLAGS:-%__global_ldflags}" \ ++ export LANG=C.UTF-8 \ + export CFLAGS="${CFLAGS:-%optflags}" \ + export CXXFLAGS="${CXXFLAGS:-%optflags}" \ + export FFLAGS="${FFLAGS:-%optflags}" \