[arch-commits] Commit in scantailor/repos/community-x86_64 (5 files)
Sergej Pupykin
spupykin at archlinux.org
Fri Nov 16 12:59:51 UTC 2018
Date: Friday, November 16, 2018 @ 12:59:50
Author: spupykin
Revision: 408215
archrelease: copy trunk to community-x86_64
Added:
scantailor/repos/community-x86_64/PKGBUILD
(from rev 408214, scantailor/trunk/PKGBUILD)
scantailor/repos/community-x86_64/build-fix.patch
(from rev 408214, scantailor/trunk/build-fix.patch)
scantailor/repos/community-x86_64/scantailor.desktop
(from rev 408214, scantailor/trunk/scantailor.desktop)
Deleted:
scantailor/repos/community-x86_64/PKGBUILD
scantailor/repos/community-x86_64/scantailor.desktop
--------------------+
PKGBUILD | 76 +++++++++++++-----------
build-fix.patch | 159 +++++++++++++++++++++++++++++++++++++++++++++++++++
scantailor.desktop | 22 +++----
3 files changed, 212 insertions(+), 45 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-11-16 12:59:30 UTC (rev 408214)
+++ PKGBUILD 2018-11-16 12:59:50 UTC (rev 408215)
@@ -1,34 +0,0 @@
-# $Id$
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Contributor: Denis Terskov aka neurosurgeon <terskov.den at gmail.com>
-
-pkgname=scantailor
-pkgver=0.9.12.2
-pkgrel=1
-_realver=EXPERIMENTAL_2015_10_27
-pkgdesc="Interactive post-processing tool for scanned pages"
-arch=(i686 x86_64)
-url="http://scantailor.org/"
-license=("GPL")
-depends=('qt5-base' 'libtiff' 'hicolor-icon-theme' 'desktop-file-utils')
-makedepends=('cmake' 'qt5-tools' 'eigen' 'boost')
-source=($pkgname-$_realver.tar.gz::https://github.com/Tulon/$pkgname/archive/$_realver.tar.gz
- scantailor.desktop)
-sha256sums=('cca3d4a0a5e93ef45b95513a448175e4f9f7bb53bbe560e72e57f0eb37d74397'
- '3c191c0380f991709bd38a0ace6adbf351fca441a2c5fd432e56a0da6b68a728')
-
-build() {
- cd "$srcdir"/$pkgname-$_realver
- cmake \
- -DCMAKE_BUILD_TYPE=Release \
- -DCMAKE_INSTALL_PREFIX=/usr \
- .
- make
-}
-
-package() {
- cd "$srcdir"/$pkgname-$_realver
- make DESTDIR="$pkgdir" install
- install -Dm0644 "resources/appicon.svg" "$pkgdir/usr/share/icons/hicolor/scalable/apps/scantailor.svg"
- install -Dm0644 "$srcdir/scantailor.desktop" "$pkgdir/usr/share/applications/scantailor.desktop"
-}
Copied: scantailor/repos/community-x86_64/PKGBUILD (from rev 408214, scantailor/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-11-16 12:59:50 UTC (rev 408215)
@@ -0,0 +1,42 @@
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Denis Terskov aka neurosurgeon <terskov.den at gmail.com>
+
+pkgname=scantailor
+pkgver=0.9.12.2
+pkgrel=3
+#_realver=EXPERIMENTAL_2016_02_22
+_commit=c808c9c44b98614ec1fa69ed89083610945e91ef
+pkgdesc="Interactive post-processing tool for scanned pages"
+arch=(x86_64)
+url="http://scantailor.org/"
+license=("GPL")
+depends=('qt5-base' 'libtiff' 'hicolor-icon-theme' 'desktop-file-utils')
+makedepends=('cmake' 'qt5-tools' 'eigen' 'boost' 'git')
+#source=($pkgname-$_realver.tar.gz::https://github.com/Tulon/$pkgname/archive/$_realver.tar.gz
+source=(git://github.com/Tulon/scantailor.git#commit=${_commit}
+ scantailor.desktop
+ build-fix.patch)
+sha256sums=('SKIP'
+ '3c191c0380f991709bd38a0ace6adbf351fca441a2c5fd432e56a0da6b68a728'
+ 'bee514197cef9195847d25820ee2633567a9ae4da87536fb6827fed7aac5ec9b')
+
+prepare() {
+ cd "$srcdir"/$pkgname
+ patch -p1 -i "$srcdir"/build-fix.patch
+}
+
+build() {
+ cd "$srcdir"/$pkgname
+ cmake \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ .
+ make
+}
+
+package() {
+ cd "$srcdir"/$pkgname
+ make DESTDIR="$pkgdir" install
+ install -Dm0644 "resources/appicon.svg" "$pkgdir/usr/share/icons/hicolor/scalable/apps/scantailor.svg"
+ install -Dm0644 "$srcdir/scantailor.desktop" "$pkgdir/usr/share/applications/scantailor.desktop"
+}
Copied: scantailor/repos/community-x86_64/build-fix.patch (from rev 408214, scantailor/trunk/build-fix.patch)
===================================================================
--- build-fix.patch (rev 0)
+++ build-fix.patch 2018-11-16 12:59:50 UTC (rev 408215)
@@ -0,0 +1,159 @@
+diff -wbBur scantailor/filters/deskew/Filter.cpp scantailor.my/filters/deskew/Filter.cpp
+--- scantailor/filters/deskew/Filter.cpp 2018-11-16 15:30:37.542900262 +0300
++++ scantailor.my/filters/deskew/Filter.cpp 2018-11-16 15:23:20.859572011 +0300
+@@ -83,9 +83,9 @@
+
+ QDomElement filter_el(doc.createElement("deskew"));
+ writer.enumPages(
+- bind(
++ boost::lambda::bind(
+ &Filter::writePageSettings,
+- this, boost::ref(doc), var(filter_el), _1, _2
++ this, boost::ref(doc), var(filter_el), boost::lambda::_1, boost::lambda::_2
+ )
+ );
+
+diff -wbBur scantailor/filters/fix_orientation/Filter.cpp scantailor.my/filters/fix_orientation/Filter.cpp
+--- scantailor/filters/fix_orientation/Filter.cpp 2018-11-16 15:30:37.542900262 +0300
++++ scantailor.my/filters/fix_orientation/Filter.cpp 2018-11-16 15:21:07.436240246 +0300
+@@ -98,9 +98,9 @@
+
+ QDomElement filter_el(doc.createElement("fix-orientation"));
+ writer.enumImages(
+- bind(
++ boost::lambda::bind(
+ &Filter::writeImageSettings,
+- this, boost::ref(doc), var(filter_el), _1, _2
++ this, boost::ref(doc), var(filter_el), boost::lambda::_1, boost::lambda::_2
+ )
+ );
+
+diff -wbBur scantailor/filters/output/ChangeDewarpingDialog.cpp scantailor.my/filters/output/ChangeDewarpingDialog.cpp
+--- scantailor/filters/output/ChangeDewarpingDialog.cpp 2018-11-16 15:30:37.616233595 +0300
++++ scantailor.my/filters/output/ChangeDewarpingDialog.cpp 2018-11-16 14:27:12.996278059 +0300
+@@ -20,6 +20,7 @@
+ #include "ChangeDewarpingDialog.moc"
+ #include "PageSelectionAccessor.h"
+ #include "QtSignalForwarder.h"
++#include <QButtonGroup>
+ #include <boost/function.hpp>
+ #include <boost/lambda/lambda.hpp>
+
+diff -wbBur scantailor/filters/output/Filter.cpp scantailor.my/filters/output/Filter.cpp
+--- scantailor/filters/output/Filter.cpp 2018-11-16 15:30:37.546233596 +0300
++++ scantailor.my/filters/output/Filter.cpp 2018-11-16 14:24:31.816279912 +0300
+@@ -91,9 +91,9 @@
+
+ QDomElement filter_el(doc.createElement("output"));
+ writer.enumPages(
+- bind(
++ boost::lambda::bind(
+ &Filter::writePageSettings,
+- this, boost::ref(doc), var(filter_el), _1, _2
++ this, boost::ref(doc), var(filter_el), boost::lambda::_1, boost::lambda::_2
+ )
+ );
+
+diff -wbBur scantailor/filters/page_layout/Filter.cpp scantailor.my/filters/page_layout/Filter.cpp
+--- scantailor/filters/page_layout/Filter.cpp 2018-11-16 15:30:37.549566930 +0300
++++ scantailor.my/filters/page_layout/Filter.cpp 2018-11-16 15:24:58.396237535 +0300
+@@ -134,9 +134,9 @@
+
+ QDomElement filter_el(doc.createElement("page-layout"));
+ writer.enumPages(
+- bind(
++ boost::lambda::bind(
+ &Filter::writePageSettings,
+- this, boost::ref(doc), var(filter_el), _1, _2
++ this, boost::ref(doc), var(filter_el), boost::lambda::_1, boost::lambda::_2
+ )
+ );
+
+diff -wbBur scantailor/filters/page_split/Filter.cpp scantailor.my/filters/page_split/Filter.cpp
+--- scantailor/filters/page_split/Filter.cpp 2018-11-16 15:30:37.549566930 +0300
++++ scantailor.my/filters/page_split/Filter.cpp 2018-11-16 15:22:03.612906249 +0300
+@@ -108,9 +108,9 @@
+ );
+
+ writer.enumImages(
+- bind(
++ boost::lambda::bind(
+ &Filter::writeImageSettings,
+- this, boost::ref(doc), var(filter_el), _1, _2
++ this, boost::ref(doc), var(filter_el), boost::lambda::_1, boost::lambda::_2
+ )
+ );
+
+diff -wbBur scantailor/filters/page_split/OptionsWidget.cpp scantailor.my/filters/page_split/OptionsWidget.cpp
+--- scantailor/filters/page_split/OptionsWidget.cpp 2018-11-16 15:30:37.616233595 +0300
++++ scantailor.my/filters/page_split/OptionsWidget.cpp 2018-11-16 15:22:32.029572581 +0300
+@@ -29,6 +29,7 @@
+ #include <QPixmap>
+ #include <boost/foreach.hpp>
+ #include <assert.h>
++#include <QButtonGroup>
+
+ namespace page_split
+ {
+diff -wbBur scantailor/filters/select_content/Filter.cpp scantailor.my/filters/select_content/Filter.cpp
+--- scantailor/filters/select_content/Filter.cpp 2018-11-16 15:30:37.552900262 +0300
++++ scantailor.my/filters/select_content/Filter.cpp 2018-11-16 15:24:01.626238198 +0300
+@@ -117,9 +117,9 @@
+
+ QDomElement filter_el(doc.createElement("select-content"));
+ writer.enumPages(
+- bind(
++ boost::lambda::bind(
+ &Filter::writePageSettings,
+- this, boost::ref(doc), var(filter_el), _1, _2
++ this, boost::ref(doc), var(filter_el), boost::lambda::_1, boost::lambda::_2
+ )
+ );
+
+diff -wbBur scantailor/math/MatrixCalc.h scantailor.my/math/MatrixCalc.h
+--- scantailor/math/MatrixCalc.h 2018-11-16 15:30:37.619566929 +0300
++++ scantailor.my/math/MatrixCalc.h 2018-11-16 15:19:32.572908025 +0300
+@@ -103,7 +103,7 @@
+ Mat operator-() const;
+
+ T const* rawData() const { return data; }
+-private:
++//private:
+ Mat(AbstractAllocator<T>* alloc, T const* data, int rows, int cols)
+ : alloc(alloc), data(data), rows(rows), cols(cols) {}
+
+diff -wbBur scantailor/ThumbnailSequence.cpp scantailor.my/ThumbnailSequence.cpp
+--- scantailor/ThumbnailSequence.cpp 2018-11-16 15:30:37.612900262 +0300
++++ scantailor.my/ThumbnailSequence.cpp 2018-11-16 15:28:42.442901592 +0300
+@@ -489,7 +489,7 @@
+ m_pSelectionLeader(0)
+ {
+ m_graphicsScene.setContextMenuEventCallback(
+- bind(&Impl::sceneContextMenuEvent, this, _1)
++ boost::lambda::bind(&Impl::sceneContextMenuEvent, this, boost::lambda::_1)
+ );
+ }
+
+@@ -603,7 +603,7 @@
+ {
+ ItemsById::iterator const id_it(m_itemsById.find(page_info.id()));
+ if (id_it != m_itemsById.end()) {
+- m_itemsById.modify(id_it, bind(&Item::pageInfo, _1) = page_info);
++ m_itemsById.modify(id_it, boost::lambda::bind(&Item::pageInfo, boost::lambda::_1) = page_info);
+ invalidateThumbnailImpl(id_it);
+ }
+ }
+@@ -723,10 +723,10 @@
+ // Sort pages in m_itemsInOrder using m_ptrOrderProvider.
+ if (m_ptrOrderProvider.get()) {
+ m_itemsInOrder.sort(
+- bind(
++ boost::lambda::bind(
+ &PageOrderProvider::precedes, m_ptrOrderProvider.get(),
+- bind(&Item::pageId, _1), bind(&Item::incompleteThumbnail, _1),
+- bind(&Item::pageId, _2), bind(&Item::incompleteThumbnail, _2)
++ boost::lambda::bind(&Item::pageId, boost::lambda::_1), boost::lambda::bind(&Item::incompleteThumbnail, boost::lambda::_1),
++ boost::lambda::bind(&Item::pageId, boost::lambda::_2), boost::lambda::bind(&Item::incompleteThumbnail, boost::lambda::_2)
+ )
+ );
+ }
Deleted: scantailor.desktop
===================================================================
--- scantailor.desktop 2018-11-16 12:59:30 UTC (rev 408214)
+++ scantailor.desktop 2018-11-16 12:59:50 UTC (rev 408215)
@@ -1,11 +0,0 @@
-[Desktop Entry]
-Name=Scan Tailor
-Comment=An interactive post-processing tool for scanned pages.
-Icon=/usr/share/icons/hicolor/scalable/apps/scantailor.svg
-Exec=scantailor %u
-TryExec=scantailor
-Terminal=false
-Type=Application
-StartupNotify=true
-Categories=Graphics;
-MimeType=image/png;image/tif;image/jpeg
Copied: scantailor/repos/community-x86_64/scantailor.desktop (from rev 408214, scantailor/trunk/scantailor.desktop)
===================================================================
--- scantailor.desktop (rev 0)
+++ scantailor.desktop 2018-11-16 12:59:50 UTC (rev 408215)
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Name=Scan Tailor
+Comment=An interactive post-processing tool for scanned pages.
+Icon=/usr/share/icons/hicolor/scalable/apps/scantailor.svg
+Exec=scantailor %u
+TryExec=scantailor
+Terminal=false
+Type=Application
+StartupNotify=true
+Categories=Graphics;
+MimeType=image/png;image/tif;image/jpeg
More information about the arch-commits
mailing list