|
![](/images/spacer.gif) |
![](/images/spacer.gif) |
![](/images/spacer.gif) |
Changelog for meson-vim-1.0.0-1.2.noarch.rpm :
* Thu Jan 05 2023 Luciano Santos - Update to version 1.0.0: + The compiler check functions \"prefix\" kwargs now accepts arrays. + Flags removed from cpp/objcpp warning level 1: \"-Wnon-virtual-dtor\" is no longer implied by \"meson setup - Dwarning_level=1\". + There has been some developer environment improvements. + Rename \"java.generate_native_headers\" to \"java.native_headers\". The former is deprecated now. + \"rust.bindgen\" now accepts a dependency argument. + The Rust module is marked as stable now. + \"warning-level=everything\" option: The new \"everything\" value for the built-in \"warning_level\" enables roughly all applicable compiler warnings. For Clang, this simply enables \"-Weverything\". For GCC, Meson enables warnings approximately equivalent to \"-Weverything\" from Clang. + Plese see https://mesonbuild.com/Release-notes-for-1-0-0.html for full release notes.- Remove shebang from mesonbuild/scripts/cmake_run_ctgt.py, this file is not supposed to be directly callable. * Wed Nov 23 2022 Dominique Leuenberger - Update to version 0.64.1: + Target python 3.10 as the mypy language version. + hotdoc module: use less confusing names. + Fix deprecation message, the function name is fs.copyfile(). + fix deprecated use of meson builddir/ in testsuite. + tests: fix edge case where non-default python is used, by skipping it. * Mon Nov 21 2022 Dominique Leuenberger - Update to version 0.64.0: + Add optimization plain option. + New languages: nasm and masm. + Pager and colors for meson configure output. + various install_ * functions no longer handle the sticky bit. + fs.copyfile to replace configure_file(copy : true). + Added update_mime_database to gnome.post_install(). + Added preserve_path arg to install_data. + BSD support for the jni dependency. + Credentials from ~/.netrc for https URLs. + Basic support for oneAPI compilers on Linux and Windows. + python.find_installation() now accepts pure argument. + Generates rust-project.json when there are Rust targets. + Incremental ThinLTO with b_thinlto_cache. + Added include_core_only arg to wayland.scan_xml. + Automatic fallback using WrapDB. * Fri Oct 07 2022 Dirk Müller - update to 0.63.3: * modules: Fix paths to (sub)project source/build directories * i18n: Fix source root in Gettext targets for subprojects * backends: limit maximum path of generated filenames * Fix 2 typos in a single string which can be shown in error messages. * fix obscure crash on unbound variable * Warn if wrap file changes * interpreter: add a special class to track the lifecycle of get_option * Fri Sep 23 2022 Dirk Müller - add extend-test-timeout-on-qemu-builds.patch * Wed Sep 14 2022 Dominique Leuenberger - Update to version 0.63.2: + make add_project_dependencies respect build version of include dirs. + minstall: do not trample install_mode by rpath fixer. + fix linker regression for compilers that don\'t accept LDFLAGS directly. + tests/7 gnome: Fix incorrect unref of GResource. * Mon Aug 22 2022 Dominique Leuenberger - Update to version 0.63.1: + add_project_dependencies() function. + Coverage targets now respect tool config files. + D compiler checks. + Deprecate an option and replace it with a new one. + Running Windows executables with Wine in meson devenv. + Diff files for wraps. + Added preserve_path arg to install_headers. + Support for mold linker added. + Added debug function. + Compiler options can be set per subproject. + Per-subproject languages. + Installed pkgconfig files can now be relocatable. + New prefer_static built-in option. + Python extension modules now depend on the python library by default. + Python extension modules now build with hidden visibility. + Added support for multiline fstrings.- Drop 0001-gnome-Use-doc-install_tag-for-gnome.yelp.patch: fixed upstream. * Wed Aug 10 2022 Dirk Müller - mono-core is available on s390x now- make mono dependency an build-conditional * Fri Jun 24 2022 Dominique Leuenberger - Update to version 0.62.2: + qt module: fix broken install_dir kwarg. + qt module: fix missing sanity check for install_dir + install. + dependencies: tighten type checking and fix cmake API violation. + cmake: Fix CMake LLVM dependency error. + Limit parallelism to hopefully work on machines with 160 cores. + Fix --allow-shlib-undefined for LLVM versions > 9. + i18n: fix bug where disabling gettext() broke merge_file(). + Fix sandbox violation when using subproject as a symlink. * Tue Apr 26 2022 Ferdinand Thiessen - Added 0001-gnome-Use-doc-install_tag-for-gnome.yelp.patch * Upstream reported feature to add files created by `gnome.yelp` to the `doc` install_tag, similar to `gnome.gtk_doc` this allows installing created files using the `meson --tags doc` syntax. Simplifies packaging of various packages, esp. gtk-doc.- Rebased meson-distutils.patch to also install required data files (mesonbuild/dependencies/data/ *.txt).- Drop conditionals for outdated openSUSE versions (older than Leap 15.x) * Mon Apr 25 2022 Ferdinand Thiessen - Update to 0.62.1 * Bash completion scripts sourced in meson devenv If bash-completion scripts are being installed and the shell is bash, they will be automatically sourced. * Setup GDB auto-load for meson devenv When GDB helper scripts are installed with a library name that matches one being built, Meson adds the needed auto-load commands into /.gdbinit file. * Print modified environment variables with meson devenv --dump * New custom dependency for libdl, will now check for the functionality of libdl.so * pkgconfig.generate will now include variables for builtin directories when referenced * New keyword argument verbose for tests and benchmarks * CMake support for versions <3.17.0 is deprecated * Removal of the RPM module * CMake server API support is removed * The return value of find_program() can now check the exact version of the found program * XML files can now be translated easier by using itstool via i18n.itstool_join(). * JNI system dependency now supports a modules keyword (jvm, awt) * New unstable wayland module * Meson has a new command env2mfile to convert \"environment variable based\" cross and native compilation environments to Meson machine files. * This system will detect if the _FOR_BUILD environment variables are enabled and then uses them as needed. * Added optional \'--allow-dirty\' flag for the \'dist\' command * Meson now supports the TI MSP430 and ARM toolchains. * Deprecated java.generate_native_header() in favor of the new java.generate_native_headers() * New option to choose python installation environment * JDK System Dependency Renamed from jdk to jni * New custom dependency for OpenSSL * The default install path for dataonly pkgconfig files has changed from ${libdir}/pkgconfig to ${datadir}/pkgconfig. * JAR default install dir changed from libdir to datadir/java.- Rebased meson-test-installed-bin.patch- Drop upstream fixed 34daa53a.patch * Mon Apr 25 2022 Dominique Leuenberger - Add 34daa53a.patch: gnome module: properly fallback to gtk-update-icon-cache. * Sat Apr 23 2022 Ferdinand Thiessen - Update to 0.61.4: * Fixes for the ninja backend * Fixes for the rust module * Fixes for the gnome module: Fix incorrect lookup of nonexistent dependencies * Tue Mar 15 2022 Andreas Stieger - update to 0.61.3: * fixes for other platform * test updates and developer visible fixes * Tue Feb 15 2022 Paolo Stivanin - Update to 0.61.2: + No changelog provided. * Sat Feb 05 2022 Andreas Stieger - update to 0.61.1: * add a man page backend to refman * extract_objects() supports generated sources * Python 3.6 support is deprecated * Warning if check kwarg of run_command is missing * meson rewrite can modify extra_files * meson rewrite target info output target\'s extra_files * Support for CMake <3.15 is now deprecated for CMake subprojects * Add support for sccache * Add install_symlink function * Tue Dec 28 2021 Dominique Leuenberger - Update to version 0.60.3: + gnome module: fix install_dir x3, by allowing false *_gir and * _typelib. + iconv dependency: try even harder to find working iconv. + Fix performance regression in build file generation. + add ft32 cpu family. + restore the ability in the backend to silently find a program. + pkgconfig: Fix linking to a custom target.- Drop 3074bb14a14c00aeb350bf592acf635a93b52d9a.patch: fixed upstream. * Tue Dec 14 2021 Bjørn Lie - Update to version 0.60.2: + Fix version requirement on Ninja feature + Fix custom_target with install: true and no install_dir, crashing + Fix regression that broke string.format with list objects + valac dependencies: use the canonical list of vala source names + interpreter: disallow RunTarget in meson.add_install_script + Only pass clang LTO arguments when they are needed + Support ancient (<3.4.0) gcc versions + Only exclude _bootlocale with Python >= 3.10 + cmake: Use find_library() on bare library names in cmake dependencies + dependencies/zlib: Allow for generic OS checks + rust: clean up inputs and outputs to bindgen + interpreter: extract_objects provides a valid source + build|backend: Fix some type annotations + backends/backends: recurse when looking for paths in bundled shared libs + shared_module: Add soname when used as a link target + iconv dependency: include header when checking for libc builtin- Drop unused python3-setuptools BuildRequires.- Add 3074bb14a14c00aeb350bf592acf635a93b52d9a.patch: gnome module: fix install_dir x3, by allowing false *_gir and *_typelib. * Wed Nov 03 2021 Bjørn Lie - Update to version 0.60.1: + No upstream changes provided.- Changes from version 0.60.0: + run_target can now be used as a dependency. + The Python Modules dependency method no longer accepts positional arguments. + Override python installation paths. + New subprojects packagefiles subcommand. + Project options declared in meson_options.txt can now be marked as deprecated. + More efficient static linking of uninstalled libraries. + Cython can now transpile to C++ as an intermediate language. + Unknown options are now always fatal. + Install DESTDIR relative to build directory. + Improvements for the Rustc compiler. + Waf support in external-project module. + Dependencies with multiple names.- Add gmock BuildRequires and stop deleting gmock testfiles, run the test suite for it.- Update Supplements to current standard. * Sun Oct 31 2021 Andreas Stieger - meson 0.59.4: * Fix crash when getting cuda options * Mon Oct 25 2021 Bjørn Lie - Update to version 0.59.3: + No upstream changes provided.- Drop meson-rust-1.55.patch: Fixed upstream. * Wed Sep 29 2021 Dominique Leuenberger - Add meson-rust-1.55.patch: Fix test suite run with rust 1.55. * Wed Sep 29 2021 Dominique Leuenberger - Update to version 0.59.2: + No upstream changes provided. * Thu Aug 19 2021 Bjørn Lie - Update to version 0.59.1: + No upstream changes provided. * Fri Aug 06 2021 Marcus Rueckert - Update to version 0.59.0: https://mesonbuild.com/Release-notes-for-0-59-0.html- refreshed meson-test-installed-bin.patch to apply cleanly again * Fri Jul 30 2021 Frederic Crozat - Relax BuildRequires on rpm, if rpm-config-SUSE is recent enough (jsc#SLE-20017). * Tue Jul 20 2021 Dominique Leuenberger - Update to version 0.58.2: + gnome: Always pass absolute -L paths to g-ir-scanner. * Wed Jul 14 2021 Dominique Leuenberger - Update to version 0.58.1: + New meson.global_build_root() and meson.global_source_root() methods. + meson.add_dist_script() allowd in subprojects. + Do not add custom target dir to header path if implicit_include_directories is false. + Multiple append() and prepend() in environment() object. + clang-format include and ignore lists. + Introducing format strings to the Meson language. + Skip subprojects installation.- Rebase meson-distutils.patch (work done by StevenK). * Mon Jul 12 2021 Dominique Leuenberger - Update to version 0.57.2: + Support for reading files at configuration time with the fs module. + Experimental support for C++ modules in Visual Studio. + Qt6 module. + Minimum required Python version updated to 3.6. + New logging format for meson test. + Support added for LLVM\'s thinLTO.- Drop 0200340a.patch: fixed upstream. * Fri May 07 2021 Dominique Leuenberger - Add 0200340a.patch: gnome: Drop use of volatile in GLib type functions (boo#1185720). * Thu Feb 04 2021 Dominique Leuenberger - Conflict with rpm-build < 4.15: meson uses internal macros defined by RPM 4.15 and later. * Sat Jan 16 2021 Bjørn Lie - Update to version 0.56.2: + This release fixes a Python 3.5 compat issue. * Thu Jan 07 2021 Bjørn Lie - Drop meson-suse-ify-macros.patch: No longer needed. * Wed Jan 06 2021 Dominique Leuenberger - Update to version 0.56.1: + pkgconfig: Make external deps of static library public. + interpreter: store correct files for project regeneration. + environment: Properly pass linker to rustc. + Add aarch64 assembly test.- Drop 7930.patch: fixed upstream.- Add new keyid C24E631BABB1FE70 to the keyring (counter signed by the old key id): the old key was about to expire. * Tue Nov 17 2020 Guillaume GARDET - Remove \"test cases/common/122 llvm ir and assembly\" for aarch64 as this test is not supported on aarch64 linux yet (boo1178772). * Tue Nov 03 2020 Dominique Leuenberger - Add 7930.patch: pkgconfig: Make external deps of static library public. * Fri Oct 30 2020 Dominique Leuenberger - Update to version 0.56.0: + meson test can now filter tests by subproject + Native (build machine) compilers not always required by project(). + New extra_files key in target introspection. + meson.build_root() and meson.source_root() are deprecated. + dep.as_link_whole(). + Added NVidia HPC SDK compilers. + CMake subproject cross compilation support. + Machine file keys are stored case sensitive. + Consistency between declare_dependency() and pkgconfig.generate() variables. + Qt5 compile_translations now supports qresource preprocessing. + Controlling subproject dependencies with dependency(allow_fallback: ...). + Improvements for the builtin curses dependency. + HDF5 dependency improvements. + Dependencies listed in test and benchmark introspection. + Deprecate Dependency.get_pkgconfig_variable and Dependency.get_configtool_variable.- Rebase meson-test-installed-bin.patch. * Fri Sep 11 2020 Dominique Leuenberger - Update to version 0.55.3: + Revert \"msvc: enable /std:c11 flag\".- Changes from version 0.55.2: + msvc: enable /std:c11 flag. + environment: use ExternalProgram to find ninja. + CMake module: fix cmake 3.10 compatibility in path generation.- Drop pr7648-fix-lchmod-check-for-glibc-2.32.patch: fixed upstream. * Sat Aug 29 2020 Callum Farmer - Add pr7648-fix-lchmod-check-for-glibc-2.32.patch: fixes meson-test with glibc 2.32 (gh#mesonbuild/meson#7648) * Mon Aug 17 2020 Dominique Leuenberger - Update to version 0.55.1: + find_library: Print type of library not found. + interpreter: Don\'t force fallback when subproject failed to configure. + Various fixes around cmake integration. + mdata: Generate mesondata.py from */data folders. + mdata: remove setuptools and use mesondata instead.- Drop meson-pr7461-remove-setuptools-dependency.patch: fixed upstream. * Sun Jul 26 2020 Alexei Sorokin - Remove %_smp_build_ncpus in meson-suse-ify-macros.patch.- Drop broken meson-restore-python3.4.patch, meson-suse-fix-llvm-3.8.patch, meson-fix-gcc48.patch. * Wed Jul 22 2020 Callum Farmer - Add meson-pr7461-remove-setuptools-dependency.patch: Fixes forced requirement on setuptools (gh#mesonbuild/meson#7461). * Wed Jul 15 2020 Callum Farmer - Update to version 0.55.0 + rpath removal now more careful + Added ability to specify targets in `meson compile` + Added test protocol for gtest + meson.add_ *_script methods accept new types + Native and cross files now support string and list concatenation + Ability to configure CMake subprojects with meson.subproject_options + find_program: Fixes when the program has been overridden by executable + Response files enabled on Linux + `unstable-kconfig` module renamed to `unstable-keyval` + Config tool based dependencies no longer search PATH for cross compiling + String concatenation in meson_options.txt + Clang coverage support + Implicit dependency fallback + Added ability to specify backend arguments in `meson compile`- Removed meson-fix-gnome-test.patch: contained in upstream- Changed meson-suse-ify-macros.patch: to be compatible with new version * Fri Jun 26 2020 Michael Gorse - Add meson-fix-gnome-test.patch: fix GNOME test that sometimes fails (bsc#1173025). * Tue Jun 16 2020 Dominique Leuenberger - Update to version 0.54.3: + Various fixes around cmake integration. + Various fixes around boost. * Wed May 20 2020 Michael Gorse - Make tests arch-dependent. Needed to exclude mono tests on s390x (bsc#1171934). * Fri May 15 2020 Dominique Leuenberger - Update to version 0.54.2: + Various fixes around boost. + More robust cmake version detection. + Various GCC10 related fixes.- Drop meson-gcc10.patch: fixed upstream. * Thu May 14 2020 Dominique Leuenberger - Add meson-gcc10.patch: Fix test suite when using gcc 10. * Wed May 13 2020 Michael Gorse - Remove is_opensuse conditional and enable mono tests on SLE (jsc#SLE-11721). * Mon Apr 27 2020 Dominique Leuenberger - Update to version 0.54.1: + compilers: Silence warning about gnu_inline with clang. + cmake: Do not compile explicit header files. + cmake: enhance support of cmake config file syntax. + boost: Fix library version (fixes gh#mesonbuild/meeson#6899). * Mon Mar 30 2020 Dominique Leuenberger - Update to version 0.54.0: + Emscripten (emcc) now supports threads. + Introduce dataonly for the pkgconfig module. + Consistently report file locations relative to cwd. + Native (build machine) compilers not always required. + Add a system type dependency for zlib. + New option --quiet to meson install. + Property support emscripten\'s wasm-ld. + Support for overiding the linker with ldc and gdc. + Per subproject default_library and werror options. + Ninja version requirement bumped to 1.7. + Added -C argument to meson init command. + CMake find_package COMPONENTS support. + Added Microchip XC16 C compiler support.- Rebase meson-test-installed-bin.patch.- Drop meson-testsuite-boost.patch: fixed (and enhanced) upstream.- Drop meson-testsuite-boost2.patch: boost test suite globally disabled for now.- Drop 6642.patch: Fixed in an alternative way.- Remove hacks to drop static llvm and boost tests: fixed upstream. * Thu Feb 27 2020 Dominique Leuenberger - Update to version 0.53.2: + Various cmake related issues fixed. + modules/python: Do not error out if positional args are passed.- Drop meson-6614.patch: fixed upstream. * Tue Feb 18 2020 Ondřej Súkup - Add 6642.patch - allow skip python2 unittests meson-testsuite-boost2.patch skip libboost_python tests on TW * Wed Feb 12 2020 Dominique Leuenberger - Add meson-6614.patch: cmake: Fix crash when no C++ compiler is not installed (gh#mesonbuild/meson#6559). * Tue Feb 11 2020 Frederic Crozat - Add python2-PyYAML as BuildRequires for meson:test for SLE15. * Fri Jan 24 2020 Dominique Leuenberger - Update to version 0.53.1: + Use python3 in some tests which were still using python. + test_pkgconfig_gen_deps: set PKG_CONFIG_SYSTEM_LIBRARY_PATH=/usr/lib. pkgconf automatically prunes \"system library paths\" from its output. + compilers: Derive CompilerArgs from collections instead of typing.- Drop meson-pkgconf-libdir.patch: fixed upstream.- Rebase meson-testsuite-boost.patch. * Wed Jan 08 2020 Dominique Leuenberger - Update to version 0.53.0: + A new module for filesystem operations. + meson dist --include-subprojects. + Added new Meson templates for Dlang, Rust, Objective-C + Add a new summary() function + Generic Overrider for Dynamic Linker selection + fortran_std option + python.dependency() embed kwarg + Scalapack + Search directories for find_program() + Source tags targets + Dictionary entry using string variable as key + Improved CMake subprojects support + compiler.get_linker_id() + CUDA dependency + Added global option to disable C++ RTTI + Introspection API changes- Add meson-testsuite-boost.patch: Fix detection of boost_python names. This is apparently inconsistent accross distros.- Add meson-pkgconf-libdir.patch: pkgconf does not honor /usr/lib as \'system directory\' on biarch systems. * Sat Nov 30 2019 Dominique Leuenberger - Update to version 0.52.1: + linkers: Concatenate -L and the directory. + Remove duplicated object files in static libraries. + Revert \"Add `-Wl,-rpath-link` for secondary dependencies\".- Drop meson-testsuite.patch: fixed upstream. * Thu Oct 24 2019 Frederic Crozat - Do not buildrequires rust-std, it is already required by rust. * Mon Oct 21 2019 Frederic Crozat - Do not buildrequires mono(csharp) or mono-core on SLE. * Mon Oct 07 2019 Dominique Leuenberger - Update to version 0.52.0: + Gettext targets are ignored if gettext is not installed. + Support taking environment values from a dictionary. + Enhancements to the pkg_config_path argument. + The meson test program now accepts an additional \"--gdb-path\" argument to specify the GDB binary. + Splitting of Compiler.get_function_attribute(\'visibility\'). + Compiler and dynamic linker representation split. + Enhancements to the source_set module. + added --only test(s) option to run_project_tests.py. + Experimental Webassembly support via Emscripten. + Version check in find_program(). + Improved support for static libraries. + Enhancements to the kconfig module. + Enhancements to configure_file(). + Projects args can be set separately for build and host machines (potentially breaking change). + Dist is now a top level command.- Rebase meson-test-installed-bin.patch and meson-distutils.patch.- Drop gcc9-sanitizer.patch: no longer needed.- Add meson-testsuite.patch: linkers: Concatenate -L and the directory. * Tue Aug 27 2019 Dominique Leuenberger - Update to version 0.51.2: + gnome: Handle overriden g-ir-scanner. + cmake: fix missing -lpthread (fixes #5821) + Pass optimization flags to rustc properly. Closes: #5788.- Drop fix-missing-return-statements-that-are-seen-with-Wer.patch: Fixed upstream. * Tue Jul 16 2019 Martin Liška - Add fix-missing-return-statements-that-are-seen-with-Wer.patch which is an upstream version of: https://github.com/mesonbuild/meson/pull/5654 * Wed Jul 10 2019 Dominique Leuenberger - Update to version 0.51.1: + Increase logging for Rust CI failures. + tests/llvm: Test both cmake and llvm-config methods. + Improve error message when Python is not usable. + gnome.py: correctly pick the compiler for gtk-doc builds. + Switch to using Pyinstaller. * Wed Jun 26 2019 Dominique Leuenberger - Update to versoin 0.51.0: + (C) Preprocessor flag handling. + Sanity checking compilers with user flags. + New sourceset module. + n_debug=if-release and buildtype=plain means no asserts. + target_type in build_targets accepts the value \'shared_module\'. + New modules kwarg for python.find_installation. + Support for the Intel Compiler on Windows (ICL). + Added basic support for the Xtensa CPU toolchain. + Dependency objects now have a get_variable method. + CMake prefix path overrides. + Tests that should fail but did not are now errors. + New target keyword argument: link_language. + New module to parse kconfig output files. + Add new meson subprojects foreach command. + Added c17 and c18 as c_std values for recent GCC and Clang Versions. + gpgme dependency now supports gpgme-config. + Can link against custom targets. + Removed the deprecated --target-files API. + Generators have a new depends keyword argument. + Specifying options per mer machine. + subproject.get_variable() now accepts a fallback argument. + Add keyword static to find_library. + Fortran include statements recursively parsed. + CMake subprojects. + Multipe cross files can be specified.- Rebase meson-suse-ify-macros.patch.- Add python3-setuptools unconditionally to BuildRequires for the test suite. * Thu May 02 2019 Martin Liška - Add gcc9-sanitizer.patch in order to handle unresolved symbols with - fsanitize= *. It\'s caused by sanitizer wrappers and our default --as-needed that we use as SUSE in our linker build (boo#1127953). * Wed Apr 17 2019 Dominique Leuenberger - 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 2019 Dominique Leuenberger - Fixup meson-suse-ify-macros.patch post broken rebase. * Sun Mar 10 2019 klaatu - 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.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 \', 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: + For build targets: x Add/Remove source files x Add/Remove targets x- Modify a select set of kwargs x Print some JSON information + For dependencies: x Modify a select set of kwargs + For the project function: x Modify a select set of kwargs x Modify the default options list For more information see the rewriter documentation. * `introspect --scan-dependencies` can now be used to scan for dependencies used in a project It is now possible to run `meson introspect - -scan-dependencies /path/to/meson.build` without a configured build directory to scan for dependencies. The output format is as follows: ```json [ { \"name\": \"The name of the dependency\", \"required\": true, \"conditional\": false, \"has_fallback\": false } ] ``` The `required` keyword specifies whether the dependency is marked as required in the `meson.build` (all dependencies are required by default). The `conditional` key indicates whether the `dependency()` function was called inside a conditional block. In a real meson run these dependencies might not be used, thus they _may_ not be required, even if the `required` key is set. The `has_fallback` key just indicates whether a fallback was directly set in the `dependency()` function. * `introspect --targets` can now be used without configured build directory It is now possible to run `meson introspect --targets /path/to/meson.build` without a configured build directory. The generated output is similar to running the introspection with a build directory. However, there are some key differences: + The paths in `filename` now are _relative_ to the future build directory + The `install_filename` key is completely missing + There is only one entry in `target_sources`: x With the language set to `unknown` x Empty lists for `compiler` and `parameters` and `generated_sources` x The `sources` list _should_ contain all sources of the target There is no guarantee that the sources list in `target_sources` is correct. There might be differences, due to internal limitations. It is also not guaranteed that all targets will be listed in the output. It might even be possible that targets are listed, which won\'t exist when meson is run normally. This can happen if a target is defined inside an if statement. Use this feature with care. * Added option to introspect multiple parameters at once Meson introspect can now print the results of multiple introspection commands in a single call. The results are then printed as a single JSON object. The format for a single command was not changed to keep backward compatibility. Furthermore the option `-a,--all`, `-i,--indent` and `-f,--force-object-output` were added to print all introspection information in one go, format the JSON output (the default is still compact JSON) and force use the new output format, even if only one introspection command was given. A complete introspection dump is also stored in the `meson-info` directory. This dump will be (re)generated each time meson updates the configuration of the build directory. Additionlly the format of `meson introspect target` was changed: + New: the `sources` key. It stores the source files of a target and their compiler parameters. + New: the `defined_in` key. It stores the meson file where a target is defined + New: the `subproject` key. It stores the name of the subproject where a target is defined. + Added new target types (`jar`, `shared module`). * meson configure can now print the default options of an unconfigured project With this release, it is also possible to get a list of all build options by invoking `meson configure` with the project source directory or the path to the root `meson.build`. In this case, meson will print the default values of all options. * HDF5 HDF5 support is added via pkg-config. * Added the `meson-info.json` introspection file Meson now generates a `meson-info.json` file in the `meson-info` directory to provide introspection information about the latest meson run. This file is updated when the build configuration is changed and the build files are (re)generated.- Refreshed meson-suse-ify-macros.patch * Tue Feb 26 2019 Luigi Baldoni - 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 * Mon Jan 28 2019 Dominique Leuenberger - Update to version 0.49.1: + dependencies/ui: Don\'t require lrelease for qt. + Better Python exe detector (gh#mesonbuild/meson#4614).- Drop meson-no-lrelease.patch: fixed upstream. * Thu Jan 17 2019 Tomáš Chvátal - Switch to distutils build and properly create egg-info * Wed Jan 16 2019 Dominique Leuenberger - Add meson-no-lrelease.patch: Don\'t require lrelease for qt. * Wed Jan 09 2019 Tomáš Chvátal - Remove succeeding supposed failing gtest test that checks gtest version, openSUSE ships the .pc file with the actual informations * Wed Jan 09 2019 Tomáš Chvátal - Make sure the tests stop on the failure and output the failing test at the end for easier digging * Wed Jan 09 2019 Tomáš Chvátal - Make the setuptools conditional so I can quickly switch around and verify things * Wed Jan 09 2019 Tomáš Chvátal - Switch the package to use _multibuild rather than multiple spec files- Require python2-devel for the testsuite (bsc#1125736). * Tue Jan 08 2019 Tomáš Chvátal - Use distutils to build/run rather than setuptools to reduce buildcycle- Add patch to be able to build and install using distutils instead of full setuptools: * meson-distutils.patch
|
|
|