dcraw is an ANSI C program that decodes any raw image from any digital camera
on any computer running any operating system. It's become a standard tool
within and without the Open Source world. It's small (about 3000 lines),
portable (standard C libraries only), free (both "gratis" and "libre"), and
when used skillfully, produces better-quality output than the tools provided by
the camera vendor.
This version is modified to add auto-rotate to exported thumbnails, and also
add adjustment for camera timezone offset. If your thumbnails appear upside
down, set DCRAW_RTC env var.
WWW: http://www.cybercom.net/~dcoffin/dcraw/
WWW: https://dx.mehomi.com/autorot.html
WWW: https://dx.mehomi.com/photohack.html

Update USE_GITHUB so it does not require GH_COMMIT.
Using this new scheme allows only setting the _tag_ or _commit hash_ in
GH_TAGNAME and not having to know the hash for a tag. This scheme will
download a tarball that has a different checksum than before due to a changed
directory name for extraction.
The following MASTER_SITES are provided to retain the old checksum and
directory structure (that require GH_COMMIT):
GH -> GHL
GITHUB -> GITHUB_LEGACY
Differential Revision: https://reviews.freebsd.org/D748
Submitted by: amdmi3
Reviewed by: mat, swills, antoine, bdrewery
With hat: portmgr

graphics/dcraw-m: Remove -Werror to restore build on DF
With gcc47+, variable 'type' is set but not used, which generates warning.
The -Werror flag should never be set in ports.
PR: 197329
Submitted by: marino@
Approved by: maintainer timeout

Update ImageMagick to 6.9.0.4.
- Normalize the ImageMagick library name so it stays the same regardless of
what the 16-bit and HDRI option are set to [1]. Teach cmake to look for
the new name. Bump ports that link to the libraries due to this.
- As a result do away with the "HALFSUPPORTED" option block, and list
16-bit and HDRI with the other options.
- ImageMagick ships a basic SVG plugin when not using librsvg2 for SVG
support. This basic SVG plugin needs libxml2 to work [2]. Make libxml2
a mandatory dependency (instead of only when the SVG option was selected).
- Don't touch .keep files in the modules directory, there files there so
it useless.
PR: 194949 [1]
PR: 195227 [2]
Requested by: many [1]
Submitted by: software-freebsd@interfasys.ch [2]

Update to 6.8.9-3 [1][3].
Use USES=compiler:openmp for the OPENMP option[2]
Ditch the use of perl for patching etc [4] and silence perl threaded check [6]
-delay option spurious message should be fixed [5]
JASPER option was replace by JPEG2000 for JP2k support.
Put 16BIT_PIXEL and HDRI option separate option block. These options change
the library name, so the user needs to take this into consideration.
Use new LIB_DEPENDS syntax.
Use @sample for config files.
Sprinkle some USES=pkgconfig for some ports, since we don't pull it in
anymore at run-time.
PR: 185462 [1]