pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/gegl gegl: Disable jp2 support by default



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3b3696d3f1fe
branches:  trunk
changeset: 398328:3b3696d3f1fe
user:      nia <nia%pkgsrc.org@localhost>
date:      Tue Jul 16 15:34:25 2019 +0000

description:
gegl: Disable jp2 support by default

Re-enable it with the 'jasper' option.

Part of the process of trying to minimize the potential impact of a
vulnerable jasper.

Bump PKGREVISION

diffstat:

 graphics/gegl/Makefile   |   4 ++--
 graphics/gegl/options.mk |  13 ++++++++++---
 2 files changed, 12 insertions(+), 5 deletions(-)

diffs (48 lines):

diff -r 8a433f6e38d9 -r 3b3696d3f1fe graphics/gegl/Makefile
--- a/graphics/gegl/Makefile    Tue Jul 16 15:19:42 2019 +0000
+++ b/graphics/gegl/Makefile    Tue Jul 16 15:34:25 2019 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.72 2019/06/18 14:26:59 ryoon Exp $
+# $NetBSD: Makefile,v 1.73 2019/07/16 15:34:25 nia Exp $
 
 DISTNAME=      gegl-0.4.16
+PKGREVISION=   1
 CATEGORIES=    graphics
 MASTER_SITES=  http://download.gimp.org/pub/gegl/0.4/
 EXTRACT_SUFX=  .tar.bz2
@@ -37,7 +38,6 @@
 BUILDLINK_API_DEPENDS.babl+=   babl>=0.1.52
 .include "../../graphics/babl/buildlink3.mk"
 .include "../../mk/jpeg.buildlink3.mk"
-.include "../../graphics/jasper/buildlink3.mk"
 .include "../../graphics/lcms2/buildlink3.mk"
 .include "../../graphics/openexr/buildlink3.mk"
 .include "../../graphics/png/buildlink3.mk"
diff -r 8a433f6e38d9 -r 3b3696d3f1fe graphics/gegl/options.mk
--- a/graphics/gegl/options.mk  Tue Jul 16 15:19:42 2019 +0000
+++ b/graphics/gegl/options.mk  Tue Jul 16 15:34:25 2019 +0000
@@ -1,14 +1,21 @@
-# $NetBSD: options.mk,v 1.1 2009/02/03 06:21:40 adam Exp $
+# $NetBSD: options.mk,v 1.2 2019/07/16 15:34:25 nia Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.gegl
-PKG_SUPPORTED_OPTIONS= svg
+PKG_SUPPORTED_OPTIONS= svg jasper
 PKG_SUGGESTED_OPTIONS= svg
 
 .include "../../mk/bsd.options.mk"
 
 PLIST_VARS+=   svg
-
 .if !empty(PKG_OPTIONS:Msvg)
 .include "../../graphics/librsvg/buildlink3.mk"
 PLIST.svg=     yes
 .endif
+
+PLIST_VARS+=   jasper
+.if !empty(PKG_OPTIONS:Mjasper)
+.include "../../graphics/jasper/buildlink3.mk"
+PLIST.jasper=  yes
+.else
+CONFIGURE_ARGS+=       --without-jasper
+.endif



Home | Main Index | Thread Index | Old Index