upg meson

This commit is contained in:
joborun linux 2022-12-25 13:28:02 +02:00
parent 142686f52a
commit 5c7b329e20
7 changed files with 14552 additions and 114 deletions

View File

@ -22,7 +22,7 @@ index 193ad184b637..e94ba68ac30f 100644
dep = dependency('ZLIB', version : '>=1.2', method : 'cmake')
diff --git a/unittests/linuxliketests.py b/unittests/linuxliketests.py
index 25b392f28e47..db8119f63719 100644
index 50c6b62b02dd..20eb73550e9f 100644
--- a/unittests/linuxliketests.py
+++ b/unittests/linuxliketests.py
@@ -359,6 +359,7 @@ class LinuxlikeTests(BasePlatformTests):

View File

@ -6,25 +6,33 @@
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=meson
pkgver=0.64.1
pkgrel=01
pkgver=1.0.0
pkgrel=02
pkgdesc='High productivity build system'
url='https://mesonbuild.com/'
arch=('any')
depends=('python-setuptools' 'ninja')
checkdepends=('gcc-objc' 'vala' 'rust' 'gcc-fortran' 'mono' 'boost' 'qt5-base' 'git' 'cython'
'gtkmm3' 'gtest' 'gmock' 'protobuf' 'wxgtk3' 'python-gobject' 'gobject-introspection'
'itstool' 'gtk3' 'java-environment=8' 'gtk-doc' 'llvm' 'clang' 'sdl2' 'graphviz'
'doxygen' 'vulkan-validation-layers' 'openssh' 'mercurial' 'gtk-sharp-2' 'qt5-tools'
'libwmf' 'valgrind' 'cmake' 'netcdf-fortran' 'openmpi' 'nasm' 'gnustep-base' 'libelf'
'python-pytest-xdist' 'ldc' 'rust-bindgen' 'cuda' 'hotdoc')
source=(https://github.com/mesonbuild/meson/releases/download/${pkgver}/meson-${pkgver}.tar.gz{,.asc}
depends=(ninja python)
makedepends=(
python-build
python-installer
python-wheel
)
checkdepends=( boost clang cmake cuda cython doxygen gcc-fortran gcc-objc
git gmock gnustep-base gobject-introspection graphviz gtest gtk-doc gtk-sharp-2
gtk3 gtkmm3 hotdoc itstool java-environment=8 ldc libelf libwmf llvm mercurial
mono nasm netcdf-fortran openmpi openssh protobuf python-gobject python-pytest-xdist
qt5-base qt5-tools rust rust-bindgen sdl2 vala valgrind vulkan-validation-layers
wxgtk3)
source=(
https://github.com/mesonbuild/meson/releases/download/$pkgver/meson-$pkgver.tar.gz{,.asc}
meson-reference-$pkgver.3::https://github.com/mesonbuild/meson/releases/download/$pkgver/meson-reference.3
meson-reference-$pkgver.json::https://github.com/mesonbuild/meson/releases/download/$pkgver/reference_manual.json
0001-Skip-broken-tests.patch
arch-meson
jobo-meson)
prepare() {
cd ${pkgname}-${pkgver}
cd $pkgname-$pkgver
## Arch: Our containers do not allow sanitizers to run
patch -Np1 -i ../0001-Skip-broken-tests.patch
@ -32,47 +40,43 @@ prepare() {
}
build() {
cd ${pkgname}-${pkgver}
python setup.py build
cd $pkgname-$pkgver
python -m build --wheel --no-isolation
}
#
#check() (
# cd ${pkgname}-${pkgver}
# cd $pkgname-$pkgver
# export LC_CTYPE=en_US.UTF-8 CPPFLAGS= CFLAGS= CXXFLAGS= LDFLAGS=
# ./run_tests.py --failfast
# ./run_tests.py --failfast
#)
#
#
#
#1/2 testsetups:buggy / Test buggy FAIL 0.09s exit status 1
#>>> TEST_ENV=1 MALLOC_PERTURB_=165 /usr/bin/valgrind --error-exitcode=1 --leak-check=full /src/pkg/jobextra/meson/src/meson-0.63.3/tmpvv_zk5ul/buggy
#
#2/2 testsetups / test-env FAIL 0.08s exit status 1
#>>> MALLOC_PERTURB_=113 TEST_ENV=1 /usr/bin/valgrind --error-exitcode=1 --leak-check=full '/src/pkg/jobextra/meson/src/meson-0.63.3/test cases/unit/2 testsetups/envcheck.py'
#========================================== short test summary info ===========================================
#FAILED run_unittests.py::AllPlatformTests::test_testsetups - AssertionError: 'TEST_ENV is set' not found in...
#!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! stopping after 1 failures !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
#!!!!!!!!!!!!!!!!!!!!!!!!!!! xdist.dsession.Interrupted: stopping after 1 failures !!!!!!!!!!!!!!!!!!!!!!!!!!!!
#====================== 1 failed, 133 passed, 21 skipped, 9 warnings in 68.42s (0:01:08) ======================
#========================================== short test summary info ===========================================
#FAILED run_unittests.py::AllPlatformTests::test_testsetups - AssertionError: 'TEST_ENV is set' not found in "Log of Meson test suite run on 2022-12-25T01:12:12.907961...
#!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! stopping after 1 failures !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
#!!!!!!!!!!!!!!!!!!!!!!!!!!! xdist.dsession.Interrupted: stopping after 1 failures !!!!!!!!!!!!!!!!!!!!!!!!!!!!
#===================== 1 failed, 409 passed, 65 skipped, 13 warnings in 154.65s (0:02:34) =====================
#Total time: 155.019 seconds
#
package() {
cd ${pkgname}-${pkgver}
python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
cd $pkgname-$pkgver
python -m installer --destdir="$pkgdir" dist/*.whl
install -d "${pkgdir}/usr/share/vim/vimfiles"
cp -rt "${pkgdir}/usr/share/vim/vimfiles" data/syntax-highlighting/vim/*/
install -d "$pkgdir/usr/share/vim/vimfiles"
cp -rt "$pkgdir/usr/share/vim/vimfiles" data/syntax-highlighting/vim/*/
install -Dt "${pkgdir}/usr/share/bash-completion/completions" -m644 data/shell-completions/bash/*
# install -Dt "${pkgdir}/usr/share/emacs/site-lisp" -m644 data/syntax-highlighting/emacs/*
install -Dt "${pkgdir}/usr/share/zsh/site-functions" -m644 data/shell-completions/zsh/*
install -Dm644 data/shell-completions/bash/* -t "$pkgdir/usr/share/bash-completion/completions"
install -Dm644 data/shell-completions/zsh/* -t "$pkgdir/usr/share/zsh/site-functions"
install -Dm644 ../meson-reference-$pkgver.3 "$pkgdir/usr/share/man/man3/meson-reference.3"
install -Dm644 ../meson-reference-$pkgver.json "$pkgdir/usr/share/doc/$pkgname/reference_manual.json"
# Arch packaging helper
install -D ../arch-meson -t "${pkgdir}/usr/bin"
install -D ../arch-meson -t "$pkgdir/usr/bin"
# joborun-pkg packaging helper
install -D ../jobo-meson -t "${pkgdir}/usr/bin"
install -D ../jobo-meson -t "$pkgdir/usr/bin"
}
#---- license gpg-key sha256sums ----
@ -81,9 +85,19 @@ license=('Apache')
validpgpkeys=('19E2D6D9B46D8DAA6288F877C24E631BABB1FE70') # Jussi Pakkanen <jpakkane@gmail.com>
sha256sums=(3a8e030c2334f782085f81627062cc6d4a6771edf31e055ffe374f9e6b089ab9 # meson-0.64.1.tar.gz
cf4fad17a8f04afa394ed76d1a0bd98e80c653813092ed25da3e6031fa04bcfd # meson-0.64.1.tar.gz.asc
6aefe15d08a25826ba2578d18e02a59520065e52e8475c1919f258365d92731d # 0001-Skip-broken-tests.patch
sha512sums=('9b1195cfe856c1aa51bc79f6eb4d0f94925bb02d0a9fbd68a6a6ced6e5c252b09b22d9aac812640687e49b8d64a313ce48d0a69a3bf83ea8ffb8c9dab559fc23'
'SKIP'
'e756e3249e34d119b81403d1c36abbc63ee77db019b16742ebcc89689c177868e3684ae682a058c4bd7c6207d88694445f9e2f2c778f1365fe505e64186394ea'
'16099033f4eda0acd3cb2f5785717b493e1b64c50a66012161a10cbcc22e941a38b04124bc2d9622221850226e5407d4e050074d0237a0012dba869bd66af00d'
'30558210317307e720fd4d5d360c15882c5c756aad7b26036bc5875a0599312a711df174a87f29d528181ec88e9d48b2ee82456cf23109907c7ba4b4dcc5c238'
'f451f8a7ef9cf1dd724c2ce20bb85a3f1611b87b2e7a17ef0fdbe8ab82a67389f818ea30a5adfe8413143e4eac77ea2e0b8234b5b2466b41a892e2bd0435376c'
SKIP)
sha256sums=(aa50a4ba4557c25e7d48446abfde857957dcdf58385fffbe670ba0e8efacce05 # meson-1.0.0.tar.gz
e61af8e08ded46925f2f00ae1de779b1d92f9fa45365e1c9356613f4e034ff0e # meson-1.0.0.tar.gz.asc
8808e24ccb4d75bd005d418c1525bba0d5a718d9a369e9aca093ff3847b5a819 # meson-reference-1.0.0.3
5a09fd796dec56fd02b001231a53cc80f349bfcb2042f2ac1515e195b5bdd877 # meson-reference-1.0.0.json
f13ec9e555cff3fc281ef6b9cfaf9c08daa565bd3e558d2ebd5f37f50cf5afec # 0001-Skip-broken-tests.patch
ac3387ed5759cc512b1f2a4e5b3dd940274b02f943a7e5d644792ee714e6b95e # arch-meson
b2aeae2787cf8f3ffb8778ee7f1a434895b1512bc0bdb33528c4cb2aeb067904) # jobo-meson

View File

@ -3,56 +3,108 @@
# Contributor: Anatol Pomozov <anatol dot pomozov at gmail>
pkgname=meson
pkgver=0.64.1
pkgrel=1
pkgdesc='High productivity build system'
url='https://mesonbuild.com/'
arch=('any')
license=('Apache')
depends=('python-setuptools' 'ninja')
checkdepends=('gcc-objc' 'vala' 'rust' 'gcc-fortran' 'mono' 'boost' 'qt5-base' 'git' 'cython'
'gtkmm3' 'gtest' 'gmock' 'protobuf' 'wxgtk3' 'python-gobject' 'gobject-introspection'
'itstool' 'gtk3' 'java-environment=8' 'gtk-doc' 'llvm' 'clang' 'sdl2' 'graphviz'
'doxygen' 'vulkan-validation-layers' 'openssh' 'mercurial' 'gtk-sharp-2' 'qt5-tools'
'libwmf' 'valgrind' 'cmake' 'netcdf-fortran' 'openmpi' 'nasm' 'gnustep-base' 'libelf'
'python-pytest-xdist' 'ldc' 'rust-bindgen' 'cuda' 'hotdoc')
source=(https://github.com/mesonbuild/meson/releases/download/${pkgver}/meson-${pkgver}.tar.gz{,.asc}
0001-Skip-broken-tests.patch
arch-meson)
sha512sums=('4896f5a09f89cadce028080f70e5ca005fd3bb2141a730a0ad71ded63d1bde6d1254957fe079f5e4c6e3b9420a9fcc4525b01e689979f0bab6d09d6483ca42ec'
pkgver=1.0.0
pkgrel=2
pkgdesc="High productivity build system"
url="https://mesonbuild.com/"
arch=(any)
license=(Apache)
depends=(ninja python)
makedepends=(
python-build
python-installer
python-wheel
)
checkdepends=(
boost
clang
cmake
cuda
cython
doxygen
gcc-fortran
gcc-objc
git
gmock
gnustep-base
gobject-introspection
graphviz
gtest
gtk-doc
gtk-sharp-2
gtk3
gtkmm3
hotdoc
itstool
java-environment=8
ldc
libelf
libwmf
llvm
mercurial
mono
nasm
netcdf-fortran
openmpi
openssh
protobuf
python-gobject
python-pytest-xdist
qt5-base
qt5-tools
rust
rust-bindgen
sdl2
vala
valgrind
vulkan-validation-layers
wxgtk3
)
source=(
https://github.com/mesonbuild/meson/releases/download/$pkgver/meson-$pkgver.tar.gz{,.asc}
meson-reference-$pkgver.3::https://github.com/mesonbuild/meson/releases/download/$pkgver/meson-reference.3
meson-reference-$pkgver.json::https://github.com/mesonbuild/meson/releases/download/$pkgver/reference_manual.json
0001-Skip-broken-tests.patch
arch-meson
)
sha512sums=('9b1195cfe856c1aa51bc79f6eb4d0f94925bb02d0a9fbd68a6a6ced6e5c252b09b22d9aac812640687e49b8d64a313ce48d0a69a3bf83ea8ffb8c9dab559fc23'
'SKIP'
'51b5d0b684a03ab884c6d94925bae7edc8544168100497251c36e85502428a0fe89e5512e067b24d983695ab3b468a8a504dfbe5d66c1c17579039bf329d3857'
'e756e3249e34d119b81403d1c36abbc63ee77db019b16742ebcc89689c177868e3684ae682a058c4bd7c6207d88694445f9e2f2c778f1365fe505e64186394ea'
'16099033f4eda0acd3cb2f5785717b493e1b64c50a66012161a10cbcc22e941a38b04124bc2d9622221850226e5407d4e050074d0237a0012dba869bd66af00d'
'30558210317307e720fd4d5d360c15882c5c756aad7b26036bc5875a0599312a711df174a87f29d528181ec88e9d48b2ee82456cf23109907c7ba4b4dcc5c238'
'f451f8a7ef9cf1dd724c2ce20bb85a3f1611b87b2e7a17ef0fdbe8ab82a67389f818ea30a5adfe8413143e4eac77ea2e0b8234b5b2466b41a892e2bd0435376c')
validpgpkeys=('19E2D6D9B46D8DAA6288F877C24E631BABB1FE70') # Jussi Pakkanen <jpakkane@gmail.com>
prepare() {
cd ${pkgname}-${pkgver}
cd $pkgname-$pkgver
patch -Np1 -i ../0001-Skip-broken-tests.patch
}
build() {
cd ${pkgname}-${pkgver}
python setup.py build
cd $pkgname-$pkgver
python -m build --wheel --no-isolation
}
check() (
cd ${pkgname}-${pkgver}
cd $pkgname-$pkgver
export LC_CTYPE=en_US.UTF-8 CPPFLAGS= CFLAGS= CXXFLAGS= LDFLAGS=
./run_tests.py --failfast
)
package() {
cd ${pkgname}-${pkgver}
python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
cd $pkgname-$pkgver
python -m installer --destdir="$pkgdir" dist/*.whl
install -d "${pkgdir}/usr/share/vim/vimfiles"
cp -rt "${pkgdir}/usr/share/vim/vimfiles" data/syntax-highlighting/vim/*/
install -d "$pkgdir/usr/share/vim/vimfiles"
cp -rt "$pkgdir/usr/share/vim/vimfiles" data/syntax-highlighting/vim/*/
install -Dt "${pkgdir}/usr/share/bash-completion/completions" -m644 data/shell-completions/bash/*
install -Dt "${pkgdir}/usr/share/zsh/site-functions" -m644 data/shell-completions/zsh/*
install -Dm644 data/shell-completions/bash/* -t "$pkgdir/usr/share/bash-completion/completions"
install -Dm644 data/shell-completions/zsh/* -t "$pkgdir/usr/share/zsh/site-functions"
# Arch packaging helper
install -D ../arch-meson -t "${pkgdir}/usr/bin"
install -Dm644 ../meson-reference-$pkgver.3 "$pkgdir/usr/share/man/man3/meson-reference.3"
install -Dm644 ../meson-reference-$pkgver.json "$pkgdir/usr/share/doc/$pkgname/reference_manual.json"
install -D ../arch-meson -t "$pkgdir/usr/bin"
}
# vim:set sw=2 sts=-1 et:

View File

@ -1,56 +1,50 @@
at-spi2-core
ninja
gcc-objc
vala
rust
gcc-fortran
mono
python
python-build
python-installer
python-wheel
boost
qt5-base
git
clang
cmake
cuda
cython
gtkmm3
gtest
protobuf
wxwidgets-gtk3
python-gobject
doxygen
gcc-fortran
gcc-objc
git
gnustep-base
gobject-introspection
graphviz
gtest
gtk-doc
gtk-sharp-2
gtk3
gtkmm3
hotdoc
itstool
jdk8-openjdk
gtk-doc
llvm
clang
sdl2
graphviz
doxygen
vulkan-validation-layers
openssh
mercurial
gtk-sharp-2
qt5-tools
ldc
libgit2
libwmf
valgrind
cmake
llvm
mercurial
mono
nasm
netcdf-fortran
openmpi
nasm
gnustep-base
openssh
protobuf
python-gobject
python-pytest-xdist
python-setuptools
ldc
qt5-base
qt5-tools
rust
rust-bindgen
cuda
hotdoc
ttf-liberation
jsoncpp
gettext
gtk3
netcdf
python-pytest-forked
wayland-protocols
libmicrohttpd
libjpeg-turbo
libxslt
libglvnd
at-spi2-core
sdl2
vala
valgrind
vulkan-validation-layers
wxwidgets-gtk3

56
meson/deps-pre-1.0 Normal file
View File

@ -0,0 +1,56 @@
ninja
gcc-objc
vala
rust
gcc-fortran
mono
boost
qt5-base
git
cython
gtkmm3
gtest
protobuf
wxwidgets-gtk3
python-gobject
gobject-introspection
itstool
jdk8-openjdk
gtk-doc
llvm
clang
sdl2
graphviz
doxygen
vulkan-validation-layers
openssh
mercurial
gtk-sharp-2
qt5-tools
libwmf
valgrind
cmake
netcdf-fortran
openmpi
nasm
gnustep-base
python-pytest-xdist
python-setuptools
ldc
rust-bindgen
cuda
hotdoc
ttf-liberation
jsoncpp
gettext
gtk3
netcdf
python-pytest-forked
wayland-protocols
libmicrohttpd
libjpeg-turbo
libxslt
libglvnd
at-spi2-core

14321
meson/meson-reference-1.0.0.3 Normal file

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long