Hello community,

here is the log from the commit of package meson for openSUSE:Factory checked 
in at 2018-12-10 12:24:48
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/meson (Old)
 and      /work/SRC/openSUSE:Factory/.meson.new.19453 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "meson"

Mon Dec 10 12:24:48 2018 rev:38 rq:653463 version:0.48.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/meson/meson-testsuite.changes    2018-11-13 
17:27:30.633455818 +0100
+++ /work/SRC/openSUSE:Factory/.meson.new.19453/meson-testsuite.changes 
2018-12-10 12:25:21.590705429 +0100
@@ -1,0 +2,6 @@
+Mon Nov 12 23:52:33 UTC 2018 - [email protected]
+
+- Update to version 0.48.2:
+  * See https://github.com/mesonbuild/meson/milestone/32?closed=1
+
+-------------------------------------------------------------------
meson.changes: same change

Old:
----
  meson-0.48.1.tar.gz
  meson-0.48.1.tar.gz.asc

New:
----
  meson-0.48.2.tar.gz
  meson-0.48.2.tar.gz.asc

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ meson-testsuite.spec ++++++
--- /var/tmp/diff_new_pack.xGCaSC/_old  2018-12-10 12:25:22.226704794 +0100
+++ /var/tmp/diff_new_pack.xGCaSC/_new  2018-12-10 12:25:22.226704794 +0100
@@ -24,7 +24,7 @@
 %endif
 %define _name   mesonbuild
 Name:           meson%{name_ext}
-Version:        0.48.1
+Version:        0.48.2
 Release:        0
 Summary:        Python-based build system
 License:        Apache-2.0

++++++ meson.spec ++++++
--- /var/tmp/diff_new_pack.xGCaSC/_old  2018-12-10 12:25:22.246704774 +0100
+++ /var/tmp/diff_new_pack.xGCaSC/_new  2018-12-10 12:25:22.250704771 +0100
@@ -24,7 +24,7 @@
 %endif
 %define _name   mesonbuild
 Name:           meson%{name_ext}
-Version:        0.48.1
+Version:        0.48.2
 Release:        0
 Summary:        Python-based build system
 License:        Apache-2.0

++++++ meson-0.48.1.tar.gz -> meson-0.48.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/meson-0.48.1/PKG-INFO new/meson-0.48.2/PKG-INFO
--- old/meson-0.48.1/PKG-INFO   2018-10-17 17:56:52.000000000 +0200
+++ new/meson-0.48.2/PKG-INFO   2018-11-08 23:47:18.000000000 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 1.2
 Name: meson
-Version: 0.48.1
+Version: 0.48.2
 Summary: A high performance build system
 Home-page: http://mesonbuild.com
 Author: Jussi Pakkanen
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/meson-0.48.1/man/meson.1 new/meson-0.48.2/man/meson.1
--- old/meson-0.48.1/man/meson.1        2018-10-16 18:21:38.000000000 +0200
+++ new/meson-0.48.2/man/meson.1        2018-11-08 23:44:17.000000000 +0100
@@ -1,4 +1,4 @@
-.TH MESON "1" "October 2018" "meson 0.48.1" "User Commands"
+.TH MESON "1" "November 2018" "meson 0.48.2" "User Commands"
 .SH NAME
 meson - a high productivity build system
 .SH DESCRIPTION
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/meson-0.48.1/meson.egg-info/PKG-INFO 
new/meson-0.48.2/meson.egg-info/PKG-INFO
--- old/meson-0.48.1/meson.egg-info/PKG-INFO    2018-10-17 17:56:47.000000000 
+0200
+++ new/meson-0.48.2/meson.egg-info/PKG-INFO    2018-11-08 23:47:17.000000000 
+0100
@@ -1,6 +1,6 @@
 Metadata-Version: 1.2
 Name: meson
-Version: 0.48.1
+Version: 0.48.2
 Summary: A high performance build system
 Home-page: http://mesonbuild.com
 Author: Jussi Pakkanen
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/meson-0.48.1/meson.egg-info/SOURCES.txt 
new/meson-0.48.2/meson.egg-info/SOURCES.txt
--- old/meson-0.48.1/meson.egg-info/SOURCES.txt 2018-10-17 17:56:47.000000000 
+0200
+++ new/meson-0.48.2/meson.egg-info/SOURCES.txt 2018-11-08 23:47:17.000000000 
+0100
@@ -568,6 +568,8 @@
 test cases/common/158 wrap file should not failed/src/subprojects/prog.c
 test cases/common/158 wrap file should not failed/src/subprojects/foo/prog2.c
 test cases/common/158 wrap file should not failed/subprojects/zlib.wrap
