LibRaw is a library for reading RAW files obtained from digital photo
cameras (CRW/CR2, NEF, RAF, DNG, and others).
LibRaw is based on the source codes of the dcraw utility, where part of
drawbacks have already been eliminated and part will be fixed in future.
The users of the library are provided with API to be built into their
software programs.
LibRaw is intended to be used in any software that involves RAW file
processing for a variety of purposes: RAW converters, data analyzers,
panorama stitchers, noise suppressors, etc.
===> The following configuration options are available for libraw-0.22.2:
DOCS=on: Build and/or install documentation
EXAMPLES=on: Build and/or install examples
JPEG=on: JPEG image format support
LCMS2=on: Little CMS 2.x support
OPENMP=off: Parallel processing support via OpenMP
OPTIMIZED_CFLAGS=off: Use extra compiler optimizations
RPIRAW=off: Raspberry Pi RAW+JPEG support
X3F=off: X3F (Foveon) support
===> Use 'make config' to modify these settings
graphics/libraw: Update to 0.22.2
Remove uselesss JASPER option after 0.22.0. This was a silent drop by
upstream, so we missed this in the last update. This was a non-default
option and will not affect most users.
https://www.libraw.org/news/libraw-0-22-2-release
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 )
graphics/libraw: link against libomp with OPENMP=on
Since 07fb2d5e9d00 consumers - most notably shotwell - crashed hard
on RAW file operations when libraw was built with OPENMP=on:
ld-elf.so.1: /usr/local/lib/libraw.so.20: Undefined symbol "__kmpc_fork_call"
adding -lomp to libraw's LDFLAGS (via OPENMP_LDFLAGS, so it stays
conditional) fixes the issue.
PR: 259904
Approved by: maintainer-timeout (jhale@)
Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.
PR: 238330
graphics/libraw: Update to 0.19.2
- Demosaic packs are no longer distributed nor supported upstream
- Bump PORTREVISON on all consumers due to libraw shlib version increase
Changes: https://www.libraw.org/news/libraw-0-19-2-release
Bump PORTREVISION for ports depending on the canonical version of GCC
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t
GCC 8.2 under most circumstances.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, as a double check, everything INDEX-11 showed depending on lang/gcc7.
PR: 231590
Bump PORTREVISION for ports depending on the canonical version of GCC
in the ports tree (via Mk/bsd.default-versions.mk and lang/gcc) which
has now moved from GCC 6 to GCC 7 by default.
This includes ports
- featuring USE_GCC=yes or USE_GCC=any,
- featuring USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and those
- with USES=compiler specifying one of openmp, nestedfct, c11, c++0x,
c++11-lib, c++11-lang, c++14-lang, c++17-lang, or gcc-c++11-lib.
PR: 222542
Update to 0.18.13
Remove restriction from OPTIMIZED_CFLAGS, it only adds the -O3 flag and
works just as well on amd64 from what I can tell.
Note: Demosaic packs were not updated upstream because there were no changes
made.
Changes: https://www.libraw.org/news/libraw-0-18-13
graphics/libraw: unbreak build with Clang 6 (C++14 by default)
In file included from src/libraw_cxx.cpp:5472:
src/../internal/libraw_x3f.cpp:1404:19: error: non-constant-expression cannot be
narrowed from type
'int' to 'int16_t' (aka 'short') in initializer list [-Wc++11-narrowing]
int16_t c[3] = {offset,offset,offset};
^~~~~~
src/../internal/libraw_x3f.cpp:1404:19: note: insert an explicit cast to silence
this issue
int16_t c[3] = {offset,offset,offset};
^~~~~~
static_cast<int16_t>( )
src/../internal/libraw_x3f.cpp:1404:26: error: non-constant-expression cannot be
narrowed from type
'int' to 'int16_t' (aka 'short') in initializer list [-Wc++11-narrowing]
int16_t c[3] = {offset,offset,offset};
^~~~~~
(Only the first 15 lines of the commit message are shown above )
Update to 0.18.5
This addresses CVE-2017-14265, CVE-2017-14348, and CVE-2017-14608
Use FreeBSD libc strnlen and strcasestr functions instead of bundled [1]
PR: 219029 [1]
Submitted by: mi [1]
MFH: 2017Q3
Security: 4cd857d9-26d2-4417-b765-69701938f9e0
Security: d9f96741-47bd-4426-9aba-8736c0971b24
Security: 02bee9ae-c5d1-409b-8a79-983a88861509
Bump PORTREVISION for ports depending on the canonical version of GCC
(via Mk/bsd.default-versions.mk and lang/gcc) which has moved from
GCC 5.4 to GCC 6.4 under most circumstances.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c++11-lib, c++11-lang,
c++14-lang, c++0x, c11, or gcc-c++11-lib.
PR: 219275
Bump PORTREVISIONs for ports depending on the canonical version of GCC and
lang/gcc which have moved from GCC 4.9.4 to GCC 5.4 (at least under some
circumstances such as versions of FreeBSD or platforms).
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using using Mk/bsd.octave.mk which in turn has USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c++11-lib, c++14-lang,
c++11-lang, c++0x, c11, or gcc-c++11-lib.
PR: 216707
- Update graphics/libraw to 0.18.0
- Complete conversion to options helpers
- Add options for JPEG and JASPER support
- Side note: This had a dependency on jpeg before, so the JPEG
option default is ON. However, the configure script wasn't
detecting it previously.
- Silence MKDIRs
- Take maintainership
- Chase shared library bump
Changes: http://www.libraw.org/download#changelog
Update to 0.17.1.
This is a small update that fixes two security vulnerabilities,
CVE-2015-8366 and CVE-2015-8367.
Security: db04bf07-9cc8-11e5-8c2b-c335fa8985d7
Security: 6bc6eed2-9cca-11e5-8c2b-c335fa8985d7
MFH: 2015Q4
- Update graphics/libraw to 0.17.0
- While here, minor port cleanup, switch to options helpers
- Bump PORTREVISIONs of consumers as soversion has changed
PR: 204553
Submitted by: graham@menhennitt.com.au
Security upgrade from 0.16.0 to 0.16.2.
PR: 200194
<ChangeLog>
2015-05-16 Alex Tutubalin <lexa@lexa.ru>
* Fix for several problems reported by AFL run
* LibRaw 0.16.2-Release
2015-05-11 Alex Tutubalin <lexa@lexa.ru>
* Fix for dcraw ljpeg_start() vulnerability
* LibRaw 0.16.1-Release
</ChangeLog>
- Update libraw to 0.15.4.
This update is needed for further KDE updates.
- Use the new OPTIONS syntax.
- Use the new LIB_DEPENDS syntax.
- Stop redefining do-install; the port has its own `make install' that does
the same thing provided we use USES=pathfix and tune Makefile.in.
- Support staging.
Bump PORTREVISION in ports that depend on libraw.
PR: ports/185118
Submitted by: rakuco@
Approved by: maintainer timeout (35 days)
Properly set license when using the demosaic packs.
According to the port's README.demosaic-packs, when the demosaic packs are
used the software must be licensed under either the GPLv2 or the GPLv3,
depending on the packs being used (if both packs are used, the GPLv3 should
take precedence).
This patch changes the way LICENSE is set when those options are set: the
new licenses are exclusive with the others.
PR: ports/185119
Submitted by: rakuco@
Approved by: maintainer timeout (29 days)
Replace USE_GCC=4.6+ and USE_GCC=4.4+ by USE_GCC=yes.
Right now this is a noop in the former case and a noop in the latter
case unless lang/gcc44 has been installed explicitly.
This puts a bit more emphasis on standardizing on a canonical version
"current" GCC and makes it easier to update that canonical version
by changing the default in Mk/bsd.gcc.mk and updating the lang/gcc port.
That is, USE_GCC=yes means "use a decent/modern version of GCC" without
having to worry about details.
Approved by: portmgr (bdrewery)
Update from 0.14.5 to 0.14.6.
For fix usage -fopenmp flag (with USE_GCC=4.6+) add OPENMP knob. (*)
Fix usage of DEMOSAIC_PACK_GPL3 knob.
Spotted by: Hannes <h2+fbsdports@fsfe.org> (*)
Thanks to: danfe (*)
- Fix broken shared library symlink [1]
- Unmute installation commands
- Switch from HAS_CONFIGURE to more appropriate GNU_CONFIGURE
- Rephrase OPTIONS descriptions for better grammar and readability
- Add missing USE_LDCONFIG knob
- Bump port revision due to [1]
- Reformat the Makefile while here
Approved by: maintainer (osa)
Add shotwell patches to work with the new libraw. Disable jasper support in
libraw, as a) no dependency is defined for jasper to begin with, and b) it
fails to link when jasper support is enabled. Bump libraw portrevision.
Remove needless extra patch.
Remove unneeded defines for shared libs.
Add installation of two .pc files for fix build third-party ports. (1)
Bump PORTREVISION.
Idea from PR: 155495 (1)
Update from 0.11.3 to 0.12.2.
o) change depend from graphics/lcms to graphics/lcms2;
o) depend on graphics/lcms2 is optional, by default is on;
o) add demosaic packs, licensed under GPLv2 and GPLv3.
Add libraw a library for reading RAW files obtained from digital photo
cameras (CRW/CR2, NEF, RAF, DNG, and others).
LibRaw is based on the source codes of the dcraw utility, where part
of drawbacks have already been eliminated and part will be fixed in
future. The users of the library are provided with API to be built
into their software programs.
WWW: http://www.libraw.orghttp://www.libraw.su