Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 05 Nov 2012 12:18:06 +0100
From:      nemysis <nemysis@gmx.ch>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        danfe@FreeBSD.org
Subject:   ports/173386: [MAINTAINER] graphics/eos-movrec: Removed dependency graphics/netpbm, png download from SF
Message-ID:  <20121105111914.6E7189DE@hub.freebsd.org>
Resent-Message-ID: <201211051120.qA5BK034005752@freefall.freebsd.org>

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

>Number:         173386
>Category:       ports
>Synopsis:       [MAINTAINER] graphics/eos-movrec: Removed dependency graphics/netpbm, png download from SF
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Nov 05 11:20:00 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     nemysis
>Release:        FreeBSD 9.0-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD FreeBSD_Ports 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan  3 07:46:30 UTC
>Description:

Removed dependency graphics/netpbm
-BUILD_DEPENDS=	pnmtopng:${PORTSDIR}/graphics/netpbm

and adjusted or added
+MASTER_SITES=
+DISTFILES=
+DIST_SUBDIR=
+EXTRACT_ONLY=

Generated and tested manually, tested with port test, send with FreeBSD Port Tools 0.99_6 (mode: change, diff: ports)
>How-To-Repeat:

portlint -A
WARN: Makefile: possible use of absolute pathname "/_/}".
WARN: Makefile: for new port, make $FreeBSD$ tag in comment section empty, to make SVN happy.
WARN: Makefile: new ports should not set PORTREVISION.
0 fatal errors and 3 warnings found.

WARN: Makefile: possible use of absolute pathname "/_/}". because is used
 DISTVERSION=	0.3.1_beta

port test: clean

>Fix:

--- eos-movrec-0.3.1.b_3.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/graphics/eos-movrec/Makefile ./Makefile
--- /usr/ports/graphics/eos-movrec/Makefile	2012-10-07 14:23:07.000000000 +0200
+++ ./Makefile	2012-11-05 12:10:48.000000000 +0100
@@ -3,9 +3,15 @@
 
 PORTNAME=	eos-movrec
 DISTVERSION=	0.3.1_beta
-PORTREVISION=	2
+DISTVERSIONSUFFIX=-src
+PORTREVISION=	3
 CATEGORIES=	graphics multimedia
-MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/0.3_beta/
+MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/0.3_beta/ \
+		SF/nemysisfreebsdp/:icons
+DISTFILES=	${PORTNAME}-${DISTVERSION}-src${EXTRACT_SUFX} \
+		${PORTNAME}.png:icons
+DIST_SUBDIR=	${PORTNAME}
+EXTRACT_ONLY=	${PORTNAME}-${DISTVERSION}-src${EXTRACT_SUFX}
 
 MAINTAINER=	nemysis@gmx.ch
 COMMENT=	Capture short movies with Canon DSLR camera
@@ -13,14 +19,12 @@
 LICENSE=	GPLv2
 
 LIB_DEPENDS=	gphoto2:${PORTSDIR}/graphics/libgphoto2
-BUILD_DEPENDS=	pnmtopng:${PORTSDIR}/graphics/netpbm
 
 USE_BZIP2=	yes
 USE_CMAKE=	yes
 USE_QT4=	qmake_build moc_build rcc_build uic_build gui
 
 WRKSRC=		${WRKDIR}/${PORTNAME}-${DISTVERSION}
-DISTVERSIONSUFFIX=	-src
 
 PLIST_FILES=	bin/eos_movrec \
 		share/pixmaps/${PORTNAME}.png
@@ -31,11 +35,7 @@
 post-patch:
 	@${REINPLACE_CMD} -e 's,GLIBC,${OPSYS},' ${WRKSRC}/os_api.h
 
-post-build:
-	@(cd ${WRKSRC} && ${LOCALBASE}/bin/winicontoppm -bestqual eos-movrec2.ico | \
-		${LOCALBASE}/bin/pnmtopng > eos-movrec.png)
-
 post-install:
-	${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.png ${PREFIX}/share/pixmaps/
+	${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/${PORTNAME}.png ${PREFIX}/share/pixmaps
 
 .include <bsd.port.mk>
diff -ruN --exclude=CVS /usr/ports/graphics/eos-movrec/distinfo ./distinfo
--- /usr/ports/graphics/eos-movrec/distinfo	2012-10-06 23:05:12.000000000 +0200
+++ ./distinfo	2012-11-05 12:04:09.000000000 +0100
@@ -1,2 +1,4 @@
-SHA256 (eos-movrec-0.3.1_beta-src.tar.bz2) = 044cf8b6428d66d6d03c3df53103f985e5b669cad3c8f78a94f9ef308259deea
-SIZE (eos-movrec-0.3.1_beta-src.tar.bz2) = 3955037
+SHA256 (eos-movrec/eos-movrec-0.3.1_beta-src.tar.bz2) = 044cf8b6428d66d6d03c3df53103f985e5b669cad3c8f78a94f9ef308259deea
+SIZE (eos-movrec/eos-movrec-0.3.1_beta-src.tar.bz2) = 3955037
+SHA256 (eos-movrec/eos-movrec.png) = ad7bd2b870b2b63d4868f49c34b8ddf5e801f3c2e878bba455817b66b53ecd85
+SIZE (eos-movrec/eos-movrec.png) = 1085
--- eos-movrec-0.3.1.b_3.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?20121105111914.6E7189DE>