SHA256
3
0
forked from pool/meson

Compare commits

...

18 Commits

Author SHA256 Message Date
Ana Guerrero
0a5ff122b8 Accepting request 1240475 from devel:tools:building
OBS-URL: https://build.opensuse.org/request/show/1240475
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/meson?expand=0&rev=121
2025-01-29 15:10:04 +00:00
1a61062552 Update to 1.7.0
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/meson?expand=0&rev=310
2025-01-27 09:37:30 +00:00
Dominique Leuenberger
1a4292995b Accepting request 1238473 from devel:tools:building
- Drop the bcond on setuptools, its primary flavor will live in Ring 0.
- Drop patch meson-distutils.patch, not required.
- Instruct autosetup macro to apply all patches.

OBS-URL: https://build.opensuse.org/request/show/1238473
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/meson?expand=0&rev=120
2025-01-18 12:18:09 +00:00
a0b9e96633 - Drop the bcond on setuptools, its primary flavor will live in Ring 0.
- Drop patch meson-distutils.patch, not required.
- Instruct autosetup macro to apply all patches.

OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/meson?expand=0&rev=308
2025-01-16 08:09:30 +00:00
Ana Guerrero
62ce7501c0 Accepting request 1231640 from devel:tools:building
OBS-URL: https://build.opensuse.org/request/show/1231640
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/meson?expand=0&rev=119
2024-12-18 19:09:14 +00:00
4930b931f2 Update to 1.6.1
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/meson?expand=0&rev=306
2024-12-17 08:17:25 +00:00
Ana Guerrero
fa61bf25f6 Accepting request 1230120 from devel:tools:building
OBS-URL: https://build.opensuse.org/request/show/1230120
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/meson?expand=0&rev=118
2024-12-12 20:14:20 +00:00
b1b6213c06 - Drop meson-testsuite-with-cmake-3.31.patch: the actual fix was
done in CMake 3.31.2.

OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/meson?expand=0&rev=304
2024-12-11 14:01:30 +00:00
Ana Guerrero
02c1c16002 Accepting request 1228753 from devel:tools:building
- Add 13935.patch: Fix test suite with rust 1.83. (forwarded request 1228752 from dimstar)

OBS-URL: https://build.opensuse.org/request/show/1228753
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/meson?expand=0&rev=117
2024-12-08 10:36:08 +00:00
5a550f9b32 - Add 13935.patch: Fix test suite with rust 1.83.
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/meson?expand=0&rev=302
2024-12-06 11:45:54 +00:00
Ana Guerrero
a5f4cb39d9 Accepting request 1225964 from devel:tools:building
- Add meson-testsuite-with-cmake-3.31.patch: Fix test suite run
  against CMake 3.31.

OBS-URL: https://build.opensuse.org/request/show/1225964
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/meson?expand=0&rev=116
2024-11-24 10:03:41 +00:00
5e9094bc8e OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/meson?expand=0&rev=300 2024-11-23 10:38:43 +00:00
2771258507 - Add meson-testsuite-with-cmake-3.31.patch: Fix test suite run
against CMake 3.31.

OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/meson?expand=0&rev=299
2024-11-22 10:04:31 +00:00
Ana Guerrero
4b0cc15995 Accepting request 1216643 from devel:tools:building
OBS-URL: https://build.opensuse.org/request/show/1216643
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/meson?expand=0&rev=115
2024-10-22 12:51:38 +00:00
55e2e3cc00 - Update ro version 1.6.0:
+ Support for OpenXL compiler in AIX.
  + Default to printing deprecations when no minimum version is
    specified.
  + Cargo subprojects is experimental.
  + Dependencies from CMake subprojects now use only PUBLIC link
    flags.
  + New built-in option for default both_libraries.
  + New as_static and as_shared methods on internal dependencies.
  + Support for DIA SDK.
  + Support for LLVM-based flang compiler.
  + nvc and nvc++ now support setting std.
  + Tools can be selected when calling has_tools() on the Qt
    modules.
  + Simple tool to test build reproducibility.
  + Support for variable in system dependencies.
  + test() and benchmark() functions accept new types.
  + Zig 0.11 can be used as a C/C++ compiler frontend.

OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/meson?expand=0&rev=297
2024-10-21 07:39:25 +00:00
Ana Guerrero
a90c6d1776 Accepting request 1202538 from devel:tools:building
OBS-URL: https://build.opensuse.org/request/show/1202538
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/meson?expand=0&rev=114
2024-09-24 15:31:15 +00:00
8ccaa6d4cc Update to 1.5.2
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/meson?expand=0&rev=295
2024-09-23 06:41:39 +00:00
f417e64e97 Accepting request 1194738 from GNOME:Next
- BuildRequire gettext-devel instead of gettext: allow OBS to
  shortcut through gettext-runtime-mini.

