summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorheinz <heinz@pkgsrc.org>2007-03-24 20:17:57 +0000
committerheinz <heinz@pkgsrc.org>2007-03-24 20:17:57 +0000
commit86a1ea94374ca8eae42e345a1bef228c9be7e4b1 (patch)
tree64c0fe27e8996ceddaf98a80a45eeaf14ab69a41 /graphics
parentd7fe674a7f762ec2255aa4f2075fd47c0aa9508a (diff)
downloadpkgsrc-86a1ea94374ca8eae42e345a1bef228c9be7e4b1.tar.gz
Updated to version 1.0.1.
Pkgsrc changes: - Removed unnecessary definitions for TIFF_LIBRARY. Both tiff and png libraries can be found automatically. - The package supports installation into DESTDIR. - patch-aa is now integrated - New patch-ab is necessary to get correct permissions for the executable file Changes since version 1.0: ========================== - Fixed off by one convolution error and libpng interface to 1.2.8
Diffstat (limited to 'graphics')
-rw-r--r--graphics/pdiff/Makefile14
-rw-r--r--graphics/pdiff/distinfo10
-rw-r--r--graphics/pdiff/patches/patch-aa13
-rw-r--r--graphics/pdiff/patches/patch-ab13
4 files changed, 22 insertions, 28 deletions
diff --git a/graphics/pdiff/Makefile b/graphics/pdiff/Makefile
index 68b39ff2738..795737ccebe 100644
--- a/graphics/pdiff/Makefile
+++ b/graphics/pdiff/Makefile
@@ -1,9 +1,8 @@
-# $NetBSD: Makefile,v 1.5 2007/03/12 06:46:41 wiz Exp $
+# $NetBSD: Makefile,v 1.6 2007/03/24 20:17:57 heinz Exp $
#
-DISTNAME= PerceptualDiff-1.0
-PKGNAME= pdiff-1.0
-PKGREVISION= 1
+DISTNAME= PerceptualDiff-1.0.1
+PKGNAME= pdiff-1.0.1
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pdiff/}
@@ -12,16 +11,11 @@ HOMEPAGE= http://pdiff.sourceforge.net/
COMMENT= Image comparison through perceptually based image metric
PKG_INSTALLATION_TYPES= overwrite pkgviews
+PKG_DESTDIR_SUPPORT= user-destdir
USE_LANGUAGES= c c++
-OPSYSVARS+= LIBTIFFNAME
-LIBTIFFNAME.*= libtiff.so
-LIBTIFFNAME.Darwin= libtiff.dylib
-
CMAKEFLAGS.pdiff+= -DCMAKE_INSTALL_PREFIX:PATH=${PREFIX}
-CMAKEFLAGS.pdiff+= -DTIFF_INCLUDE_DIR:PATH=${BUILDLINK_PREFIX.tiff}/include
-CMAKEFLAGS.pdiff+= -DTIFF_LIBRARY:PATH=${BUILDLINK_PREFIX.tiff}/lib/${LIBTIFFNAME}
do-configure:
cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \
diff --git a/graphics/pdiff/distinfo b/graphics/pdiff/distinfo
index 6419ad969a5..620d77412fb 100644
--- a/graphics/pdiff/distinfo
+++ b/graphics/pdiff/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.2 2007/02/23 17:39:51 wiz Exp $
+$NetBSD: distinfo,v 1.3 2007/03/24 20:17:57 heinz Exp $
-SHA1 (PerceptualDiff-1.0.tar.gz) = cde6dbe41e9fc017ac3a4d8d912af2ed5223f34a
-RMD160 (PerceptualDiff-1.0.tar.gz) = 669d69ac70aa6b5272a64a82160d21c955ddc631
-Size (PerceptualDiff-1.0.tar.gz) = 15534 bytes
-SHA1 (patch-aa) = 0301ff6b0f081fd481b0320f10e34aaa3e6b9966
+SHA1 (PerceptualDiff-1.0.1.tar.gz) = 301d703e7d3c474b663a4abcd63d81500d073be9
+RMD160 (PerceptualDiff-1.0.1.tar.gz) = a2931d55b7efa66b907f9002d9380f2f8a088534
+Size (PerceptualDiff-1.0.1.tar.gz) = 32344 bytes
+SHA1 (patch-ab) = f8cc81b1cfdcc7658216d354a917232ec285c64e
diff --git a/graphics/pdiff/patches/patch-aa b/graphics/pdiff/patches/patch-aa
deleted file mode 100644
index ed62eac036b..00000000000
--- a/graphics/pdiff/patches/patch-aa
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-aa,v 1.1 2007/02/23 17:39:51 wiz Exp $
-
---- RGBAImage.cpp.orig 2007-01-19 09:39:04.000000000 +0000
-+++ RGBAImage.cpp
-@@ -114,7 +114,7 @@ RGBAImage* RGBAImage::ReadPNG(char *file
- }
- }
-
-- png_read_destroy(png_ptr, info_ptr, end_info);
-+ png_destroy_read_struct(&png_ptr, &info_ptr, &end_info);
- return fimg;
- }
-
diff --git a/graphics/pdiff/patches/patch-ab b/graphics/pdiff/patches/patch-ab
new file mode 100644
index 00000000000..68deeaec307
--- /dev/null
+++ b/graphics/pdiff/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1 2007/03/24 20:17:58 heinz Exp $
+
+--- CMakeLists.txt.orig 2007-03-16 07:17:17.000000000 +0100
++++ CMakeLists.txt
+@@ -4,7 +4,7 @@ CompareArgs.cpp Metric.cpp)
+
+ ADD_EXECUTABLE (perceptualdiff ${DIFF_SRC})
+
+-INSTALL(FILES perceptualdiff DESTINATION bin)
++INSTALL(TARGETS perceptualdiff DESTINATION bin)
+
+ # look for libtiff
+ FIND_PATH(TIFF_INCLUDE_DIR tiff.h