mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-03 06:04:53 +00:00
graphics/scantailor: Update version 1.0.16=>1.0.19
- Switch to active upstream - Upsate WWW Changelog: https://github.com/ScanTailor-Advanced/scantailor-advanced PR: 275992 Approved by: submitter is maintainer
This commit is contained in:
parent
0257d72435
commit
cd0fa0d377
@ -1,12 +1,11 @@
|
||||
PORTNAME= scantailor
|
||||
DISTVERSIONPREFIX= v
|
||||
DISTVERSION= 1.0.16
|
||||
PORTREVISION= 3
|
||||
DISTVERSION= 1.0.19
|
||||
CATEGORIES= graphics
|
||||
|
||||
MAINTAINER= m.ne@gmx.net
|
||||
COMMENT= Interactive post-processing tool for scanned pages
|
||||
WWW= https://github.com/4lex4/scantailor-advanced
|
||||
WWW= https://github.com/ScanTailor-Advanced/scantailor-advanced
|
||||
|
||||
LICENSE= GPLv3
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
@ -20,11 +19,11 @@ USES= cmake compiler:c++11-lang desktop-file-utils jpeg qt:5 \
|
||||
shared-mime-info xorg
|
||||
USE_CXXSTD= gnu++98
|
||||
USE_GITHUB= yes
|
||||
USE_QT= core gui network opengl widgets xml buildtools:build \
|
||||
USE_QT= core gui network opengl svg widgets xml buildtools:build \
|
||||
linguisttools:build qmake:build
|
||||
USE_XORG+= xrender
|
||||
|
||||
GH_ACCOUNT= 4lex4
|
||||
GH_ACCOUNT= ScanTailor-Advanced
|
||||
GH_PROJECT= scantailor-advanced
|
||||
OPTIONS_GROUP= DOXYGEN
|
||||
|
||||
@ -50,17 +49,11 @@ PORTDOCS= *
|
||||
BUILD_DEPENDS+= doxygen:devel/doxygen
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|_[12]|boost::lambda::&|g; s|bind(|boost::lambda::&|' \
|
||||
${WRKSRC}/filters/*/Filter.cpp
|
||||
@${REINPLACE_CMD} -e '/Categories/s|Applications|Scanning|' \
|
||||
${WRKSRC}/resources/unix/scantailor.desktop
|
||||
|
||||
post-patch-NLS-off:
|
||||
@${REINPLACE_CMD} -e '/\/translations/s/install/# install/' ${WRKSRC}/CMakeLists.txt
|
||||
|
||||
post-install:
|
||||
${INSTALL_DATA} ${WRKSRC}/resources/icons/appicon-about.png \
|
||||
${INSTALL_DATA} ${WRKSRC}/src/resources/ScanTailor.png \
|
||||
${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png
|
||||
|
||||
.if ${PORT_OPTIONS:MHTML} || ${PORT_OPTIONS:MLATEX}
|
||||
|
@ -1,3 +1,3 @@
|
||||
TIMESTAMP = 1568221877
|
||||
SHA256 (4lex4-scantailor-advanced-v1.0.16_GH0.tar.gz) = 84629d2edba4c36c62bdb75eedb145262b894d950bcb95cec0dab43e21bdb909
|
||||
SIZE (4lex4-scantailor-advanced-v1.0.16_GH0.tar.gz) = 2792788
|
||||
TIMESTAMP = 1703829299
|
||||
SHA256 (ScanTailor-Advanced-scantailor-advanced-v1.0.19_GH0.tar.gz) = db41c3a1ba0ecfc00a40a4efe2bcc9d2abb71ecb77fdc873ae6553b07a228370
|
||||
SIZE (ScanTailor-Advanced-scantailor-advanced-v1.0.19_GH0.tar.gz) = 988881
|
||||
|
@ -1,10 +0,0 @@
|
||||
--- ImageViewBase.cpp.orig 2020-05-21 09:35:48 UTC
|
||||
+++ ImageViewBase.cpp
|
||||
@@ -22,6 +22,7 @@
|
||||
#include <QMouseEvent>
|
||||
#include <QPaintEngine>
|
||||
#include <QPointer>
|
||||
+#include <QPainterPath>
|
||||
#include <QScrollBar>
|
||||
#include <QSettings>
|
||||
#include <QtWidgets/QMainWindow>
|
@ -1,17 +0,0 @@
|
||||
--- filters/output/OutputGenerator.cpp.orig 2020-05-21 09:40:03 UTC
|
||||
+++ filters/output/OutputGenerator.cpp
|
||||
@@ -25,6 +25,7 @@
|
||||
#include <imageproc/ImageCombination.h>
|
||||
#include <QDebug>
|
||||
#include <QPainter>
|
||||
+#include <QPainterPath>
|
||||
#include <QtCore/QSettings>
|
||||
#include <boost/bind.hpp>
|
||||
#include "DebugImages.h"
|
||||
@@ -2666,4 +2667,4 @@ QImage OutputGenerator::posterizeImage(const QImage& i
|
||||
posterizationOptions.isForceBlackAndWhite(), 0, qRound(background_color.lightnessF() * 255))
|
||||
.getImage();
|
||||
}
|
||||
-} // namespace output
|
||||
\ No newline at end of file
|
||||
+} // namespace output
|
@ -1,17 +0,0 @@
|
||||
--- filters/page_layout/ImageView.cpp.orig 2020-05-21 09:34:10 UTC
|
||||
+++ filters/page_layout/ImageView.cpp
|
||||
@@ -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"
|
||||
@@ -1160,4 +1161,4 @@ void ImageView::enableMiddleRectInteraction(const bool
|
||||
bool ImageView::isShowingMiddleRectEnabled() const {
|
||||
return (!m_nullContentRect && m_settings->isShowingMiddleRectEnabled()) || m_alignment.isNull();
|
||||
}
|
||||
-} // namespace page_layout
|
||||
\ No newline at end of file
|
||||
+} // namespace page_layout
|
@ -1,17 +0,0 @@
|
||||
--- filters/page_layout/Thumbnail.cpp.orig 2020-05-21 09:40:03 UTC
|
||||
+++ filters/page_layout/Thumbnail.cpp
|
||||
@@ -18,6 +18,7 @@
|
||||
|
||||
#include "Thumbnail.h"
|
||||
#include <QPainter>
|
||||
+#include <QPainterPath>
|
||||
#include <utility>
|
||||
#include "Utils.h"
|
||||
#include "imageproc/PolygonUtils.h"
|
||||
@@ -111,4 +112,4 @@ void Thumbnail::paintOverImage(QPainter& painter,
|
||||
paintDeviant(painter);
|
||||
}
|
||||
} // Thumbnail::paintOverImage
|
||||
-} // namespace page_layout
|
||||
\ No newline at end of file
|
||||
+} // namespace page_layout
|
@ -1,17 +0,0 @@
|
||||
--- filters/select_content/ContentBoxFinder.cpp.orig 2020-05-21 09:40:03 UTC
|
||||
+++ filters/select_content/ContentBoxFinder.cpp
|
||||
@@ -19,6 +19,7 @@
|
||||
#include "ContentBoxFinder.h"
|
||||
#include <QDebug>
|
||||
#include <QPainter>
|
||||
+#include <QPainterPath>
|
||||
#include <cmath>
|
||||
#include <queue>
|
||||
#include "DebugImages.h"
|
||||
@@ -1353,4 +1354,4 @@ const SEDM& ContentBoxFinder::Garbage::sedm() {
|
||||
|
||||
return m_sedm;
|
||||
}
|
||||
-} // namespace select_content
|
||||
\ No newline at end of file
|
||||
+} // namespace select_content
|
@ -1,10 +0,0 @@
|
||||
--- zones/ZoneContextMenuInteraction.cpp.orig 2020-05-21 09:38:01 UTC
|
||||
+++ zones/ZoneContextMenuInteraction.cpp
|
||||
@@ -21,6 +21,7 @@
|
||||
#include <QMenu>
|
||||
#include <QMessageBox>
|
||||
#include <QPainter>
|
||||
+#include <QPainterPath>
|
||||
#include <QSignalMapper>
|
||||
#include <boost/bind.hpp>
|
||||
#include "ImageViewBase.h"
|
@ -1,10 +0,0 @@
|
||||
--- zones/ZoneDefaultInteraction.cpp.orig 2020-05-21 09:38:01 UTC
|
||||
+++ zones/ZoneDefaultInteraction.cpp
|
||||
@@ -19,6 +19,7 @@
|
||||
#include "ZoneDefaultInteraction.h"
|
||||
#include <QMouseEvent>
|
||||
#include <QPainter>
|
||||
+#include <QPainterPath>
|
||||
#include "ImageViewBase.h"
|
||||
#include "SerializableSpline.h"
|
||||
#include "ZoneInteractionContext.h"
|
@ -3,5 +3,10 @@ share/applications/scantailor.desktop
|
||||
share/icons/hicolor/scalable/apps/ScanTailor.svg
|
||||
share/mime/packages/scantailor-project.xml
|
||||
share/pixmaps/scantailor.png
|
||||
%%NLS%%%%DATADIR%%-advanced/translations/scantailor_de.qm
|
||||
%%NLS%%%%DATADIR%%-advanced/translations/scantailor_es.qm
|
||||
%%NLS%%%%DATADIR%%-advanced/translations/scantailor_fr.qm
|
||||
%%NLS%%%%DATADIR%%-advanced/translations/scantailor_ko.qm
|
||||
%%NLS%%%%DATADIR%%-advanced/translations/scantailor_pl.qm
|
||||
%%NLS%%%%DATADIR%%-advanced/translations/scantailor_pt.qm
|
||||
%%NLS%%%%DATADIR%%-advanced/translations/scantailor_ru.qm
|
||||
|
Loading…
Reference in New Issue
Block a user