SHA256
1
0
forked from pool/meson
Commit Graph

107 Commits

Author SHA256 Message Date
Martin Pluskal
5566052395 Accepting request 737579 from home:mgorse:branches:devel:tools:building
Add a couple of SLE bugs into changes

OBS-URL: https://build.opensuse.org/request/show/737579
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/meson?expand=0&rev=145
2019-10-12 11:07:00 +00:00
5d8d6a37ef Accepting request 735117 from GNOME:Next
Scripted push of project GNOME:Next

OBS-URL: https://build.opensuse.org/request/show/735117
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/meson?expand=0&rev=143
2019-10-04 12:54:20 +00:00
Martin Pluskal
82bd088e9d Accepting request 716263 from GNOME:Next
Update to 0.51.1

OBS-URL: https://build.opensuse.org/request/show/716263
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/meson?expand=0&rev=141
2019-07-18 10:39:33 +00:00
Martin Pluskal
9eeef516e5 Accepting request 715709 from home:marxin:branches:devel:tools:building
- Add fix-missing-return-statements-that-are-seen-with-Wer.patch which
  is an upstream version of: https://github.com/mesonbuild/meson/pull/5654

OBS-URL: https://build.opensuse.org/request/show/715709
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/meson?expand=0&rev=140
2019-07-16 17:32:33 +00:00
0863ab893b Accepting request 713027 from GNOME:Next
Update to 0.51.0

OBS-URL: https://build.opensuse.org/request/show/713027
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/meson?expand=0&rev=138
2019-07-03 07:24:00 +00:00
f20fd6617c Accepting request 700080 from home:marxin:branches:devel:tools:building
- 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).

OBS-URL: https://build.opensuse.org/request/show/700080
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/meson?expand=0&rev=136
2019-05-14 11:37:01 +00:00
80d4534014 Accepting request 695279 from home:iznogood:branches:devel:tools:building
Fix typo

OBS-URL: https://build.opensuse.org/request/show/695279
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/meson?expand=0&rev=134
2019-04-17 15:26:13 +00:00
316e1679fb Accepting request 695139 from GNOME:Next
Update to 0.50.1

OBS-URL: https://build.opensuse.org/request/show/695139
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/meson?expand=0&rev=133
2019-04-17 13:06:36 +00:00
075d38a7f2 Accepting request 683886 from GNOME:Next
- Fixup meson-suse-ify-macros.patch post broken rebase.

OBS-URL: https://build.opensuse.org/request/show/683886
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/meson?expand=0&rev=132
2019-03-11 13:12:59 +00:00
Alexei Sorokin
3aaf786ea6 Accepting request 683606 from home:alois:branches:devel:tools:building
- 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:
    + 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

OBS-URL: https://build.opensuse.org/request/show/683606
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/meson?expand=0&rev=131
2019-03-11 11:51:59 +00:00
41366bf335 Accepting request 679539 from home:alois:branches:devel:tools:building
- 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

OBS-URL: https://build.opensuse.org/request/show/679539
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/meson?expand=0&rev=129
2019-02-26 21:36:15 +00:00
Alexei Sorokin
13fa341589 Accepting request 669784 from GNOME:Next
- Update to version 0.49.1

OBS-URL: https://build.opensuse.org/request/show/669784
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/meson?expand=0&rev=127
2019-01-29 11:30:50 +00:00
7e3e29d2a2 Accepting request 666688 from home:scarabeus_iv:branches:devel:tools:building
- Switch to distutils build and properly create egg-info

OBS-URL: https://build.opensuse.org/request/show/666688
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/meson?expand=0&rev=125
2019-01-17 12:16:42 +00:00
cb32bb23a7 - Add meson-no-lrelease.patch: Don't require lrelease for qt.
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/meson?expand=0&rev=124
2019-01-16 11:23:01 +00:00
bbb06c4b44 Accepting request 664588 from home:scarabeus_iv:branches:devel:tools:building
Fixed the traceback on exec

- Remove succeeding supposed failing gtest test that checks
  gtest version, openSUSE ships the .pc file with the actual
  informations

- Make sure the tests stop on the failure and output the failing
  test at the end for easier digging

- Make the setuptools conditional so I can quickly switch around
  and verify things

- Switch the package to use _multibuild rather than multiple
  spec files

- 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

OBS-URL: https://build.opensuse.org/request/show/664588
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/meson?expand=0&rev=123
2019-01-16 11:19:24 +00:00
Alexei Sorokin
5eb479be2c OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/meson?expand=0&rev=122 2018-12-28 18:18:49 +00:00
Alexei Sorokin
36e1899036 OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/meson?expand=0&rev=121 2018-12-16 22:33:41 +00:00
Alexei Sorokin
be391a380c OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/meson?expand=0&rev=120 2018-12-16 22:31:04 +00:00
Alexei Sorokin
2eea602a60 OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/meson?expand=0&rev=119 2018-12-16 22:20:42 +00:00
Alexei Sorokin
ac2c0a6430 - Update to version 0.45.0.
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/meson?expand=0&rev=118
2018-12-16 22:15:56 +00:00
Alexei Sorokin
de4d068474 OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/meson?expand=0&rev=115 2018-11-13 09:34:09 +00:00
Alexei Sorokin
51b52e060a - Update to version 0.48.2.
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/meson?expand=0&rev=114
2018-11-13 09:33:53 +00:00
Alexei Sorokin
1b51552e07 Accepting request 643014 from GNOME:Next
- Update to version 0.48.1:
  * See https://github.com/mesonbuild/meson/milestone/31?closed=1
- Drop meson-Fix-handling-generated-desktop-files.patch: Fixed
  upstream. 
- Update to version 0.48.1:
  * See https://github.com/mesonbuild/meson/milestone/31?closed=1
