[arch-commits] Commit in qpdfview/repos/community-x86_64 (3 files)

Frederik Schwan freswa at archlinux.org
Mon Sep 14 15:03:02 UTC 2020


    Date: Monday, September 14, 2020 @ 15:03:02
  Author: freswa
Revision: 706063

archrelease: copy trunk to community-x86_64

Added:
  qpdfview/repos/community-x86_64/PKGBUILD
    (from rev 706062, qpdfview/trunk/PKGBUILD)
  qpdfview/repos/community-x86_64/fix-gcc10-build.patch
    (from rev 706062, qpdfview/trunk/fix-gcc10-build.patch)
Deleted:
  qpdfview/repos/community-x86_64/PKGBUILD

-----------------------+
 PKGBUILD              |   79 ++++++++++++++++++++++++------------------------
 fix-gcc10-build.patch |   12 +++++++
 2 files changed, 53 insertions(+), 38 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-09-14 15:02:57 UTC (rev 706062)
+++ PKGBUILD	2020-09-14 15:03:02 UTC (rev 706063)
@@ -1,38 +0,0 @@
-# Maintainer: Alad Wenter <alad at mailbox.org>
-# Contributor: Adam Reichold <adam.reichold at t-online.de>
-
-pkgname=qpdfview
-pkgver=0.4.18
-pkgrel=1
-pkgdesc='A tabbed PDF viewer using the poppler library.'
-url='https://launchpad.net/qpdfview'
-arch=('x86_64')
-license=('GPL2')
-depends=('libcups' 'libsynctex' 'poppler-qt5' 'qt5-svg')
-makedepends=('qt5-tools' 'libspectre' 'djvulibre')
-optdepends=('libspectre: for PostScript support'
-            'djvulibre: for DjVu support')
-source=("https://launchpad.net/qpdfview/trunk/$pkgver/+download/qpdfview-$pkgver.tar.gz"
-        "https://launchpad.net/qpdfview/trunk/$pkgver/+download/qpdfview-$pkgver.tar.gz.asc")
-sha256sums=('cc642e7fa74029373ca9b9fbc29adc4883f8b455130a78ad54746d6844a0396c'
-            'SKIP')
-# Adam Reichold <adam.reichold at t-online.de>
-validpgpkeys=('1F521FF0F87E9E1CDE46B8A9F4928C4DD24D4DF8')
-
-prepare() {
-    cd $pkgname-$pkgver
-    sed -e 's|2.0.0|1.21.0|' -i application.pro
-}
-
-build() {
-    cd "$pkgname-$pkgver"
-    lrelease-qt5 qpdfview.pro
-    qmake-qt5 qpdfview.pro
-    make
-}
-
-package() {
-    cd "$pkgname-$pkgver"
-    make INSTALL_ROOT="$pkgdir" install
-}
-

Copied: qpdfview/repos/community-x86_64/PKGBUILD (from rev 706062, qpdfview/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-09-14 15:03:02 UTC (rev 706063)
@@ -0,0 +1,41 @@
+# Maintainer: Alad Wenter <alad at mailbox.org>
+# Contributor: Adam Reichold <adam.reichold at t-online.de>
+
+pkgname=qpdfview
+pkgver=0.4.18
+pkgrel=2
+pkgdesc='A tabbed PDF viewer using the poppler library.'
+url='https://launchpad.net/qpdfview'
+arch=('x86_64')
+license=('GPL2')
+depends=('libcups' 'libsynctex' 'poppler-qt5' 'qt5-svg')
+makedepends=('qt5-tools' 'libspectre' 'djvulibre')
+optdepends=('libspectre: for PostScript support'
+            'djvulibre: for DjVu support')
+source=("https://launchpad.net/qpdfview/trunk/$pkgver/+download/qpdfview-$pkgver.tar.gz"
+        "https://launchpad.net/qpdfview/trunk/$pkgver/+download/qpdfview-$pkgver.tar.gz.asc"
+        fix-gcc10-build.patch)
+sha256sums=('cc642e7fa74029373ca9b9fbc29adc4883f8b455130a78ad54746d6844a0396c'
+            'SKIP'
+            '5314091e35031f5ebf38a827b64e524e2f5dab8a5c2d3c0e081fb7a634ebe301')
+# Adam Reichold <adam.reichold at t-online.de>
+validpgpkeys=('1F521FF0F87E9E1CDE46B8A9F4928C4DD24D4DF8')
+
+prepare() {
+    cd $pkgname-$pkgver
+    sed -e 's|2.0.0|1.21.0|' -i application.pro
+    patch -Np1 < ../fix-gcc10-build.patch
+}
+
+build() {
+    cd $pkgname-$pkgver
+    lrelease-qt5 qpdfview.pro
+    qmake-qt5 qpdfview.pro
+    make
+}
+
+package() {
+    cd $pkgname-$pkgver
+    make INSTALL_ROOT="$pkgdir" install
+}
+

Copied: qpdfview/repos/community-x86_64/fix-gcc10-build.patch (from rev 706062, qpdfview/trunk/fix-gcc10-build.patch)
===================================================================
--- fix-gcc10-build.patch	                        (rev 0)
+++ fix-gcc10-build.patch	2020-09-14 15:03:02 UTC (rev 706063)
@@ -0,0 +1,12 @@
+diff --git a/sources/model.h b/sources/model.h
+index 6363c32..dc10a8c 100644
+--- a/sources/model.h
++++ b/sources/model.h
+@@ -27,6 +27,7 @@ along with qpdfview.  If not, see <http://www.gnu.org/licenses/>.
+ #include <QtPlugin>
+ #include <QWidget>
+ #include <QVector>
++#include <QPainterPath>
+ 
+ class QAbstractItemModel;
+ class QColor;



More information about the arch-commits mailing list