From nobody Fri Dec 29 18:24:56 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4T1v1N3nVYz54vST; Fri, 29 Dec 2023 18:24:56 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4T1v1N1gt3z3Cdg; Fri, 29 Dec 2023 18:24:56 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1703874296; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=ZZK+eIJPVAvgDcpWTum+k71oHNYoR7fEnBaJ+ZbER+g=; b=AJNZsowia2WtFo22qWL9GCHyeNhXo6rlrrb7BzBVGzyTYL9bTWKEskAndIw7xVZjKjLaav yvqB2cjDUxIlyWijXwOB1NCAT62QoubPpMN0A6rHdbmdZJdpMWaw1JfUgu5e0R9xR3Lnun P1shosRiXctdiuqjMWR6odHiASKdasaGWtakVwUUaI6/aEjCdxrLF223di1bb1aUKMISjf JYnb6tjzEZtkvkO5ftoareUc28n9GibeEfISKwQcpDBArsTvJCqkvJkKJfhaueV0Ujrol6 ZOPw6XZjmsgUrMnzSYRXwsQSVPplNo4IL9nF3h6t0qqpA1itsbmDXKBbA7DgwA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1703874296; a=rsa-sha256; cv=none; b=EkodiE0iSG+pbdftH5TNyaW+FbBL/a2nx6lX8J0hxOgEpPkBUvVc69sbL8jKhRULftPY6l op+eZO7Mc99sMw8m/3isu4HiPBHo69v2PG9bHVv8FkAnvXfOvDgbqe3NksbHaYmgJIhv8c C07wBIOmg+zAskyvw5RRmW0G43bl3An0a+TAVyE+QhsdhAMoI0k8EZMzMM5hX4gzWmaMvy Mq4ms3eeEjQ70notezQP9HlZcjVWBFqk/g4l88HmXl0UpfS0w3rHQKdOs2i8HY9O4jha+R 5NOvIFa9ffgIiXUEyvOAbOoWSzgyonJ6C+cFxVKq1BTY7NmvCh1879bgMHgSDA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1703874296; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=ZZK+eIJPVAvgDcpWTum+k71oHNYoR7fEnBaJ+ZbER+g=; b=uEBMK/8kLQroRskWVXeIJJNw+/wuF0g/kR7df5ajpKUwdE2bFOg4eXtgtskM4tG8iemeF5 ePipbuFvhZksD4GeuE+zOo8AN6BR87X2CvEaqEsf1P1QvZqKzANh81fIcMePMYz8xn7FKW 3UWiXmVhzwnvRKIfgQ9A+mbWOgf9xo0a1J/spAYx98Jw6y1ONN/jWgRymsa33gUDTJpwBD MI97tMp45u+MslLKHGlkwCs6Wl9+dif7R12ZMg1VppcuTobmcGlTuITipT75i7j05U6DWK gbWTz7tvgnB7bww/l2EUmJIwvQuWicMNn15C54ApuFXbZLJELq071ICWsZWf6Q== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4T1v1N0gXlz2Y8; Fri, 29 Dec 2023 18:24:56 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 3BTIOuJT003299; Fri, 29 Dec 2023 18:24:56 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3BTIOu36003296; Fri, 29 Dec 2023 18:24:56 GMT (envelope-from git) Date: Fri, 29 Dec 2023 18:24:56 GMT Message-Id: <202312291824.3BTIOu36003296@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Muhammad Moinur Rahman Subject: git: cd0fa0d37731 - main - graphics/scantailor: Update version 1.0.16=>1.0.19 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: bofh X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: cd0fa0d3773140575d68b927e04428bc6cb40e20 Auto-Submitted: auto-generated The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=cd0fa0d3773140575d68b927e04428bc6cb40e20 commit cd0fa0d3773140575d68b927e04428bc6cb40e20 Author: Martin Neubauer AuthorDate: 2023-12-29 17:47:54 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2023-12-29 18:24:40 +0000 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 --- graphics/scantailor/Makefile | 17 +++++------------ graphics/scantailor/distinfo | 6 +++--- graphics/scantailor/files/patch-ImageViewBase.cpp | 10 ---------- .../files/patch-filters_output_OutputGenerator.cpp | 17 ----------------- .../files/patch-filters_page__layout_ImageView.cpp | 17 ----------------- .../files/patch-filters_page__layout_Thumbnail.cpp | 17 ----------------- .../patch-filters_select__content_ContentBoxFinder.cpp | 17 ----------------- .../files/patch-zones_ZoneContextMenuInteraction.cpp | 10 ---------- .../files/patch-zones_ZoneDefaultInteraction.cpp | 10 ---------- graphics/scantailor/pkg-plist | 5 +++++ 10 files changed, 13 insertions(+), 113 deletions(-) diff --git a/graphics/scantailor/Makefile b/graphics/scantailor/Makefile index 865ffcac3f1d..e9d77adcf96a 100644 --- a/graphics/scantailor/Makefile +++ b/graphics/scantailor/Makefile @@ -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} diff --git a/graphics/scantailor/distinfo b/graphics/scantailor/distinfo index b527422d4588..b5f059f0d0d9 100644 --- a/graphics/scantailor/distinfo +++ b/graphics/scantailor/distinfo @@ -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 diff --git a/graphics/scantailor/files/patch-ImageViewBase.cpp b/graphics/scantailor/files/patch-ImageViewBase.cpp deleted file mode 100644 index 15570b54c464..000000000000 --- a/graphics/scantailor/files/patch-ImageViewBase.cpp +++ /dev/null @@ -1,10 +0,0 @@ ---- ImageViewBase.cpp.orig 2020-05-21 09:35:48 UTC -+++ ImageViewBase.cpp -@@ -22,6 +22,7 @@ - #include - #include - #include -+#include - #include - #include - #include diff --git a/graphics/scantailor/files/patch-filters_output_OutputGenerator.cpp b/graphics/scantailor/files/patch-filters_output_OutputGenerator.cpp deleted file mode 100644 index aebc1e5f85c2..000000000000 --- a/graphics/scantailor/files/patch-filters_output_OutputGenerator.cpp +++ /dev/null @@ -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 - #include - #include -+#include - #include - #include - #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 diff --git a/graphics/scantailor/files/patch-filters_page__layout_ImageView.cpp b/graphics/scantailor/files/patch-filters_page__layout_ImageView.cpp deleted file mode 100644 index b9043f046992..000000000000 --- a/graphics/scantailor/files/patch-filters_page__layout_ImageView.cpp +++ /dev/null @@ -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 - #include - #include -+#include - #include - #include - #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 diff --git a/graphics/scantailor/files/patch-filters_page__layout_Thumbnail.cpp b/graphics/scantailor/files/patch-filters_page__layout_Thumbnail.cpp deleted file mode 100644 index 6322d7ce5d69..000000000000 --- a/graphics/scantailor/files/patch-filters_page__layout_Thumbnail.cpp +++ /dev/null @@ -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 -+#include - #include - #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 diff --git a/graphics/scantailor/files/patch-filters_select__content_ContentBoxFinder.cpp b/graphics/scantailor/files/patch-filters_select__content_ContentBoxFinder.cpp deleted file mode 100644 index 7ce6e3d627ba..000000000000 --- a/graphics/scantailor/files/patch-filters_select__content_ContentBoxFinder.cpp +++ /dev/null @@ -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 - #include -+#include - #include - #include - #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 diff --git a/graphics/scantailor/files/patch-zones_ZoneContextMenuInteraction.cpp b/graphics/scantailor/files/patch-zones_ZoneContextMenuInteraction.cpp deleted file mode 100644 index e642826082b1..000000000000 --- a/graphics/scantailor/files/patch-zones_ZoneContextMenuInteraction.cpp +++ /dev/null @@ -1,10 +0,0 @@ ---- zones/ZoneContextMenuInteraction.cpp.orig 2020-05-21 09:38:01 UTC -+++ zones/ZoneContextMenuInteraction.cpp -@@ -21,6 +21,7 @@ - #include - #include - #include -+#include - #include - #include - #include "ImageViewBase.h" diff --git a/graphics/scantailor/files/patch-zones_ZoneDefaultInteraction.cpp b/graphics/scantailor/files/patch-zones_ZoneDefaultInteraction.cpp deleted file mode 100644 index cc8738261ceb..000000000000 --- a/graphics/scantailor/files/patch-zones_ZoneDefaultInteraction.cpp +++ /dev/null @@ -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 - #include -+#include - #include "ImageViewBase.h" - #include "SerializableSpline.h" - #include "ZoneInteractionContext.h" diff --git a/graphics/scantailor/pkg-plist b/graphics/scantailor/pkg-plist index d9c28f29ad9e..5e636043eabf 100644 --- a/graphics/scantailor/pkg-plist +++ b/graphics/scantailor/pkg-plist @@ -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