Date: Thu, 1 Dec 2016 19:03:50 +0000 (UTC) From: "Jason E. Hale" <jhale@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r427511 - in head/graphics: gegl gegl/files libopenraw libopenraw/files Message-ID: <201612011903.uB1J3oqM076269@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jhale Date: Thu Dec 1 19:03:50 2016 New Revision: 427511 URL: https://svnweb.freebsd.org/changeset/ports/427511 Log: Update graphics/libopenraw to 0.1.0 Take maintainership Chase shared library bump and fix build with graphics/gegl Added: head/graphics/gegl/files/patch-operations_external_openraw.c (contents, props changed) head/graphics/libopenraw/files/patch-demo_ppmload.c (contents, props changed) head/graphics/libopenraw/files/patch-gnome_include_libopenraw-gnome_Makefile.in - copied, changed from r427510, head/graphics/libopenraw/files/patch-gnomeincludes Deleted: head/graphics/libopenraw/files/patch-gnomeincludes Modified: head/graphics/gegl/Makefile head/graphics/libopenraw/Makefile head/graphics/libopenraw/distinfo head/graphics/libopenraw/pkg-descr head/graphics/libopenraw/pkg-plist Modified: head/graphics/gegl/Makefile ============================================================================== --- head/graphics/gegl/Makefile Thu Dec 1 18:26:37 2016 (r427510) +++ head/graphics/gegl/Makefile Thu Dec 1 19:03:50 2016 (r427511) @@ -3,7 +3,7 @@ PORTNAME= gegl PORTVERSION= 0.2.0 -PORTREVISION= 16 +PORTREVISION= 17 CATEGORIES= graphics MASTER_SITES= GIMP @@ -216,7 +216,7 @@ post-patch: ${REINPLACE_CMD} -e 's|tools examples|tools|g' \ ${WRKSRC}/Makefile.in .endif - ${REINPLACE_CMD} -e 's|\(lua\)\(5\.1\)|\1-\2|g ; s|x86_64|amd64|g' \ + ${REINPLACE_CMD} -e 's|\(lua\)\(5\.1\)|\1-\2|g ; s|x86_64|amd64|g ; s|libopenraw-1.0|libopenraw-0.1|g' \ ${WRKSRC}/configure .if ${PORT_OPTIONS:MDOCS} Added: head/graphics/gegl/files/patch-operations_external_openraw.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/gegl/files/patch-operations_external_openraw.c Thu Dec 1 19:03:50 2016 (r427511) @@ -0,0 +1,13 @@ +OR_DATA_TYPE_CFA was replaced by OR_DATA_TYPE_RAW in libopenraw-0.1.0 + +--- operations/external/openraw.c.orig 2016-12-01 05:57:23 UTC ++++ operations/external/openraw.c +@@ -116,7 +116,7 @@ load_buffer (GeglOperation *operation) + goto clean_file; + } + +- if(or_rawdata_format (rawdata) != OR_DATA_TYPE_CFA) ++ if(or_rawdata_format (rawdata) != OR_DATA_TYPE_RAW) + { + goto clean_file; + } Modified: head/graphics/libopenraw/Makefile ============================================================================== --- head/graphics/libopenraw/Makefile Thu Dec 1 18:26:37 2016 (r427510) +++ head/graphics/libopenraw/Makefile Thu Dec 1 19:03:50 2016 (r427511) @@ -2,42 +2,39 @@ # $FreeBSD$ PORTNAME= libopenraw -PORTVERSION= 0.0.9 -PORTREVISION= 4 +PORTVERSION= 0.1.0 CATEGORIES= graphics MASTER_SITES= http://libopenraw.freedesktop.org/download/ -MAINTAINER= ports@FreeBSD.org +MAINTAINER= jhale@FreeBSD.org COMMENT= Library for camera RAW files decoding LICENSE= LGPL3+ LICENSE_FILE= ${WRKSRC}/COPYING.LESSER -LIB_DEPENDS= libboost_thread.so:devel/boost-libs +BUILD_DEPENDS= ${LOCALBASE}/include/boost/variant.hpp:devel/boost-libs -USES= compiler:c++11-lang jpeg libtool localbase pkgconfig tar:bzip2 +USES= compiler:c++11-lib jpeg libtool localbase pkgconfig tar:bz2 USE_GNOME= libxml2 USE_LDCONFIG= yes GNU_CONFIGURE= yes -CONFIGURE_ARGS= --with-boost=${LOCALBASE}/include -MAKE_ENV= V=1 +CONFIGURE_ARGS= --with-boost=${LOCALBASE}/include \ + --disable-silent-rules +INSTALL_TARGET= install-strip -OPTIONS_DEFINE= GNOME +# Unhide SEEK_SET to fix build with GCC 4.9 (ports/193528). +CXXFLAGS+= -D_GLIBCXX_USE_C99 + +OPTIONS_DEFINE= GNOME OPTIONS_DEFAULT= GNOME +OPTIONS_SUB= yes -OPTIONS_SUB= yes GNOME_CONFIGURE_ENABLE= gnome -GNOME_USE= GNOME=glib20,gdkpixbuf2 +GNOME_USES= gettext-runtime +GNOME_USE= GNOME=glib20,gdkpixbuf2 post-patch: @${REINPLACE_CMD} -e 's|{libdir}/pkgconfig|{prefix}/libdata/pkgconfig|' ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|testsuite ||' ${WRKSRC}/Makefile.in -post-install: - @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libopenraw.so - -post-install-GNOME-on: - @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libopenrawgnome.so - @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/gdk-pixbuf-2.0/${GTK2_VERSION}/loaders/libopenraw_pixbuf.so - .include <bsd.port.mk> Modified: head/graphics/libopenraw/distinfo ============================================================================== --- head/graphics/libopenraw/distinfo Thu Dec 1 18:26:37 2016 (r427510) +++ head/graphics/libopenraw/distinfo Thu Dec 1 19:03:50 2016 (r427511) @@ -1,2 +1,3 @@ -SHA256 (libopenraw-0.0.9.tar.bz2) = 49fd1adf0a0228c7a17a79bf98d8d03664195feae1e50f4ddd1b20162626e18f -SIZE (libopenraw-0.0.9.tar.bz2) = 478687 +TIMESTAMP = 1480563957 +SHA256 (libopenraw-0.1.0.tar.bz2) = 4dede1db9b85c9c22a1ddaf37839f2713746a00b81a6d4623d66556000cb76cf +SIZE (libopenraw-0.1.0.tar.bz2) = 525449 Added: head/graphics/libopenraw/files/patch-demo_ppmload.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/libopenraw/files/patch-demo_ppmload.c Thu Dec 1 19:03:50 2016 (r427511) @@ -0,0 +1,11 @@ +--- demo/ppmload.c.orig 2016-01-24 18:35:23 UTC ++++ demo/ppmload.c +@@ -30,6 +30,8 @@ + # include <machine/endian.h> + # include <libkern/OSByteOrder.h> + # define htobe16(x) OSSwapHostToBigInt16(x) ++#elif defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__DragonFly__) ++# include <sys/endian.h> + #else + # include <endian.h> + #endif Copied and modified: head/graphics/libopenraw/files/patch-gnome_include_libopenraw-gnome_Makefile.in (from r427510, head/graphics/libopenraw/files/patch-gnomeincludes) ============================================================================== --- head/graphics/libopenraw/files/patch-gnomeincludes Thu Dec 1 18:26:37 2016 (r427510, copy source) +++ head/graphics/libopenraw/files/patch-gnome_include_libopenraw-gnome_Makefile.in Thu Dec 1 19:03:50 2016 (r427511) @@ -1,6 +1,6 @@ ---- gnome/include/libopenraw-gnome/Makefile.in.orig Tue Jan 9 00:28:06 2007 -+++ gnome/include/libopenraw-gnome/Makefile.in Wed Mar 21 14:51:32 2007 -@@ -371,7 +371,8 @@ +--- gnome/include/libopenraw-gnome/Makefile.in.orig 2016-11-27 01:53:40 UTC ++++ gnome/include/libopenraw-gnome/Makefile.in +@@ -529,7 +529,8 @@ info: info-am info-am: @@ -8,5 +8,5 @@ +@BUILD_GNOME_SUPPORT_TRUE@install-data-am: install-libopenrawgnomeHEADERS +@BUILD_GNOME_SUPPORT_FALSE@install-data-am: - install-exec-am: + install-dvi: install-dvi-am Modified: head/graphics/libopenraw/pkg-descr ============================================================================== --- head/graphics/libopenraw/pkg-descr Thu Dec 1 18:26:37 2016 (r427510) +++ head/graphics/libopenraw/pkg-descr Thu Dec 1 19:03:50 2016 (r427511) @@ -1,6 +1,6 @@ libopenraw is an ongoing project to provide a free software implementation for -camera RAW files decoding. One of the main reason is that dcraw is not suited +camera RAW files decoding. One of the main reasons is that dcraw is not suited for easy integration into applications, and there is a need for an easy to use -API to build free software digital image processing application. +API to build free software digital image processing applications. WWW: http://libopenraw.freedesktop.org/ Modified: head/graphics/libopenraw/pkg-plist ============================================================================== --- head/graphics/libopenraw/pkg-plist Thu Dec 1 18:26:37 2016 (r427510) +++ head/graphics/libopenraw/pkg-plist Thu Dec 1 19:03:50 2016 (r427511) @@ -1,25 +1,28 @@ -include/libopenraw-1.0/libopenraw/bitmapdata.h -include/libopenraw-1.0/libopenraw/consts.h -include/libopenraw-1.0/libopenraw/debug.h -include/libopenraw-1.0/libopenraw/demosaic.h -include/libopenraw-1.0/libopenraw/exif.h -include/libopenraw-1.0/libopenraw/io.h -include/libopenraw-1.0/libopenraw/libopenraw.h -include/libopenraw-1.0/libopenraw/metadata.h -include/libopenraw-1.0/libopenraw/rawdata.h -include/libopenraw-1.0/libopenraw/rawfile.h -include/libopenraw-1.0/libopenraw/thumbnails.h -include/libopenraw-1.0/libopenraw/types.h -%%GNOME%%include/libopenraw-1.0/libopenraw-gnome/gdkpixbuf.h +%%GNOME%%include/libopenraw-0.1/libopenraw-gnome/gdkpixbuf.h +include/libopenraw-0.1/libopenraw/bitmapdata.h +include/libopenraw-0.1/libopenraw/cameraids.h +include/libopenraw-0.1/libopenraw/cfapattern.h +include/libopenraw-0.1/libopenraw/consts.h +include/libopenraw-0.1/libopenraw/debug.h +include/libopenraw-0.1/libopenraw/demosaic.h +include/libopenraw-0.1/libopenraw/exif.h +include/libopenraw-0.1/libopenraw/io.h +include/libopenraw-0.1/libopenraw/libopenraw.h +include/libopenraw-0.1/libopenraw/metadata.h +include/libopenraw-0.1/libopenraw/prefix.h +include/libopenraw-0.1/libopenraw/rawdata.h +include/libopenraw-0.1/libopenraw/rawfile.h +include/libopenraw-0.1/libopenraw/thumbnails.h +include/libopenraw-0.1/libopenraw/types.h %%GNOME%%lib/gdk-pixbuf-2.0/%%GTK2_VERSION%%/loaders/libopenraw_pixbuf.a %%GNOME%%lib/gdk-pixbuf-2.0/%%GTK2_VERSION%%/loaders/libopenraw_pixbuf.so lib/libopenraw.a lib/libopenraw.so -lib/libopenraw.so.1 -lib/libopenraw.so.1.6.0 +lib/libopenraw.so.7 +lib/libopenraw.so.7.0.0 %%GNOME%%lib/libopenrawgnome.a %%GNOME%%lib/libopenrawgnome.so -%%GNOME%%lib/libopenrawgnome.so.1 -%%GNOME%%lib/libopenrawgnome.so.1.6.0 -libdata/pkgconfig/libopenraw-1.0.pc -%%GNOME%%libdata/pkgconfig/libopenraw-gnome-1.0.pc +%%GNOME%%lib/libopenrawgnome.so.7 +%%GNOME%%lib/libopenrawgnome.so.7.0.0 +libdata/pkgconfig/libopenraw-0.1.pc +%%GNOME%%libdata/pkgconfig/libopenraw-gnome-0.1.pc
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201612011903.uB1J3oqM076269>