pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/graphics/libraw



Module Name:    pkgsrc
Committed By:   markd
Date:           Sat Apr 14 03:45:56 UTC 2018

Modified Files:
        pkgsrc/graphics/libraw: Makefile PLIST distinfo
        pkgsrc/graphics/libraw/patches: patch-internal_libraw__x3f.cpp
Removed Files:
        pkgsrc/graphics/libraw/patches: patch-configure
            patch-internal_dcraw__common.cpp

Log Message:
libraw: update to 0.18.8

2018-02-23  Alex Tutubalin <lexa%lexa.ru@localhost>
Secunia #81000:
Credit: Laurent Delosieres, Secunia Research at Flexera
 * leaf_hdr_load_raw: check for image pointer for demosaiced raw
 * NOKIARAW parser: check image dimensions readed from file
 * quicktake_100_load_raw: check width/height limits
 * LibRaw 0.18.8

2018-01-29  Alex Tutubalin <lexa%lexa.ru@localhost>
 * Checks for width+left_margin/height+top_margin not larger than 64k
 * LIBRAW_MAX_ALLOC_MB define limits maximum image/raw_image allocation
   (default is 2048 so 2Gb per array)
 * LibRaw::read_shorts item count is now unsigned

2018-01-19  Alex Tutubalin <lexa%lexa.ru@localhost>
Secunia #79000:
Credit: Laurent Delosieres, Secunia Research at Flexera
 * All legacy (RGB raw) image loaders checks for imgdata.image is not NULL
 * kodak_radc_load_raw: check image size before processing
 * legacy memory allocator: allocate max(widh,raw_width)*max(height,raw_height)
 * LibRaw 0.18.7

2017-12-06  Alex Tutubalin <lexa%lexa.ru@localhost>
Secunia #76000:
 * Fixed fuji_width handling if file is neither fuji nor DNG
 * Fixed xtrans interpolate for broken xtrans pattern
 * Fixed panasonic decoder
 * LibRaw 0.18.6

2017-09-22  Alex Tutubalin <lexa%lexa.ru@localhost>
 * Fixed possible out of bound access in Kodak 6500 loader
 * LibRaw 0.18.5

2017-09-12  Alex Tutubalin <lexa%lexa.ru@localhost>
 * CVE-2017-14348: Fix for possible heap overrun in Canon makernotes parser
   Credit: Henri Salo from Nixu Corporation
 * LibRaw 0.18.4

2017-09-09  Alex Tutubalin <lexa%lexa.ru@localhost>
 * Fix for CVE-2017-13735
 * CVE-2017-14265: Additional check for X-Trans CFA pattern data
 * LibRaw 0.18.3

2017-03-08  Alex Tutubalin <lexa%lexa.ru@localhost>
 * Fixed several errors (Secunia advisory SA75000)
 * ACES colorspace output option included in dcraw_emu help page
 * Avoided possible 32-bit overflows in Sony metadata parser
 * Phase One flat field code called even for half-s
 * LibRaw 0.18.2

2017-02-12  Alex Tutubalin <lexa%lexa.ru@localhost>
 * Camera Support: Sigma Quatto H
 * Fixed bug in FujiExpoMidPointShift parser
 * Fixed wrong black level in Sony A350
 * Added standard integer types for VisualStudio 2008 and earlier
 * LibRaw 0.18.1

