From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Mar 19 10:20:01 2008 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 613B11065671 for ; Wed, 19 Mar 2008 10:20:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 35C6F8FC27 for ; Wed, 19 Mar 2008 10:20:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m2JAK1ZQ087943 for ; Wed, 19 Mar 2008 10:20:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m2JAK1SQ087942; Wed, 19 Mar 2008 10:20:01 GMT (envelope-from gnats) Resent-Date: Wed, 19 Mar 2008 10:20:01 GMT Resent-Message-Id: <200803191020.m2JAK1SQ087942@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Iouri V. Ivliev" Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4DE531065673 for ; Wed, 19 Mar 2008 10:11:05 +0000 (UTC) (envelope-from ii@any.com.ru) Received: from smaug.esterdev.com (cable-235.kazan.ru [212.22.81.235]) by mx1.freebsd.org (Postfix) with ESMTP id BCF1E8FC14 for ; Wed, 19 Mar 2008 10:11:01 +0000 (UTC) (envelope-from ii@any.com.ru) Received: from smaug.esterdev.com (localhost [127.0.0.1]) by smaug.esterdev.com (8.14.2/8.13.8) with ESMTP id m2J9fpRr003233; Wed, 19 Mar 2008 12:41:51 +0300 (MSK) (envelope-from ii@any.com.ru) Received: (from yury@localhost) by smaug.esterdev.com (8.14.2/8.13.8/Submit) id m2J9fo2c003232; Wed, 19 Mar 2008 12:41:50 +0300 (MSK) (envelope-from ii@any.com.ru) Message-Id: <200803190941.m2J9fo2c003232@smaug.esterdev.com> Date: Wed, 19 Mar 2008 12:41:50 +0300 (MSK) From: "Iouri V. Ivliev" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/121858: Update port: graphics/pfstmo - 1.2 release X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "Iouri V. Ivliev" List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Mar 2008 10:20:01 -0000 >Number: 121858 >Category: ports >Synopsis: Update port: - 1.2 release >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Wed Mar 19 10:20:00 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Iouri V. Ivliev >Release: FreeBSD 6.2-RELEASE-p7 i386 >Organization: EsterDev, Ltd. >Environment: System: FreeBSD smaug.esterdev.com 6.2-RELEASE-p7 FreeBSD 6.2-RELEASE-p7 #0: Sun Sep 23 17:28:25 UTC 2007 root@smaug.esterdev.com:/usr/obj/usr/src/sys/SMAUG i386 >Description: Notes: PFStmo 1.2 features an improved version of the manntiuk06 tone-mapping operator, which is faster and consumes less memory (thanks to Ed Brambley). Some serious bugs causing "stripes" in some images have been also fixed. Changes: * mantiuk06: fixed some serious bugs in the solver and subsampling procedure the artifacts found in some odd-sized images should be gone * mantiuk06: faster up-/down-sampling functions make the algorithm 25% faster. Thanks to Ed Brambley. * mantiuk06: performance improvements from Ed Brambley: lower memory consumption, faster solver, better convergence, additional scale parameter for the contrast equalization method. >How-To-Repeat: >Fix: --- pfstmo.diff begins here --- diff -ruN pfstmo.orig/Makefile pfstmo/Makefile --- pfstmo.orig/Makefile 2007-12-14 17:15:06.000000000 +0000 +++ pfstmo/Makefile 2008-03-19 08:48:44.000000000 +0000 @@ -5,7 +5,7 @@ # $FreeBSD$ PORTNAME= pfstmo -PORTVERSION= 1.1 +PORTVERSION= 1.2 CATEGORIES= graphics MASTER_SITES= SF MASTER_SITE_SUBDIR= pfstools @@ -13,8 +13,6 @@ MAINTAINER= ii@any.com.ru COMMENT= Tone mapping operators -LIB_DEPENDS= pfs-1.2:${PORTSDIR}/graphics/pfstools - PFS_CPPFLAGS= -I${LOCALBASE}/include PFS_LDFLAGS= -L${LOCALBASE}/lib @@ -24,6 +22,8 @@ LDFLAGS="${PFS_LDFLAGS}" USE_GMAKE= yes +LIB_DEPENDS= pfs-1.2:${PORTSDIR}/graphics/pfstools + MAN1= pfstmo_pattanaik00.1 \ pfstmo_reinhard05.1 \ pfstmo_reinhard02.1 \ diff -ruN pfstmo.orig/distinfo pfstmo/distinfo --- pfstmo.orig/distinfo 2007-12-14 17:15:06.000000000 +0000 +++ pfstmo/distinfo 2008-03-12 09:14:35.000000000 +0000 @@ -1,3 +1,3 @@ -MD5 (pfstmo-1.1.tar.gz) = 0b15be34f61a492062685f574af83bca -SHA256 (pfstmo-1.1.tar.gz) = 68c50a67cdd9e526249742ce6c330d6cadd8290b67c33a0942f4e9f5aa6918b7 -SIZE (pfstmo-1.1.tar.gz) = 367563 +MD5 (pfstmo-1.2.tar.gz) = 50eda7f8ab22ba42580494811dba31dc +SHA256 (pfstmo-1.2.tar.gz) = 796555f3c60fc8f2cb56e4288dc035aa3f0a6b8812a7388ce3c002103c2e5aa1 +SIZE (pfstmo-1.2.tar.gz) = 384037 diff -ruN pfstmo.orig/files/patch-src-mantiuk06-contrast_domain.cpp pfstmo/files/patch-src-mantiuk06-contrast_domain.cpp --- pfstmo.orig/files/patch-src-mantiuk06-contrast_domain.cpp 1970-01-01 00:00:00.000000000 +0000 +++ pfstmo/files/patch-src-mantiuk06-contrast_domain.cpp 2008-03-12 09:27:19.000000000 +0000 @@ -0,0 +1,16 @@ +--- src/mantiuk06/contrast_domain.cpp.orig 2008-03-12 09:20:28.000000000 +0000 ++++ src/mantiuk06/contrast_domain.cpp 2008-03-12 09:27:16.000000000 +0000 +@@ -58,6 +58,13 @@ + #define LOOKUP_W_TO_R 107 + + ++#if defined(__FreeBSD__) ++static inline float exp10f(float x) { ++ return powf(10.,x); ++} ++#endif ++ ++ + static void contrast_equalization( pyramid_t *pp, const float contrastFactor ); + + static void transform_to_luminance(pyramid_t* pyramid, float* const x, progress_callback progress_cb, const bool bcg); --- pfstmo.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: