Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Sep 2019 20:15:06 +0000 (UTC)
From:      Kurt Jaeger <pi@FreeBSD.org>
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
Message-ID:  <201909222015.x8MKF6OB078936@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <vg@FreeBSD.org>
 # $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::<unnamed>::_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 <bsd.port.options.mk>
 
 .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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201909222015.x8MKF6OB078936>