From root@dx.burplex.com  Sat Mar 30 04:39:41 2013
Return-Path: <root@dx.burplex.com>
Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115])
	by hub.freebsd.org (Postfix) with ESMTP id 08D921A5
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 30 Mar 2013 04:39:41 +0000 (UTC)
	(envelope-from root@dx.burplex.com)
Received: from dx.burplex.com (dx.burplex.com [50.197.134.185])
	by mx1.freebsd.org (Postfix) with ESMTP id D60A896
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 30 Mar 2013 04:39:40 +0000 (UTC)
Received: by dx.burplex.com (Postfix, from userid 0)
	id 7140536F47D5; Fri, 29 Mar 2013 21:39:40 -0700 (PDT)
Message-Id: <20130330043940.7140536F47D5@dx.burplex.com>
Date: Fri, 29 Mar 2013 21:39:40 -0700 (PDT)
From: Waitman Gobble <uzimac@da3m0n8t3r.com>
Reply-To: Waitman Gobble <uzimac@da3m0n8t3r.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [New Port] graphics/multiraw (replace prev)
X-Send-Pr-Version: 3.114
X-GNATS-Notify:

>Number:         177492
>Category:       ports
>Synopsis:       [New Port] graphics/multiraw (replace prev)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    mandree
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Mar 30 04:40:00 UTC 2013
>Closed-Date:    Tue Jan 14 09:48:18 UTC 2014
>Last-Modified:  Tue Jan 14 15:00:00 UTC 2014
>Originator:     Waitman Gobble
>Release:        FreeBSD 10.0-CURRENT amd64
>Organization:
Waitman Gobble
>Environment:
System: FreeBSD dx.burplex.com 10.0-CURRENT FreeBSD 10.0-CURRENT #0 r248165: Mon Mar 11 18:20:30 PDT 2013 root@dx.burplex.com:/usr/obj/usr/src/sys/FURAHA amd64


	
>Description:
This replaces ports/177482, (dcraw-m was split into ports/177490)
Typically a polyhedral optimizer is used to create an automatically
parallelized binary of dcraw, which may or may not be efficient. The 
strategy in multiraw.c is to consider an entire photoshoot of perhaps 100, 
200, 300 photos, and to process them in parallel as quickly as possible using
all available processors, if so desired. This program will analyze the task 
requested and split up the work into optimal threads to complete the job as 
quickly as possible. The user may also specify the number of threads.

multiraw.c is used to process Camera Raw files in parallel on multi-core 
machines. 

Thank you.

>How-To-Repeat:
	
>Fix:

	

