[arch-commits] Commit in scantailor-advanced/repos (3 files)

Sergej Pupykin spupykin at archlinux.org
Fri Jan 22 18:43:17 UTC 2021


    Date: Friday, January 22, 2021 @ 18:43:16
  Author: spupykin
Revision: 824818

archrelease: copy trunk to community-x86_64

Added:
  scantailor-advanced/repos/community-x86_64/
  scantailor-advanced/repos/community-x86_64/PKGBUILD
    (from rev 824817, scantailor-advanced/trunk/PKGBUILD)
  scantailor-advanced/repos/community-x86_64/package.patch
    (from rev 824817, scantailor-advanced/trunk/package.patch)

---------------+
 PKGBUILD      |   36 ++++++++++++++++++++++++++++++
 package.patch |   67 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 103 insertions(+)

Copied: scantailor-advanced/repos/community-x86_64/PKGBUILD (from rev 824817, scantailor-advanced/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2021-01-22 18:43:16 UTC (rev 824818)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Sergej Pupykin <arch+pub at sergej.pp.ru>
+# Previous maintainer: Martin Hasoň <martin.hason at gmail.com>
+
+pkgname=scantailor-advanced
+pkgver=1.0.16
+pkgrel=2
+pkgdesc="An interactive post-processing tool for scanned pages."
+arch=("x86_64")
+url="https://github.com/4lex4/scantailor-advanced"
+license=("GPL3")
+depends=("qt5-base" "hicolor-icon-theme" "boost-libs>=1.0.0" "libpng>=1.0.0" "zlib>=1.0.0" "libtiff>=4.0.0")
+makedepends=("cmake>=3.9.0" "qt5-tools" "boost>=1.0.0")
+conflicts=("scantailor")
+replaces=("scantailor")
+source=("$pkgname-$pkgver::https://github.com/4lex4/$pkgname/archive/v$pkgver.tar.gz" "package.patch")
+sha256sums=('84629d2edba4c36c62bdb75eedb145262b894d950bcb95cec0dab43e21bdb909'
+            '15680699fd419af8ac624fa01d70dabe52b37dc1b0a94d80b91082c61f0d6634')
+
+prepare() {
+    cd "$pkgname-$pkgver"
+    patch --forward --strip=1 --input="${srcdir}/package.patch"
+}
+
+build() {
+    cd "$pkgname-$pkgver"
+    cmake -G "Unix Makefiles"
+    make -j`nproc`
+}
+
+package() {
+    cd "$pkgname-$pkgver"
+    make DESTDIR="$pkgdir/" install
+    install -Dm0644 "resources/appicon.svg" "$pkgdir/usr/share/icons/hicolor/scalable/apps/scantailor-advanced.svg"
+    install -Dm0644 "resources/unix/scantailor.desktop" "$pkgdir/usr/share/applications/scantailor.desktop"
+}

Copied: scantailor-advanced/repos/community-x86_64/package.patch (from rev 824817, scantailor-advanced/trunk/package.patch)
===================================================================
--- community-x86_64/package.patch	                        (rev 0)
+++ community-x86_64/package.patch	2021-01-22 18:43:16 UTC (rev 824818)
@@ -0,0 +1,67 @@
+diff --unified --recursive --text scantailor-advanced-1.0.16/filters/output/OutputGenerator.cpp scantailor-advanced-1.0.16/filters/output/OutputGenerator.cpp
+--- scantailor-advanced-1.0.16/filters/output/OutputGenerator.cpp	2018-07-17 04:04:23.000000000 +0200
++++ scantailor-advanced-1.0.16/filters/output/OutputGenerator.cpp	2021-01-02 16:18:50.911568918 +0100
+@@ -25,6 +25,7 @@
+ #include <imageproc/ImageCombination.h>
+ #include <QDebug>
+ #include <QPainter>
++#include <QPainterPath>
+ #include <QtCore/QSettings>
+ #include <boost/bind.hpp>
+ #include "DebugImages.h"
+diff --unified --recursive --text src/scantailor-advanced-1.0.16/filters/page_layout/ImageView.cpp scantailor-advanced-1.0.16/filters/page_layout/ImageView.cpp
+--- scantailor-advanced-1.0.16/filters/page_layout/ImageView.cpp	2018-07-17 04:04:23.000000000 +0200
++++ scantailor-advanced-1.0.16/filters/page_layout/ImageView.cpp	2021-01-02 16:19:10.674838837 +0100
+@@ -27,6 +27,7 @@
+ #include <imageproc/Transform.h>
+ #include <QMouseEvent>
+ #include <QPainter>
++#include <QPainterPath>
+ #include <boost/bind.hpp>
+ #include <boost/lambda/lambda.hpp>
+ #include "ImagePresentation.h"
+diff --unified --recursive --text scantailor-advanced-1.0.16/filters/select_content/ContentBoxFinder.cpp scantailor-advanced-1.0.16/filters/select_content/ContentBoxFinder.cpp
+--- scantailor-advanced-1.0.16/filters/select_content/ContentBoxFinder.cpp	2018-07-17 04:04:23.000000000 +0200
++++ scantailor-advanced-1.0.16/filters/select_content/ContentBoxFinder.cpp	2021-01-02 16:19:30.304741496 +0100
+@@ -19,6 +19,7 @@
+ #include "ContentBoxFinder.h"
+ #include <QDebug>
+ #include <QPainter>
++#include <QPainterPath>
+ #include <cmath>
+ #include <queue>
+ #include "DebugImages.h"
+diff --unified --recursive --text scantailor-advanced-1.0.16/ImageViewBase.cpp scantailor-advanced-1.0.16/ImageViewBase.cpp
+--- scantailor-advanced-1.0.16/ImageViewBase.cpp	2018-07-17 04:04:23.000000000 +0200
++++ scantailor-advanced-1.0.16/ImageViewBase.cpp	2021-01-02 16:17:56.541540662 +0100
+@@ -21,6 +21,8 @@
+ #include <QGLWidget>
+ #include <QMouseEvent>
+ #include <QPaintEngine>
++#include <QPainter>
++#include <QPainterPath>
+ #include <QPointer>
+ #include <QScrollBar>
+ #include <QSettings>
+diff --unified --recursive --text scantailor-advanced-1.0.16/zones/ZoneContextMenuInteraction.cpp scantailor-advanced-1.0.16/zones/ZoneContextMenuInteraction.cpp
+--- scantailor-advanced-1.0.16/zones/ZoneContextMenuInteraction.cpp	2018-07-17 04:04:23.000000000 +0200
++++ scantailor-advanced-1.0.16/zones/ZoneContextMenuInteraction.cpp	2021-01-02 16:20:00.591196620 +0100
+@@ -21,6 +21,7 @@
+ #include <QMenu>
+ #include <QMessageBox>
+ #include <QPainter>
++#include <QPainterPath>
+ #include <QSignalMapper>
+ #include <boost/bind.hpp>
+ #include "ImageViewBase.h"
+diff --unified --recursive --text scantailor-advanced-1.0.16/zones/ZoneDefaultInteraction.cpp scantailor-advanced-1.0.16/zones/ZoneDefaultInteraction.cpp
+--- scantailor-advanced-1.0.16/zones/ZoneDefaultInteraction.cpp	2018-07-17 04:04:23.000000000 +0200
++++ scantailor-advanced-1.0.16/zones/ZoneDefaultInteraction.cpp	2021-01-02 16:38:15.740296794 +0100
+@@ -19,6 +19,7 @@
+ #include "ZoneDefaultInteraction.h"
+ #include <QMouseEvent>
+ #include <QPainter>
++#include <QPainterPath>
+ #include "ImageViewBase.h"
+ #include "SerializableSpline.h"
+ #include "ZoneInteractionContext.h"



More information about the arch-commits mailing list