Hello community, here is the log from the commit of package meson for openSUSE:Factory checked in at 2019-05-06 21:13:16 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/meson (Old) and /work/SRC/openSUSE:Factory/.meson.new.5148 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "meson" Mon May 6 21:13:16 2019 rev:42 rq:700684 version:0.50.1 Changes: -------- --- /work/SRC/openSUSE:Factory/meson/meson.changes 2019-03-01 20:29:47.834005906 +0100 +++ /work/SRC/openSUSE:Factory/.meson.new.5148/meson.changes 2019-05-06 21:13:18.468431928 +0200 @@ -1,0 +2,302 @@ +Wed Apr 17 11:51:11 UTC 2019 - Dominique Leuenberger <dims...@opensuse.org> + +- Update to version 0.50.1: + + d: Fix linker errors with shared libraries. + + Add support for VS2019 (gh#mesonbuild/meson#4640). + + Detect 'arm64' as aarch64 CPU family. + + Fix Rust global and local args (gh#mesonbuild/meson#5101). + +------------------------------------------------------------------- +Mon Mar 11 12:30:24 UTC 2019 - Dominique Leuenberger <dims...@opensuse.org> + +- Fixup meson-suse-ify-macros.patch post broken rebase. + +------------------------------------------------------------------- +Sun Mar 10 18:57:41 UTC 2019 - klaatu <aloi...@gmx.com> + +- Update to version 0.50.0 + New features: + * Added `cmake_module_path` and `cmake_args` to dependency + The CMake dependency backend can now make use of existing + `Find<name>.cmake` files by setting the `CMAKE_MODULE_PATH` + with the new `dependency()` property `cmake_module_path`. + The paths given to `cmake_module_path` should be relative + to the project source directory. + Furthermore the property `cmake_args` was added to give + CMake additional parameters. + * Added PGI compiler support + Nvidia / PGI C, C++ and Fortran + [no-cost](https://www.pgroup.com/products/community.htm) + compilers are now supported. They have been tested on Linux + so far. + * Fortran Coarray + Fortran 2008 / 2018 coarray support was added via + `dependency('coarray')` + * Libdir defaults to `lib` when cross compiling + Previously `libdir` defaulted to the value of the build + machine such as `lib/x86_64-linux-gnu`, which is almost + always incorrect when cross compiling. It now defaults to + plain `lib` when cross compiling. Native builds remain + unchanged and will point to the current system's library + dir. + * Native and Cross File Paths and Directories + A new `[paths]` section has been added to native and cross + files. This can be used to set paths such a prefix and + libdir in a persistent way. + * Add warning_level 0 option + Adds support for a warning level 0 which does not enable any + static analysis checks from the compiler + * A builtin target to run clang-format + If you have `clang-format` installed and there is a + `.clang-format` file in the root of your master project, + Meson will generate a run target called `clang-format` so you + can reformat all files with one command: + ```meson + ninja clang-format + ``` + * Added a .path() method to object return by + python.find_installation() + `ExternalProgram` objects as well as the object returned by + the `python3` module provide this method, but the new python + module did not. + * Fix ninja console log from generators with multiple output + nodes + This resolves ticket #4760 where a generator w/ multiple + output nodes printed an empty string to the console + * `introspect --buildoptions` can now be used without + configured build directory + It is now possible to run `meson introspect --buildoptions + /path/to/meson.build` without a configured build directory. + Running `--buildoptions` without a build directory produces + the same output as running it with a freshly configured + build directory. + However, this behavior is not guaranteed if subprojects are + present. Due to internal limitations all subprojects are + processed even if they are never used in a real meson run. + Because of this options for the subprojects can differ. + * `include_directories` accepts a string + The `include_directories` keyword argument now accepts plain + strings rather than an include directory object. Meson will + transparently expand it so that a declaration like this: + ```meson + executable(..., include_directories: 'foo') + ``` + Is equivalent to this: + ```meson + foo_inc = include_directories('foo') + executable(..., include_directories: inc) + ``` + * Fortran submodule support + Initial support for Fortran ``submodule`` was added, where + the submodule is in the same or different file than the + parent ``module``. + The submodule hierarchy specified in the source Fortran code + `submodule` statements are used by Meson to resolve source + file dependencies. + For example: + ```fortran + submodule (ancestor:parent) child + ``` + * Add subproject_dir to --projectinfo introspection output + This allows applications interfacing with Meson (such as + IDEs) to know about an overridden subproject directory. + * Find library with its headers + The `find_library()` method can now also verify if the + library's headers are found in a single call, using the + `has_header()` method internally. + ```meson + + Aborts if the 'z' library is found but not its header file + zlib = find_library('z', has_headers : 'zlib.h') + + Returns not-found if the 'z' library is found but not its + header file zlib = find_library('z', has_headers : + 'zlib.h', required : false) + ``` + Any keyword argument with the `header_` prefix passed to + `find_library()` will be passed to the `has_header()` + method with the prefix removed. + ```meson + libfoo = find_library('foo', + has_headers : ['foo.h', 'bar.h'], + header_prefix : '#include <baz.h>', + header_include_directories : include_directories('.')) + ``` + * NetCDF + NetCDF support for C, C++ and Fortran is added via + pkg-config. + * added the Flang compiler + [Flang](https://github.com/flang-compiler/flang/releases) + Fortran compiler support was added. As with other Fortran + compilers, flang is specified using `FC=flang meson ..` or + similar. + * New `not_found_message` for dependency + You can now specify a `not_found_message` that will be + printed if the specified dependency was not found. The point + is to convert constructs + that look like this: + ```meson + d = dependency('something', required: false) + if not d.found() + message('Will not be able to do something.') + endif + ``` + Into this: + ```meson + d = dependency('something', + required: false, + not_found_message: 'Will not be able to do something.') + ``` + Or constructs like this: + ```meson + d = dependency('something', required: false) + if not d.found() + error('Install something by doing XYZ.') + endif + ``` + into this: + ```meson + d = dependency('something', + not_found_message: 'Install something by doing XYZ.') + ``` + Which works, because the default value of `required` is + `true`. + * Cuda support + Compiling Cuda source code is now supported, though only + with the + Ninja backend. This has been tested only on Linux for now. + Because NVidia's Cuda compiler does not produce `.d` + dependency files, dependency tracking does not work. + * `run_command` accepts `env` kwarg + You can pass + [`environment`](Reference-manual.html#environment-object) + object to + [`run_command`](Reference-manual.html#run-command), just + like to `test`: + ```meson + env = environment() + env.set('FOO', 'bar') + run_command('command', 'arg1', 'arg2', env: env) + ``` + * `extract_objects` accepts `File` arguments + The `extract_objects` function now supports File objects to + tell it what to extract. Previously, file paths could only + be passed as strings. + * Changed the JSON format of the introspection + All paths used in the meson introspection JSON format are + now absolute. This affects the `filename` key in the targets + introspection and the output of + `--buildsystem-files`. + Furthermore, the `filename` and `install_filename` keys in + the targets introspection are now lists of strings with + identical length. + The `--target-files` option is now deprecated, since the + same information can be acquired from the `--tragets` + introspection API. + * Meson file rewriter + This release adds the functionality to perform some basic + modification on the `meson.build` files from the command + line. The currently supported operations are: ++++ 105 more lines (skipped) ++++ between /work/SRC/openSUSE:Factory/meson/meson.changes ++++ and /work/SRC/openSUSE:Factory/.meson.new.5148/meson.changes Old: ---- meson-0.49.2.tar.gz meson-0.49.2.tar.gz.asc New: ---- meson-0.50.1.tar.gz meson-0.50.1.tar.gz.asc ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ meson.spec ++++++ --- /var/tmp/diff_new_pack.GSdZUt/_old 2019-05-06 21:13:20.472438773 +0200 +++ /var/tmp/diff_new_pack.GSdZUt/_new 2019-05-06 21:13:20.508438896 +0200 @@ -28,7 +28,7 @@ %{!?vim_data_dir:%global vim_data_dir %{_datadir}/vim} %bcond_with setuptools Name: meson%{name_ext} -Version: 0.49.2 +Version: 0.50.1 Release: 0 Summary: Python-based build system License: Apache-2.0 ++++++ meson-0.49.2.tar.gz -> meson-0.50.1.tar.gz ++++++ ++++ 23456 lines of diff (skipped) ++++++ meson-suse-ify-macros.patch ++++++ --- /var/tmp/diff_new_pack.GSdZUt/_old 2019-05-06 21:13:21.752442721 +0200 +++ /var/tmp/diff_new_pack.GSdZUt/_new 2019-05-06 21:13:21.752442721 +0200 @@ -1,5 +1,7 @@ ---- a/data/macros.meson -+++ b/data/macros.meson +Index: meson-0.50.0/data/macros.meson +=================================================================== +--- meson-0.50.0.orig/data/macros.meson ++++ meson-0.50.0/data/macros.meson @@ -1,9 +1,15 @@ %__meson %{_bindir}/meson %__meson_wrap_mode nodownload @@ -17,7 +19,7 @@ %{shrink:%{__meson} \ --buildtype=plain \ --prefix=%{_prefix} \ -@@ -25,12 +31,15 @@ +@@ -25,10 +31,13 @@ %{nil}} %meson_build \ @@ -30,6 +32,4 @@ %meson_test \ + export LANG=C.UTF-8 \ - %ninja_test -C %{_vpath_builddir} || \ - ( rc=$?; \ - echo "-----BEGIN TESTLOG-----"; \ + %ninja_test -C %{_vpath_builddir}