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").
===> The following configuration options are available for lensfun-0.3.95_4:
PYHELPERS=on: Install database helper Python scripts
SIMD=on: Use CPU-specific optimizations
===> Use 'make config' to modify these settings
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.
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
python: bump all USE_PYTHON=distutils consumers after RUN_DEPENDS removal
Any missed ports, feel free to bump.
Any ports that need setuptools at runtime can have the devel/py-setuptools
manually added back to RUN_DEPENDS, but understand that this practice
is deprecated; see CHANGES for details.
graphics/lensfun: Add patch to fix segfaults in lensfun
Apply unreleased lensfun commit 6142618 as a patch to
fix segfaults in lensfun when processing Nikon D750 NEF
raw files with ufraw.
PR: 278565
Reported by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
Tested by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
Approved by: danfe (maintainer)
all: remove explicit versions in USES=python for "3.x+"
The logic in USES=python will automatically convert this to 3.8+ by
itself.
Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.
finance/quickfix: mark BROKEN with PYTHON
libtool: compile: c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++
-DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable
-Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong
-fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi
-Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings
-Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x
-MT _quickfix_la-QuickfixPython.lo -MD -MP -MF
.deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp -fPIC -DPIC -o
.libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
^~~~~~~~~~
1 warning and 1 error generated.
Reviewed by: portmgr, vishwin, yuri
Differential Revision: <https://reviews.freebsd.org/D40568>
graphics/lensfun: fix packaging of the Python bits, enable test suite
Python bits require distutils which was missing from the dependencies
but often installed on user's machine, this breaking packaging.
Drop redundant PYTHON_SUFFIX from the PLIST_SUB while here and enable
the build of ancillary program (because why not).
PR: 265753
Submitted by: Gian-Simon Purkert
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
graphics: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* "Waitman Gobble" <uzimac@da3m0n8t3r.com>
* Aaron Dalton <aaron@FreeBSD.org>
* Abel Chow <ozsanh45vds001@sneakemail.com>
* Adam Weinberger <adamw@FreeBSD.org>
* Ade Lovett <ade@FreeBSD.org>
* Ade Lovett <ade@lovett.com>
* Akinori MUSHA aka knu <knu@idaemons.org>
* Aldis Berjoza <aldis@bsdroot.lv>
* Alex Hayward <xelah@xelah.com>
* Alex Ivasyuv <siegerstein@pochta.ru>
* Alex Samorukov <samm@os2.kiev.ua>
(Only the first 15 lines of the commit message are shown above )
lensfun: allocate buffers for AddMount()/AddCompat() large enough
...so that they can hold the terminating '\0' in C strings.
Found with clang's -fsanitize=address while debugging
RawTherapee 5.8 crashers.
Later found to be already fixed upstream here:
https://github.com/lensfun/lensfun/commit/de954c952929316ea2ad0f6f1e336d9d8164ace0
Not handed in for maintainer approval because obviously correct,
maintainer will be notified though.
Due to popular demand, update to the latest version 0.3.95 despite it's
still being officially alpha, although released 1.5 years ago. Current
version (0.3.2) was released in 2015 and does not cover a lot of modern
lenses and cameras, e.g. Nikon Z6.
Requested by: Stefan Thurner, Andrew Terekhov, et al.
Convert Python ports to FLAVORS.
Ports using USE_PYTHON=distutils are now flavored. They will
automatically get flavors (py27, py34, py35, py36) depending on what
versions they support.
There is also a USE_PYTHON=flavors for ports that do not use distutils
but need FLAVORS to be set. A USE_PYTHON=noflavors can be set if
using distutils but flavors are not wanted.
A new USE_PYTHON=optsuffix that will add PYTHON_PKGNAMESUFFIX has been
added to cope with Python ports that did not have the Python
PKGNAMEPREFIX but are flavored.
USES=python now also exports a PY_FLAVOR variable that contains the
(Only the first 15 lines of the commit message are shown above )
Install lensfun-update-database and l.-add-adapter.
This is masked by a default-enabled PYHELPERS option.
While here, add gettext-runtime to USES to appease stage-qa.
Approved by: danfe@
Differential Revision: D8993
Update lensfun to version 0.3.0. It contains few changes making consumer
code incompatible with earlier versions; particularly, removal of CCI (the
Color Contribution Index of the lens, as defined by ISO 6728-83) [1] and
FOV1 ("field-of-view") [2] distortion model.
Four ports had to be patched to build against new lensfun (all fall under
`graphics' category): digikam-kde4, gimp-lensfun-plugin, hugin, rawstudio.
PR: 196182
Submitted by: Matthieu Volat (heavily modified)
Exp-run by: antoine
[1] https://sourceforge.net/p/lensfun/code/ci/f0c293
[2] https://sourceforge.net/p/lensfun/code/ci/048eb3
- Update to version 0.2.8, another minor maintenance release, which brings
build system fixes and includes many new lens profiles (as always)
- Set MASTER_SITES back to BERLIOS; SF/lensfun.berlios does not provide
distfile for v0.2.8 (carries 13 distfiles; 0.2.2b -> 0.2.7)
- Convert USE_GMAKE, modernize LIB_DEPENDS, sort knobs, stagify while here
PR: ports/185424
Submitted by: Matthieu Volat
* Update the glib to 2.34.3 and gtk20 to 2.24.17 and gtk30 to 3.6.4 which
are the latest stable releases.
* Update vala to the newest stable release 0.18.1, also update a few ports
in the gtk/gnome stack.
* The c++ bindings ports for glib, atk, gconf, etc, have now USE_GNOME toggles.
* Remove pkg-config run depends from glib20 and freetype2. This doesn't
eliminate pkg-config run dependency completely, a second phase is needed
and is planned.
* Support for .:run. and .:build. for USE_GNOME components was added.
Currently only libxml2 and libxslt support this mechanism.
* Updates of the telepathy stack and empathy.
* Trim makefile headers, convert ports to new options, trim off library
versions for some ports.
* Fix other ports so they build with the new glib version.
Thanks to miwi and crees for helping out with some exp-runs.
Approved by: portmgr (miwi & bapt)
Obtained from: gnome team repo
- Change license: GPL only applies to binaries, which are not installed by
the port, so use more appropriate LGPL; this also brings us in line with
most of the GNU/Linux distributions
- Remove licenses and useless documentation (README file containing build
instructions); 95% of users do not interact with lensfun directly anyway
- Adjust Python dependency: it is only required during build time
- Enable verbose build (helps to study logs)
- Respect CXX/AR[*], CFLAGS; adjust COMMENT and Makefile header
- Fix symlink (do not use absolute path) and wrap overly long line
- Cleanup and sort pkg-plist
- Bump PORTREVISION after recent changes
PR: ports/163270 [*]
- Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead
PR: 157936
Submitted by: myself
Exp-runs by: pav
Approved by: pav
- Link the shared library and fix pkg-plist,
this should fix graphics/darktable build
PR: ports/149254
Pointed out by: stas
Approved by: Denis Barov <dindin AT dindin.ru>
(maintainer, earlier version patch)
lensfun is library for rectifying the defects introduced
by your photographic equipment.
WWW: http://lensfun.berlios.de/
PR: 134923
Submitted by: Denis Barov <dindin@dindin.ru>