From owner-svn-ports-head@FreeBSD.ORG Sat Nov 29 15:22:05 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3BDB6A93; Sat, 29 Nov 2014 15:22:05 +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)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 290A22D2; Sat, 29 Nov 2014 15:22:05 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id sATFM5Z7046183; Sat, 29 Nov 2014 15:22:05 GMT (envelope-from rene@FreeBSD.org) Received: (from rene@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id sATFM4OA046179; Sat, 29 Nov 2014 15:22:04 GMT (envelope-from rene@FreeBSD.org) Message-Id: <201411291522.sATFM4OA046179@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: rene set sender to rene@FreeBSD.org using -f From: Rene Ladan Date: Sat, 29 Nov 2014 15:22:04 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r373628 - 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.18-1 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: Sat, 29 Nov 2014 15:22:05 -0000 Author: rene Date: Sat Nov 29 15:22:03 2014 New Revision: 373628 URL: https://svnweb.freebsd.org/changeset/ports/373628 QAT: https://qat.redports.org/buildarchive/r373628/ Log: - Update to 9.22 and unexpire - Change MASTER_SITES to GitHub - Add GPLv2 as license - Switch dependency from lcms to lcms2 - Drop -O3 and -O4 options From myself: - unmute do-build command - add USES=pkgconfig to fix build PR: 194775 Submitted by: maintainer Modified: head/graphics/dcraw-m/Makefile head/graphics/dcraw-m/distinfo head/graphics/dcraw-m/pkg-descr Modified: head/graphics/dcraw-m/Makefile ============================================================================== --- head/graphics/dcraw-m/Makefile Sat Nov 29 15:19:08 2014 (r373627) +++ head/graphics/dcraw-m/Makefile Sat Nov 29 15:22:03 2014 (r373628) @@ -2,48 +2,43 @@ # $FreeBSD$ PORTNAME= dcraw-m -PORTVERSION= 9.17 -PORTREVISION= 1 +PORTVERSION= 9.22 CATEGORIES= graphics -MASTER_SITES= https://dx.burplex.com/dcraw-m/ \ - http://www.waitman.net/dcraw-m/ +MASTER_SITES= GH MAINTAINER= waitman@waitman.net COMMENT= Modified Decoder for RAW files from digital cameras -BROKEN= Unfetchable -DEPRECATED= Broken for more than 6 months -EXPIRATION_DATE= 2014-11-26 +LICENSE= GPLv2 LIB_DEPENDS= libjasper.so:${PORTSDIR}/graphics/jasper \ libjpeg.so:${PORTSDIR}/graphics/jpeg \ - liblcms.so:${PORTSDIR}/graphics/lcms \ + liblcms2.so:${PORTSDIR}/graphics/lcms2 \ libMagickWand-6.Q16.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 +USE_GITHUB= yes +GH_ACCOUNT= waitman +GH_PROJECT= dcraw-m +GH_TAGNAME= ${GH_COMMIT} +GH_COMMIT= 1392579 + +USES= pkgconfig + +CFLAGS += -Wall -Werror -I${LOCALBASE}/include \ + `MagickWand-config --cflags --cppflags` \ + -DMAGICKCORE_HDRI_ENABLE=0 \ + -DMAGICKCORE_QUANTUM_DEPTH=16 +LDFLAGS += `MagickWand-config --ldflags --libs` -lm -llcms2 -ljpeg \ + -ljasper +LIBS += -L${LOCALBASE}/lib -CFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/ImageMagick-6 -LDFLAGS+= -L${LOCALBASE}/lib -lm -ljasper -ljpeg -llcms -lMagickWand-6.Q16 +PLIST_FILES= bin/dcraw-m do-build: - cd ${WRKSRC}/ && ${CC} -o ${PORTNAME} ${CFLAGS} ${PORTNAME}.c ${LDFLAGS} + ( cd ${WRKSRC} ; \ + ${CC} ${CFLAGS} ${LIBS} ${LDFLAGS} -o ${PORTNAME} ${PORTNAME}.c ) do-install: - ${MKDIR} ${STAGEDIR}${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/ .include Modified: head/graphics/dcraw-m/distinfo ============================================================================== --- head/graphics/dcraw-m/distinfo Sat Nov 29 15:19:08 2014 (r373627) +++ head/graphics/dcraw-m/distinfo Sat Nov 29 15:22:03 2014 (r373628) @@ -1,2 +1,2 @@ -SHA256 (dcraw-m-9.17.tar.gz) = 1b727e9b51e9aacae3d0ce3bf7d805f014b43baf371715351ae46c46c2e90269 -SIZE (dcraw-m-9.17.tar.gz) = 88589 +SHA256 (dcraw-m-9.22.tar.gz) = 881c05540cc6ace3921c611f25c58e3c29a4f93133c1fdbded170fae4b5dce5e +SIZE (dcraw-m-9.22.tar.gz) = 95427 Modified: head/graphics/dcraw-m/pkg-descr ============================================================================== --- head/graphics/dcraw-m/pkg-descr Sat Nov 29 15:19:08 2014 (r373627) +++ head/graphics/dcraw-m/pkg-descr Sat Nov 29 15:22:03 2014 (r373628) @@ -6,8 +6,9 @@ when used skillfully, produces better-qu the camera vendor. This version is modified to add auto-rotate to exported thumbnails, and also -add adjustment for camera timezone offset. +add adjustment for camera timezone offset. If your thumbnails appear upside +down, set DCRAW_RTC env var. WWW: http://www.cybercom.net/~dcoffin/dcraw/ -WWW: https://dx.burplex.com/bin/autorot.html -WWW: https://dx.burplex.com/bin/photohack.html +WWW: https://dx.mehomi.com/autorot.html +WWW: https://dx.mehomi.com/photohack.html