OBS-URL: https://build.opensuse.org/request/show/1194738
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/meson?expand=0&rev=294
2024-08-19 15:23:20 +00:00
8 changed files with 125 additions and 105 deletions

View File

@ -1,10 +1,12 @@
Index: b/data/macros.meson
Index: meson-1.7.0/data/macros.meson
===================================================================
--- a/data/macros.meson
+++ b/data/macros.meson
@@ -42,4 +42,5 @@
--- meson-1.7.0.orig/data/macros.meson
+++ meson-1.7.0/data/macros.meson
@@ -44,6 +44,7 @@
-C %{_vpath_builddir} \
--num-processes %{_smp_build_ncpus} \
--print-errorlogs \
+ %{?qemu_user_space_build: -t 10} \
%{nil}}
# Declarative buildsystem, requires RPM 4.20+ to work

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:567e533adf255de73a2de35049b99923caf872a455af9ce03e01077e0d384bed
size 2257106

View File

@ -1,16 +0,0 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEEGeLW2bRtjapiiPh3wk5jG6ux/nAFAmak4oAACgkQwk5jG6ux
/nCJUA/+O88rZPlqCawXxRZ9iE3I//Arki3LIyptf6VQKmA/oiv9OIy1H+LozkQ/
/lCSrNKsGqz6hdlemZ036I2WYK+vN8q7zx1kadLM8eM5de0ZmgIFH0u0qbyNyqKR
NHTw/pP2mY6c2V7ST34kYXLFxJqzn4WsnZIVh6rJSVEsjtCHgM5pjaCPKkcYmSLO
Vj2uwMkKOoFr3bshohdxpKdzWTXQGEwZkqQmBeQlayVmtTnWDDbEZ42jkY4+DSsL
1G4/WM1+e7CoI5YWgGwFdFPe0O37Cq8ljPtS9mOgq7oWSfcAB3p7Vv20Krjn8r3L
cbxpFUllIhgaCHTQ+MQbWbtALpXb97/XiQs2iL5zDgYxBCOZhb8B7A2YmgXBsLzq
4jtfwVh5Dl26yWXDAlngZWvS9Iu8DD4ITOkKbrSMLCicd5/rBO0PPGMdGnDh1cSA
7IOSMtiH4Cvg18MWlQ0masPTxSk700u/vHpagdJZlQzYFut3qfBSUFXNfsLrDjrs
vwYauHv4Pw5z0zAsFELZJe6yxoE1n4I79xrqp8L6bE5RsVjbmPWTcEhmopqJ98EP
HI6KwY3gBz152lDcnHlQ8u3auW1qQA2Ur3CiljWJaZnT1x0rcqIxOvXCLe8RXxxn
nw292/9IP/gbOjXYNxNEi0s3PQfjctzhwzmfMTKLH8VOgHMCJvc=
=qc8Q
-----END PGP SIGNATURE-----

3
meson-1.7.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:08efbe84803eed07f863b05092d653a9d348f7038761d900412fddf56deb0284
size 2293975

16
meson-1.7.0.tar.gz.asc Normal file
View File

@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEEGeLW2bRtjapiiPh3wk5jG6ux/nAFAmeWhmwACgkQwk5jG6ux
/nCY8g/+J5Fo1Fk0Djr0yG7X4UKhJtc63wJR1RKY09tck6GXQRewfpF/6hw82Y6N
IpAes4MrxZnZ2O5zR66wjSgraDSlVKUfjjMYEr10udJWQb2WKAf9Uus04SPGjJ9W
VuQmO7SANCu5MU6sbw3AaXxNBherbMazZV7mzhqwRmlLayAyE+ZB8BrbHjBHnBxU
59MuOOeNomP0otSkkUtMeNxDS6kBRL+BfKKBuwOvOlbuQa5TtzMV1v+LjRRENhd6
bbCbeZye31d7I/gVAhQOWL4tjmnJ8cUgLAGHz73gjE51Bddjp2EQDcicLyCPujPU
Xk9V2cGH9dvIIv3zIrvN+Ncgvv+BkqLPtwrAE6mHLy1/UEbAW4p9QfHhR8ntwm13
Hwp0jPV82swa7ZoCtecRByDAaFYf1rHiy0X0yqEVrLJf1ka2NONDm2fi4S7SFUfe
xLQiT8u6CcCEYzNxTdXX9oJSx72tB8wWAELeNBAS5CLSoGeJXFkisVOBGe9UlCSe
lFaCw+hbAkZlWmVK6l90jdk4QbZbcycIdnhJIB3/3fK84fTQChSPFhSdNgHicGFC
dcIYOujwHBClL9LUMRfO8gdzEK8iw4L70q0iFYGanYf0gWa9gUodxJHgaWBdQMHu
XatcnL69hROoFp/KeW+rJ0rQxoUEN0Oclgf1MMG2ZFShTn9C9Zs=
=cRFJ
-----END PGP SIGNATURE-----

