Date: Sat, 29 Nov 2014 15:22:04 +0000 (UTC) From: Rene Ladan <rene@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r373628 - head/graphics/dcraw-m Message-ID: <201411291522.sATFM4OA046179@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <waitman@waitman.net> 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 <bsd.port.options.mk> - -.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 <bsd.port.mk> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201411291522.sATFM4OA046179>