Skip site navigation (1)Skip section navigation (2)
Date:      Tue,  1 Dec 2009 14:22:20 +0100
From:      "Pierre Guinoiseau" <geekounet@poildetroll.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/141053: [patch] Add contrast option to graphics/ufraw
Message-ID:  <20091201132222.DE09D106566C@hub.freebsd.org>
Resent-Message-ID: <200912011330.nB1DU2ku049894@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         141053
>Category:       ports
>Synopsis:       [patch] Add contrast option to graphics/ufraw
>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:   Tue Dec 01 13:30:02 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Pierre Guinoiseau <geekounet@poildetroll.net>
>Release:        FreeBSD 8.0-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD korriban.home.poildetroll.net 8.0-RELEASE FreeBSD 8.0-RELEASE #0 r199620: Sat Nov 21 02:10:44 CET 2009 root@korriban.home.poildetroll.net:/usr/obj/usr/src/sys/KORRIBAN amd64


>Description:
The following patch adds an option to enable the contrast setting of ufraw, and enable it by
default. It also bump the port revision because the contrast setting was not enabled until now.
>How-To-Repeat:

>Fix:

--- ufraw-contrast-option.diff begins here ---
diff -ruN --exclude=CVS /usr/ports/graphics/ufraw.orig/Makefile /usr/ports/graphics/ufraw/Makefile
--- /usr/ports/graphics/ufraw.orig/Makefile	2009-10-16 15:16:58.000000000 +0200
+++ /usr/ports/graphics/ufraw/Makefile	2009-12-01 14:00:18.000000000 +0100
@@ -7,7 +7,7 @@
 
 PORTNAME=	ufraw
 PORTVERSION=	0.16
-PORTREVISION=	0
+PORTREVISION=	1
 CATEGORIES=	graphics gnome
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
 
@@ -33,7 +33,8 @@
 OPTIONS=	EXIV2	"EXIF support via exiv2 library"	on	\
 		GIMP	"Install GIMP UFRaw plugin"		on	\
 		LENSFUN	"Build with LenFun library support"	on	\
-		FITS	"Enable FITS output support"		off
+		FITS	"Enable FITS output support"		off	\
+		CONTRAST	"Enable contrast setting"	on
 
 .include <bsd.port.pre.mk>
 
@@ -56,6 +57,9 @@
 .if defined(WITH_FITS) || exists(${LOCALBASE}/lib/libcfitsio.so)
 LIB_DEPENDS+=	cfitsio.0:${PORTSDIR}/astro/cfitsio
 .endif
+.if !defined(WITHOUT_CONTRAST)
+CONFIGURE_ARGS+=	--enable-contrast
+.endif
 
 MAN1=	ufraw.1
 
--- ufraw-contrast-option.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?20091201132222.DE09D106566C>