2016-12-27  Alex Tutubalin <lexa%lexa.ru@localhost>
 * Licensing changes:
    - there is no 'LibRaw Software License 27032010' licensing anymore (and all signed
      agreements have expired)
    - LibRaw is now dual-licensed: LGPL 2.1 or CDDL 1.0

 * Camera support (+87):
     Apple: iPad Pro, iPhone SE, iPhone 6s, iPhone 6 plus, iPhone 7, iPhone 7 plus
     BlackMagic Micro Cinema Camera, URSA, URSA Mini
     Canon PowerShot G5 X, PowerShot G7 X Mark II, PowerShot G9 X,
       IXUS 160 (CHDK hack), EOS 5D Mark IV, EOS 80D, EOS 1300D, EOS M10, EOS M5,
       EOS-1D X Mark II
     Casio EX-ZR4000/5000
     DXO One,
     FujiFilm X-Pro2, X70, X-E2S, X-T2
     Gione E7
     GITUP GIT2
     Google Pixel,Pixel XL
     Hasselblad X1D, True Zoom
     HTC MyTouch 4G, One (A9), One (M9), 10
     Huawei P9
     Leica M (Typ 262), M-D (Typ 262), S (Typ 007), SL (Typ 601), X-U (Typ 113), TL
     LG G3, G4
     Meizy MX4
     Nikon D5, D500, D3400
     Olympus E-PL8, E-M10 Mark II, Pen F, SH-3, E-M1-II
     Panasonic DMC-G8/80/81/85, DMC-GX80/85, DMC-TZ80/81/85/ZS60,
       DMC-TZ100/101/ZS100,DMC-LX9/10/15, FZ2000/FZ2500
     Pentax K-1, K-3 II, K-70
     PhaseOne IQ3 100MP
     RaspberryPi Camera, Camera V2
     Ricoh GR II
     Samsung Galaxy S7, S7 Edge
     Sigma sd Quattro
     Sony A7S II, ILCA-68 (A68),ILCE-6300,DSC-RX1R II,DSC-RX10III, DSC-RX100V,
          ILCA-99M2 (A99-II), a6500
          IMX214, IMX219, IMX230, IMX298-mipi 16mp, IMX219-mipi 8mp, Xperia L
     PtGrey GRAS-50S5C
     YUNEEC CGO4
     Xiaomi MI3, RedMi Note3 Pro

 * Floating point DNG support:
    - new data fields:
      imgdata.rawdata.float_image - bayer float data
      imgdata.rawdata.float3_image - 3-component float data
      imgdata.rawdata.float4_image - 4-component float data
      imgdata.color.fmaximum - float data maximum (calculated from real data,
          rounded to 1.0 if below 1.0)
   - new raw processing flag
      LIBRAW_PROCESSING_CONVERTFLOAT_TO_INT - converts float data to 16-bit
        integer immediately after decoding with default parameters
   - new API Calls:
      int LibRaw::is_floating_point() returns non-zero if RAW file contains
          floating point data
      int LibRaw::have_fpdata() returns non-zero if rawdata.float*_image is not
        null
      LibRaw::convertFloatToInt(float dmin=4096.f, float dmax=32767.f,
           float dtarget = 16383.f)
        converts float/float3/float4_image to raw_image/color3/color4_image
        with or without scaling:

 * New API calls
    unsigned LibRaw::capabilities and C-API libraw_capabilities()
    allows developers to determine LibRaw compile flags at runtime.
    Returns ORed bit fields:
    LIBRAW_CAPS_RAWSPEED - LibRaw was compiled with RawSpeed Support
    LIBRAW_CAPS_DNGSDK - LibRaw was compiled with Adobe DNG SDK
    LIBRAW_CAPS_DEMOSAICSGPL2, LIBRAW_CAPS_DEMOSAICSGPL3 - LibRaw was compiled with
      demosaic packs (GPL2/GPL3)

 * More metadata parsed:
    - White balance coefficients stored in the raw file are extracted into:
     int imgdata.color.WBCoeffs[256][4] - array indexed by EXIF lightsource type
        for example, WBCoeffs[21][..] contains coefficients for D65 lightsource
     float imgdata.color.WBCT_Coeffs[64][5] contains white balance data specified
       for given color temperature: WBCT_Coeffs[i][0] contains temperature value,
       and [1]..[4] are WB coefficients.
    - DNG analog balance, per-channel black/white level, and forward matrix
    - vendor specific metadata stored in vendor-specific data structures

 * new C-API calls:
    void libraw_set_user_mul(libraw_data_t *lr,int index, float val);
    void libraw_set_ca_correction(libraw_data_t *lr,int ca_correc,
           float ca_red, float ca_blue);
    void libraw_set_cfalinenoise(libraw_data_t *lr,int cfaline, float linenoise);
    void libraw_set_wf_debanding(libraw_data_t *lr, int wf_debanding,
           float wfd0, float wfd1, float wfd2, float wfd3);
    void libraw_set_interpolation_passes(libraw_data_t *lr,int passes);


To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 pkgsrc/graphics/libraw/Makefile
cvs rdiff -u -r1.4 -r1.5 pkgsrc/graphics/libraw/PLIST
cvs rdiff -u -r1.22 -r1.23 pkgsrc/graphics/libraw/distinfo
cvs rdiff -u -r1.3 -r0 pkgsrc/graphics/libraw/patches/patch-configure
cvs rdiff -u -r1.1 -r0 \
    pkgsrc/graphics/libraw/patches/patch-internal_dcraw__common.cpp
cvs rdiff -u -r1.1 -r1.2 \
    pkgsrc/graphics/libraw/patches/patch-internal_libraw__x3f.cpp

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/graphics/libraw/Makefile
diff -u pkgsrc/graphics/libraw/Makefile:1.27 pkgsrc/graphics/libraw/Makefile:1.28
--- pkgsrc/graphics/libraw/Makefile:1.27        Thu Feb  1 10:27:38 2018
+++ pkgsrc/graphics/libraw/Makefile     Sat Apr 14 03:45:56 2018
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.27 2018/02/01 10:27:38 jperkin Exp $
+# $NetBSD: Makefile,v 1.28 2018/04/14 03:45:56 markd Exp $
 
-DISTNAME=      LibRaw-0.17.2
+DISTNAME=      LibRaw-0.18.8
 PKGNAME=       ${DISTNAME:tl}
 CATEGORIES=    graphics
 MASTER_SITES=  https://www.libraw.org/data/

Index: pkgsrc/graphics/libraw/PLIST
diff -u pkgsrc/graphics/libraw/PLIST:1.4 pkgsrc/graphics/libraw/PLIST:1.5
--- pkgsrc/graphics/libraw/PLIST:1.4    Wed Mar  9 17:19:19 2011
+++ pkgsrc/graphics/libraw/PLIST        Sat Apr 14 03:45:56 2018
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.4 2011/03/09 17:19:19 drochner Exp $
+@comment $NetBSD: PLIST,v 1.5 2018/04/14 03:45:56 markd Exp $
 include/libraw/libraw.h
 include/libraw/libraw_alloc.h
 include/libraw/libraw_const.h
