BSD Ports

graphics/lensfun 0.3.95_4 FreeBSD

Library for fixing lens geometry distortions

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
c3ee823961
License
GPLv3, LGPL3, CC-BY-SA-3.0, PD
Categories
graphics
Package size
360.4 KiB, 3107.4 KiB installed

Description

The goal of the lensfun library is to provide an open source database of photographic lenses and their characteristics. In the past there was an effort in this direction (see http://www.epaperpress.com/ptlens/), 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 lens database and search for specific things in it, but also offers a set of algorithms for correcting images based on detailed knowledge of lens properties and calibration data. 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").

In the other systems

SystemPortVersion
FreeBSDgraphics/lensfun0.3.95_4
OpenBSDgraphics/lensfun0.3.4p0
NetBSDgraphics/lensfun0.3.4nb3
DragonFlygraphics/lensfun0.3.95_4

Install

Binary package:

pkg install lensfun

From the ports tree:

cd /usr/ports/graphics/lensfun/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	lensfun>0:graphics/lensfun
LIB_DEPENDS=	liblensfun.so:graphics/lensfun

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.3.95_40.3.95_40.3.95_20.3.95_40.3.95_4
FreeBSD:14:quarterly0.3.95_40.3.95_4n/a0.3.95_40.3.95_4
FreeBSD:15:latest0.3.95_40.3.95_4n/a0.3.95_40.3.95_4
FreeBSD:15:quarterly0.3.95_40.3.95_4n/an/an/a
FreeBSD:16:latest0.3.95_40.3.95_4n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Library 1

Test 1

The full lists below include those, and their dependencies in turn.

Build dependencies 26
Run dependencies 16

Configuration

Options name: graphics_lensfun

OptionDefaultDescription
PYHELPERSonInstall database helper Python scripts
SIMDonUse CPU-specific optimizations
USES
cmake compiler:c++11-lang gettext-runtime gnome pkgconfig shebangfix
Service scripts
none

Files

pkg-plist 72
  • bin/g-lensfun-update-data
  • bin/lensfun-add-adapter
  • bin/lensfun-convert-lcp
  • bin/lensfun-update-data
  • bin/lenstool
  • include/lensfun/lensfun.h
  • lib/liblensfun.so
  • lib/liblensfun.so.2
  • lib/liblensfun.so.0.3.95
  • libdata/pkgconfig/lensfun.pc
  • share/lensfun/version_2/6x6.xml
  • share/lensfun/version_2/actioncams.xml
  • share/lensfun/version_2/compact-canon.xml
  • share/lensfun/version_2/compact-casio.xml
  • share/lensfun/version_2/compact-fujifilm.xml
  • share/lensfun/version_2/compact-kodak.xml
  • share/lensfun/version_2/compact-konica-minolta.xml
  • share/lensfun/version_2/compact-leica.xml
  • share/lensfun/version_2/compact-nikon.xml
  • share/lensfun/version_2/compact-olympus.xml
  • share/lensfun/version_2/compact-panasonic.xml
  • share/lensfun/version_2/compact-pentax.xml
  • share/lensfun/version_2/compact-ricoh.xml
  • share/lensfun/version_2/compact-samsung.xml
  • share/lensfun/version_2/compact-sigma.xml
  • share/lensfun/version_2/compact-sony.xml
  • share/lensfun/version_2/contax.xml
  • share/lensfun/version_2/generic.xml
  • share/lensfun/version_2/lensfun-database.dtd
  • share/lensfun/version_2/lensfun-database.xsd
  • share/lensfun/version_2/mil-canon.xml
  • share/lensfun/version_2/mil-fujifilm.xml
  • share/lensfun/version_2/mil-nikon.xml
  • share/lensfun/version_2/mil-olympus.xml
  • share/lensfun/version_2/mil-panasonic.xml
  • share/lensfun/version_2/mil-pentax.xml
  • share/lensfun/version_2/mil-samsung.xml
  • share/lensfun/version_2/mil-samyang.xml
  • share/lensfun/version_2/mil-sigma.xml
  • share/lensfun/version_2/mil-sony.xml
  • share/lensfun/version_2/mil-tamron.xml
  • share/lensfun/version_2/mil-tokina.xml
  • share/lensfun/version_2/mil-zeiss.xml
  • share/lensfun/version_2/misc.xml
  • share/lensfun/version_2/rf-leica.xml
  • share/lensfun/version_2/slr-canon.xml
  • share/lensfun/version_2/slr-hasselblad.xml
  • share/lensfun/version_2/slr-konica-minolta.xml
  • share/lensfun/version_2/slr-leica.xml
  • share/lensfun/version_2/slr-nikon.xml
  • share/lensfun/version_2/slr-olympus.xml
  • share/lensfun/version_2/slr-panasonic.xml
  • share/lensfun/version_2/slr-pentax.xml
  • share/lensfun/version_2/slr-ricoh.xml
  • share/lensfun/version_2/slr-samsung.xml
  • share/lensfun/version_2/slr-samyang.xml
  • share/lensfun/version_2/slr-schneider.xml
  • share/lensfun/version_2/slr-sigma.xml
  • share/lensfun/version_2/slr-soligor.xml
  • share/lensfun/version_2/slr-sony.xml
  • share/lensfun/version_2/slr-tamron.xml
  • share/lensfun/version_2/slr-tokina.xml
  • share/lensfun/version_2/slr-ussr.xml
  • share/lensfun/version_2/slr-vivitar.xml
  • share/lensfun/version_2/slr-zeiss.xml
  • share/lensfun/version_2/timestamp.txt
  • %%PYTHON_SITELIBDIR%%/lensfun-0.3.95-py.egg-info/PKG-INFO
  • %%PYTHON_SITELIBDIR%%/lensfun-0.3.95-py.egg-info/SOURCES.txt
  • %%PYTHON_SITELIBDIR%%/lensfun-0.3.95-py.egg-info/dependency_links.txt
  • %%PYTHON_SITELIBDIR%%/lensfun-0.3.95-py.egg-info/top_level.txt
  • %%PYTHON_SITELIBDIR%%/lensfun/__init__.py
  • %%PYTHON_SITELIBDIR%%/lensfun/__pycache__/__init__.cpython-.pyc
distinfo 2
FileSizeSHA256
lensfun-0.3.95.tar.gz2.731561e+0682c29c833c1604c48ca3ab8a35e86b7189b8effac1b1476095c0529afb702808
6142618a17d29c396d595ede3d0bdd5c648f3c2e.diff2166435398e5848bc9e04054d7601f8460346e3ae6e9ac5c46623dc6e6dd32cc9227
Master sites 1
  • SF/lensfun/0.3.95

Commit history 2

DateCommitCreditsLog message
c3ee823961 Alexey Dokuchaev graphics/lensfun: add missing TEST_DEPENDS, amend SHEBANG_FILES
Fix a minor mistake made in the previously committed patch: because path is PREFIX-relative, it could be spelled simply as "DESTINATION libdata/pkgconfig" which makes the line shorter and more readable.
a9539de323 Alexey Dokuchaev graphics/lensfun: unbreak the port's build against CMake 4.x
While here, merge USES+=pathfix into already existing patch to reduce the number of post-edit backups files. PR: 298953