From 0f8b9d9cc9def2e5d77bc9fe824c4c756112778e98ed308447db92e0f188cd5e Mon Sep 17 00:00:00 2001 From: Alexei Sorokin Date: Thu, 19 Oct 2017 15:35:14 +0000 Subject: [PATCH] Accepting request 535269 from home:badshah400:branches:devel:tools:building - Update to version 0.43.0: + Generator learned capture: Generators can now be configured to capture the standard output. + Can index CustomTarget objects: The CustomTarget object can now be indexed like an array. The resulting object can be used as a source file for other Targets, this will create a dependency on the original CustomTarget, but will only insert the generated file corresponding to the index value of the CustomTarget's output keyword. + The cross file can now be used for overriding the result of find_program. Then issuing the command find_program('objdump') will return the version specified in the cross file. + Easier handling of supported compiler arguments. + Better support for shared libraries in non-system paths: This release adds feature parity to shared libraries that are either in non-standard system paths or shipped as part of your project. On systems that support rpath, Meson automatically adds rpath entries to built targets using manually found external libraries. + The Wrap dependency system now supports Subversion (svn). This support is rudimentary. The repository url has to point to a specific (sub)directory containing the meson.build file (typically trunk/). However, providing a revision is supported. - Rebase meson-test-installed-bin.patch. - Run sed to strip the hashbang from a non-executable file; this prevents an rpmlint warning. - Update to version 0.43.0: + Generator learned capture: Generators can now be configured to OBS-URL: https://build.opensuse.org/request/show/535269 OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/meson?expand=0&rev=65 --- meson-0.42.1.tar.gz | 3 --- meson-0.42.1.tar.gz.asc | 16 ---------------- meson-0.43.0.tar.gz | 3 +++ meson-0.43.0.tar.gz.asc | 16 ++++++++++++++++ meson-test-installed-bin.patch | 20 ++++++++++---------- meson-testsuite.changes | 31 +++++++++++++++++++++++++++++++ meson-testsuite.spec | 5 ++++- meson.changes | 31 +++++++++++++++++++++++++++++++ meson.spec | 5 ++++- 9 files changed, 99 insertions(+), 31 deletions(-) delete mode 100644 meson-0.42.1.tar.gz delete mode 100644 meson-0.42.1.tar.gz.asc create mode 100644 meson-0.43.0.tar.gz create mode 100644 meson-0.43.0.tar.gz.asc diff --git a/meson-0.42.1.tar.gz b/meson-0.42.1.tar.gz deleted file mode 100644 index a547b8c..0000000 --- a/meson-0.42.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:30bdded6fefc48211d30818d96dd34aae56ee86ce9710476f501bd7695469c4b -size 1044794 diff --git a/meson-0.42.1.tar.gz.asc b/meson-0.42.1.tar.gz.asc deleted file mode 100644 index 7362a8b..0000000 --- a/meson-0.42.1.tar.gz.asc +++ /dev/null @@ -1,16 +0,0 @@ ------BEGIN PGP SIGNATURE----- - -iQIzBAABCgAdFiEElRgfTu0U/fTkG1GNO/RpO/7rlCgFAlm4FwMACgkQO/RpO/7r -lCgKZw/8DJULItDbOaYeYm8jxlwHBJI13R9I0C84u2MRI88vEhffxAkM/r3K0bK+ -6KE2VMtpWXxAdvq0Zfb4Q9xn6o+iMkY4W7TMiR6A6bf2xdShvARKom50xzltLVsR -V0KNJLQYrVBugcqWRgKtRoP2An3b9W731o24mydX4vxndisU9kLqiQScbIDz2BRf -k+4moaEIf/lFFgTXYRuWSopBNRzPY+foQqTMlIv8hS2ZULf90r3s1hc3LBDMCwYT -rDsED4NZc4tdI3ajK094U9n4U8sI/s3xDeghZXiMgsgpdOpevR+XQDP0HRMdMEQc -YOzHjSXwlVjsmKPts9KWKPBRbqjagKj2oN+npkZDWrWYNN9+obKJmhe5Fx4tgkaP -zgCWeSxlvBpHN1GiRsjvmIf87CjlWbRV1PwACSgU4fduXqsNySE+7EM4b6FAGEJ1 -3r4CfxHVi11mMmeUy70OAly3pLNd6CFQRzJ4sN8n1srqpp/i+b1y9CAobar2L75a -81gQzpYZOfOsCxUt2G8e+/4FKaHc8mz3vssEKovi+bRvJsGwKu5L5OwpZAdLiqJc -Ky2p9k+wjUH1EY2UIoHtG1hYCO/LM5Vg4l6SpVuHIOrKOlSqQ+fTjukBaMwB5Px9 -i2sCWlj0Ktl/bG3AMRf8PnEVM6xkskt//UIEjozKbN8eO8VRPjE= -=kzfF ------END PGP SIGNATURE----- diff --git a/meson-0.43.0.tar.gz b/meson-0.43.0.tar.gz new file mode 100644 index 0000000..a5ac85f --- /dev/null +++ b/meson-0.43.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c513eca90e0d70bf14cd1eaafea2fa91cf40a73326a7ff61f08a005048057340 +size 1066546 diff --git a/meson-0.43.0.tar.gz.asc b/meson-0.43.0.tar.gz.asc new file mode 100644 index 0000000..7a29002 --- /dev/null +++ b/meson-0.43.0.tar.gz.asc @@ -0,0 +1,16 @@ +-----BEGIN PGP SIGNATURE----- + +iQIzBAABCgAdFiEElRgfTu0U/fTkG1GNO/RpO/7rlCgFAlnaiuQACgkQO/RpO/7r +lCicmw/+NHaUsWG+3dG9UbBg8N0+FkGxOkobkAFSFIAwK2faKpHsEu/ka3nzsXln +nL3SzlNAx4kuhhFRf4PWRDkVLgeyfdnhp0rouPJ0TIOyGjShBXXzCoRMitw6dxyy +ipBUc9p5G/hbcwhPJ45PYOE8/zovbaZuiCujjlqwCl9IwWdNoUAcgzzsvOJzIXWy +IGQUKFxPtaMqm1F4CjpDt+yYQXYlzEr9OERSO6E3tk0nzUbvWZ0SyUmO/lF/ZNLV +sfZVLN9NBTIbToPVrLVMV/l8RmhAzARzAQrLJaeE500XFrLG7p0RM9QLQRf6UMQj +Ims9Cqg/x7ns8b0FwdtBNWHiPDFgYi+iLsKG1fa9/0WEpFKv4nx1P/al+3twdZz+ +RNFUWolRhnU1W6rczBdB67FZVpcQ1P6Bcq0JDuoBiRrrT08syzMUjLF/oNYMp5dz +eK/YmSqTM0F29M+KFGP73fJW9ca737CTChdTNHFsh4R1GPZmnwSqhKXmqf4Qirt9 +r8LySWJM6jZdNMl1XB7NcFoKkCUSB0rwTkVTY0iVIlKAslmoy1zp9Ivcx71JkSa1 +OKCCrp3PodMc9qIEvktrf8Oc1FvuZSspBYYVoyICUFzCJFJl1hvi0pLSRC9dlLX/ +zuCgY0HrhvWYOY39l1bw0cnNDhX6t0SHMzIaC4icdgYw3B9gi4k= +=GaA2 +-----END PGP SIGNATURE----- diff --git a/meson-test-installed-bin.patch b/meson-test-installed-bin.patch index bc14ec8..b936db5 100644 --- a/meson-test-installed-bin.patch +++ b/meson-test-installed-bin.patch @@ -1,21 +1,21 @@ -Index: meson-0.42.0/run_project_tests.py +Index: meson-0.43.0/run_project_tests.py =================================================================== ---- meson-0.42.0.orig/run_project_tests.py -+++ meson-0.42.0/run_project_tests.py -@@ -124,7 +124,7 @@ print_debug = 'MESON_PRINT_TEST_OUTPUT' - do_debug = not {'MESON_PRINT_TEST_OUTPUT', 'TRAVIS', 'APPVEYOR'}.isdisjoint(os.environ) - no_meson_log_msg = 'No meson-log.txt found.' +--- meson-0.43.0.orig/run_project_tests.py ++++ meson-0.43.0/run_project_tests.py +@@ -126,7 +126,7 @@ no_meson_log_msg = 'No meson-log.txt fou + + system_compiler = None -meson_command = os.path.join(os.getcwd(), 'meson') +meson_command = '/usr/bin/meson' if not os.path.exists(meson_command): meson_command += '.py' if not os.path.exists(meson_command): -Index: meson-0.42.0/run_unittests.py +Index: meson-0.43.0/run_unittests.py =================================================================== ---- meson-0.42.0.orig/run_unittests.py -+++ meson-0.42.0/run_unittests.py -@@ -416,11 +416,11 @@ class BasePlatformTests(unittest.TestCas +--- meson-0.43.0.orig/run_unittests.py ++++ meson-0.43.0/run_unittests.py +@@ -459,11 +459,11 @@ class BasePlatformTests(unittest.TestCas # Get the backend # FIXME: Extract this from argv? self.backend = getattr(Backend, os.environ.get('MESON_UNIT_TEST_BACKEND', 'ninja')) diff --git a/meson-testsuite.changes b/meson-testsuite.changes index 550d19e..e5096bd 100644 --- a/meson-testsuite.changes +++ b/meson-testsuite.changes @@ -1,3 +1,34 @@ +------------------------------------------------------------------- +Thu Oct 19 15:00:49 UTC 2017 - badshah400@gmail.com + +- Update to version 0.43.0: + + Generator learned capture: Generators can now be configured to + capture the standard output. + + Can index CustomTarget objects: The CustomTarget object can + now be indexed like an array. The resulting object can be used + as a source file for other Targets, this will create a + dependency on the original CustomTarget, but will only insert + the generated file corresponding to the index value of the + CustomTarget's output keyword. + + The cross file can now be used for overriding the result of + find_program. Then issuing the command find_program('objdump') + will return the version specified in the cross file. + + Easier handling of supported compiler arguments. + + Better support for shared libraries in non-system paths: This + release adds feature parity to shared libraries that are + either in non-standard system paths or shipped as part of your + project. On systems that support rpath, Meson automatically + adds rpath entries to built targets using manually found + external libraries. + + The Wrap dependency system now supports Subversion (svn). This + support is rudimentary. The repository url has to point to a + specific (sub)directory containing the meson.build file + (typically trunk/). However, providing a revision is + supported. +- Rebase meson-test-installed-bin.patch. +- Run sed to strip the hashbang from a non-executable file; this + prevents an rpmlint warning. + ------------------------------------------------------------------- Wed Oct 11 15:43:16 UTC 2017 - sor.alexei@meowr.ru diff --git a/meson-testsuite.spec b/meson-testsuite.spec index 8f65d28..0e76cf4 100644 --- a/meson-testsuite.spec +++ b/meson-testsuite.spec @@ -24,7 +24,7 @@ %endif %define _name mesonbuild Name: meson%{name_ext} -Version: 0.42.1 +Version: 0.43.0 Release: 0 Summary: Python-based build system License: Apache-2.0 @@ -126,6 +126,9 @@ This package provides support for meson.build files in Vim. rm -rf "test cases/frameworks/3 gmock" \ "test cases/objc/2 nsstring" +# Remove hashbang from non-exec script +sed -i '1{/\/usr\/bin\/env/d;}' ./mesonbuild/rewriter.py + %build # If this is the test suite, we don't need anything else but the meson package %if ! %{testsuite} diff --git a/meson.changes b/meson.changes index 550d19e..e5096bd 100644 --- a/meson.changes +++ b/meson.changes @@ -1,3 +1,34 @@ +------------------------------------------------------------------- +Thu Oct 19 15:00:49 UTC 2017 - badshah400@gmail.com + +- Update to version 0.43.0: + + Generator learned capture: Generators can now be configured to + capture the standard output. + + Can index CustomTarget objects: The CustomTarget object can + now be indexed like an array. The resulting object can be used + as a source file for other Targets, this will create a + dependency on the original CustomTarget, but will only insert + the generated file corresponding to the index value of the + CustomTarget's output keyword. + + The cross file can now be used for overriding the result of + find_program. Then issuing the command find_program('objdump') + will return the version specified in the cross file. + + Easier handling of supported compiler arguments. + + Better support for shared libraries in non-system paths: This + release adds feature parity to shared libraries that are + either in non-standard system paths or shipped as part of your + project. On systems that support rpath, Meson automatically + adds rpath entries to built targets using manually found + external libraries. + + The Wrap dependency system now supports Subversion (svn). This + support is rudimentary. The repository url has to point to a + specific (sub)directory containing the meson.build file + (typically trunk/). However, providing a revision is + supported. +- Rebase meson-test-installed-bin.patch. +- Run sed to strip the hashbang from a non-executable file; this + prevents an rpmlint warning. + ------------------------------------------------------------------- Wed Oct 11 15:43:16 UTC 2017 - sor.alexei@meowr.ru diff --git a/meson.spec b/meson.spec index 793001f..ef7fda7 100644 --- a/meson.spec +++ b/meson.spec @@ -24,7 +24,7 @@ %endif %define _name mesonbuild Name: meson%{name_ext} -Version: 0.42.1 +Version: 0.43.0 Release: 0 Summary: Python-based build system License: Apache-2.0 @@ -126,6 +126,9 @@ This package provides support for meson.build files in Vim. rm -rf "test cases/frameworks/3 gmock" \ "test cases/objc/2 nsstring" +# Remove hashbang from non-exec script +sed -i '1{/\/usr\/bin\/env/d;}' ./mesonbuild/rewriter.py + %build # If this is the test suite, we don't need anything else but the meson package %if ! %{testsuite}