--- multiraw.shar.txt begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	multiraw
#	multiraw/pkg-plist
#	multiraw/pkg-descr
#	multiraw/distinfo
#	multiraw/Makefile
#
echo c - multiraw
mkdir -p multiraw > /dev/null 2>&1
echo x - multiraw/pkg-plist
sed 's/^X//' >multiraw/pkg-plist << 'a5845d71e98a766f89ae63795587131d'
Xbin/multiraw
a5845d71e98a766f89ae63795587131d
echo x - multiraw/pkg-descr
sed 's/^X//' >multiraw/pkg-descr << 'df0bda01c96338079830aa98b1cd6bf6'
XProcessing Camera Raw files to JPEG, TIFF, or PPM formats is extremely time 
Xintensive. Utilizing multiple threads on multi-core systems can realize an 
Xincrease of productivity and time savings of 60%.
X
XThe multiraw.c program allows the user to batch convert Camera Raw format files
Xin parallel using pthreads. The user may specify the number of threads to run,
Xor they may use the Auto Thread switch which will cause the software to
Xdetermine the appropriate number of threads based on the task requested.
XBy default, multiraw.c calls dcraw-m, which is included. If the user wishes
Xto use the unmodified dcraw program, it may be specified using the -o switch.
X
XUse the -n switch to specify number of threads, or use -a to instruct the 
Xsoftware to automatically determine the optimal number of threads to use 
Xdepending on the commanded task.
X
Xmultiraw uses dcraw-m, a modified version of dcraw which automatically 
Xrotates exported thumbnails and has a camera timezone offset adjustment
Xvariable.
X
XWWW:
Xhttps://dx.burplex.com/bin/multiraw.html
Xhttps://dx.burplex.com/bin/autorot.html
Xhttps://dx.burplex.com/bin/photohack.html
df0bda01c96338079830aa98b1cd6bf6
echo x - multiraw/distinfo
sed 's/^X//' >multiraw/distinfo << 'df2ffa48b32b44539f2392cba4ff4017'
XSHA256 (waitman-multiraw-1.0-0-g71a7651.tar.gz) = cc62eb00fa067d05f6853e578c68f1f6ade7eb9962c3cdb86187cd4889b89bb2
XSIZE (waitman-multiraw-1.0-0-g71a7651.tar.gz) = 4262
df2ffa48b32b44539f2392cba4ff4017
echo x - multiraw/Makefile
sed 's/^X//' >multiraw/Makefile << 'c3e72340c7bffbceb40a7882e3c13f0d'
X# Created by: "Waitman Gobble" <uzimac@da3m0n8t3r.com>
X# $FreeBSD$
X# New ports collection makefile for: multiraw
X# Date created: 29 March 2013
X
XPORTNAME=	multiraw
XPORTVERSION=	1.0
XCATEGORIES=	graphics
XMASTER_SITES=	GH
XDISTNAME=	${GH_ACCOUNT}-${GH_PROJECT}-${PORTVERSION}-0-g${GH_COMMIT}
X
XMAINTAINER=	waitman@waitman.net
XCOMMENT=	Parallel process Camera RAW files using pthreads
X
XLICENSE=	MULTIRAW
XLICENSE_NAME=	MULTIRAW BSD LICENSE
XLICENSE_FILE=	${WRKSRC}/LICENSE
XLICENSE_PERMS=	${_LICENSE_PERMS_DEFAULT}
X
XRUN_DEPENDS=	${LOCALBASE}/bin/dcraw:${PORTSDIR}/graphics/dcraw \
X		${LOCALBASE}/bin/dcraw-m:${PORTSDIR}/graphics/dcraw-m
X
XUSE_GITHUB=	yes
XGH_ACCOUNT=	waitman
XGH_PROJECT=	multiraw
XGH_TAGNAME=	master
XGH_COMMIT=	71a7651
X
XWRKSRC=		${WRKDIR}/waitman-multiraw-71a7651
X
XMAN7=		multiraw.7
XPORTDOCS=	*
X
XWITH_PTHREAD=	yes
X
XOPTIONS_DEFINE=	OPTIMIZE_O3
XOPTIMIZE_O3_DESC=	Use O3 Optimization
X
X.include <bsd.port.options.mk>
X
X.if ${PORT_OPTIONS:MOPTIMIZE_O3}
XCFLAGS+=        -O3
X.endif
X
XCFLAGS+=	-std=c99 -pthread
X
Xpost-install:
X.if ${PORT_OPTIONS:MDOCS}
X	@${MKDIR} ${DOCSDIR}
X	${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
X.endif
X
X.include <bsd.port.mk>
c3e72340c7bffbceb40a7882e3c13f0d
exit
--- multiraw.shar.txt ends here ---


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->jgh 
Responsible-Changed-By: jgh 
Responsible-Changed-When: Sat Mar 30 05:23:40 UTC 2013 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=177492 
Responsible-Changed-From-To: jgh->freebsd-ports-bugs 
Responsible-Changed-By: jgh 
Responsible-Changed-When: Sun Jun 9 03:42:33 UTC 2013 
Responsible-Changed-Why:  
back to the heap 

http://www.freebsd.org/cgi/query-pr.cgi?pr=177492 
Responsible-Changed-From-To: freebsd-ports-bugs->mandree 
Responsible-Changed-By: mandree 
Responsible-Changed-When: Tue Jan 14 02:08:07 UTC 2014 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=177492 
State-Changed-From-To: open->closed 
State-Changed-By: mandree 
State-Changed-When: Tue Jan 14 09:48:17 UTC 2014 
State-Changed-Why:  
Committed, with minor changes - note that GH_TAGNAME=master is invalid, 
I have used ${GH_COMMIT} instead, which makes sure that the tarball 
remains the same even if you push new commits to Github. Else the first 
new commit would break the checksum and fetching. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=177492 

From: Matthias Andree <matthias.andree@gmx.de>
To: bug-followup@FreeBSD.org, uzimac@da3m0n8t3r.com, waitman@waitman.net
Cc:  
Subject: Re: ports/177492: [New Port] graphics/multiraw (replace prev)
Date: Tue, 14 Jan 2014 10:46:42 +0100

 I am about to commit your port.  Do note that "multiraw -v -a /dev/null"
 causes a floating point exception and a core dump here - might be an
 unhandled division by zero, but I did not check closer.
 
 You are invited to see that this issue gets fixed and then file a new PR
 with a port upgrade, in the future.
 
 Thank you for your contributions (including dcraw-m)!

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/177492: commit references a PR
Date: Tue, 14 Jan 2014 09:45:03 +0000 (UTC)

 Author: mandree
 Date: Tue Jan 14 09:44:54 2014
 New Revision: 339672
 URL: http://svnweb.freebsd.org/changeset/ports/339672
 
 Log:
   Add new port graphics/multiraw, a parallel-execution batch converter for
   camera raw format photographs using pthreads.
   
   Multiraw uses the graphics/dcraw-m or graphics/dcraw ports and their
   executables.  dcraw-m is a modified version of dcraw which automatically
   rotates exported thumbnails and has a camera timezone offset adjustment
   variable.
   
   WWW: https://dx.burplex.com/bin/multiraw.html
   
   PR:		ports/177492
   Submitted by:	Waitman Gobble <uzimac@da3m0n8t3r.com>
 
 Added:
   head/graphics/multiraw/
   head/graphics/multiraw/Makefile   (contents, props changed)
   head/graphics/multiraw/distinfo   (contents, props changed)
   head/graphics/multiraw/pkg-descr   (contents, props changed)
 Modified:
   head/graphics/Makefile
 
 Modified: head/graphics/Makefile
 ==============================================================================
 --- head/graphics/Makefile	Tue Jan 14 09:43:24 2014	(r339671)
 +++ head/graphics/Makefile	Tue Jan 14 09:44:54 2014	(r339672)
 @@ -590,6 +590,7 @@
      SUBDIR += mscgen
      SUBDIR += mtpaint
      SUBDIR += multican
 +    SUBDIR += multiraw
      SUBDIR += mupdf
      SUBDIR += mxp
      SUBDIR += mypaint
 
 Added: head/graphics/multiraw/Makefile
 ==============================================================================
 --- /dev/null	00:00:00 1970	(empty, because file is newly added)
 +++ head/graphics/multiraw/Makefile	Tue Jan 14 09:44:54 2014	(r339672)
 @@ -0,0 +1,55 @@
 +# Created by: "Waitman Gobble" <uzimac@da3m0n8t3r.com>
 +# $FreeBSD$
 +# New ports collection makefile for: multiraw
 +# Date created: 29 March 2013
 +
 +PORTNAME=	multiraw
 +PORTVERSION=	1.0
 +CATEGORIES=	graphics
 +MASTER_SITES=	GH
 +DISTNAME=	${GH_ACCOUNT}-${GH_PROJECT}-${PORTVERSION}-0-g${GH_COMMIT}
 +
 +MAINTAINER=	waitman@waitman.net
 +COMMENT=	Parallel process Camera RAW files using pthreads
 +
 +LICENSE=	MULTIRAW
 +LICENSE_NAME=	MULTIRAW BSD LICENSE
 +LICENSE_FILE=	${WRKSRC}/LICENSE
 +LICENSE_PERMS=	${_LICENSE_PERMS_DEFAULT}
 +
 +RUN_DEPENDS=	${LOCALBASE}/bin/dcraw:${PORTSDIR}/graphics/dcraw \
 +		${LOCALBASE}/bin/dcraw-m:${PORTSDIR}/graphics/dcraw-m
 +
 +USE_GITHUB=	yes
 +GH_ACCOUNT=	waitman
 +GH_PROJECT=	multiraw
 +GH_COMMIT=	71a7651
 +GH_TAGNAME=	${GH_COMMIT}
 +
 +WRKSRC=		${WRKDIR}/waitman-multiraw-${GH_COMMIT}
 +
 +PLIST_FILES=	bin/multiraw man/man7/multiraw.7.gz
 +PORTDOCS=	*
 +
 +WITH_PTHREAD=	yes
 +
 +OPTIONS_DEFINE=	OPTIMIZE_O3
 +OPTIMIZE_O3_DESC=	Use O3 Optimization
 +
 +.include <bsd.port.options.mk>
 +
 +.if ${PORT_OPTIONS:MOPTIMIZE_O3}
 +CFLAGS+=	-O3
 +.endif
 +
 +CFLAGS+=	-std=c99 -pthread
 +
 +do-install:
 +	${INSTALL_PROGRAM} ${WRKSRC}/multiraw ${STAGEDIR}${PREFIX}/bin/
 +	${INSTALL_MAN}     ${WRKSRC}/multiraw.7 ${STAGEDIR}${PREFIX}/man/man7/
 +.if ${PORT_OPTIONS:MDOCS}
 +	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 +	${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
 +.endif
 +
 +.include <bsd.port.mk>
 
 Added: head/graphics/multiraw/distinfo
 ==============================================================================
 --- /dev/null	00:00:00 1970	(empty, because file is newly added)
 +++ head/graphics/multiraw/distinfo	Tue Jan 14 09:44:54 2014	(r339672)
 @@ -0,0 +1,2 @@
 +SHA256 (waitman-multiraw-1.0-0-g71a7651.tar.gz) = cc62eb00fa067d05f6853e578c68f1f6ade7eb9962c3cdb86187cd4889b89bb2
 +SIZE (waitman-multiraw-1.0-0-g71a7651.tar.gz) = 4262
 
 Added: head/graphics/multiraw/pkg-descr
 ==============================================================================
 --- /dev/null	00:00:00 1970	(empty, because file is newly added)
 +++ head/graphics/multiraw/pkg-descr	Tue Jan 14 09:44:54 2014	(r339672)
 @@ -0,0 +1,23 @@
 +Processing Camera Raw files to JPEG, TIFF, or PPM formats is extremely time 
 +intensive. Utilizing multiple threads on multi-core systems can realize an 
 +increase of productivity and time savings of 60%.
 +
 +The multiraw.c program allows the user to batch convert Camera Raw format files
 +in parallel using pthreads. The user may specify the number of threads to run,
 +or they may use the Auto Thread switch which will cause the software to
 +determine the appropriate number of threads based on the task requested.
 +By default, multiraw.c calls dcraw-m, which is included. If the user wishes
 +to use the unmodified dcraw program, it may be specified using the -o switch.
 +
 +Use the -n switch to specify number of threads, or use -a to instruct the 
 +software to automatically determine the optimal number of threads to use 
 +depending on the commanded task.
 +
 +multiraw uses dcraw-m, a modified version of dcraw which automatically 
 +rotates exported thumbnails and has a camera timezone offset adjustment
 +variable.
 +
 +WWW:
 +https://dx.burplex.com/bin/multiraw.html
 +https://dx.burplex.com/bin/autorot.html
 +https://dx.burplex.com/bin/photohack.html
 _______________________________________________
 svn-ports-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-ports-all
 To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
 

From: "Waitman Gobble" <waitman@waitman.net>
To: "Matthias Andree" <matthias.andree@gmx.de>
Cc: bug-followup@freebsd.org,
 uzimac@da3m0n8t3r.com,
 waitman@waitman.net
Subject: Re: ports/177492: [New Port] graphics/multiraw (replace prev)
Date: Mon, 13 Jan 2014 22:49:22 -0800

 On Tue, January 14, 2014 1:46 am, Matthias Andree wrote:
 > I am about to commit your port.  Do note that "multiraw -v -a /dev/null"
 > causes a floating point exception and a core dump here - might be an
 > unhandled division by zero, but I did not check closer.
 >
 > You are invited to see that this issue gets fixed and then file a new PR
 > with a port upgrade, in the future.
 >
 > Thank you for your contributions (including dcraw-m)!
 >
 >
 
 Thank you, I'll take a look at it and update.
 
 -- 
 Waitman Gobble
 San Jose California USA
 +1.510-830-7975
 
>Unformatted:
