From owner-svn-ports-all@freebsd.org Sun Sep 22 20:15:08 2019 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 8CF3712B429; Sun, 22 Sep 2019 20:15:08 +0000 (UTC) (envelope-from pi@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) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46bzG41R6hz4Bfd; Sun, 22 Sep 2019 20:15:08 +0000 (UTC) (envelope-from pi@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 103BA3E17; Sun, 22 Sep 2019 20:15:08 +0000 (UTC) (envelope-from pi@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x8MKF7Dp078942; Sun, 22 Sep 2019 20:15:07 GMT (envelope-from pi@FreeBSD.org) Received: (from pi@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x8MKF6OB078936; Sun, 22 Sep 2019 20:15:06 GMT (envelope-from pi@FreeBSD.org) Message-Id: <201909222015.x8MKF6OB078936@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pi set sender to pi@FreeBSD.org using -f From: Kurt Jaeger Date: Sun, 22 Sep 2019 20:15:06 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r512602 - in head: . graphics graphics/scantailor graphics/scantailor/files X-SVN-Group: ports-head X-SVN-Commit-Author: pi X-SVN-Commit-Paths: in head: . graphics graphics/scantailor graphics/scantailor/files X-SVN-Commit-Revision: 512602 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Sep 2019 20:15:08 -0000 Author: pi Date: Sun Sep 22 20:15:06 2019 New Revision: 512602 URL: https://svnweb.freebsd.org/changeset/ports/512602 Log: Resurrect and update port: graphics/scantailor Scan Tailor Advanced is an interactive post-processing tool for scanned pages. It performs operations such as page splitting, deskewing, and removing garbage. All operations can be done automatically, however it's still possible to manually correct their results WWW: https://github.com/4lex4/scantailor-advanced PR: 240751 Submitted by: m.ne@gmx.net Added: head/graphics/scantailor/ - copied from r495741, head/graphics/scantailor/ Deleted: head/graphics/scantailor/files/ Modified: head/MOVED head/graphics/Makefile head/graphics/scantailor/Makefile head/graphics/scantailor/distinfo head/graphics/scantailor/pkg-descr head/graphics/scantailor/pkg-plist Modified: head/MOVED ============================================================================== --- head/MOVED Sun Sep 22 20:08:49 2019 (r512601) +++ head/MOVED Sun Sep 22 20:15:06 2019 (r512602) @@ -11830,7 +11830,6 @@ graphics/qt4-opengl||2019-03-16|Has expired: Qt4 has b graphics/qt4-pixeltool||2019-03-16|Has expired: Qt4 has been EOL since december 2015 graphics/qt4-svg||2019-03-16|Has expired: Qt4 has been EOL since december 2015 graphics/qxv||2019-03-16|Has expired: Qt4 has been EOL since december 2015, qxv is unmaintained -graphics/scantailor||2019-03-16|Has expired: Qt4 has been EOL since december 2015 graphics/seexpr||2019-03-16|Has expired: Qt4 has been EOL since december 2015 graphics/smillaenlarger||2019-03-16|Has expired: Qt4 has been EOL since december 2015 graphics/structuresynth||2019-03-16|Has expired: Qt4 has been EOL since december 2015 Modified: head/graphics/Makefile ============================================================================== --- head/graphics/Makefile Sun Sep 22 20:08:49 2019 (r512601) +++ head/graphics/Makefile Sun Sep 22 20:15:06 2019 (r512602) @@ -985,6 +985,7 @@ SUBDIR += sane-epkowa SUBDIR += sane-frontends SUBDIR += scale2x + SUBDIR += scantailor SUBDIR += scr2png SUBDIR += scrot SUBDIR += scwm-icons Modified: head/graphics/scantailor/Makefile ============================================================================== --- head/graphics/scantailor/Makefile Thu Mar 14 22:54:03 2019 (r495741) +++ head/graphics/scantailor/Makefile Sun Sep 22 20:15:06 2019 (r512602) @@ -1,37 +1,30 @@ -# Created by: Veniamin Gvozdikov # $FreeBSD$ PORTNAME= scantailor -PORTVERSION= 0.9.11.1 -PORTREVISION= 15 +DISTVERSIONPREFIX= v +DISTVERSION= 1.0.16 CATEGORIES= graphics -MASTER_SITES= SF -MAINTAINER= ports@FreeBSD.org +MAINTAINER= m.ne@gmx.net COMMENT= Interactive post-processing tool for scanned pages LICENSE= GPLv3 +LICENSE_FILE= ${WRKSRC}/LICENSE -DEPRECATED= Qt4 has been EOL since december 2015 -EXPIRATION_DATE= 2019-03-15 - -BROKEN_powerpc64= fails to compile: core.hpp:69: boost::lambda::::_1 causes a section type conflict - BUILD_DEPENDS= ${LOCALBASE}/include/boost/shared_ptr.hpp:devel/boost-libs -LIB_DEPENDS= libtiff.so:graphics/tiff \ - libjbig.so:graphics/jbigkit \ - libpng.so:graphics/png +LIB_DEPENDS= libjbig.so:graphics/jbigkit \ + libpng.so:graphics/png \ + libtiff.so:graphics/tiff -#MAKE_JOBS_UNSAFE= yes -USES= cmake gettext jpeg qt:4 +USES= cmake desktop-file-utils jpeg qt:5 shared-mime-info xorg USE_CXXSTD= gnu++98 -USE_QT= corelib gui xml qmake_build uic_build moc_build rcc_build \ - linguist_build +USE_GITHUB= yes +USE_QT= core gui network opengl widgets xml buildtools_build \ + linguisttools_build qmake_build USE_XORG+= xrender -DESKTOP_ENTRIES="Scan Tailor" "${COMMENT}" "${PORTNAME}" \ - "${PORTNAME}" "Graphics;Scanning;" false - +GH_ACCOUNT= 4lex4 +GH_PROJECT= scantailor-advanced OPTIONS_GROUP= DOXYGEN OPTIONS_GROUP_DOXYGEN= HTML LATEX @@ -41,8 +34,11 @@ OPTIONS_DEFAULT= HTML_DESC= Install HTML Doxygen files LATEX_DESC= Install LaTeX Doxygen files -OPTIONS_DEFINE= DOCS +OPTIONS_DEFINE= DOCS NLS +OPTIONS_SUB= yes +NLS_USES= gettext + .include .if ${PORT_OPTIONS:MHTML} || ${PORT_OPTIONS:MLATEX} @@ -56,6 +52,11 @@ BUILD_DEPENDS+= doxygen:devel/doxygen 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 \ Modified: head/graphics/scantailor/distinfo ============================================================================== --- head/graphics/scantailor/distinfo Thu Mar 14 22:54:03 2019 (r495741) +++ head/graphics/scantailor/distinfo Sun Sep 22 20:15:06 2019 (r512602) @@ -1,2 +1,3 @@ -SHA256 (scantailor-0.9.11.1.tar.gz) = 881647a4172c55a067a7b6687965441cf21176d79d93075b22a373ea9accd8d3 -SIZE (scantailor-0.9.11.1.tar.gz) = 1190198 +TIMESTAMP = 1568221877 +SHA256 (4lex4-scantailor-advanced-v1.0.16_GH0.tar.gz) = 84629d2edba4c36c62bdb75eedb145262b894d950bcb95cec0dab43e21bdb909 +SIZE (4lex4-scantailor-advanced-v1.0.16_GH0.tar.gz) = 2792788 Modified: head/graphics/scantailor/pkg-descr ============================================================================== --- head/graphics/scantailor/pkg-descr Thu Mar 14 22:54:03 2019 (r495741) +++ head/graphics/scantailor/pkg-descr Sun Sep 22 20:15:06 2019 (r512602) @@ -1,6 +1,7 @@ -Scan Tailor is an interactive post-processing tool for scanned pages. -It performs operations such as page splitting, deskewing, and removing -garbage. All operations can be done automatically, however it's still -possible to manually correct their results +Scan Tailor Advanced is an interactive post-processing tool for +scanned pages. It performs operations such as page splitting, +deskewing, and removing garbage. All operations can be done +automatically, however it's still possible to manually correct their +results -WWW: http://scantailor.sourceforge.net/ +WWW: https://github.com/4lex4/scantailor-advanced Modified: head/graphics/scantailor/pkg-plist ============================================================================== --- head/graphics/scantailor/pkg-plist Thu Mar 14 22:54:03 2019 (r495741) +++ head/graphics/scantailor/pkg-plist Sun Sep 22 20:15:06 2019 (r512602) @@ -1,16 +1,7 @@ bin/scantailor -bin/scantailor-cli +share/applications/scantailor.desktop +share/icons/hicolor/scalable/apps/ScanTailor.svg +share/mime/packages/scantailor-project.xml share/pixmaps/scantailor.png -%%DATADIR%%/translations/scantailor_bg.qm -%%DATADIR%%/translations/scantailor_cs.qm -%%DATADIR%%/translations/scantailor_de.qm -%%DATADIR%%/translations/scantailor_es.qm -%%DATADIR%%/translations/scantailor_fr.qm -%%DATADIR%%/translations/scantailor_it.qm -%%DATADIR%%/translations/scantailor_ja.qm -%%DATADIR%%/translations/scantailor_pl.qm -%%DATADIR%%/translations/scantailor_pt_BR.qm -%%DATADIR%%/translations/scantailor_ru.qm -%%DATADIR%%/translations/scantailor_sk.qm -%%DATADIR%%/translations/scantailor_uk.qm -%%DATADIR%%/translations/scantailor_zh_TW.qm +%%NLS%%%%DATADIR%%-advanced/translations/scantailor_es.qm +%%NLS%%%%DATADIR%%-advanced/translations/scantailor_ru.qm