pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/graphics/lensfun add lensfun-0.2.3, a library to corre...
details: https://anonhg.NetBSD.org/pkgsrc/rev/737b16afecd7
branches: trunk
changeset: 395632:737b16afecd7
user: drochner <drochner%pkgsrc.org@localhost>
date: Thu Jul 09 19:44:50 2009 +0000
description:
add lensfun-0.2.3, a library to correct photographic lens distortions,
from wiz per pkgsrc-wip
diffstat:
graphics/lensfun/DESCR | 16 +++++
graphics/lensfun/Makefile | 34 ++++++++++++
graphics/lensfun/PLIST | 105 ++++++++++++++++++++++++++++++++++++++
graphics/lensfun/buildlink3.mk | 14 +++++
graphics/lensfun/distinfo | 7 ++
graphics/lensfun/patches/patch-aa | 14 +++++
graphics/lensfun/patches/patch-ab | 19 ++++++
7 files changed, 209 insertions(+), 0 deletions(-)
diffs (237 lines):
diff -r 4a2306788c0e -r 737b16afecd7 graphics/lensfun/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/lensfun/DESCR Thu Jul 09 19:44:50 2009 +0000
@@ -0,0 +1,16 @@
+The goal of the lensfun library is to provide a open source database
+of photographic lenses and their characteristics. In the past there
+was a effort in this direction, but then author decided to take
+the commercial route and the database froze at the last public
+stage. This database was used as the basement on which lensfun
+database grew, thanks to PTLens author which gave his permission
+for this, while the code was totally rewritten from scratch (and
+the database was converted to a totally new, XML-based format).
+
+The lensfun library not only provides a way to read the database
+and search for specific things in it, but also provides a set of
+algorithms for correcting images based on detailed knowledge of
+lens properties. Right now lensfun is designed to correct distortion,
+transversal (also known as lateral) chromatic aberrations, vignetting
+and colour contribution of the lens (e.g. when sometimes people
+says one lens gives "yellowish" images and another, say, "bluish").
diff -r 4a2306788c0e -r 737b16afecd7 graphics/lensfun/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/lensfun/Makefile Thu Jul 09 19:44:50 2009 +0000
@@ -0,0 +1,34 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/07/09 19:44:50 drochner Exp $
+#
+
+DISTNAME= lensfun-0.2.3
+CATEGORIES= graphics
+MASTER_SITES= http://download.berlios.de/lensfun/ \
+ http://download2.berlios.de/lensfun/
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= http://lensfun.berlios.de/
+COMMENT= Library for rectifying defects introduced by photographic equipment
+LICENSE= gnu-lgpl-v3
+
+BUILD_DEPENDS+= doxygen>=1.5.7.1:../../devel/doxygen
+BUILD_DEPENDS+= makedepend-[0-9]*:../../devel/makedepend
+
+HAS_CONFIGURE= yes
+CONFIGURE_ARGS+= --prefix=${PREFIX} --libdir=${PREFIX}/lib
+CONFIG_SHELL= ${PYTHONBIN}
+MAKE_FILE= GNUmakefile
+PYTHON_FOR_BUILD_ONLY= yes
+REPLACE_PYTHON= configure
+USE_LANGUAGES= c c++
+USE_TOOLS+= gmake pkg-config
+PKGCONFIG_OVERRIDE= libs/lensfun/lensfun.pc.in
+PKG_DESTDIR_SUPPORT= user-destdir
+
+.include "../../devel/glib2/buildlink3.mk"
+# png: for test programs only
+.include "../../graphics/png/buildlink3.mk"
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../lang/python/application.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 4a2306788c0e -r 737b16afecd7 graphics/lensfun/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/lensfun/PLIST Thu Jul 09 19:44:50 2009 +0000
@@ -0,0 +1,105 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2009/07/09 19:44:50 drochner 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/annotated.html
+share/doc/${PKGNAME}/manual/basearch.html
+share/doc/${PKGNAME}/manual/cc-by-ca.html
+share/doc/${PKGNAME}/manual/classes.html
+share/doc/${PKGNAME}/manual/credits.html
+share/doc/${PKGNAME}/manual/database.html
+share/doc/${PKGNAME}/manual/dbformat.html
+share/doc/${PKGNAME}/manual/dbsearch.html
+share/doc/${PKGNAME}/manual/doxygen.css
+share/doc/${PKGNAME}/manual/doxygen.png
+share/doc/${PKGNAME}/manual/el_camera.html
+share/doc/${PKGNAME}/manual/el_lens.html
+share/doc/${PKGNAME}/manual/el_mount.html
+share/doc/${PKGNAME}/manual/elem_calibration.html
+share/doc/${PKGNAME}/manual/example_8c-example.html
+share/doc/${PKGNAME}/manual/examples.html
+share/doc/${PKGNAME}/manual/files.html
+share/doc/${PKGNAME}/manual/filldb.html
+share/doc/${PKGNAME}/manual/functions.html
+share/doc/${PKGNAME}/manual/functions_func.html
+share/doc/${PKGNAME}/manual/functions_vars.html
+share/doc/${PKGNAME}/manual/globals.html
+share/doc/${PKGNAME}/manual/globals_defs.html
+share/doc/${PKGNAME}/manual/globals_enum.html
+share/doc/${PKGNAME}/manual/globals_eval.html
+share/doc/${PKGNAME}/manual/globals_func.html
+share/doc/${PKGNAME}/manual/globals_type.html
+share/doc/${PKGNAME}/manual/gpl.html
+share/doc/${PKGNAME}/manual/group__Auxiliary.html
+share/doc/${PKGNAME}/manual/group__Camera.html
+share/doc/${PKGNAME}/manual/group__Correction.html
+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/lgpl.html
+share/doc/${PKGNAME}/manual/license.html
+share/doc/${PKGNAME}/manual/modules.html
+share/doc/${PKGNAME}/manual/pages.html
+share/doc/${PKGNAME}/manual/programming.html
+share/doc/${PKGNAME}/manual/samplecode.html
+share/doc/${PKGNAME}/manual/structlfCamera-members.html
+share/doc/${PKGNAME}/manual/structlfCamera.html
+share/doc/${PKGNAME}/manual/structlfDatabase-members.html
+share/doc/${PKGNAME}/manual/structlfDatabase.html
+share/doc/${PKGNAME}/manual/structlfLens-members.html
+share/doc/${PKGNAME}/manual/structlfLens.html
+share/doc/${PKGNAME}/manual/structlfLensCalibDistortion-members.html
+share/doc/${PKGNAME}/manual/structlfLensCalibDistortion.html
+share/doc/${PKGNAME}/manual/structlfLensCalibTCA-members.html
+share/doc/${PKGNAME}/manual/structlfLensCalibTCA.html
+share/doc/${PKGNAME}/manual/structlfLensCalibVignetting-members.html
+share/doc/${PKGNAME}/manual/structlfLensCalibVignetting.html
+share/doc/${PKGNAME}/manual/structlfModifier-members.html
+share/doc/${PKGNAME}/manual/structlfModifier.html
+share/doc/${PKGNAME}/manual/structlfMount-members.html
+share/doc/${PKGNAME}/manual/structlfMount.html
+share/doc/${PKGNAME}/manual/structlfParameter-members.html
+share/doc/${PKGNAME}/manual/structlfParameter.html
+share/doc/${PKGNAME}/manual/tab_b.gif
+share/doc/${PKGNAME}/manual/tab_l.gif
+share/doc/${PKGNAME}/manual/tab_r.gif
+share/doc/${PKGNAME}/manual/tabs.css
+share/doc/${PKGNAME}/manual/tfun_8cpp-example.html
+share/doc/${PKGNAME}/manual/tmod_8cpp-example.html
+share/lensfun/6x6.xml
+share/lensfun/compact-canon.xml
+share/lensfun/compact-casio.xml
+share/lensfun/compact-fujifilm.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-sony.xml
+share/lensfun/generic.xml
+share/lensfun/rf-leica.xml
+share/lensfun/slr-canon.xml
+share/lensfun/slr-contax.xml
+share/lensfun/slr-konica-minolta.xml
+share/lensfun/slr-nikon.xml
+share/lensfun/slr-olympus.xml
+share/lensfun/slr-pentax.xml
+share/lensfun/slr-samsung.xml
+share/lensfun/slr-schneider.xml
+share/lensfun/slr-sigma.xml
+share/lensfun/slr-sony.xml
+share/lensfun/slr-tamron.xml
+share/lensfun/slr-tokina.xml
+share/lensfun/slr-ussr.xml
diff -r 4a2306788c0e -r 737b16afecd7 graphics/lensfun/buildlink3.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/lensfun/buildlink3.mk Thu Jul 09 19:44:50 2009 +0000
@@ -0,0 +1,14 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2009/07/09 19:44:50 drochner Exp $
+
+BUILDLINK_TREE+= lensfun
+
+.if !defined(LENSFUN_BUILDLINK3_MK)
+LENSFUN_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.lensfun+= lensfun>=0.2.2b
+BUILDLINK_PKGSRCDIR.lensfun?= ../../graphics/lensfun
+
+.include "../../devel/glib2/buildlink3.mk"
+.endif # LENSFUN_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -lensfun
diff -r 4a2306788c0e -r 737b16afecd7 graphics/lensfun/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/lensfun/distinfo Thu Jul 09 19:44:50 2009 +0000
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1.1.1 2009/07/09 19:44:50 drochner Exp $
+
+SHA1 (lensfun-0.2.3.tar.bz2) = 4cb8fb4ce9c439ec7a3447d7fd35dfd5b73253ce
+RMD160 (lensfun-0.2.3.tar.bz2) = 310f89638df275472ee38d4ac61b3a623db94f5f
+Size (lensfun-0.2.3.tar.bz2) = 151189 bytes
+SHA1 (patch-aa) = d31dd742f232aa8a75f50f14f782918ba11a8119
+SHA1 (patch-ab) = ba0dc39c95ef40f62cd8be2c37e17753a87de8ed
diff -r 4a2306788c0e -r 737b16afecd7 graphics/lensfun/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/lensfun/patches/patch-aa Thu Jul 09 19:44:50 2009 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-aa,v 1.1.1.1 2009/07/09 19:44:50 drochner Exp $
+
+--- tools/makedep/main.cpp.orig 2008-05-20 11:36:18.000000000 +0000
++++ tools/makedep/main.cpp
+@@ -40,6 +40,9 @@
+
+ #include "def.h"
+
++/* assume that in pkgsrc, we're only POSIX systems */
++#define _POSIX_SOURCE
++
+ #ifdef hpux
+ #define sigvec sigvector
+ #endif /* hpux */
diff -r 4a2306788c0e -r 737b16afecd7 graphics/lensfun/patches/patch-ab
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/lensfun/patches/patch-ab Thu Jul 09 19:44:50 2009 +0000
@@ -0,0 +1,19 @@
+$NetBSD: patch-ab,v 1.1.1.1 2009/07/09 19:44:50 drochner Exp $
+
+--- build/mak/host/posix.mak.orig 2008-07-14 21:23:30.000000000 +0200
++++ build/mak/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
+ endef
+
+ # $1 - directory, $2 - target dir, $3 - mode for files
+ define SINGLE.INSTALLDIR
+ if [ ! -d $2 ]; then install -m 0755 -d $2; fi
+- cp -drP $1* $2
++ cp -r $1* $2
+ find $2 -type f -print0 | xargs -0 chmod $3
+ endef
Home |
Main Index |
Thread Index |
Old Index