ports/121858: Update port: graphics/pfstmo - 1.2 release
Iouri V. Ivliev
ii at any.com.ru
Wed Mar 19 10:20:01 UTC 2008
>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 at 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 at 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:
More information about the freebsd-ports-bugs
mailing list