From owner-svn-ports-head@FreeBSD.ORG Tue Jan 14 03:26:00 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 80748762; Tue, 14 Jan 2014 03:26:00 +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 6CC671741; Tue, 14 Jan 2014 03:26:00 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id s0E3Q0Z0041299; Tue, 14 Jan 2014 03:26:00 GMT (envelope-from mandree@svn.freebsd.org) Received: (from mandree@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id s0E3PxNR041286; Tue, 14 Jan 2014 03:25:59 GMT (envelope-from mandree@svn.freebsd.org) Message-Id: <201401140325.s0E3PxNR041286@svn.freebsd.org> From: Matthias Andree Date: Tue, 14 Jan 2014 03:25:59 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r339660 - in head/graphics: . dcraw-m X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Jan 2014 03:26:00 -0000 Author: mandree Date: Tue Jan 14 03:25:59 2014 New Revision: 339660 URL: http://svnweb.freebsd.org/changeset/ports/339660 Log: Add new dcraw-m port, a variant of dcraw that adds auto-rotate to exported thumbnails, and also add adjustment for camera timezone offset. PR: ports/177490 Submitted by: Waitman Gobble Added: head/graphics/dcraw-m/ head/graphics/dcraw-m/Makefile (contents, props changed) head/graphics/dcraw-m/distinfo (contents, props changed) head/graphics/dcraw-m/pkg-descr (contents, props changed) Modified: head/graphics/Makefile Modified: head/graphics/Makefile ============================================================================== --- head/graphics/Makefile Tue Jan 14 03:23:01 2014 (r339659) +++ head/graphics/Makefile Tue Jan 14 03:25:59 2014 (r339660) @@ -113,6 +113,7 @@ SUBDIR += dc20ctrl SUBDIR += dc20pack SUBDIR += dcraw + SUBDIR += dcraw-m SUBDIR += deegree-csw SUBDIR += deegree-igeoportal SUBDIR += deegree-wcs Added: head/graphics/dcraw-m/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/dcraw-m/Makefile Tue Jan 14 03:25:59 2014 (r339660) @@ -0,0 +1,44 @@ +# Created by: "Waitman Gobble" +# $FreeBSD$ + +PORTNAME= dcraw-m +PORTVERSION= 9.17 +CATEGORIES= graphics +MASTER_SITES= https://dx.burplex.com/dcraw-m/ \ + http://www.waitman.net/dcraw-m/ + +MAINTAINER= waitman@waitman.net +COMMENT= Modified Decoder for RAW files from digital cameras + +LIB_DEPENDS= libjasper.so:${PORTSDIR}/graphics/jasper \ + libjpeg.so:${PORTSDIR}/graphics/jpeg \ + liblcms.so:${PORTSDIR}/graphics/lcms \ + libMagickWand.so:${PORTSDIR}/graphics/ImageMagick + +PLIST_FILES= bin/dcraw-m + +OPTIONS_DEFINE= OPTIMIZE_O3 OPTIMIZE_O4 +OPTIMIZE_O3_DESC= Use O3 with clang (O4 not working) +OPTIMIZE_O4_DESC= Use O4 with gcc + +.include + +.if ${PORT_OPTIONS:MOPTIMIZE_O3} +CFLAGS+= -O3 +.else +.if ${PORT_OPTIONS:MOPTIMIZE_O4} +CFLAGS+= -O4 +.endif +.endif + +CFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/ImageMagick +LDFLAGS+= -L${LOCALBASE}/lib -lm -ljasper -ljpeg -llcms -lMagickWand + +do-build: + cd ${WRKSRC}/ && ${CC} -o ${PORTNAME} ${CFLAGS} ${PORTNAME}.c ${LDFLAGS} + +do-install: + ${MKDIR} ${STAGEDIR}${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/ + +.include Added: head/graphics/dcraw-m/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/dcraw-m/distinfo Tue Jan 14 03:25:59 2014 (r339660) @@ -0,0 +1,2 @@ +SHA256 (dcraw-m-9.17.tar.gz) = 1b727e9b51e9aacae3d0ce3bf7d805f014b43baf371715351ae46c46c2e90269 +SIZE (dcraw-m-9.17.tar.gz) = 88589 Added: head/graphics/dcraw-m/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/dcraw-m/pkg-descr Tue Jan 14 03:25:59 2014 (r339660) @@ -0,0 +1,13 @@ +dcraw is an ANSI C program that decodes any raw image from any digital camera +on any computer running any operating system. It's become a standard tool +within and without the Open Source world. It's small (about 3000 lines), +portable (standard C libraries only), free (both "gratis" and "libre"), and +when used skillfully, produces better-quality output than the tools provided by +the camera vendor. + +This version is modified to add auto-rotate to exported thumbnails, and also +add adjustment for camera timezone offset. + +WWW: http://www.cybercom.net/~dcoffin/dcraw/ +WWW: https://dx.burplex.com/bin/autorot.html +WWW: https://dx.burplex.com/bin/photohack.html