View File

@ -1,41 +0,0 @@
Index: b/setup.py
===================================================================
--- a/setup.py
+++ b/setup.py
@@ -20,7 +20,7 @@ if sys.version_info < (3, 7):
raise SystemExit('ERROR: Tried to install Meson with an unsupported Python version: \n{}'
'\nMeson requires Python 3.7.0 or greater'.format(sys.version))
-from setuptools import setup
+from distutils.core import setup
data_files = []
if sys.platform != 'win32':
@@ -28,4 +28,16 @@ if sys.platform != 'win32':
data_files = [('share/man/man1', ['man/meson.1']),
('share/polkit-1/actions', ['data/com.mesonbuild.install.policy'])]
-setup(data_files=data_files,)
+# Since distutils does not understand the find: directive in setup.cfg, and
+# therefore doesn't expand it, we need to do it directly
+import os
+packages=[
+ root.replace('/', '.')
+ for root, dirs, files in os.walk('mesonbuild')
+ if '__init__.py' in files]
+
+setup(
+ packages=packages,
+ package_data={'mesonbuild.dependencies.data': ['mesonbuild/dependencies/data/*.txt']},
+ data_files=data_files,
+)
Index: b/MANIFEST.in
===================================================================
--- a/MANIFEST.in
+++ b/MANIFEST.in
@@ -17,3 +17,5 @@ include run_unittests.py
include run_meson_command_tests.py
include run_project_tests.py
include meson.py
+
+include mesonbuild/dependencies/data/*.txt

View File

@ -1,3 +1,96 @@
-------------------------------------------------------------------
Mon Jan 27 08:03:56 UTC 2025 - Dominique Leuenberger <dimstar@opensuse.org>
- Update to version 1.7.0:
+ Call for testing for next release
+ New custom dependency for atomic
+ `--cap-lints allow` used for Cargo subprojects
+ Cargo features are resolved globally
+ Meson can run "clippy" on Rust projects
+ Devenv support in external project module
+ Fixed `sizeof` and `find_library` methods for Fortran compilers
+ format command now accept stdin argument
+ "machine" entry in target introspection data
+ Add new language Linear Asm
+ Control the number of child processes with an environment variable
+ Support for Rust 2024
+ Support TASKING VX-Toolset
+ Test targets no longer built by default
+ Install vcs_tag() output
- Rebase extend-test-timeout-on-qemu-builds.patch.
-------------------------------------------------------------------
Thu Jan 16 04:16:31 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Drop the bcond on setuptools, its primary flavor will live in Ring 0.
- Drop patch meson-distutils.patch, not required.
- Instruct autosetup macro to apply all patches.
-------------------------------------------------------------------
Tue Dec 17 07:21:30 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
- Update to version 1.6.1:
+ Handle top level options set in subprojects.
+ modernize Rust template.
+ CMakeToolchain: Log output on compiler state failure.
+ rust: fix computation of library directory.
+ modules/rust: Add support for autolib field in the Cargo.toml.
- Drop 13935.patch: fixed upstream.
-------------------------------------------------------------------
Tue Dec 10 14:17:35 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
- Drop meson-testsuite-with-cmake-3.31.patch: the actual fix was
done in CMake 3.31.2.
-------------------------------------------------------------------
Fri Dec 6 11:11:56 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
- Add 13935.patch: Fix test suite with rust 1.83.
-------------------------------------------------------------------
Fri Nov 22 09:21:34 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
- Add meson-testsuite-with-cmake-3.31.patch: Fix test suite run
against CMake 3.31.
-------------------------------------------------------------------
Mon Oct 21 06:52:57 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
- Update ro version 1.6.0:
+ Support for OpenXL compiler in AIX.
+ Default to printing deprecations when no minimum version is
specified.
+ Cargo subprojects is experimental.
+ Dependencies from CMake subprojects now use only PUBLIC link
flags.
+ New built-in option for default both_libraries.
+ New as_static and as_shared methods on internal dependencies.
+ Support for DIA SDK.
+ Support for LLVM-based flang compiler.
+ nvc and nvc++ now support setting std.
+ Tools can be selected when calling has_tools() on the Qt
modules.
+ Simple tool to test build reproducibility.
+ Support for variable in system dependencies.
+ test() and benchmark() functions accept new types.
+ Zig 0.11 can be used as a C/C++ compiler frontend.
-------------------------------------------------------------------
Mon Sep 23 06:03:36 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
- Update to version 1.5.2:
+ compilers: do not strip '-isystem' from C build arguments.
+ Prevent raw exception during project().
+ compilers: Pass mode to determine_args, not its string value.
+ nasm: Use different test sources for x86 and x86_64.
-------------------------------------------------------------------
Mon Aug 19 11:34:30 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
- BuildRequire gettext-devel instead of gettext: allow OBS to
shortcut through gettext-runtime-mini.
-------------------------------------------------------------------
Sat Jul 27 20:50:09 UTC 2024 - Andreas Stieger <andreas.stieger@gmx.de>

View File

@ -1,7 +1,7 @@
#
# spec file for package meson
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
# Copyright (c) 2024 Andreas Stieger <Andreas.Stieger@gmx.de>
#
# All modifications and additions to the file contributed by third parties
@ -33,10 +33,9 @@
%endif
%define _name mesonbuild
%{!?vim_data_dir:%global vim_data_dir %{_datadir}/vim}
%bcond_with setuptools
%bcond_without mono
Name: meson%{name_ext}
Version: 1.5.1
Version: 1.7.0
Release: 0
Summary: Python-based build system
License: Apache-2.0
@ -49,16 +48,11 @@ Source2: meson.keyring
Patch0: meson-test-installed-bin.patch
# PATCH-FIX-OPENSUSE give more time to testsuites that run emulated
Patch1: extend-test-timeout-on-qemu-builds.patch
# PATCH-FIX-OPENSUSE meson-distutils.patch -- meson is ring0 and therefor setuptools is not available
Patch2: meson-distutils.patch
BuildRequires: %{python_module base >= 3.7}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
%if %{with setuptools}
BuildRequires: %{python_module setuptools}
Requires: python3-setuptools
%endif
%if "%{flavor}" != "test"
Requires: ninja >= 1.8.2
# meson-gui was last used in openSUSE Leap 42.1.
@ -89,7 +83,7 @@ BuildRequires: gcc-fortran >= 12
BuildRequires: gcc-obj-c++ >= 12
BuildRequires: gcc-objc >= 12
%endif
BuildRequires: gettext
BuildRequires: gettext-devel
BuildRequires: git
BuildRequires: gmock
BuildRequires: gnustep-make
@ -102,6 +96,8 @@ BuildRequires: libboost_python3-devel
BuildRequires: %{python_module devel}
BuildRequires: %{python_module gobject}
BuildRequires: %{python_module pytest-xdist}
BuildRequires: libboost_python3-devel
BuildRequires: libboost_regex-devel
BuildRequires: libboost_system-devel
BuildRequires: libboost_test-devel
BuildRequires: libboost_thread-devel
@ -180,12 +176,7 @@ This package provides meson.build syntax highlighting support for
Vim/NeoVim.
%prep
%autosetup -N -n meson-%{version}
%patch -P 0 -p1
%patch -P 1 -p1
%if !%{with setuptools}
%patch -P 2 -p1
%endif
%autosetup -p1 -n meson-%{version}
%if 0%{?sle_version} >= 150400 && 0%{?sle_version} < 160000
# AddressSanitizer fails here because of ulimit.
@ -232,31 +223,6 @@ install -Dpm 0644 data/syntax-highlighting/vim/indent/meson.vim \
install -Dpm 0644 data/syntax-highlighting/vim/syntax/meson.vim \
-t %{buildroot}%{vim_data_dir}/site/syntax/
# entry points are not distutils-able
%if !%{with setuptools}
mkdir -p %{buildroot}%{_bindir}
echo """#!%{_bindir}/python3
from mesonbuild.mesonmain import main
import sys
sys.exit(main())
""" > %{buildroot}%{_bindir}/%{name}
chmod +x %{buildroot}%{_bindir}/%{name}
%{python_expand %{$python_fix_shebang}
# ensure egg-info is a directory
rm %{buildroot}%{$python_sitelib}/*.egg-info
cp -r meson.egg-info %{buildroot}%{$python_sitelib}/meson-%{version}-py%{$python_version}.egg-info
}
# Fix missing data files with distutils
while read line; do
if [[ "$line" = %{_name}/* ]]; then
[[ "$line" = *.py ]] && continue
cp "$line" "%{buildroot}%{python_sitelib}/$line"
fi
done < meson.egg-info/SOURCES.txt
%endif
%endif
%if %{with test}