Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 06 Jun 2013 05:16:47 +0200
From:      nemysis <nemysis@gmx.ch>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        g.veniamin@googlemail.com
Subject:   ports/179356: [PATCH] graphics/scantailor: update to 0.9.11.1, add docs
Message-ID:  <20130606031650.8FA37C0E@hub.freebsd.org>
Resent-Message-ID: <201306060320.r563K0Rk020033@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         179356
>Category:       ports
>Synopsis:       [PATCH] graphics/scantailor: update to 0.9.11.1, add docs
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jun 06 03:20:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     nemysis
>Release:        FreeBSD 9.1-RELEASE-p3 amd64
>Organization:
>Environment:
System: FreeBSD FreeBSD_Ports 9.1-RELEASE-p3 FreeBSD 9.1-RELEASE-p3 #0: Mon Apr 29 18:27:25 UTC 2013
>Description:

- Update to 0.9.11.1
- Trim comment
- Trim Desktop entry file
- Add icon
- Add docs
- Add HTML LATEX Options
- Add dependency for devel/doxygen
- Trim pkg-plist


Port maintainer (g.veniamin@googlemail.com) is cc'd.

Generated and tested manually, tested with port test and with RedPorts, sent with FreeBSD Port Tools 0.99_7 (mode: update, diff: ports)
>How-To-Repeat:

Build log

https://redports.org/buildarchive/20130606015600-56953/

>Fix:

--- scantailor-0.9.11.1.patch begins here ---
diff -ruN /usr/ports/graphics/scantailor/Makefile ./Makefile
--- /usr/ports/graphics/scantailor/Makefile	2013-06-02 18:53:19.000000000 +0200
+++ ./Makefile	2013-06-06 03:50:11.000000000 +0200
@@ -2,13 +2,12 @@
 # $FreeBSD: head/graphics/scantailor/Makefile 318189 2013-05-14 19:13:10Z rakuco $
 
 PORTNAME=	scantailor
-PORTVERSION=	0.9.11
-PORTREVISION=	1
+PORTVERSION=	0.9.11.1
 CATEGORIES=	graphics
 MASTER_SITES=	SF
 
 MAINTAINER=	g.veniamin@googlemail.com
-COMMENT=	Scan Tailor is an interactive post-processing tool for scanned pages
+COMMENT=	Interactive post-processing tool for scanned pages
 
 LICENSE=	GPLv3
 
@@ -23,7 +22,42 @@
 		linguist_build
 MAKE_JOBS_SAFE=	yes
 
-DESKTOP_ENTRIES="Scan Tailor" "Interactive post-processing tool for scanned pages" \
-		"" "${PORTNAME}" "Graphics;Scanning;" false
+DESKTOP_ENTRIES="Scan Tailor" "${COMMENT}" "${PORTNAME}" \
+		"${PORTNAME}" "Graphics;Scanning;" false
+
+OPTIONS_GROUP=	DOXYGEN
+
+OPTIONS_GROUP_DOXYGEN=	HTML LATEX
+
+OPTIONS_DEFAULT=
+
+HTML_DESC=	Install HTML Doxygen files
+LATEX_DESC=	Install LaTeX Doxygen files
+
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MHTML} || ${PORT_OPTIONS:MLATEX}
+PORTDOCS=	*
+.endif
+
+.if ${PORT_OPTIONS:MHTML} || ${PORT_OPTIONS:MLATEX}
+BUILD_DEPENDS+=	doxygen:${PORTSDIR}/devel/doxygen
+.endif
+
+post-install:
+	${INSTALL_DATA} ${WRKSRC}/resources/icons/appicon-about.png \
+		${PREFIX}/share/pixmaps/${PORTNAME}.png
+
+.if ${PORT_OPTIONS:MHTML} || ${PORT_OPTIONS:MLATEX}
+	@cd ${WRKSRC} && doxygen .
+.endif
+
+.if ${PORT_OPTIONS:MDOCS} && ${PORT_OPTIONS:MHTML}
+	@(cd ${WRKSRC} && ${COPYTREE_SHARE} html ${DOCSDIR})
+.endif
+
+.if ${PORT_OPTIONS:MDOCS} && ${PORT_OPTIONS:MLATEX}
+	@(cd ${WRKSRC} && ${COPYTREE_SHARE} latex ${DOCSDIR})
+.endif
 
 .include <bsd.port.mk>
diff -ruN /usr/ports/graphics/scantailor/distinfo ./distinfo
--- /usr/ports/graphics/scantailor/distinfo	2013-06-02 18:53:19.000000000 +0200
+++ ./distinfo	2013-06-05 23:13:54.000000000 +0200
@@ -1,2 +1,2 @@
-SHA256 (scantailor-0.9.11.tar.gz) = e158fa5c38b1c34dec47e611e27d74a0508bc2b6818b84f0d05f98ba184c9c11
-SIZE (scantailor-0.9.11.tar.gz) = 1175866
+SHA256 (scantailor-0.9.11.1.tar.gz) = 881647a4172c55a067a7b6687965441cf21176d79d93075b22a373ea9accd8d3
+SIZE (scantailor-0.9.11.1.tar.gz) = 1190198
diff -ruN /usr/ports/graphics/scantailor/pkg-plist ./pkg-plist
--- /usr/ports/graphics/scantailor/pkg-plist	2013-06-02 18:53:19.000000000 +0200
+++ ./pkg-plist	2013-04-10 10:05:10.000000000 +0200
@@ -1,5 +1,6 @@
 bin/scantailor
 bin/scantailor-cli
+share/pixmaps/scantailor.png
 %%DATADIR%%/translations/scantailor_bg.qm
 %%DATADIR%%/translations/scantailor_cs.qm
 %%DATADIR%%/translations/scantailor_de.qm
@@ -8,6 +9,7 @@
 %%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
--- scantailor-0.9.11.1.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



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