Date: Tue, 08 May 2012 13:48:31 -1000 From: Jan Beich <jbeich@tormail.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/167723: [patch] graphics/gegl: add more option knobs (gdk/jp2) Message-ID: <1SRuJ1-0002IM-IB@internal.tormail.org> Resent-Message-ID: <201205090010.q490AB37023469@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 167723 >Category: ports >Synopsis: [patch] graphics/gegl: add more option knobs (gdk/jp2) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed May 09 00:10:11 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Jan Beich >Release: FreeBSD 10.0-CURRENT amd64 >Organization: >Environment: >Description: >How-To-Repeat: >Fix: --- jp2.diff begins here --- Index: graphics/gegl/Makefile =================================================================== RCS file: /a/.csup/ports/graphics/gegl/Makefile,v retrieving revision 1.32 diff -u -p -r1.32 Makefile --- graphics/gegl/Makefile 14 Mar 2012 15:24:09 -0000 1.32 +++ graphics/gegl/Makefile 8 May 2012 23:37:01 -0000 @@ -21,7 +21,9 @@ LIB_DEPENDS= babl-0.1:${PORTSDIR}/x11/ba OPTIONS= CAIRO "Enable Cairo" on \ ENSCRIPT "Enable Enscript" on \ FFMPEG "Enable videos through ffmpeg (BROKEN)" off \ + GDK "Enable gdk-pixbuf2 formats support" on \ GRAPHVIZ "Enable Graphviz" on \ + JP2 "Enable JPEG2000 format support" on \ JPEG "Enable JPEG format support" on \ LUA "Enable LUA" on \ OPENEXR "Enable High Dynamic Range (HDR) format support" on \ @@ -37,7 +39,7 @@ OPTIONS= CAIRO "Enable Cairo" on \ # Disable docs until I fix the problem with graphviz's dot NOPORTDOCS= yes -USE_GNOME= gtk20 glib20 pkgconfig gnomehack +USE_GNOME= glib20 pkgconfig gnomehack USE_BZIP2= yes USE_GMAKE= yes USE_GETTEXT= yes @@ -56,6 +58,14 @@ EXAMPLES= 2geglbuffer csugar float-looku .include <bsd.port.options.mk> +.if !defined(WITHOUT_GDK) +USE_GNOME+= gdkpixbuf2 +PLIST_SUB+= GDK="" +.else +CONFIGURE_ARGS+=--without-gdk-pixbuf +PLIST_SUB+= GDK="@comment " +.endif + .if !defined(WITHOUT_CAIRO) LIB_DEPENDS+= cairo.2:${PORTSDIR}/graphics/cairo PLIST_SUB+= CAIRO="" @@ -98,6 +108,14 @@ LIB_DEPENDS+= graph:${PORTSDIR}/graphics CONFIGURE_ARGS+=--without-graphviz .endif +.if !defined(WITHOUT_JP2) +LIB_DEPENDS+= jasper.4:${PORTSDIR}/graphics/jasper +PLIST_SUB+= JP2="" +.else +CONFIGURE_ARGS+=--without-jasper +PLIST_SUB+= JP2="@comment " +.endif + .if !defined(WITHOUT_JPEG) LIB_DEPENDS+= jpeg.11:${PORTSDIR}/graphics/jpeg PLIST_SUB+= JPEG="" Index: graphics/gegl/pkg-plist =================================================================== RCS file: /a/.csup/ports/graphics/gegl/pkg-plist,v retrieving revision 1.12 diff -u -p -r1.12 pkg-plist --- graphics/gegl/pkg-plist 3 Dec 2011 14:37:21 -0000 1.12 +++ graphics/gegl/pkg-plist 8 May 2012 23:31:49 -0000 @@ -149,8 +149,8 @@ lib/gegl-0.1/introspect.la lib/gegl-0.1/introspect.so lib/gegl-0.1/invert.la lib/gegl-0.1/invert.so -lib/gegl-0.1/jp2-load.la -lib/gegl-0.1/jp2-load.so +%%JP2%%lib/gegl-0.1/jp2-load.la +%%JP2%%lib/gegl-0.1/jp2-load.so lib/gegl-0.1/layer.la lib/gegl-0.1/layer.so lib/gegl-0.1/levels.la @@ -191,8 +191,8 @@ lib/gegl-0.1/over.la lib/gegl-0.1/over.so lib/gegl-0.1/overlay.la lib/gegl-0.1/overlay.so -lib/gegl-0.1/pixbuf.la -lib/gegl-0.1/pixbuf.so +%%GDK%%lib/gegl-0.1/pixbuf.la +%%GDK%%lib/gegl-0.1/pixbuf.so lib/gegl-0.1/pixelise.la lib/gegl-0.1/pixelise.so lib/gegl-0.1/plus.la @@ -213,8 +213,8 @@ lib/gegl-0.1/rgbe-load.la lib/gegl-0.1/rgbe-load.so lib/gegl-0.1/rgbe-save.la lib/gegl-0.1/rgbe-save.so -lib/gegl-0.1/save-pixbuf.la -lib/gegl-0.1/save-pixbuf.so +%%GDK%%lib/gegl-0.1/save-pixbuf.la +%%GDK%%lib/gegl-0.1/save-pixbuf.so lib/gegl-0.1/save.la lib/gegl-0.1/save.so lib/gegl-0.1/screen.la --- jp2.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1SRuJ1-0002IM-IB>