ports/177492: [New Port] graphics/multiraw (replace prev)

Waitman Gobble uzimac at da3m0n8t3r.com
Sat Mar 30 04:40:00 UTC 2013


>Number:         177492
>Category:       ports
>Synopsis:       [New Port] graphics/multiraw (replace prev)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Mar 30 04:40:00 UTC 2013
>Closed-Date:
>Last-Modified:
>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 at 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 at 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 at 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:
>Unformatted:


More information about the freebsd-ports-bugs mailing list