[arch-commits] Commit in pdf2djvu/repos/community-x86_64 (4 files)

Jelle van der Waa jelle at archlinux.org
Sat Jun 15 14:52:47 UTC 2019


    Date: Saturday, June 15, 2019 @ 14:52:46
  Author: jelle
Revision: 481625

archrelease: copy trunk to community-x86_64

Added:
  pdf2djvu/repos/community-x86_64/PKGBUILD
    (from rev 481624, pdf2djvu/trunk/PKGBUILD)
  pdf2djvu/repos/community-x86_64/pdf2djvu-poppler-0.76.patch
    (from rev 481624, pdf2djvu/trunk/pdf2djvu-poppler-0.76.patch)
Deleted:
  pdf2djvu/repos/community-x86_64/PKGBUILD
  pdf2djvu/repos/community-x86_64/pdf2djvu-poppler-0.76.patch

-----------------------------+
 PKGBUILD                    |   77 +++++++++++++++++++-----------------------
 pdf2djvu-poppler-0.76.patch |   22 ++++++------
 2 files changed, 46 insertions(+), 53 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-06-15 14:52:32 UTC (rev 481624)
+++ PKGBUILD	2019-06-15 14:52:46 UTC (rev 481625)
@@ -1,42 +0,0 @@
-# Contributor: Paulo Matias <matiasΘarchlinux-br·org>
-# Maintainer: Jelle van der Waa <jelle at vdwaa.nl>
-
-pkgname=pdf2djvu
-pkgver=0.9.12
-pkgrel=6
-pkgdesc="Creates DjVu files from PDF files"
-arch=('x86_64')
-url="https://jwilk.net/software/pdf2djvu"
-license=('GPL')
-depends=('poppler' 'djvulibre' 'gcc-libs' 'graphicsmagick' 'exiv2')
-makedepends=('python2-nose' 'ttf-liberation')
-source=(https://github.com/jwilk/pdf2djvu/releases/download/$pkgver/pdf2djvu-$pkgver.tar.xz{,.asc}
-        pdf2djvu-poppler-0.76.patch)
-sha256sums=('03fa9d9aa1b8086b562e2461ed74e5f9f008f16bfc1459ba62fa3738b37d8e83'
-            'SKIP'
-            '5b43f0a47ecf51756135c323df6720ed3bdde4cb6e2e754cf91ded6c03dce67c')
-validpgpkeys=('CDB5A1243ACDB63009AD07212D4EB3A6015475F5')
-
-prepare() {
-  cd $pkgname-$pkgver
-  patch -p1 -i ../pdf2djvu-poppler-0.76.patch # Fix build with poppler 0.76
-}
-
-build() {
-    cd ${pkgname}-${pkgver}
-
-    ./configure --prefix=/usr
-    make
-}
-
-check() {
-    cd ${pkgname}-${pkgver}
-
-    make PYTHON=python2 test
-}
-
-package() {
-    cd ${pkgname}-${pkgver}
-
-    make install DESTDIR=${pkgdir}
-}

Copied: pdf2djvu/repos/community-x86_64/PKGBUILD (from rev 481624, pdf2djvu/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-06-15 14:52:46 UTC (rev 481625)
@@ -0,0 +1,35 @@
+# Contributor: Paulo Matias <matiasΘarchlinux-br·org>
+# Maintainer: Jelle van der Waa <jelle at vdwaa.nl>
+
+pkgname=pdf2djvu
+pkgver=0.9.13
+pkgrel=1
+pkgdesc="Creates DjVu files from PDF files"
+arch=('x86_64')
+url="https://jwilk.net/software/pdf2djvu"
+license=('GPL')
+depends=('poppler' 'djvulibre' 'gcc-libs' 'graphicsmagick' 'exiv2')
+makedepends=('python2-nose' 'ttf-liberation')
+source=(https://github.com/jwilk/pdf2djvu/releases/download/$pkgver/pdf2djvu-$pkgver.tar.xz{,.asc})
+sha256sums=('e0ab16d83129625c86df7c121eddf286458f63cb81ae791e5a76df10a3ab4c63'
+            'SKIP')
+validpgpkeys=('CDB5A1243ACDB63009AD07212D4EB3A6015475F5')
+
+build() {
+    cd ${pkgname}-${pkgver}
+
+    ./configure --prefix=/usr
+    make
+}
+
+check() {
+    cd ${pkgname}-${pkgver}
+
+    make PYTHON=python2 test
+}
+
+package() {
+    cd ${pkgname}-${pkgver}
+
+    make install DESTDIR=${pkgdir}
+}

Deleted: pdf2djvu-poppler-0.76.patch
===================================================================
--- pdf2djvu-poppler-0.76.patch	2019-06-15 14:52:32 UTC (rev 481624)
+++ pdf2djvu-poppler-0.76.patch	2019-06-15 14:52:46 UTC (rev 481625)
@@ -1,11 +0,0 @@
---- pdf2djvu-0.9.12/pdf2djvu.cc.orig	2019-04-23 21:54:19.435727639 +0000
-+++ pdf2djvu-0.9.12/pdf2djvu.cc	2019-04-23 21:54:33.762565515 +0000
-@@ -87,7 +87,7 @@
-     if (dest->isPageRef())
-     {
-       Ref pageref = dest->getPageRef();
--      page = catalog->findPage(pageref.num, pageref.gen);
-+      page = catalog->findPage(pageref);
-     }
-     else
-       page = dest->getPageNum();

Copied: pdf2djvu/repos/community-x86_64/pdf2djvu-poppler-0.76.patch (from rev 481624, pdf2djvu/trunk/pdf2djvu-poppler-0.76.patch)
===================================================================
--- pdf2djvu-poppler-0.76.patch	                        (rev 0)
+++ pdf2djvu-poppler-0.76.patch	2019-06-15 14:52:46 UTC (rev 481625)
@@ -0,0 +1,11 @@
+--- pdf2djvu-0.9.12/pdf2djvu.cc.orig	2019-04-23 21:54:19.435727639 +0000
++++ pdf2djvu-0.9.12/pdf2djvu.cc	2019-04-23 21:54:33.762565515 +0000
+@@ -87,7 +87,7 @@
+     if (dest->isPageRef())
+     {
+       Ref pageref = dest->getPageRef();
+-      page = catalog->findPage(pageref.num, pageref.gen);
++      page = catalog->findPage(pageref);
+     }
+     else
+       page = dest->getPageNum();


More information about the arch-commits mailing list