+test cases/common/158 wrap file should not failed/subprojects/foo-1.0/foo.c
+test cases/common/158 wrap file should not 
failed/subprojects/foo-1.0/meson.build
 test cases/common/158 wrap file should not 
failed/subprojects/packagecache/zlib-1.2.8-8-wrap.zip
 test cases/common/158 wrap file should not 
failed/subprojects/packagecache/zlib-1.2.8.tar.gz
 test cases/common/158 wrap file should not failed/subprojects/zlib-1.2.8/foo.c
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/meson-0.48.1/mesonbuild/backend/backends.py 
new/meson-0.48.2/mesonbuild/backend/backends.py
--- old/meson-0.48.1/mesonbuild/backend/backends.py     2018-10-16 
18:21:07.000000000 +0200
+++ new/meson-0.48.2/mesonbuild/backend/backends.py     2018-11-08 
23:43:13.000000000 +0100
@@ -13,6 +13,7 @@
 # limitations under the License.
 
 import os, pickle, re
+import textwrap
 from .. import build
 from .. import dependencies
 from .. import mesonlib
@@ -732,10 +733,11 @@
     def exe_object_to_cmd_array(self, exe):
         if self.environment.is_cross_build() and \
            isinstance(exe, build.BuildTarget) and exe.is_cross:
-            if self.environment.exe_wrapper is None:
-                s = 'Can not use target %s as a generator because it is 
cross-built\n'
-                s += 'and no exe wrapper is defined. You might want to set it 
to native instead.'
-                s = s % exe.name
+            if self.environment.exe_wrapper is None and 
self.environment.cross_info.need_exe_wrapper():
+                s = textwrap.dedent('''
+                    Can not use target {} as a generator because it is 
cross-built
+                    and no exe wrapper is defined or needs_exe_wrapper is true.
+                    You might want to set it to native 
instead.'''.format(exe.name))
                 raise MesonException(s)
         if isinstance(exe, build.BuildTarget):
             exe_arr = [os.path.join(self.environment.get_build_dir(), 
self.get_target_filename(exe))]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/meson-0.48.1/mesonbuild/coredata.py 
new/meson-0.48.2/mesonbuild/coredata.py
--- old/meson-0.48.1/mesonbuild/coredata.py     2018-10-16 18:21:24.000000000 
+0200
+++ new/meson-0.48.2/mesonbuild/coredata.py     2018-11-08 23:44:06.000000000 
+0100
@@ -23,7 +23,7 @@
 import ast
 import argparse
 
-version = '0.48.1'
+version = '0.48.2'
 backendlist = ['ninja', 'vs', 'vs2010', 'vs2015', 'vs2017', 'xcode']
 
 default_yielding = False
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/meson-0.48.1/mesonbuild/modules/gnome.py 
new/meson-0.48.2/mesonbuild/modules/gnome.py
--- old/meson-0.48.1/mesonbuild/modules/gnome.py        2018-10-16 
18:21:07.000000000 +0200
+++ new/meson-0.48.2/mesonbuild/modules/gnome.py        2018-11-08 
23:43:13.000000000 +0100
@@ -17,6 +17,7 @@
 
 import os
 import copy
+import shlex
 import subprocess
 
 from .. import build
@@ -1014,12 +1015,12 @@
             compiler = state.environment.coredata.compilers.get('c')
 
         if compiler:
-            args += ['--cc=%s' % ' '.join(compiler.get_exelist())]
-            args += ['--ld=%s' % ' '.join(compiler.get_linker_exelist())]
+            args += ['--cc=%s' % ' '.join([shlex.quote(x) for x in 
compiler.get_exelist()])]
+            args += ['--ld=%s' % ' '.join([shlex.quote(x) for x in 
compiler.get_linker_exelist()])]
         if cflags:
-            args += ['--cflags=%s' % ' '.join(cflags)]
+            args += ['--cflags=%s' % ' '.join([shlex.quote(x) for x in 
cflags])]
         if ldflags:
