summaryrefslogtreecommitdiff
path: root/graphics/lensfun
diff options
context:
space:
mode:
authorwiz <wiz>2010-05-02 11:39:31 +0000
committerwiz <wiz>2010-05-02 11:39:31 +0000
commite7bd20b1c152c14078cc9c5845c306a3c8263dc6 (patch)
tree2e24f878a3ed06bf63978ca6e89dce05c80e215f /graphics/lensfun
parentb70eff0bc2704b849784b3a1dcb082b4df3d0ea5 (diff)
downloadpkgsrc-e7bd20b1c152c14078cc9c5845c306a3c8263dc6.tar.gz
Update to 0.2.5:
This release not only publishes all database additions that were contributed in the last half of year, but also introduces several new improvements in the library itself. * As always, many new lenses/camera were added to the database * Support for cross-platform compilation using cross-mingw32 (build instructions in README). * Some bugs were fixed in the library, related to memory allocation. Now lensfun should be valgrind-clean. * Fixed a nasty bug in lfDatabase::FindLenses() that would always use fuzzy search (even if you would ask for a 100% match). Your applications may chease to "find" lenses if they relied on this bug. Just add the LF_SEARCH_LOOSE flag as the last parameter to return the old behaviour. * Fixed another bug in search logic that sometimes would mark unappropiate results with very high scores (esp. when little search keywords are given). Now search should work much better. * New TCA correction algorithm: LF_TCA_MODEL_POLY3 ("poly3" in database). This is almost the algorithm used by Hugin except the highest-order power (r^4). This should allow users to use tca_correct to compute TCA parameters. * Fixed the LF_TCA_MODEL_LINEAR - it used 1/k where it was expected to use k. This is the 'v' parameter of Hugin TCA model, and previously users had to invert v to get k; now they can just use v. * New lens calibration tutorial, using Hugin. * Some SSE & SSE2 support from Klaus Post with runtime CPU features detection.
Diffstat (limited to 'graphics/lensfun')
-rw-r--r--graphics/lensfun/Makefile6
-rw-r--r--graphics/lensfun/PLIST11
-rw-r--r--graphics/lensfun/distinfo13
-rw-r--r--graphics/lensfun/patches/patch-ab10
-rw-r--r--graphics/lensfun/patches/patch-ac16
-rw-r--r--graphics/lensfun/patches/patch-ad8
6 files changed, 25 insertions, 39 deletions
diff --git a/graphics/lensfun/Makefile b/graphics/lensfun/Makefile
index a29bd6e02fe..c72ef7f2408 100644
--- a/graphics/lensfun/Makefile
+++ b/graphics/lensfun/Makefile
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.5 2010/01/21 22:41:23 wiz Exp $
+# $NetBSD: Makefile,v 1.6 2010/05/02 11:39:31 wiz Exp $
#
-DISTNAME= lensfun-0.2.4
-PKGREVISION= 1
+DISTNAME= lensfun-0.2.5
CATEGORIES= graphics
MASTER_SITES= http://download.berlios.de/lensfun/
EXTRACT_SUFX= .tar.bz2
@@ -17,6 +16,7 @@ BUILD_DEPENDS+= makedepend-[0-9]*:../../devel/makedepend
HAS_CONFIGURE= yes
CONFIGURE_ARGS+= --prefix=${PREFIX} --libdir=${PREFIX}/lib
+CONFIGURE_ARGS+= --vectorization=
CONFIG_SHELL= ${PYTHONBIN}
MAKE_FILE= GNUmakefile
PYTHON_FOR_BUILD_ONLY= yes
diff --git a/graphics/lensfun/PLIST b/graphics/lensfun/PLIST
index eec90a8181c..2d04aa260ea 100644
--- a/graphics/lensfun/PLIST
+++ b/graphics/lensfun/PLIST
@@ -1,14 +1,13 @@
-@comment $NetBSD: PLIST,v 1.3 2010/01/21 22:41:23 wiz Exp $
+@comment $NetBSD: PLIST,v 1.4 2010/05/02 11:39:31 wiz Exp $
include/lensfun.h
lib/liblensfun.so
-lib/liblensfun.so.0
-lib/liblensfun.so.${PKGVERSION}
lib/pkgconfig/lensfun.pc
share/doc/${PKGNAME}/README
share/doc/${PKGNAME}/cc-by-sa-3.0.txt
share/doc/${PKGNAME}/gpl-3.0.txt
share/doc/${PKGNAME}/lgpl-3.0.txt
share/doc/${PKGNAME}/manual/addcamera.html
+share/doc/${PKGNAME}/manual/addlens.html
share/doc/${PKGNAME}/manual/annotated.html
share/doc/${PKGNAME}/manual/basearch.html
share/doc/${PKGNAME}/manual/cc-by-ca.html
@@ -44,8 +43,8 @@ share/doc/${PKGNAME}/manual/group__Database.html
share/doc/${PKGNAME}/manual/group__Lens.html
share/doc/${PKGNAME}/manual/group__Mount.html
share/doc/${PKGNAME}/manual/index.html
-share/doc/${PKGNAME}/manual/lensfun_8h_source.html
share/doc/${PKGNAME}/manual/lensfun_8h.html
+share/doc/${PKGNAME}/manual/lensfun_8h_source.html
share/doc/${PKGNAME}/manual/lgpl.html
share/doc/${PKGNAME}/manual/license.html
share/doc/${PKGNAME}/manual/modules.html
@@ -80,6 +79,7 @@ share/lensfun/6x6.xml
share/lensfun/compact-canon.xml
share/lensfun/compact-casio.xml
share/lensfun/compact-fujifilm.xml
+share/lensfun/compact-kodak.xml
share/lensfun/compact-konica-minolta.xml
share/lensfun/compact-leica.xml
share/lensfun/compact-nikon.xml
@@ -87,14 +87,17 @@ share/lensfun/compact-olympus.xml
share/lensfun/compact-panasonic.xml
share/lensfun/compact-pentax.xml
share/lensfun/compact-ricoh.xml
+share/lensfun/compact-sigma.xml
share/lensfun/compact-sony.xml
share/lensfun/generic.xml
share/lensfun/rf-leica.xml
share/lensfun/slr-canon.xml
share/lensfun/slr-contax.xml
+share/lensfun/slr-hasselblad.xml
share/lensfun/slr-konica-minolta.xml
share/lensfun/slr-nikon.xml
share/lensfun/slr-olympus.xml
+share/lensfun/slr-panasonic.xml
share/lensfun/slr-pentax.xml
share/lensfun/slr-samsung.xml
share/lensfun/slr-schneider.xml
diff --git a/graphics/lensfun/distinfo b/graphics/lensfun/distinfo
index ac647f1b551..38c85b3c9d0 100644
--- a/graphics/lensfun/distinfo
+++ b/graphics/lensfun/distinfo
@@ -1,9 +1,8 @@
-$NetBSD: distinfo,v 1.2 2009/11/24 11:19:03 drochner Exp $
+$NetBSD: distinfo,v 1.3 2010/05/02 11:39:31 wiz Exp $
-SHA1 (lensfun-0.2.4.tar.bz2) = e756332d406df78edbe9d15bec9c4f697f8a0d4b
-RMD160 (lensfun-0.2.4.tar.bz2) = f33d36c602da323c9d089b16cf3c2e32863654bb
-Size (lensfun-0.2.4.tar.bz2) = 207877 bytes
+SHA1 (lensfun-0.2.5.tar.bz2) = 7e8568cb131b6e2090264274483721a959f6b9bc
+RMD160 (lensfun-0.2.5.tar.bz2) = 2f421cefb65d271b937e3d61f41f8536fd078971
+Size (lensfun-0.2.5.tar.bz2) = 470733 bytes
SHA1 (patch-aa) = d31dd742f232aa8a75f50f14f782918ba11a8119
-SHA1 (patch-ab) = ba0dc39c95ef40f62cd8be2c37e17753a87de8ed
-SHA1 (patch-ac) = 7d732c80cce9531742f4baf38e7ca160ee518b88
-SHA1 (patch-ad) = e9dab3103aaeb19ebbd97fc519c1bb3dad1c260c
+SHA1 (patch-ab) = 5455bda9546dce6cc5b4a73429092afdee04bd23
+SHA1 (patch-ad) = f9d54534d3be809e8517ec262e776c9d1785acd8
diff --git a/graphics/lensfun/patches/patch-ab b/graphics/lensfun/patches/patch-ab
index 7604a194841..67346cd2813 100644
--- a/graphics/lensfun/patches/patch-ab
+++ b/graphics/lensfun/patches/patch-ab
@@ -1,13 +1,13 @@
-$NetBSD: patch-ab,v 1.1.1.1 2009/07/09 19:44:50 drochner Exp $
+$NetBSD: patch-ab,v 1.2 2010/05/02 11:39:31 wiz Exp $
---- build/mak/host/posix.mak.orig 2008-07-14 21:23:30.000000000 +0200
-+++ build/mak/host/posix.mak
+--- build/tibs/host/posix.mak.orig 2010-03-22 20:32:47.000000000 +0000
++++ build/tibs/host/posix.mak
@@ -5,12 +5,12 @@ SHELL := /bin/sh
# $1 - file, $2 - target dir, $3 - mode
define SINGLE.INSTALL
if [ ! -d $2 ]; then install -m 0755 -d $2; fi
-- if [ -L $1 ]; then cp -d $1 $2$(notdir $1); else install -m $3 $1 $2$(notdir $1); fi
-+ if [ -L $1 ]; then cp $1 $2$(notdir $1); else install -m $3 $1 $2$(notdir $1); fi
+- if [ -L $1 ]; then cp -d $1 $(patsubst %/,%,$2)/$(notdir $1); else install -m $3 $1 $(patsubst %/,%,$2)/$(notdir $1); fi
++ if [ -L $1 ]; then cp $1 $(patsubst %/,%,$2)/$(notdir $1); else install -m $3 $1 $(patsubst %/,%,$2)/$(notdir $1); fi
endef
# $1 - directory, $2 - target dir, $3 - mode for files
diff --git a/graphics/lensfun/patches/patch-ac b/graphics/lensfun/patches/patch-ac
deleted file mode 100644
index e6851c680b7..00000000000
--- a/graphics/lensfun/patches/patch-ac
+++ /dev/null
@@ -1,16 +0,0 @@
-$NetBSD: patch-ac,v 1.1 2009/11/24 11:19:03 drochner Exp $
-
---- build/mak/compiler/doxygen.mak.orig 2009-10-14 23:26:16.000000000 +0200
-+++ build/mak/compiler/doxygen.mak
-@@ -14,9 +14,9 @@ XFNAME.DOXYGEN = $(addprefix $(OUT)docs/
- # $2 - output directory
- define BUILD.DOXYGEN
- $(call MKDIR,$2)
-- sed $1 \
-+ sed \
- -e 's,@CONF_VERSION@,$(CONF_VERSION),' \
-- -e 's,@OUT@,$2,' | doxygen -
-+ -e 's,@OUT@,$2,' $1 | doxygen -
- $(if $(DOXYGEN.$3),$(call DOXYGEN.$3,$3,$2))
- endef
-
diff --git a/graphics/lensfun/patches/patch-ad b/graphics/lensfun/patches/patch-ad
index c9a11f089b0..40b2d9d3aaa 100644
--- a/graphics/lensfun/patches/patch-ad
+++ b/graphics/lensfun/patches/patch-ad
@@ -1,8 +1,8 @@
-$NetBSD: patch-ad,v 1.1 2009/11/24 11:19:03 drochner Exp $
+$NetBSD: patch-ad,v 1.2 2010/05/02 11:39:31 wiz Exp $
---- libs/lensfun/auxfun.cpp.orig 2009-10-14 23:26:18.000000000 +0200
+--- libs/lensfun/auxfun.cpp.orig 2010-03-14 18:47:00.000000000 +0000
+++ libs/lensfun/auxfun.cpp
-@@ -127,7 +127,7 @@ LF_EXPORT lfMLstr lf_mlstr_dup (const lf
+@@ -90,7 +90,7 @@ LF_EXPORT lfMLstr lf_mlstr_add (lfMLstr
{
str_len = strlen (str) + 1;
while (str [str_len])
@@ -10,4 +10,4 @@ $NetBSD: patch-ad,v 1.1 2009/11/24 11:19:03 drochner Exp $
+ str_len += 2 + strlen (str + str_len + 1);
}
- gchar *ret = (char *)g_malloc (str_len);
+ if (!lang)