Hello community,

here is the log from the commit of package meson for openSUSE:Factory checked 
in at 2019-03-01 20:29:45
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/meson (Old)
 and      /work/SRC/openSUSE:Factory/.meson.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "meson"

Fri Mar  1 20:29:45 2019 rev:41 rq:679599 version:0.49.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/meson/meson.changes      2019-02-13 
10:16:28.309378508 +0100
+++ /work/SRC/openSUSE:Factory/.meson.new.28833/meson.changes   2019-03-01 
20:29:47.834005906 +0100
@@ -1,0 +2,11 @@
+Tue Feb 26 19:16:24 UTC 2019 - Luigi Baldoni <aloi...@gmx.com>
+
+- Update to version 0.49.2
+  * qt: Only look for a framework on macOS if building for macOS
+  * deps: Don't reject cross usage of extra frameworks
+  * pkgconfig: Only warn about deprecation at a location once
+  * pkgconfig: Avoid deprecation warning when using new syntax
+  * Add all files from scripts to MSI package. Closes #4621.
+  * qt: Print the full path of the `qmake` binary found 
+
+-------------------------------------------------------------------

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

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

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

Other differences:
------------------
++++++ meson.spec ++++++
--- /var/tmp/diff_new_pack.mULE2j/_old  2019-03-01 20:29:48.654005709 +0100
+++ /var/tmp/diff_new_pack.mULE2j/_new  2019-03-01 20:29:48.658005707 +0100
@@ -28,7 +28,7 @@
 %{!?vim_data_dir:%global vim_data_dir %{_datadir}/vim}
 %bcond_with setuptools
 Name:           meson%{name_ext}
-Version:        0.49.1
+Version:        0.49.2
 Release:        0
 Summary:        Python-based build system
 License:        Apache-2.0

++++++ meson-0.49.1.tar.gz -> meson-0.49.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/meson-0.49.1/PKG-INFO new/meson-0.49.2/PKG-INFO
--- old/meson-0.49.1/PKG-INFO   2019-01-23 17:49:49.000000000 +0100
+++ new/meson-0.49.2/PKG-INFO   2019-02-04 20:19:34.000000000 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 1.2
 Name: meson
-Version: 0.49.1
+Version: 0.49.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.49.1/man/meson.1 new/meson-0.49.2/man/meson.1
--- old/meson-0.49.1/man/meson.1        2019-01-23 17:46:38.000000000 +0100
+++ new/meson-0.49.2/man/meson.1        2019-02-03 18:41:01.000000000 +0100
@@ -1,4 +1,4 @@
-.TH MESON "1" "January 2019" "meson 0.49.1" "User Commands"
+.TH MESON "1" "January 2019" "meson 0.49.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.49.1/meson.egg-info/PKG-INFO 
new/meson-0.49.2/meson.egg-info/PKG-INFO
--- old/meson-0.49.1/meson.egg-info/PKG-INFO    2019-01-23 17:49:43.000000000 
+0100
+++ new/meson-0.49.2/meson.egg-info/PKG-INFO    2019-02-04 20:19:24.000000000 
+0100
@@ -1,6 +1,6 @@
 Metadata-Version: 1.2
 Name: meson
-Version: 0.49.1
+Version: 0.49.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.49.1/mesonbuild/coredata.py 
new/meson-0.49.2/mesonbuild/coredata.py
--- old/meson-0.49.1/mesonbuild/coredata.py     2019-01-23 17:46:09.000000000 
+0100
+++ new/meson-0.49.2/mesonbuild/coredata.py     2019-02-03 18:41:01.000000000 
+0100
@@ -25,7 +25,7 @@
 import argparse
 import configparser
 
-version = '0.49.1'
+version = '0.49.2'
 backendlist = ['ninja', 'vs', 'vs2010', 'vs2015', 'vs2017', 'xcode']
 
 default_yielding = False
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/meson-0.49.1/mesonbuild/dependencies/base.py 
new/meson-0.49.2/mesonbuild/dependencies/base.py
--- old/meson-0.49.1/mesonbuild/dependencies/base.py    2019-01-23 
17:46:09.000000000 +0100
+++ new/meson-0.49.2/mesonbuild/dependencies/base.py    2019-02-03 
18:41:01.000000000 +0100
@@ -1934,11 +1934,6 @@
             self.link_args = ['-F' + self.path, '-framework', 
self.name.split('.')[0]]
 
     def detect(self, name, path):
