NEW: graphics/lensfun

View: New views
1 Messages — Rating Filter:   Alert me  

NEW: graphics/lensfun

by Stuart Henderson :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

-- -- --
lensfun is a library and database of photographic lenses to adjust
images for lens characteristics, e.g. distortion, transversal (also
known as lateral) chromatic aberrations, vignetting and colour
contribution of the lens.
-- -- --

Can anyone do at least some build tests of lensfun please? More
detailed test reports/comments are of course welcome.

This package includes the tmod sample app which lets you apply
corrections from the command-line, but it's probably easier to use
the diff for ufraw (inline below) and build a package with the
lensfun flavour. (lensfun has recently been enabled by default
in development versions of ufraw).

Index: Makefile
===================================================================
RCS file: /cvs/ports/graphics/ufraw/Makefile,v
retrieving revision 1.20
diff -u -p -r1.20 Makefile
--- Makefile 21 Oct 2009 22:44:52 -0000 1.20
+++ Makefile 9 Nov 2009 17:46:32 -0000
@@ -40,4 +40,12 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}
  LDFLAGS="-L${LOCALBASE}/lib -pthread"
 CONFIGURE_ARGS= --enable-extras
 
+FLAVORS= lensfun
+FLAVOR?=
+
+.if ${FLAVOR:L:Mlensfun}
+CONFIGURE_ARGS+= --with-lensfun
+LIB_DEPENDS+= lensfun::graphics/lensfun
+.endif
+
 .include <bsd.port.mk>


lensfun.tgz (4K) Download Attachment