[arch-commits] Commit in meson/trunk (4878.patch PKGBUILD arch-meson)

Jan Steffens heftig at archlinux.org
Tue Feb 5 20:30:54 UTC 2019


    Date: Tuesday, February 5, 2019 @ 20:30:53
  Author: heftig
Revision: 345305

0.49.2-1

Added:
  meson/trunk/4878.patch
Modified:
  meson/trunk/PKGBUILD
  meson/trunk/arch-meson

------------+
 4878.patch |   26 ++++++++++++++++++++++++++
 PKGBUILD   |   11 ++++++++---
 arch-meson |   26 ++++++++------------------
 3 files changed, 42 insertions(+), 21 deletions(-)

Added: 4878.patch
===================================================================
--- 4878.patch	                        (rev 0)
+++ 4878.patch	2019-02-05 20:30:53 UTC (rev 345305)
@@ -0,0 +1,26 @@
+From c5544aea8d8480262b9792ac85b8e61d1fb08f74 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Corentin=20No=C3=ABl?= <corentin.noel at collabora.com>
+Date: Mon, 4 Feb 2019 13:49:01 +0100
+Subject: [PATCH] vala: Support position-independent executables
+
+---
+ mesonbuild/compilers/vala.py | 6 ++++++
+ 1 file changed, 6 insertions(+)
+
+diff --git a/mesonbuild/compilers/vala.py b/mesonbuild/compilers/vala.py
+index e64d57f366..5303298a62 100644
+--- a/mesonbuild/compilers/vala.py
++++ b/mesonbuild/compilers/vala.py
+@@ -49,6 +49,12 @@ def get_compile_only_args(self):
+     def get_pic_args(self):
+         return []
+ 
++    def get_pie_args(self):
++        return []
++
++    def get_pie_link_args(self):
++        return []
++
+     def get_always_args(self):
+         return ['-C']
+ 

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-02-05 19:43:01 UTC (rev 345304)
+++ PKGBUILD	2019-02-05 20:30:53 UTC (rev 345305)
@@ -3,7 +3,7 @@
 # Contributor: Anatol Pomozov <anatol dot pomozov at gmail>
 
 pkgname=meson
-pkgver=0.49.1
+pkgver=0.49.2
 pkgrel=1
 pkgdesc='High productivity build system'
 url='http://mesonbuild.com/'
@@ -16,15 +16,20 @@
               'doxygen' 'vulkan-validation-layers' 'openssh' 'mercurial' 'gtk-sharp-2' 'qt5-tools'
               'libwmf' 'dmd' 'valgrind')
 source=(https://github.com/mesonbuild/meson/releases/download/${pkgver}/meson-${pkgver}.tar.gz{,.asc}
+        4878.patch
         arch-meson)
-sha512sums=('2a9a3d1e1eae3f9f21f47c0efb2ecd78861a71109fa5a660bf6403df2d5bd5c31fa2ef848080ca72d25257836b9e00e2fb89d5fc281647600ece0179c703cfe8'
+sha512sums=('d07a5dfd699f1e4b00af39c377ec186c91718d9595cb0ab506b4b40c0c63ddd14eccbe8afb446635272c431e2a78032888be0bc8f6064044da53e8c0b5f7be3f'
             'SKIP'
-            'f2a5e0f331a5ccf25fc8a440472548fedde9dbf4d562ec13baf502cf549d6ed35d61933dedeb8fafef261a28d4b568e897a004d435475e73dc0ed6d3427ba5b7')
+            'ff1326c7b56da98eab615b40e07cba86d6ceee18d29e8b5c57ccf73980a7a466c8e5695cc0b96a36330cd0d51e52b8fed08456ebea6763edb736ae7116be2f4b'
+            'f451f8a7ef9cf1dd724c2ce20bb85a3f1611b87b2e7a17ef0fdbe8ab82a67389f818ea30a5adfe8413143e4eac77ea2e0b8234b5b2466b41a892e2bd0435376c')
 validpgpkeys=('95181F4EED14FDF4E41B518D3BF4693BFEEB9428') # Jussi Pakkanen <jpakkane at gmail.com>
 
 prepare() {
   cd ${pkgname}-${pkgver}
 
+  # https://github.com/mesonbuild/meson/issues/4884
+  patch -Np1 -i ../4878.patch
+
   # Succeeds for us?
   mv 'test cases/failing/85 gtest dependency with version' 'test cases/frameworks/'
 }

Modified: arch-meson
===================================================================
--- arch-meson	2019-02-05 19:43:01 UTC (rev 345304)
+++ arch-meson	2019-02-05 20:30:53 UTC (rev 345305)
@@ -2,22 +2,12 @@
 # Highly opinionated wrapper for Arch Linux packaging
 
 exec meson setup \
-  --prefix         /usr \
-  --libdir         /usr/lib \
-  --libexecdir     /usr/lib \
-  --bindir         /usr/bin \
-  --sbindir        /usr/bin \
-  --includedir     /usr/include \
-  --datadir        /usr/share \
-  --mandir         /usr/share/man \
-  --infodir        /usr/share/info \
-  --localedir      /usr/share/locale \
-  --sysconfdir     /etc \
-  --localstatedir  /var \
-  --sharedstatedir /var/lib \
-  --buildtype      release \
-  --auto-features  enabled \
-  --wrap-mode      nofallback \
-  -D               b_lto=true \
-  -D               b_pie=true \
+  --prefix        /usr \
+  --libexecdir    lib \
+  --sbindir       bin \
+  --buildtype     plain \
+  --auto-features enabled \
+  --wrap-mode     nodownload \
+  -D              b_lto=true \
+  -D              b_pie=true \
   "$@"



More information about the arch-commits mailing list