Skip to content

Commit

Permalink
Update to 0.2.5:
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
wiz committed May 2, 2010
1 parent 263c46e commit 4689da1
Show file tree
Hide file tree
Showing 6 changed files with 25 additions and 39 deletions.
6 changes: 3 additions & 3 deletions graphics/lensfun/Makefile
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
Expand Down
11 changes: 7 additions & 4 deletions graphics/lensfun/PLIST
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -80,21 +79,25 @@ 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
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
Expand Down
13 changes: 6 additions & 7 deletions graphics/lensfun/distinfo
Original file line number Diff line number Diff line change
@@ -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
10 changes: 5 additions & 5 deletions graphics/lensfun/patches/patch-ab
Original file line number Diff line number Diff line change
@@ -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
Expand Down
16 changes: 0 additions & 16 deletions graphics/lensfun/patches/patch-ac

This file was deleted.

8 changes: 4 additions & 4 deletions graphics/lensfun/patches/patch-ad
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
$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])
- str_len += 1 + strlen (str + str_len + 1);
+ str_len += 2 + strlen (str + str_len + 1);
}

gchar *ret = (char *)g_malloc (str_len);
if (!lang)

0 comments on commit 4689da1

Please sign in to comment.