-        # should use the compiler to look for frameworks, rather than peering 
at
-        # the filesystem, so we can also find them when cross-compiling
-        if self.want_cross:
-            return
-
         lname = name.lower()
         if path is None:
             paths = ['/System/Library/Frameworks', '/Library/Frameworks']
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/meson-0.49.1/mesonbuild/dependencies/ui.py 
new/meson-0.49.2/mesonbuild/dependencies/ui.py
--- old/meson-0.49.1/mesonbuild/dependencies/ui.py      2019-01-23 
17:46:09.000000000 +0100
+++ new/meson-0.49.2/mesonbuild/dependencies/ui.py      2019-02-03 
18:41:01.000000000 +0100
@@ -366,7 +366,7 @@
             return
         self.version = re.search(self.qtver + '(\.\d+)+', stdo).group(0)
         # Query library path, header path, and binary path
-        mlog.log("Found qmake:", mlog.bold(self.qmake.get_name()), '(%s)' % 
self.version)
+        mlog.log("Found qmake:", mlog.bold(self.qmake.get_path()), '(%s)' % 
self.version)
         stdo = Popen_safe(self.qmake.get_command() + ['-query'])[1]
         qvars = {}
         for line in stdo.split('\n'):
@@ -375,7 +375,9 @@
                 continue
             (k, v) = tuple(line.split(':', 1))
             qvars[k] = v
-        if mesonlib.is_osx():
+        # Qt on macOS uses a framework, but Qt for iOS does not
+        if self.env.machines.host.is_darwin() and 'ios' not in 
qvars['QMAKE_XSPEC']:
+            mlog.debug("Building for macOS, looking for framework")
             self._framework_detect(qvars, mods, kwargs)
             return qmake
         incdir = qvars['QT_INSTALL_HEADERS']
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/meson-0.49.1/mesonbuild/modules/pkgconfig.py 
new/meson-0.49.2/mesonbuild/modules/pkgconfig.py
--- old/meson-0.49.1/mesonbuild/modules/pkgconfig.py    2019-01-06 
22:41:19.000000000 +0100
+++ new/meson-0.49.2/mesonbuild/modules/pkgconfig.py    2019-02-03 
18:41:01.000000000 +0100
@@ -23,6 +23,8 @@
 from . import ExtensionModule
 from ..interpreterbase import permittedKwargs, FeatureNew, FeatureNewKwargs
 
+already_warned_objs = set()
+
 class DependenciesHelper:
     def __init__(self, name):
         self.name = name
@@ -51,16 +53,21 @@
         self.priv_reqs += self._process_reqs(reqs)
 
     def _check_generated_pc_deprecation(self, obj):
-        if hasattr(obj, 'generated_pc_warn'):
-            mlog.deprecation('Library', mlog.bold(obj.name), 'was passed to 
the '
-                             '"libraries" keyword argument of a previous call '
-                             'to generate() method instead of first positional 
'
-                             'argument.', 'Adding', 
mlog.bold(obj.generated_pc),
-                             'to "Requires" field, but this is a deprecated '
-                             'behaviour that will change in a future version '
-                             'of Meson. Please report the issue if this '
-                             'warning cannot be avoided in your case.',
-                             location=obj.generated_pc_warn)
+        if not hasattr(obj, 'generated_pc_warn'):
+            return
+        name = obj.generated_pc_warn[0]
+        if (name, obj.name) in already_warned_objs:
+            return
+        mlog.deprecation('Library', mlog.bold(obj.name), 'was passed to the '
+                         '"libraries" keyword argument of a previous call '
+                         'to generate() method instead of first positional '
+                         'argument.', 'Adding', mlog.bold(obj.generated_pc),
+                         'to "Requires" field, but this is a deprecated '
+                         'behaviour that will change in a future version '
+                         'of Meson. Please report the issue if this '
+                         'warning cannot be avoided in your case.',
+                         location=obj.generated_pc_warn[1])
+        already_warned_objs.add((name, obj.name))
 
     def _process_reqs(self, reqs):
         '''Returns string names of requirements'''
@@ -438,11 +445,13 @@
                 mainlib.generated_pc = filebase
             else:
                 mlog.warning('Already generated a pkg-config file for', 
mlog.bold(mainlib.name))
-        for lib in deps.pub_libs:
-            if not isinstance(lib, str) and not hasattr(lib, 'generated_pc'):
-                lib.generated_pc = filebase
-                lib.generated_pc_warn = 
types.SimpleNamespace(subdir=state.subdir,
-                                                              
lineno=state.current_lineno)
+        else:
+            for lib in deps.pub_libs:
+                if not isinstance(lib, str) and not hasattr(lib, 
'generated_pc'):
+                    lib.generated_pc = filebase
+                    location = types.SimpleNamespace(subdir=state.subdir,
+                                                     
lineno=state.current_lineno)
+                    lib.generated_pc_warn = [name, location]
         return ModuleReturnValue(res, [res])
 
 def initialize(*args, **kwargs):


Reply via email to