-            args += ['--ldflags=%s' % ' '.join(ldflags)]
+            args += ['--ldflags=%s' % ' '.join([shlex.quote(x) for x in 
ldflags])]
 
         return args
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/meson-0.48.1/mesonbuild/modules/i18n.py 
new/meson-0.48.2/mesonbuild/modules/i18n.py
--- old/meson-0.48.1/mesonbuild/modules/i18n.py 2018-10-16 18:21:07.000000000 
+0200
+++ new/meson-0.48.2/mesonbuild/modules/i18n.py 2018-11-08 23:43:13.000000000 
+0100
@@ -85,6 +85,10 @@
         if hasattr(inputfile, 'held_object'):
             ct = build.CustomTarget(kwargs['output'] + '_merge', state.subdir, 
state.subproject, kwargs)
         else:
+            if isinstance(inputfile, list):
+                # We only use this input file to create a name of the custom 
target.
+                # Thus we can ignore the other entries.
+                inputfile = inputfile[0]
             if isinstance(inputfile, str):
                 inputfile = 
mesonlib.File.from_source_file(state.environment.source_dir,
                                                        state.subdir, inputfile)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' "old/meson-0.48.1/test cases/common/158 wrap file should 
not failed/subprojects/foo-1.0/foo.c" "new/meson-0.48.2/test cases/common/158 
wrap file should not failed/subprojects/foo-1.0/foo.c"
--- "old/meson-0.48.1/test cases/common/158 wrap file should not 
failed/subprojects/foo-1.0/foo.c"      1970-01-01 01:00:00.000000000 +0100
+++ "new/meson-0.48.2/test cases/common/158 wrap file should not 
failed/subprojects/foo-1.0/foo.c"      2018-10-18 03:50:02.000000000 +0200
@@ -0,0 +1,3 @@
+int dummy_func() {
+    return 42;
+}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' "old/meson-0.48.1/test cases/common/158 wrap file should 
not failed/subprojects/foo-1.0/meson.build" "new/meson-0.48.2/test 
cases/common/158 wrap file should not failed/subprojects/foo-1.0/meson.build"
--- "old/meson-0.48.1/test cases/common/158 wrap file should not 
failed/subprojects/foo-1.0/meson.build"        1970-01-01 01:00:00.000000000 
+0100
+++ "new/meson-0.48.2/test cases/common/158 wrap file should not 
failed/subprojects/foo-1.0/meson.build"        2018-10-20 16:32:08.000000000 
+0200
@@ -0,0 +1,2 @@
+project('shared lib', 'c')
+libfoo = shared_library('foo', 'foo.c')
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' "old/meson-0.48.1/test cases/frameworks/21 
libwmf/meson.build" "new/meson-0.48.2/test cases/frameworks/21 
libwmf/meson.build"
--- "old/meson-0.48.1/test cases/frameworks/21 libwmf/meson.build"      
2018-10-16 21:07:57.000000000 +0200
+++ "new/meson-0.48.2/test cases/frameworks/21 libwmf/meson.build"      
2018-11-08 23:43:13.000000000 +0100
@@ -9,7 +9,11 @@
 libwmf_ver = libwmf_dep.version()
 assert(libwmf_ver.split('.').length() > 1, 'libwmf version is 
"@0@"'.format(libwmf_ver))
 message('libwmf version is "@0@"'.format(libwmf_ver))
-e = executable('libwmf_prog', 'libwmf_prog.c', dependencies : libwmf_dep)
+# Workaround for Debian bug 912563 where libwmf-devel returns cflags
+# that do not not have Freetype include paths but their headers
+# use them unconditionally.
+ft_dep = dependency('freetype2')
+e = executable('libwmf_prog', 'libwmf_prog.c', dependencies : [libwmf_dep, 
ft_dep])
 
 test('libwmftest', e)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' "old/meson-0.48.1/test cases/frameworks/6 
gettext/data/meson.build" "new/meson-0.48.2/test cases/frameworks/6 
gettext/data/meson.build"
--- "old/meson-0.48.1/test cases/frameworks/6 gettext/data/meson.build" 
2018-10-16 18:21:07.000000000 +0200
+++ "new/meson-0.48.2/test cases/frameworks/6 gettext/data/meson.build" 
2018-11-08 23:43:13.000000000 +0100
@@ -10,7 +10,7 @@
 
 # Use filename substitution for another file
 i18n.merge_file(
-  input: 'test2.desktop.in',
+  input: files('test2.desktop.in'),
   output: '@BASENAME@',
   type: 'desktop',
   po_dir: '../po',


Reply via email to