@@ -14,4 +14,3 @@ share/doc/libraw/COPYRIGHT
 share/doc/libraw/Changelog.txt
 share/doc/libraw/LICENSE.CDDL
 share/doc/libraw/LICENSE.LGPL
-share/doc/libraw/LICENSE.LibRaw.pdf

Index: pkgsrc/graphics/libraw/distinfo
diff -u pkgsrc/graphics/libraw/distinfo:1.22 pkgsrc/graphics/libraw/distinfo:1.23
--- pkgsrc/graphics/libraw/distinfo:1.22        Sun Jun 19 05:04:57 2016
+++ pkgsrc/graphics/libraw/distinfo     Sat Apr 14 03:45:56 2018
@@ -1,11 +1,9 @@
-$NetBSD: distinfo,v 1.22 2016/06/19 05:04:57 markd Exp $
+$NetBSD: distinfo,v 1.23 2018/04/14 03:45:56 markd Exp $
 
-SHA1 (LibRaw-0.17.2.tar.gz) = c6721f78bd7437334c33c26354d9f2e072d240e6
-RMD160 (LibRaw-0.17.2.tar.gz) = 92f6cbbcdc64e33b154f680a8dfdfe1ab8d7302f
-SHA512 (LibRaw-0.17.2.tar.gz) = e27227850b09e291802c089c826778579420a4af3f4b94dddf488bfc7eb84335d7a944445287d5993c5a574c192df5117c022d1b3d0372b3539a4553612988f4
-Size (LibRaw-0.17.2.tar.gz) = 1472714 bytes
-SHA1 (patch-configure) = 79bf222e3281036e0f1aaa5a6620a971f7424809
-SHA1 (patch-internal_dcraw__common.cpp) = 624536d72f5f309a3cb19a2b249a56f3b8f2e3c2
-SHA1 (patch-internal_libraw__x3f.cpp) = c141c9a86193717b829afc2795b9c4d3976fa490
+SHA1 (LibRaw-0.18.8.tar.gz) = ddb14dda08088272c04a65c7a7fd9773d6eb6d81
+RMD160 (LibRaw-0.18.8.tar.gz) = 5ebd40cbee268c18692a5e6f4daaf05c6d2e3c58
+SHA512 (LibRaw-0.18.8.tar.gz) = 48871a5e43c89a17962fae426a962d11a6ce40cb8e7d8abc90e98c899dc42b7e1711398c075901ddbc710fe7e916ba6d507bee7e18975779caa8f5d512b1d580
+Size (LibRaw-0.18.8.tar.gz) = 1281773 bytes
+SHA1 (patch-internal_libraw__x3f.cpp) = ec5d479a45d7fc25c884cc7259ad513857fa2711
 SHA1 (patch-libraw__r.pc.in) = e691f79c69c5530c93262c270fe7e2f5b1c959d9
 SHA1 (patch-src_libraw__cxx.cpp) = cfbb3afbd0b44ce1bbc24e5af212ad5c53d251b7

Index: pkgsrc/graphics/libraw/patches/patch-internal_libraw__x3f.cpp
diff -u pkgsrc/graphics/libraw/patches/patch-internal_libraw__x3f.cpp:1.1 pkgsrc/graphics/libraw/patches/patch-internal_libraw__x3f.cpp:1.2
--- pkgsrc/graphics/libraw/patches/patch-internal_libraw__x3f.cpp:1.1   Mon Oct  5 04:37:39 2015
+++ pkgsrc/graphics/libraw/patches/patch-internal_libraw__x3f.cpp       Sat Apr 14 03:45:56 2018
@@ -1,17 +1,16 @@
-$NetBSD: patch-internal_libraw__x3f.cpp,v 1.1 2015/10/05 04:37:39 richard Exp $
+$NetBSD: patch-internal_libraw__x3f.cpp,v 1.2 2018/04/14 03:45:56 markd Exp $
 
 undefine DS if sys/regset.h is pulled in on SunOS
 
---- internal/libraw_x3f.cpp.orig       2015-05-16 12:32:15.000000000 +0000
+--- internal/libraw_x3f.cpp.orig       2018-02-24 09:47:43.000000000 +0000
 +++ internal/libraw_x3f.cpp
-@@ -619,7 +619,9 @@ static x3f_huffman_t *new_huffman(x3f_hu
+@@ -710,6 +710,9 @@ static x3f_huffman_t *new_huffman(x3f_hu
  /* --------------------------------------------------------------------- */
  /* Creating a new x3f structure from file                                */
  /* --------------------------------------------------------------------- */
--
 +#ifdef DS
 +#undef DS
 +#endif
+ 
  /* extern */ x3f_t *x3f_new_from_file(LibRaw_abstract_datastream *infile)
  {
-   x3f_t *x3f = (x3f_t *)calloc(1, sizeof(x3f_t));



Home | Main Index | Thread Index | Old Index