[arch-commits] Commit in zathura/trunk (2 files)
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?= +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 +--- + 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 === --- PKGBUILD2018-05-27 00:05:58 UTC (rev 331305) +++ PKGBUILD2018-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
[arch-commits] Commit in zathura/trunk (2 files)
Date: Thursday, February 4, 2016 @ 18:00:39 Author: svenstaro Revision: 160324 upgpkg: zathura 0.3.4-2 Fix FS#48010 Modified: zathura/trunk/PKGBUILD Deleted: zathura/trunk/PATCH-Build-even-without-SyncTeX.patch + PATCH-Build-even-without-SyncTeX.patch | 27 --- PKGBUILD | 16 +--- 2 files changed, 5 insertions(+), 38 deletions(-) Deleted: PATCH-Build-even-without-SyncTeX.patch === --- PATCH-Build-even-without-SyncTeX.patch 2016-02-04 15:45:17 UTC (rev 160323) +++ PATCH-Build-even-without-SyncTeX.patch 2016-02-04 17:00:39 UTC (rev 160324) @@ -1,27 +0,0 @@ -From b78be80d138076471cdfdc2c4edab4a3af6241b0 Mon Sep 17 00:00:00 2001 -From: Petr Šabata -Date: Mon, 21 Dec 2015 16:57:59 +0100 -Subject: [PATCH] Build even without SyncTeX - - zathura/main.c | 2 -- - 1 file changed, 0 insertions(+), 2 deletions(-) - -diff --git a/zathura/main.c b/zathura/main.c -index 060382a..1c5b73e 100644 a/zathura/main.c -+++ b/zathura/main.c -@@ -135,10 +135,8 @@ main(int argc, char* argv[]) - gchar* plugin_path= NULL; - gchar* loglevel = NULL; - gchar* password = NULL; --#ifdef WITH_SYNCTEX - gchar* synctex_editor = NULL; - gchar* synctex_fwd= NULL; --#endif - gchar* mode = NULL; - bool forkback = false; - bool print_version= false; --- -libgit2 0.23.3 - Modified: PKGBUILD === --- PKGBUILD2016-02-04 15:45:17 UTC (rev 160323) +++ PKGBUILD2016-02-04 17:00:39 UTC (rev 160324) @@ -6,7 +6,7 @@ pkgname=zathura pkgver=0.3.4 -pkgrel=1 +pkgrel=2 pkgdesc="Minimalistic document viewer" url="http://pwmt.org/projects/zathura/"; @@ -14,7 +14,7 @@ license=('custom') depends=('girara>=0.2.4' 'sqlite' 'desktop-file-utils' 'file') -makedepends=('python2-docutils') +makedepends=('python2-docutils' 'texlive-bin') optdepends=('zathura-djvu: DjVu support' 'zathura-pdf-poppler: PDF support using Poppler' 'zathura-pdf-mupdf: PDF support using MuPDF' @@ -22,20 +22,14 @@ install=zathura.install source=(http://pwmt.org/projects/zathura/download/zathura-$pkgver.tar.gz -bash-completion -PATCH-Build-even-without-SyncTeX.patch) +bash-completion) sha1sums=('d8142ffdd9df8f04619cc823da07afb1f7694270' - '94a8236c483626a7f3acee053a1ea885aed45a82' - 'f8d8a0a9c699eeb5fc64bf56194dd0cb12f65ab1') + '94a8236c483626a7f3acee053a1ea885aed45a82') -prepare() { - cd zathura-$pkgver - patch -p1 <../PATCH-Build-even-without-SyncTeX.patch -} build() { cd zathura-$pkgver - make + make WITH_SYNCTEX=1 } package() {
[arch-commits] Commit in zathura/trunk (2 files)
Date: Tuesday, February 2, 2016 @ 20:12:51 Author: demize Revision: 160004 upgpkg: zathura 0.3.4-1 Added: zathura/trunk/PATCH-Build-even-without-SyncTeX.patch Modified: zathura/trunk/PKGBUILD + PATCH-Build-even-without-SyncTeX.patch | 27 +++ PKGBUILD | 36 --- 2 files changed, 51 insertions(+), 12 deletions(-) Added: PATCH-Build-even-without-SyncTeX.patch === --- PATCH-Build-even-without-SyncTeX.patch (rev 0) +++ PATCH-Build-even-without-SyncTeX.patch 2016-02-02 19:12:51 UTC (rev 160004) @@ -0,0 +1,27 @@ +From b78be80d138076471cdfdc2c4edab4a3af6241b0 Mon Sep 17 00:00:00 2001 +From: Petr Šabata +Date: Mon, 21 Dec 2015 16:57:59 +0100 +Subject: [PATCH] Build even without SyncTeX + +--- + zathura/main.c | 2 -- + 1 file changed, 0 insertions(+), 2 deletions(-) + +diff --git a/zathura/main.c b/zathura/main.c +index 060382a..1c5b73e 100644 +--- a/zathura/main.c b/zathura/main.c +@@ -135,10 +135,8 @@ main(int argc, char* argv[]) + gchar* plugin_path= NULL; + gchar* loglevel = NULL; + gchar* password = NULL; +-#ifdef WITH_SYNCTEX + gchar* synctex_editor = NULL; + gchar* synctex_fwd= NULL; +-#endif + gchar* mode = NULL; + bool forkback = false; + bool print_version= false; +-- +libgit2 0.23.3 + Modified: PKGBUILD === --- PKGBUILD2016-02-02 18:59:47 UTC (rev 160003) +++ PKGBUILD2016-02-02 19:12:51 UTC (rev 160004) @@ -1,15 +1,18 @@ # $Id$ -# Maintainer: Daniel Wallace -# Maintainer: Sergej Pupykin +# Maintainer: Johannes Löthberg +# Contributor: Daniel Wallace +# Contributor: Sergej Pupykin # Contributor: ML pkgname=zathura -pkgver=0.3.3 +pkgver=0.3.4 pkgrel=1 + pkgdesc="Minimalistic document viewer" +url="http://pwmt.org/projects/zathura/"; arch=('i686' 'x86_64') -url="http://pwmt.org/projects/zathura/"; license=('custom') + depends=('girara>=0.2.4' 'sqlite' 'desktop-file-utils' 'file') makedepends=('python2-docutils') optdepends=('zathura-djvu: DjVu support' @@ -16,20 +19,29 @@ 'zathura-pdf-poppler: PDF support using Poppler' 'zathura-pdf-mupdf: PDF support using MuPDF' 'zathura-ps: PostScript support') + install=zathura.install source=(http://pwmt.org/projects/zathura/download/zathura-$pkgver.tar.gz - bash-completion) -md5sums=('d360252210ce51a29e8d341b1b72a7cc' - 'cac20c37f0e77ba62a8138788f4ccabb') +bash-completion +PATCH-Build-even-without-SyncTeX.patch) +sha1sums=('d8142ffdd9df8f04619cc823da07afb1f7694270' + '94a8236c483626a7f3acee053a1ea885aed45a82' + 'f8d8a0a9c699eeb5fc64bf56194dd0cb12f65ab1') + +prepare() { + cd zathura-$pkgver + patch -p1 <../PATCH-Build-even-without-SyncTeX.patch +} build() { - cd $srcdir/zathura-$pkgver + cd zathura-$pkgver make } package() { - cd $srcdir/zathura-$pkgver - make install DESTDIR=$pkgdir - install -D -m664 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" - install -Dm0644 $srcdir/bash-completion $pkgdir/usr/share/bash-completion/completions/zathura + cd zathura-$pkgver + + make install DESTDIR="$pkgdir" + install -D -m664 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE + install -Dm0644 "$srcdir"/bash-completion "$pkgdir"/usr/share/bash-completion/completions/zathura }