- Drop meson-Fix-handling-generated-desktop-files.patch: Fixed
  upstream.

OBS-URL: https://build.opensuse.org/request/show/643014
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/meson?expand=0&rev=113
2018-10-18 18:54:10 +00:00
Alexei Sorokin
5493e1453a Accepting request 640264 from GNOME:Next
- Add meson-Fix-handling-generated-desktop-files.patch: Fix
  handling generated .desktop files.
- Add meson-Fix-handling-generated-desktop-files.patch: Fix
  handling generated .desktop files.

OBS-URL: https://build.opensuse.org/request/show/640264
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/meson?expand=0&rev=111
2018-10-06 14:18:19 +00:00
08cc2d1f0b Accepting request 639362 from GNOME:Next
Add runtime dep

OBS-URL: https://build.opensuse.org/request/show/639362
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/meson?expand=0&rev=110
2018-10-01 10:43:49 +00:00
Alexei Sorokin
1ae7a07faf - Update to version 0.48.0.
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/meson?expand=0&rev=109
2018-09-28 15:49:38 +00:00
Alexei Sorokin
e4e2081347 - Update to version 0.47.2.
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/meson?expand=0&rev=108
2018-08-25 18:10:34 +00:00
Alexei Sorokin
8219fa42bb OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/meson?expand=0&rev=107 2018-08-04 21:34:01 +00:00
Alexei Sorokin
7ac5ec2258 - Update to version 0.47.1.
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/meson?expand=0&rev=106
2018-08-04 21:27:12 +00:00
Alexei Sorokin
34476d3501 Accepting request 625988 from GNOME:Next
New stable bugfix rel.

Note that there is even a 0.47 stable branch, but that will req rebase of patches, and I could not be asked to do that atm.

OBS-URL: https://build.opensuse.org/request/show/625988
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/meson?expand=0&rev=104
2018-07-29 00:32:45 +00:00
43e1396cf4 Accepting request 622422 from openSUSE:Factory:zSystems
- add Don-t-raise-StopIteration-in-generators-no-longer-al.patch

It fixes build of pango on s390x.

OBS-URL: https://build.opensuse.org/request/show/622422
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/meson?expand=0&rev=102
2018-07-13 06:59:29 +00:00
Alexei Sorokin
24264d47a2 OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/meson?expand=0&rev=100 2018-05-30 13:40:07 +00:00
Alexei Sorokin
71ee2096dd Accepting request 613073 from GNOME:Next
- BuildRequire python3-base instead of python3: make building a bit
  cheaper.
- BuildRequire python3-base instead of python3: make building a bit
  cheaper.

OBS-URL: https://build.opensuse.org/request/show/613073
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/meson?expand=0&rev=99
2018-05-30 13:39:23 +00:00
Alexei Sorokin
4fccc50640 OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/meson?expand=0&rev=97 2018-04-30 12:10:07 +00:00
e3d4a78d0b Accepting request 602460 from GNOME:Next
- Add meson-keep-spaces-in-pc-files.patch: Keep spaces in generated
  pkgconfig files (gh#mesonbuild/meson#3479).

- Add meson-keep-spaces-in-pc-files.patch: Keep spaces in generated
  pkgconfig files (gh#mesonbuild/meson#3479).

OBS-URL: https://build.opensuse.org/request/show/602460
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/meson?expand=0&rev=96
2018-04-30 09:19:08 +00:00
750d89d245 Accepting request 601829 from devel:tools:building
Revert last submission

OBS-URL: https://build.opensuse.org/request/show/601829
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/meson?expand=0&rev=95
2018-04-27 07:22:12 +00:00
159a41432b Accepting request 601824 from home:lachs0r:branches:devel:tools:building
- Change meson-suse-ify-macros.patch: Disable stripping to make
  debuginfo packages work. 
- Change meson-suse-ify-macros.patch: Disable stripping to make
  debuginfo packages work.

OBS-URL: https://build.opensuse.org/request/show/601824
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/meson?expand=0&rev=94
2018-04-27 07:13:51 +00:00
Alexei Sorokin
2450937319 OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/meson?expand=0&rev=93 2018-04-26 09:21:13 +00:00
Alexei Sorokin
c3bf802807 OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/meson?expand=0&rev=92 2018-04-26 08:58:20 +00:00
Alexei Sorokin
7dc9d32c88 - Update to version 0.46.0.
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/meson?expand=0&rev=91
2018-04-26 08:56:00 +00:00
Alexei Sorokin
ea3c72be46 OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/meson?expand=0&rev=89 2018-03-22 18:47:28 +00:00
Alexei Sorokin
535492b86c OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/meson?expand=0&rev=88 2018-03-22 00:26:26 +00:00
Alexei Sorokin
6e97a6edde OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/meson?expand=0&rev=87 2018-03-21 23:03:57 +00:00
Alexei Sorokin
ccb7495013 OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/meson?expand=0&rev=86 2018-03-21 22:53:28 +00:00
Alexei Sorokin
b996db9e9e OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/meson?expand=0&rev=85 2018-03-21 21:52:12 +00:00
Alexei Sorokin
69b71323cf OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/meson?expand=0&rev=84 2018-03-21 21:19:07 +00:00
Alexei Sorokin
e363149b90 OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/meson?expand=0&rev=83 2018-03-21 21:15:11 +00:00
Alexei Sorokin
2c831b4033 OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/meson?expand=0&rev=82 2018-03-21 21:12:14 +00:00
Alexei Sorokin
13e5fe6bed OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/meson?expand=0&rev=80 2018-03-16 00:21:33 +00:00
Alexei Sorokin
bb6d6607c3 OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/meson?expand=0&rev=79 2018-03-16 00:17:26 +00:00