[arch-commits] Commit in zathura/trunk (2 files)

Johannes Löthberg demize at archlinux.org
Sun May 27 00:14:19 UTC 2018


    Date: Sunday, May 27, 2018 @ 00:14:18
  Author: demize
Revision: 331306

... *Actually* re-enable it

Added:
  zathura/trunk/0001-meson.build-Don-t-do-broken-synctex-version-check.patch
Modified:
  zathura/trunk/PKGBUILD

--------------------------------------------------------------+
 0001-meson.build-Don-t-do-broken-synctex-version-check.patch |   30 ++++++++++
 PKGBUILD                                                     |   13 +++-
 2 files changed, 40 insertions(+), 3 deletions(-)

Added: 0001-meson.build-Don-t-do-broken-synctex-version-check.patch
===================================================================
--- 0001-meson.build-Don-t-do-broken-synctex-version-check.patch	                        (rev 0)
+++ 0001-meson.build-Don-t-do-broken-synctex-version-check.patch	2018-05-27 00:14:18 UTC (rev 331306)
@@ -0,0 +1,30 @@
+From 024f228c45a1df3f01dada4e72e99dd7a76ecf26 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Johannes=20L=C3=B6thberg?= <johannes at kyriasis.com>
+Date: Sun, 27 May 2018 02:11:24 +0200
+Subject: [PATCH] meson.build: Don't do broken synctex version check
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Signed-off-by: Johannes Löthberg <johannes at kyriasis.com>
+---
+ meson.build | 3 ---
+ 1 file changed, 3 deletions(-)
+
+diff --git a/meson.build b/meson.build
+index 1862fa0..63246e8 100644
+--- a/meson.build
++++ b/meson.build
+@@ -82,9 +82,6 @@ endif
+ if get_option('enable-synctex') and synctex.found()
+   build_dependencies += synctex
+   defines += '-DWITH_SYNCTEX'
+-  if synctex.version() < '2.0.0'
+-    defines += '-DWITH_SYNCTEX1'
+-  endif
+ endif
+ 
+ if get_option('enable-magic') and magic.found()
+-- 
+2.17.0
+

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-05-27 00:05:58 UTC (rev 331305)
+++ PKGBUILD	2018-05-27 00:14:18 UTC (rev 331306)
@@ -6,7 +6,7 @@
 
 pkgname=zathura
 pkgver=0.4.0
-pkgrel=3
+pkgrel=4
 
 pkgdesc="Minimalistic document viewer"
 url="http://pwmt.org/projects/zathura/"
@@ -22,11 +22,18 @@
             'zathura-cb: Comic book support')
 
 source=(https://pwmt.org/projects/zathura/download/zathura-$pkgver.tar.xz
-        bash-completion)
+        bash-completion
+        0001-meson.build-Don-t-do-broken-synctex-version-check.patch)
 
 sha1sums=('4278a1cbccd414fdff5693598c996b2bf2a7cf71'
-          '94a8236c483626a7f3acee053a1ea885aed45a82')
+          '94a8236c483626a7f3acee053a1ea885aed45a82'
+          '601b5345b4e2c688ec0eb78c66b3b40872d1e91d')
 
+prepare() {
+  cd zathura-$pkgver
+  patch -p1 <"$srcdir"/0001-meson.build-Don-t-do-broken-synctex-version-check.patch
+}
+
 build() {
   cd zathura-$pkgver
   arch-meson build



More information about the arch-commits mailing list