From owner-svn-ports-all@FreeBSD.ORG Tue Jan 14 09:44:56 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 26D5A918; Tue, 14 Jan 2014 09:44:56 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 075FB127D; Tue, 14 Jan 2014 09:44:56 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id s0E9itM0086414; Tue, 14 Jan 2014 09:44:55 GMT (envelope-from mandree@svn.freebsd.org) Received: (from mandree@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id s0E9itO5086410; Tue, 14 Jan 2014 09:44:55 GMT (envelope-from mandree@svn.freebsd.org) Message-Id: <201401140944.s0E9itO5086410@svn.freebsd.org> From: Matthias Andree Date: Tue, 14 Jan 2014 09:44:55 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r339672 - in head/graphics: . multiraw X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Jan 2014 09:44:56 -0000 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 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" +# $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 + +.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 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