commit libraw for openSUSE:Factory

2020-10-29 Thread root
Hello community,

here is the log from the commit of package libraw for openSUSE:Factory checked 
in at 2020-10-29 09:21:42

Comparing /work/SRC/openSUSE:Factory/libraw (Old)
 and  /work/SRC/openSUSE:Factory/.libraw.new.3463 (New)


Package is "libraw"

Thu Oct 29 09:21:42 2020 rev:57 rq:844046 version:0.20.2

Changes:

--- /work/SRC/openSUSE:Factory/libraw/libraw.changes2020-08-28 
21:12:02.368052716 +0200
+++ /work/SRC/openSUSE:Factory/.libraw.new.3463/libraw.changes  2020-10-29 
09:21:48.266658886 +0100
@@ -1,0 +2,12 @@
+Mon Oct 26 08:19:42 UTC 2020 - Dirk Mueller 
+
+- update to 0.20.2:
+  * corrected GPS EXIF output
+  * Olympus XZ-1: do not provide linear_max 
+  * Pentax Optio 33WR: maker index was incorrect
+  * dcraw_emu: corrected help line for -6 option.
+  * raw-identify: corrected range check for color matrices print
+  * use_camera_matrix option: fixed a bug introduced when making compiler more 
happy
+  * multiple camera support improvements  
+ 
+---

Old:

  LibRaw-0.20.0.tar.gz

New:

  LibRaw-0.20.2.tar.gz



Other differences:
--
++ libraw.spec ++
--- /var/tmp/diff_new_pack.shskXC/_old  2020-10-29 09:21:50.282660819 +0100
+++ /var/tmp/diff_new_pack.shskXC/_new  2020-10-29 09:21:50.286660822 +0100
@@ -23,7 +23,7 @@
 %define lver20
 %define lname  libraw%{lver}
 Name:   libraw
-Version:0.20.0
+Version:0.20.2
 Release:0
 Summary:Library for reading RAW files obtained from digital photo 
cameras
 License:CDDL-1.0 OR LGPL-2.1-only

++ LibRaw-0.20.0.tar.gz -> LibRaw-0.20.2.tar.gz ++
 4416 lines of diff (skipped)




commit libraw for openSUSE:Factory

2020-08-28 Thread root
Hello community,

here is the log from the commit of package libraw for openSUSE:Factory checked 
in at 2020-08-28 21:11:58

Comparing /work/SRC/openSUSE:Factory/libraw (Old)
 and  /work/SRC/openSUSE:Factory/.libraw.new.3399 (New)


Package is "libraw"

Fri Aug 28 21:11:58 2020 rev:56 rq:824129 version:0.20.0

Changes:

--- /work/SRC/openSUSE:Factory/libraw/libraw.changes2020-07-15 
11:26:28.297682790 +0200
+++ /work/SRC/openSUSE:Factory/.libraw.new.3399/libraw.changes  2020-08-28 
21:12:02.368052716 +0200
@@ -1,0 +2,40 @@
+Fri Jul 24 08:58:33 UTC 2020 - Paolo Stivanin 
+
+- version update to 0.20.0
+  * Camera Format support
++ Canon CR3
++ GoPro (via GPR SDK)
++ Panasonic 14-bit
++ Fujifilm compressed/16bit
++ Rapsberry Pi RAW+JPEG format (if USE_6BY9RPI defined)
+  * Camera support (+59, 1131 total)
++ Canon: PowerShot G5 X Mark II, G7 X Mark III, SX70 HS,
++ EOS R, EOS RP, EOS 90D, EOS 250D,  EOS M6 Mark II, EOS M50, EOS M200
++ EOS 1DX Mark III (lossless files only)
++ DJI Mavic Air, Osmo Action
++ FujiFilm GFX 100, X-A7, X-Pro3, X100V,
+  X-T4 (uncompressed/lossless compressed only), X-T200
++ GoPro Fusion, HERO5, HERO6, HERO7, HERO8
++ Hasselblad L1D-20c, X1D II 50C
++ Leica D-LUX7, Q-P, Q2, V-LUX5, C-Lux / CAM-DC25, SL2, M10 Monochrom
++ Nikon D780, Z50, P950
++ Olympus TG-6, E-M5 Mark III, E-PL10, E-M1 Mark III,
++ Panasonic DC-FZ1000 II, DC-G90, DC-S1, DC-S1R, DC-S1H, DC-TZ95
++ PhaseOne IQ4 150MP
++ Ricoh GR III
++ Sony A7R IV, A9 II, ILCE-6100, ILCE-6600, RX0 II, RX100 VII
++ Zenit M
+  * minor/unsorted changes
++ Add support for zlib during configure
++ Fixed multiple problems found by OSS-Fuzz
++ Lots of changes in imgdata.makernotes
++ DNG whitelevel calculated via BitsPerSample if not set via tags
++ DNG: support for LinearDNG w/ BlackLevelRepeat.. pattern
++ better support for Nikon Coolscan 16-bit NEF files
++ Bayer images: ensure that even margins have the same COLOR()
+  for both the active sensor area and the full sensor area.
++ fixed several bugs
+- removed libraw-Add-Sony-ILCE-7M3.patch
+- removed libraw-CVE-2020-15503.patch
+
+---

Old:

  LibRaw-0.19.5.tar.gz
  libraw-Add-Sony-ILCE-7M3.patch
  libraw-CVE-2020-15503.patch

New:

  LibRaw-0.20.0.tar.gz



Other differences:
--
++ libraw.spec ++
--- /var/tmp/diff_new_pack.rX1oVN/_old  2020-08-28 21:12:04.428053716 +0200
+++ /var/tmp/diff_new_pack.rX1oVN/_new  2020-08-28 21:12:04.432053717 +0200
@@ -20,10 +20,10 @@
 %define asan_build0
 
 %define tar_name LibRaw
-%define lver19
+%define lver20
 %define lname  libraw%{lver}
 Name:   libraw
-Version:0.19.5
+Version:0.20.0
 Release:0
 Summary:Library for reading RAW files obtained from digital photo 
cameras
 License:CDDL-1.0 OR LGPL-2.1-only
@@ -31,9 +31,6 @@
 URL:https://www.libraw.org/
 #Git-Clone:git://github.com/LibRaw/LibRaw
 Source: https://www.libraw.org/data/%tar_name-%version.tar.gz
-Patch1: libraw-Add-Sony-ILCE-7M3.patch
-# CVE-2020-15503 [bsc#1173674], lack of thumbnail size range check can lead to 
buffer overflow
-Patch2: libraw-CVE-2020-15503.patch
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  fdupes
@@ -103,8 +100,6 @@
 
 %prep
 %setup -q -n %{tar_name}-%{version}
-%patch1 -p1
-%patch2 -p1
 
 %build
 %global _lto_cflags %{_lto_cflags} -ffat-lto-objects

++ LibRaw-0.19.5.tar.gz -> LibRaw-0.20.0.tar.gz ++
 104255 lines of diff (skipped)




commit libraw for openSUSE:Factory

2020-07-15 Thread root
Hello community,

here is the log from the commit of package libraw for openSUSE:Factory checked 
in at 2020-07-15 11:24:32

Comparing /work/SRC/openSUSE:Factory/libraw (Old)
 and  /work/SRC/openSUSE:Factory/.libraw.new.3060 (New)


Package is "libraw"

Wed Jul 15 11:24:32 2020 rev:55 rq:819256 version:0.19.5

Changes:

--- /work/SRC/openSUSE:Factory/libraw/libraw.changes2020-01-02 
14:40:03.228881264 +0100
+++ /work/SRC/openSUSE:Factory/.libraw.new.3060/libraw.changes  2020-07-15 
11:26:28.297682790 +0200
@@ -1,0 +2,8 @@
+Tue Jul  7 14:20:04 UTC 2020 - pgaj...@suse.com
+
+- security update
+- added patches
+  fix CVE-2020-15503 [bsc#1173674], lack of thumbnail size range check can 
lead to buffer overflow
+  + libraw-CVE-2020-15503.patch
+
+---

New:

  libraw-CVE-2020-15503.patch



Other differences:
--
++ libraw.spec ++
--- /var/tmp/diff_new_pack.t7K3nP/_old  2020-07-15 11:26:33.629688068 +0200
+++ /var/tmp/diff_new_pack.t7K3nP/_new  2020-07-15 11:26:33.629688068 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package libraw
 #
-# Copyright (c) 2019 SUSE LLC
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -32,6 +32,8 @@
 #Git-Clone:git://github.com/LibRaw/LibRaw
 Source: https://www.libraw.org/data/%tar_name-%version.tar.gz
 Patch1: libraw-Add-Sony-ILCE-7M3.patch
+# CVE-2020-15503 [bsc#1173674], lack of thumbnail size range check can lead to 
buffer overflow
+Patch2: libraw-CVE-2020-15503.patch
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  fdupes
@@ -102,6 +104,7 @@
 %prep
 %setup -q -n %{tar_name}-%{version}
 %patch1 -p1
+%patch2 -p1
 
 %build
 %global _lto_cflags %{_lto_cflags} -ffat-lto-objects

++ libraw-CVE-2020-15503.patch ++
Index: LibRaw-0.19.5/libraw/libraw_const.h
===
--- LibRaw-0.19.5.orig/libraw/libraw_const.h2020-07-07 12:42:30.310654582 
+0200
+++ LibRaw-0.19.5/libraw/libraw_const.h 2020-07-07 12:49:43.141162263 +0200
@@ -24,6 +24,11 @@ it under the terms of the one of two lic
 #define LIBRAW_MAX_ALLOC_MB 2048L
 #endif
 
+/* limit thumbnail size, default is 512Mb*/
+#ifndef LIBRAW_MAX_THUMBNAIL_MB
+#define LIBRAW_MAX_THUMBNAIL_MB 512L
+#endif
+
 /* Change to non-zero to allow (broken) CRW (and other) files metadata 
loop prevention */
 #ifndef LIBRAW_METADATA_LOOP_PREVENTION
Index: LibRaw-0.19.5/src/libraw_cxx.cpp
===
--- LibRaw-0.19.5.orig/src/libraw_cxx.cpp   2019-08-20 19:34:30.0 
+0200
+++ LibRaw-0.19.5/src/libraw_cxx.cpp2020-07-07 13:03:23.697916270 +0200
@@ -3712,6 +3712,20 @@ libraw_processed_image_t *LibRaw::dcraw_
 return NULL;
   }
 
+  if (T.tlength < 64u)
+  {
+  if (errcode)
+  *errcode = EINVAL;
+  return NULL;
+  }
+
+  if (INT64(T.tlength) > 1024ULL * 1024ULL * LIBRAW_MAX_THUMBNAIL_MB)
+  {
+  if (errcode)
+  *errcode = LIBRAW_TOO_BIG;
+  return NULL;
+  }
+
   if (T.tformat == LIBRAW_THUMBNAIL_BITMAP)
   {
 libraw_processed_image_t *ret = (libraw_processed_image_t 
*)::malloc(sizeof(libraw_processed_image_t) + T.tlength);
@@ -3976,6 +3990,12 @@ void LibRaw::kodak_thumb_loader()
   if (ID.toffset + est_datasize > ID.input->size() + THUMB_READ_BEYOND)
 throw LIBRAW_EXCEPTION_IO_EOF;
 
+  if(INT64(T.theight) * INT64(T.twidth) > 1024ULL * 1024ULL * 
LIBRAW_MAX_THUMBNAIL_MB)
+  throw LIBRAW_EXCEPTION_IO_CORRUPT;
+
+  if (INT64(T.theight) * INT64(T.twidth) < 64ULL)
+  throw LIBRAW_EXCEPTION_IO_CORRUPT;
+
   // some kodak cameras
   ushort s_height = S.height, s_width = S.width, s_iwidth = S.iwidth, 
s_iheight = S.iheight;
   ushort s_flags = libraw_internal_data.unpacker_data.load_flags;
@@ -4237,6 +4257,25 @@ int LibRaw::unpack_thumb(void)
   CHECK_ORDER_LOW(LIBRAW_PROGRESS_IDENTIFY);
   CHECK_ORDER_BIT(LIBRAW_PROGRESS_THUMB_LOAD);
 
+#define THUMB_SIZE_CHECKT(A) \
+  do { \
+if (INT64(A) > 1024ULL * 1024ULL * LIBRAW_MAX_THUMBNAIL_MB) throw 
LIBRAW_EXCEPTION_IO_CORRUPT; \
+if (INT64(A) > 0 &&  INT64(A) < 64ULL)throw 
LIBRAW_EXCEPTION_IO_CORRUPT; \
+  } while (0)
+
+#define THUMB_SIZE_CHECKTNZ(A) \
+  do { \
+if (INT64(A) > 1024ULL * 1024ULL * LIBRAW_MAX_THUMBNAIL_MB) throw 
LIBRAW_EXCEPTION_IO_CORRUPT; \
+if (INT64(A) < 64ULL)throw LIBRAW_EXCEPTION_IO_CORRUPT; \
+  } while (0)
+
+
+#define THUMB_SIZE_CHECKWH(W,H) \
+  do { \
+if (INT64(W)*INT64(H) > 1024ULL * 1024ULL * LIBRAW_MAX_THUMBNAIL_MB) throw 
LIBRAW_EXCEPTION_IO_CORRUPT; \
+   

commit libraw for openSUSE:Factory

2020-01-02 Thread root
Hello community,

here is the log from the commit of package libraw for openSUSE:Factory checked 
in at 2020-01-02 14:39:59

Comparing /work/SRC/openSUSE:Factory/libraw (Old)
 and  /work/SRC/openSUSE:Factory/.libraw.new.6675 (New)


Package is "libraw"

Thu Jan  2 14:39:59 2020 rev:54 rq:758470 version:0.19.5

Changes:

--- /work/SRC/openSUSE:Factory/libraw/libraw.changes2019-09-11 
10:19:45.747515460 +0200
+++ /work/SRC/openSUSE:Factory/.libraw.new.6675/libraw.changes  2020-01-02 
14:40:03.228881264 +0100
@@ -1,0 +2,17 @@
+Fri Dec 20 09:46:35 UTC 2019 - pgaj...@suse.com
+
+- version update to 0.19.5
+  * LibRaw 0.19.5
+  * WB coefficients check was too strong, weakened
+  * Fixed possible buffer underrun in modern Samsung loader
+  * LibRaw 0.19.4
+  * CRW/metadata loop prevention code is rolled back due to ABI
+incompatibility. To enable, use -DLIBRAW_METADATA_LOOP_PREVENTION=1
+compile flag for LibRaw and ALL APPS.
+  * Fixed possible buffer underflow
+  * LibRaw 0.19.3
+  * Several fixes inspired by OSS-Fuzz
+- deleted patches
+  - libraw-half-size-allocation-buffer-overflow.patch (upstreamed)
+
+---

Old:

  LibRaw-0.19.2.tar.gz
  libraw-half-size-allocation-buffer-overflow.patch

New:

  LibRaw-0.19.5.tar.gz



Other differences:
--
++ libraw.spec ++
--- /var/tmp/diff_new_pack.R3fNJj/_old  2020-01-02 14:40:03.876881520 +0100
+++ /var/tmp/diff_new_pack.R3fNJj/_new  2020-01-02 14:40:03.880881522 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package libraw
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -23,16 +23,15 @@
 %define lver19
 %define lname  libraw%{lver}
 Name:   libraw
-Version:0.19.2
+Version:0.19.5
 Release:0
 Summary:Library for reading RAW files obtained from digital photo 
cameras
 License:CDDL-1.0 OR LGPL-2.1-only
 Group:  Development/Libraries/C and C++
-Url:https://www.libraw.org/
+URL:https://www.libraw.org/
 #Git-Clone:git://github.com/LibRaw/LibRaw
 Source: https://www.libraw.org/data/%tar_name-%version.tar.gz
 Patch1: libraw-Add-Sony-ILCE-7M3.patch
-Patch2: libraw-half-size-allocation-buffer-overflow.patch
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  fdupes
@@ -103,7 +102,6 @@
 %prep
 %setup -q -n %{tar_name}-%{version}
 %patch1 -p1
-%patch2 -p1
 
 %build
 %global _lto_cflags %{_lto_cflags} -ffat-lto-objects

++ LibRaw-0.19.2.tar.gz -> LibRaw-0.19.5.tar.gz ++
 143190 lines of diff (skipped)




commit libraw for openSUSE:Factory

2019-09-11 Thread root
Hello community,

here is the log from the commit of package libraw for openSUSE:Factory checked 
in at 2019-09-11 10:19:44

Comparing /work/SRC/openSUSE:Factory/libraw (Old)
 and  /work/SRC/openSUSE:Factory/.libraw.new.7948 (New)


Package is "libraw"

Wed Sep 11 10:19:44 2019 rev:53 rq:725044 version:0.19.2

Changes:

--- /work/SRC/openSUSE:Factory/libraw/libraw.changes2019-01-15 
09:13:13.734410739 +0100
+++ /work/SRC/openSUSE:Factory/.libraw.new.7948/libraw.changes  2019-09-11 
10:19:45.747515460 +0200
@@ -1,0 +2,10 @@
+Wed Aug 21 13:01:57 UTC 2019 - pgaj...@suse.com
+
+- drop JPEG2000 support [bsc#1144252]
+
+---
+Fri Aug  2 07:06:22 UTC 2019 - Martin Liška 
+
+- Use FAT LTO objects in order to provide proper static library.
+
+---



Other differences:
--
++ libraw.spec ++
--- /var/tmp/diff_new_pack.QCahmi/_old  2019-09-11 10:19:47.039515300 +0200
+++ /var/tmp/diff_new_pack.QCahmi/_new  2019-09-11 10:19:47.071515296 +0200
@@ -37,7 +37,6 @@
 BuildRequires:  automake
 BuildRequires:  fdupes
 BuildRequires:  gcc-c++
-BuildRequires:  libjasper-devel
 BuildRequires:  libjpeg-devel
 BuildRequires:  liblcms2-devel
 BuildRequires:  libtool
@@ -107,6 +106,7 @@
 %patch2 -p1
 
 %build
+%global _lto_cflags %{_lto_cflags} -ffat-lto-objects
 export CXXFLAGS="%{optflags} -fPIC -DUSE_ZLIB"
 %if %{debug_build}
 export CXXFLAGS="$CXXFLAGS -O0"




commit libraw for openSUSE:Factory

2019-01-15 Thread root
Hello community,

here is the log from the commit of package libraw for openSUSE:Factory checked 
in at 2019-01-15 09:13:12

Comparing /work/SRC/openSUSE:Factory/libraw (Old)
 and  /work/SRC/openSUSE:Factory/.libraw.new.28833 (New)


Package is "libraw"

Tue Jan 15 09:13:12 2019 rev:52 rq:664333 version:0.19.2

Changes:

--- /work/SRC/openSUSE:Factory/libraw/libraw.changes2019-01-03 
18:04:15.844266465 +0100
+++ /work/SRC/openSUSE:Factory/.libraw.new.28833/libraw.changes 2019-01-15 
09:13:13.734410739 +0100
@@ -1,0 +2,12 @@
+Thu Jan 10 10:57:32 UTC 2019 - Petr Gajdos 
+
+- supplementary fix for https://github.com/LibRaw/LibRaw/issues/195
+  + libraw-half-size-allocation-buffer-overflow.patch
+
+---
+Tue Jan  8 13:22:31 UTC 2019 - Petr Gajdos 
+
+- asan_build: build ASAN included
+- debug_build: build more suitable for debugging
+
+---

New:

  libraw-half-size-allocation-buffer-overflow.patch



Other differences:
--
++ libraw.spec ++
--- /var/tmp/diff_new_pack.SvG9RZ/_old  2019-01-15 09:13:14.294410221 +0100
+++ /var/tmp/diff_new_pack.SvG9RZ/_new  2019-01-15 09:13:14.298410217 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package libraw
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,6 +16,9 @@
 #
 
 
+%define debug_build   0
+%define asan_build0
+
 %define tar_name LibRaw
 %define lver19
 %define lname  libraw%{lver}
@@ -29,6 +32,7 @@
 #Git-Clone:git://github.com/LibRaw/LibRaw
 Source: https://www.libraw.org/data/%tar_name-%version.tar.gz
 Patch1: libraw-Add-Sony-ILCE-7M3.patch
+Patch2: libraw-half-size-allocation-buffer-overflow.patch
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  fdupes
@@ -100,12 +104,21 @@
 %prep
 %setup -q -n %{tar_name}-%{version}
 %patch1 -p1
+%patch2 -p1
 
 %build
-export CXXFLAGS="%optflags -fPIC -DUSE_ZLIB"
+export CXXFLAGS="%{optflags} -fPIC -DUSE_ZLIB"
+%if %{debug_build}
+export CXXFLAGS="$CXXFLAGS -O0"
+%endif
 export LIBS="$LIBS -lz"
 autoreconf -fi
 %configure
+%if %{asan_build}
+sed -i -e 's/\(^CXXFLAGS =.*\)/\1 -fsanitize=address/' \
+   -e 's/\(^LIBS =.*\)/\1 -lasan/' \
+   Makefile
+%endif
 make %{?_smp_mflags}
 
 %install

++ libraw-half-size-allocation-buffer-overflow.patch ++
diff --git a/internal/dcraw_common.cpp b/internal/dcraw_common.cpp
index a0cd7226..6d1376f6 100644
--- a/internal/dcraw_common.cpp
+++ b/internal/dcraw_common.cpp
@@ -18997,10 +18997,15 @@ void CLASS identify()
   {
 if (!load_raw)
   load_raw =  unpacked_load_raw;
-if (is_raw > 1 && !shot_select && !half_size)
+if (is_raw > 1 && !shot_select)
   filters = 0;
 maximum = 0x3fff;
   }
+  else if(load_raw == ::sinar_4shot_load_raw)
+  {
+if (is_raw > 1 && !shot_select)
+  filters = 0;
+  }
   else if (!strncmp(make, "Leaf", 4))
   {
 maximum = 0x3fff;




commit libraw for openSUSE:Factory

2019-01-03 Thread root
Hello community,

here is the log from the commit of package libraw for openSUSE:Factory checked 
in at 2019-01-03 18:04:14

Comparing /work/SRC/openSUSE:Factory/libraw (Old)
 and  /work/SRC/openSUSE:Factory/.libraw.new.28833 (New)


Package is "libraw"

Thu Jan  3 18:04:14 2019 rev:51 rq:662208 version:0.19.2

Changes:

--- /work/SRC/openSUSE:Factory/libraw/libraw.changes2018-12-19 
13:26:28.845157967 +0100
+++ /work/SRC/openSUSE:Factory/.libraw.new.28833/libraw.changes 2019-01-03 
18:04:15.844266465 +0100
@@ -1,0 +2,8 @@
+Mon Dec 31 15:37:08 UTC 2018 - Petr Gajdos 
+
+- Updated to version 0.19.2
+ * Fixed possible buffer overrun at Fuji makernotes parser
+ * Fixed possible write to NULL pointer at raw2image/raw2image_ex calls.
+- ./configure not present in sources
+
+---

Old:

  LibRaw-0.19.1.tar.gz

New:

  LibRaw-0.19.2.tar.gz



Other differences:
--
++ libraw.spec ++
--- /var/tmp/diff_new_pack.olBm8A/_old  2019-01-03 18:04:16.988265447 +0100
+++ /var/tmp/diff_new_pack.olBm8A/_new  2019-01-03 18:04:17.012265425 +0100
@@ -20,7 +20,7 @@
 %define lver19
 %define lname  libraw%{lver}
 Name:   libraw
-Version:0.19.1
+Version:0.19.2
 Release:0
 Summary:Library for reading RAW files obtained from digital photo 
cameras
 License:CDDL-1.0 OR LGPL-2.1-only
@@ -29,11 +29,14 @@
 #Git-Clone:git://github.com/LibRaw/LibRaw
 Source: https://www.libraw.org/data/%tar_name-%version.tar.gz
 Patch1: libraw-Add-Sony-ILCE-7M3.patch
+BuildRequires:  autoconf
+BuildRequires:  automake
 BuildRequires:  fdupes
 BuildRequires:  gcc-c++
 BuildRequires:  libjasper-devel
 BuildRequires:  libjpeg-devel
 BuildRequires:  liblcms2-devel
+BuildRequires:  libtool
 BuildRequires:  pkgconfig
 # zlib for deflate DNG support
 BuildRequires:  zlib-devel
@@ -101,6 +104,7 @@
 %build
 export CXXFLAGS="%optflags -fPIC -DUSE_ZLIB"
 export LIBS="$LIBS -lz"
+autoreconf -fi
 %configure
 make %{?_smp_mflags}
 

++ LibRaw-0.19.1.tar.gz -> LibRaw-0.19.2.tar.gz ++
 142760 lines of diff (skipped)




commit libraw for openSUSE:Factory

2018-12-19 Thread root
Hello community,

here is the log from the commit of package libraw for openSUSE:Factory checked 
in at 2018-12-19 13:26:21

Comparing /work/SRC/openSUSE:Factory/libraw (Old)
 and  /work/SRC/openSUSE:Factory/.libraw.new.28833 (New)


Package is "libraw"

Wed Dec 19 13:26:21 2018 rev:50 rq:657091 version:0.19.1

Changes:

--- /work/SRC/openSUSE:Factory/libraw/libraw.changes2018-09-04 
22:46:58.195107360 +0200
+++ /work/SRC/openSUSE:Factory/.libraw.new.28833/libraw.changes 2018-12-19 
13:26:28.845157967 +0100
@@ -1,0 +2,20 @@
+Tue Dec 11 08:48:02 UTC 2018 - Petr Gajdos 
+
+- Updated to version 0.19.1
+  * Finally: got Sinar 4shot sample, works fine now
+  * OpenMP critical sections for malloc/free; extra #ifdefs
+removed; bin/dcraw_dist could be built again using Makefile.devel
+  * additional checks in parse_phase_one()
+  * more checks on file offsets/tag len in parse_minolta
+  * more checks in parse_ciff
+  * Mempool check reworked
+  * Old Leaf (16bit/3color/TIFF) support
+  * Fix cameraWB->autoWB fallback
+  * Polaroid x530 channel swap; get metadata pointer for Foveon files
+  * Fixed Secunia Advisory SA86384
+- possible infinite loop in unpacked_load_raw()
+- possible infinite loop in parse_rollei()
+- possible infinite loop in parse_sinar_ia()
+- removed libraw-CVE-2018-5813.patch (upstreamed)
+
+---

Old:

  LibRaw-0.19.0.tar.gz
  libraw-CVE-2018-5813.patch

New:

  LibRaw-0.19.1.tar.gz



Other differences:
--
++ libraw.spec ++
--- /var/tmp/diff_new_pack.yNo1H5/_old  2018-12-19 13:26:30.245156263 +0100
+++ /var/tmp/diff_new_pack.yNo1H5/_new  2018-12-19 13:26:30.249156259 +0100
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -20,7 +20,7 @@
 %define lver19
 %define lname  libraw%{lver}
 Name:   libraw
-Version:0.19.0
+Version:0.19.1
 Release:0
 Summary:Library for reading RAW files obtained from digital photo 
cameras
 License:CDDL-1.0 OR LGPL-2.1-only
@@ -28,7 +28,6 @@
 Url:https://www.libraw.org/
 #Git-Clone:git://github.com/LibRaw/LibRaw
 Source: https://www.libraw.org/data/%tar_name-%version.tar.gz
-Patch0: libraw-CVE-2018-5813.patch
 Patch1: libraw-Add-Sony-ILCE-7M3.patch
 BuildRequires:  fdupes
 BuildRequires:  gcc-c++
@@ -97,7 +96,6 @@
 
 %prep
 %setup -q -n %{tar_name}-%{version}
-%patch0 -p1
 %patch1 -p1
 
 %build

++ LibRaw-0.19.0.tar.gz -> LibRaw-0.19.1.tar.gz ++
 1922 lines of diff (skipped)




commit libraw for openSUSE:Factory

2018-09-04 Thread root
Hello community,

here is the log from the commit of package libraw for openSUSE:Factory checked 
in at 2018-09-04 22:46:55

Comparing /work/SRC/openSUSE:Factory/libraw (Old)
 and  /work/SRC/openSUSE:Factory/.libraw.new (New)


Package is "libraw"

Tue Sep  4 22:46:55 2018 rev:49 rq:627331 version:0.19.0

Changes:

--- /work/SRC/openSUSE:Factory/libraw/libraw.changes2018-05-06 
14:56:16.852448164 +0200
+++ /work/SRC/openSUSE:Factory/.libraw.new/libraw.changes   2018-09-04 
22:46:58.195107360 +0200
@@ -1,0 +2,26 @@
+Thu Aug  2 08:33:57 UTC 2018 - a...@cryptomilk.org
+
+- Add patch libraw-Add-Sony-ILCE-7M3.patch
+  * See https://github.com/LibRaw/LibRaw/pull/145
+  * The patch has been cut, the tarball from the download section
+doesn't match the git tag. dcraw/dcraw.c is totall different.
+- Use %license tag
+
+---
+Wed Aug  1 11:07:43 UTC 2018 - pgaj...@suse.com
+
+- security update
+  * CVE-2018-5813 [bsc#1103200]
++ libraw-CVE-2018-5813.patch
+
+---
+Wed Aug  1 10:13:46 UTC 2018 - pgaj...@suse.com
+
+- new upstream branch, version 0.19.x
+  * fixes CVE-2018-10529 and CVE-2018-10528, hence removing
+. libraw-CVE-2018-10528.patch
+. libraw-CVE-2018-10529.patch
+  * the rest of changes at
+https://www.libraw.org/download#stable
+
+---

Old:

  LibRaw-0.18.9.tar.gz
  libraw-CVE-2018-10528.patch
  libraw-CVE-2018-10529.patch

New:

  LibRaw-0.19.0.tar.gz
  libraw-Add-Sony-ILCE-7M3.patch
  libraw-CVE-2018-5813.patch



Other differences:
--
++ libraw.spec ++
--- /var/tmp/diff_new_pack.72VhjV/_old  2018-09-04 22:46:58.627108849 +0200
+++ /var/tmp/diff_new_pack.72VhjV/_new  2018-09-04 22:46:58.631108863 +0200
@@ -17,10 +17,10 @@
 
 
 %define tar_name LibRaw
-%define lver16
+%define lver19
 %define lname  libraw%{lver}
 Name:   libraw
-Version:0.18.9
+Version:0.19.0
 Release:0
 Summary:Library for reading RAW files obtained from digital photo 
cameras
 License:CDDL-1.0 OR LGPL-2.1-only
@@ -28,8 +28,8 @@
 Url:https://www.libraw.org/
 #Git-Clone:git://github.com/LibRaw/LibRaw
 Source: https://www.libraw.org/data/%tar_name-%version.tar.gz
-Patch0: libraw-CVE-2018-10528.patch
-Patch1: libraw-CVE-2018-10529.patch
+Patch0: libraw-CVE-2018-5813.patch
+Patch1: libraw-Add-Sony-ILCE-7M3.patch
 BuildRequires:  fdupes
 BuildRequires:  gcc-c++
 BuildRequires:  libjasper-devel
@@ -96,7 +96,7 @@
 against LibRaw. LibRaw does not provide dynamic libraries.
 
 %prep
-%setup -qn %tar_name-%version
+%setup -q -n %{tar_name}-%{version}
 %patch0 -p1
 %patch1 -p1
 
@@ -126,7 +126,8 @@
 %_bindir/*
 
 %files devel
-%doc Changelog.txt COPYRIGHT LICENSE.CDDL LICENSE.LGPL
+%doc Changelog.txt
+%license COPYRIGHT LICENSE.CDDL LICENSE.LGPL
 %doc manual
 %_includedir/%name/
 %_libdir/pkgconfig/*.pc

++ LibRaw-0.18.9.tar.gz -> LibRaw-0.19.0.tar.gz ++
 61504 lines of diff (skipped)

++ libraw-Add-Sony-ILCE-7M3.patch ++
>From a340f3d299f73b2ae25678f7b59fc2167d7c6fc1 Mon Sep 17 00:00:00 2001
From: Andreas Schneider 
Date: Fri, 4 May 2018 10:50:10 +0200
Subject: [PATCH] Add Sony ILCE-7M3

Signed-off-by: Andreas Schneider 
---
 dcraw/dcraw.c | 11 +++
 internal/dcraw_common.cpp | 11 +++
 2 files changed, 14 insertions(+), 8 deletions(-)

diff --git a/internal/dcraw_common.cpp b/internal/dcraw_common.cpp
index 0a9afa2..80b91c4 100644
--- a/internal/dcraw_common.cpp
+++ b/internal/dcraw_common.cpp
@@ -8331,7 +8331,7 @@ void CLASS setSonyBodyFeatures(unsigned id)
   {360, LIBRAW_FORMAT_APSC, LIBRAW_MOUNT_Sony_E, LIBRAW_SONY_ILCE, 0, 8, 
0x0346, 0x01cd},
   {361, 0, 0, 0, 0, 0, 0x, 0x},
   {362, LIBRAW_FORMAT_FF, LIBRAW_MOUNT_Sony_E, LIBRAW_SONY_ILCE, 0, 9, 
0x0320, 0x019f},
-  {363, 0, 0, 0, 0, 0, 0x, 0x},
+  {363, LIBRAW_FORMAT_FF, LIBRAW_MOUNT_Sony_E, LIBRAW_SONY_ILCE, 0, 0, 
0x0320, 0x019f},
   {364, LIBRAW_FORMAT_1INCH, LIBRAW_MOUNT_FixedLens, LIBRAW_SONY_DSC, 
LIBRAW_MOUNT_FixedLens, 8, 0x0346, 0x},
   {365, LIBRAW_FORMAT_1INCH, LIBRAW_MOUNT_FixedLens, LIBRAW_SONY_DSC, 
LIBRAW_MOUNT_FixedLens, 9, 0x0320, 0x},
   };
@@ -8623,7 +8623,7 @@ void CLASS process_Sony_0x9050(uchar *buf, ushort len, 
unsigned id)
 parseSonyLensFeatures(SonySubstitution[buf[0x116]], 
SonySubstitution[buf[0x117]]);
   }
 
-  if ((id == 347) || (id == 350) || (id == 354) || (id == 357) || (id == 358) 
|| (id == 360) || (id == 362))
+  if ((id == 347) || (id == 350) || (id == 354) || (id == 357) 

commit libraw for openSUSE:Factory

2018-05-06 Thread root
Hello community,

here is the log from the commit of package libraw for openSUSE:Factory checked 
in at 2018-05-06 14:56:15

Comparing /work/SRC/openSUSE:Factory/libraw (Old)
 and  /work/SRC/openSUSE:Factory/.libraw.new (New)


Package is "libraw"

Sun May  6 14:56:15 2018 rev:48 rq:602481 version:0.18.9

Changes:

--- /work/SRC/openSUSE:Factory/libraw/libraw.changes2018-03-12 
12:03:12.089776454 +0100
+++ /work/SRC/openSUSE:Factory/.libraw.new/libraw.changes   2018-05-06 
14:56:16.852448164 +0200
@@ -1,0 +2,19 @@
+Mon Apr 30 09:18:00 UTC 2018 - pgaj...@suse.com
+
+- security update
+  * CVE-2018-10528 [bsc#1091345]
++ libraw-CVE-2018-10528.patch
+  * CVE-2018-10529 [bsc#1091346]
++ libraw-CVE-2018-10529.patch
+
+---
+Mon Apr 30 08:59:33 UTC 2018 - kbabi...@suse.com
+
+- Updated to version 0.18.9:
+  * samsung_load_raw: possible buffer overrun
+  * rollei_load_raw: possible buffer overrun
+  * nikon_coolscan_load_raw: possible buffer overrun, possible NULL pointer
+  * find_green: possible stack overrun
+  * parse_exif: possible stack overrun
+
+---

Old:

  LibRaw-0.18.8.tar.gz

New:

  LibRaw-0.18.9.tar.gz
  libraw-CVE-2018-10528.patch
  libraw-CVE-2018-10529.patch



Other differences:
--
++ libraw.spec ++
--- /var/tmp/diff_new_pack.jeDdki/_old  2018-05-06 14:56:17.388428498 +0200
+++ /var/tmp/diff_new_pack.jeDdki/_new  2018-05-06 14:56:17.392428351 +0200
@@ -20,14 +20,16 @@
 %define lver16
 %define lname  libraw%{lver}
 Name:   libraw
-Version:0.18.8
+Version:0.18.9
 Release:0
 Summary:Library for reading RAW files obtained from digital photo 
cameras
-License:CDDL-1.0 OR LGPL-2.1
+License:CDDL-1.0 OR LGPL-2.1-only
 Group:  Development/Libraries/C and C++
 Url:https://www.libraw.org/
 #Git-Clone:git://github.com/LibRaw/LibRaw
 Source: https://www.libraw.org/data/%tar_name-%version.tar.gz
+Patch0: libraw-CVE-2018-10528.patch
+Patch1: libraw-CVE-2018-10529.patch
 BuildRequires:  fdupes
 BuildRequires:  gcc-c++
 BuildRequires:  libjasper-devel
@@ -95,6 +97,8 @@
 
 %prep
 %setup -qn %tar_name-%version
+%patch0 -p1
+%patch1 -p1
 
 %build
 export CXXFLAGS="%optflags -fPIC -DUSE_ZLIB"

++ LibRaw-0.18.8.tar.gz -> LibRaw-0.18.9.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/LibRaw-0.18.8/Changelog.txt 
new/LibRaw-0.18.9/Changelog.txt
--- old/LibRaw-0.18.8/Changelog.txt 2018-02-24 10:47:43.0 +0100
+++ new/LibRaw-0.18.9/Changelog.txt 2018-04-24 16:23:24.0 +0200
@@ -1,3 +1,13 @@
+2018-04-24  Alex Tutubalin 
+Secunia #81800: 
+Credit: Laurent Delosieres, Secunia Research at Flexera
+ * samsung_load_raw: possible buffer overrun
+ * rollei_load_raw: possible buffer overrun
+ * nikon_coolscan_load_raw: possible buffer overrun, possible NULL pointer
+ * find_green: possible stack overrun
+ * parse_exif: possible stack overrun
+ * LibRaw 0.18.9
+
 2018-02-23  Alex Tutubalin 
 Secunia #81000: 
 Credit: Laurent Delosieres, Secunia Research at Flexera
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/LibRaw-0.18.8/autom4te.cache/output.0 
new/LibRaw-0.18.9/autom4te.cache/output.0
--- old/LibRaw-0.18.8/autom4te.cache/output.0   2018-02-24 12:10:41.0 
+0100
+++ new/LibRaw-0.18.9/autom4te.cache/output.0   2018-04-24 16:32:57.0 
+0200
@@ -1,6 +1,6 @@
 @%:@! /bin/sh
 @%:@ Guess values for system-dependent variables and create Makefiles.
-@%:@ Generated by GNU Autoconf 2.69 for LibRaw 0.18.8.
+@%:@ Generated by GNU Autoconf 2.69 for LibRaw 0.18.9.
 @%:@
 @%:@ Report bugs to .
 @%:@ 
@@ -590,8 +590,8 @@
 # Identity of this package.
 PACKAGE_NAME='LibRaw'
 PACKAGE_TARNAME='libraw'
-PACKAGE_VERSION='0.18.8'
-PACKAGE_STRING='LibRaw 0.18.8'
+PACKAGE_VERSION='0.18.9'
+PACKAGE_STRING='LibRaw 0.18.9'
 PACKAGE_BUGREPORT='i...@libraw.org'
 PACKAGE_URL='http://www.libraw.org'
 
@@ -1352,7 +1352,7 @@
   # Omit some internal or obsolete options to make the list less imposing.
   # This message is too long to be a string in the A/UX 3.1 sh.
   cat <<_ACEOF
-\`configure' configures LibRaw 0.18.8 to adapt to many kinds of systems.
+\`configure' configures LibRaw 0.18.9 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1422,7 +1422,7 @@
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
- short | recursive ) echo "Configuration of LibRaw 0.18.8:";;
+ short | recursive ) echo "Configuration of LibRaw 

commit libraw for openSUSE:Factory

2018-03-12 Thread root
Hello community,

here is the log from the commit of package libraw for openSUSE:Factory checked 
in at 2018-03-12 12:03:11

Comparing /work/SRC/openSUSE:Factory/libraw (Old)
 and  /work/SRC/openSUSE:Factory/.libraw.new (New)


Package is "libraw"

Mon Mar 12 12:03:11 2018 rev:47 rq:585106 version:0.18.8

Changes:

--- /work/SRC/openSUSE:Factory/libraw/libraw.changes2018-02-13 
10:26:15.755883604 +0100
+++ /work/SRC/openSUSE:Factory/.libraw.new/libraw.changes   2018-03-12 
12:03:12.089776454 +0100
@@ -1,0 +2,9 @@
+Fri Mar  9 12:41:28 UTC 2018 - kbabi...@suse.com
+
+- Updated to version 0.18.8:
+  * 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 
+- Dropped libraw-glibc-2.27.patch: No longer needed
+
+---

Old:

  LibRaw-0.18.7.tar.gz
  libraw-glibc-2.27.patch

New:

  LibRaw-0.18.8.tar.gz



Other differences:
--
++ libraw.spec ++
--- /var/tmp/diff_new_pack.eEAxXK/_old  2018-03-12 12:03:13.249734884 +0100
+++ /var/tmp/diff_new_pack.eEAxXK/_new  2018-03-12 12:03:13.249734884 +0100
@@ -20,7 +20,7 @@
 %define lver16
 %define lname  libraw%{lver}
 Name:   libraw
-Version:0.18.7
+Version:0.18.8
 Release:0
 Summary:Library for reading RAW files obtained from digital photo 
cameras
 License:CDDL-1.0 OR LGPL-2.1
@@ -28,7 +28,6 @@
 Url:https://www.libraw.org/
 #Git-Clone:git://github.com/LibRaw/LibRaw
 Source: https://www.libraw.org/data/%tar_name-%version.tar.gz
-Patch0: libraw-glibc-2.27.patch
 BuildRequires:  fdupes
 BuildRequires:  gcc-c++
 BuildRequires:  libjasper-devel
@@ -96,7 +95,6 @@
 
 %prep
 %setup -qn %tar_name-%version
-%patch0 -p1
 
 %build
 export CXXFLAGS="%optflags -fPIC -DUSE_ZLIB"

++ LibRaw-0.18.7.tar.gz -> LibRaw-0.18.8.tar.gz ++
 1747 lines of diff (skipped)




commit libraw for openSUSE:Factory

2018-02-13 Thread root
Hello community,

here is the log from the commit of package libraw for openSUSE:Factory checked 
in at 2018-02-13 10:26:12

Comparing /work/SRC/openSUSE:Factory/libraw (Old)
 and  /work/SRC/openSUSE:Factory/.libraw.new (New)


Package is "libraw"

Tue Feb 13 10:26:12 2018 rev:46 rq:574785 version:0.18.7

Changes:

--- /work/SRC/openSUSE:Factory/libraw/libraw.changes2018-01-26 
13:56:31.105611051 +0100
+++ /work/SRC/openSUSE:Factory/.libraw.new/libraw.changes   2018-02-13 
10:26:15.755883604 +0100
@@ -1,0 +2,6 @@
+Fri Feb  9 18:01:26 UTC 2018 - pgaj...@suse.com
+
+- fix build with glibc 2.27 [bsc#1079853]
+  + libraw-glibc-2.27.patch
+
+---

New:

  libraw-glibc-2.27.patch



Other differences:
--
++ libraw.spec ++
--- /var/tmp/diff_new_pack.yXYEDM/_old  2018-02-13 10:26:16.543855213 +0100
+++ /var/tmp/diff_new_pack.yXYEDM/_new  2018-02-13 10:26:16.547855069 +0100
@@ -28,6 +28,7 @@
 Url:https://www.libraw.org/
 #Git-Clone:git://github.com/LibRaw/LibRaw
 Source: https://www.libraw.org/data/%tar_name-%version.tar.gz
+Patch0: libraw-glibc-2.27.patch
 BuildRequires:  fdupes
 BuildRequires:  gcc-c++
 BuildRequires:  libjasper-devel
@@ -95,6 +96,7 @@
 
 %prep
 %setup -qn %tar_name-%version
+%patch0 -p1
 
 %build
 export CXXFLAGS="%optflags -fPIC -DUSE_ZLIB"

++ libraw-glibc-2.27.patch ++
Index: LibRaw-0.18.7/internal/dcraw_common.cpp
===
--- LibRaw-0.18.7.orig/internal/dcraw_common.cpp2018-01-19 
06:57:03.0 +0100
+++ LibRaw-0.18.7/internal/dcraw_common.cpp 2018-02-09 18:59:34.620363754 
+0100
@@ -5849,7 +5849,7 @@ static float powf_lim(float a, float b,
 {
   return (b>limup || b < -limup)?0.f:powf(a,b);
 }
-static float powf64(float a, float b)
+static float my_powf64(float a, float b)
 {
   return powf_lim(a,b,64.f);
 }
@@ -5873,7 +5873,7 @@ static float my_roundf(float x) {
 static float _CanonConvertAperture(ushort in)
 {
   if ((in == (ushort)0xffe0) || (in == (ushort)0x7fff)) return 0.0f;
-  return powf64(2.0, in/64.0);
+  return my_powf64(2.0, in/64.0);
 }
 
 static float _CanonConvertEV (short in)
@@ -6336,21 +6336,21 @@ void CLASS processNikonLensData (uchar *
 if (fabsf(imgdata.lens.makernotes.MinFocal) < 1.1f)
 {
   if ((imgdata.lens.nikon.NikonLensType ^ (uchar)0x01) || LensData[i + 2])
-imgdata.lens.makernotes.MinFocal = 5.0f * powf64(2.0f, 
(float)LensData[i + 2] / 24.0f);
+imgdata.lens.makernotes.MinFocal = 5.0f * my_powf64(2.0f, 
(float)LensData[i + 2] / 24.0f);
   if ((imgdata.lens.nikon.NikonLensType ^ (uchar)0x01) || LensData[i + 3])
-imgdata.lens.makernotes.MaxFocal = 5.0f * powf64(2.0f, 
(float)LensData[i + 3] / 24.0f);
+imgdata.lens.makernotes.MaxFocal = 5.0f * my_powf64(2.0f, 
(float)LensData[i + 3] / 24.0f);
   if ((imgdata.lens.nikon.NikonLensType ^ (uchar)0x01) || LensData[i + 4])
-imgdata.lens.makernotes.MaxAp4MinFocal = powf64(2.0f, 
(float)LensData[i + 4] / 24.0f);
+imgdata.lens.makernotes.MaxAp4MinFocal = my_powf64(2.0f, 
(float)LensData[i + 4] / 24.0f);
   if ((imgdata.lens.nikon.NikonLensType ^ (uchar)0x01) || LensData[i + 5])
-imgdata.lens.makernotes.MaxAp4MaxFocal = powf64(2.0f, 
(float)LensData[i + 5] / 24.0f);
+imgdata.lens.makernotes.MaxAp4MaxFocal = my_powf64(2.0f, 
(float)LensData[i + 5] / 24.0f);
 }
 imgdata.lens.nikon.NikonMCUVersion = LensData[i + 6];
 if (i != 2)
   {
 if ((LensData[i - 1]) &&
 (fabsf(imgdata.lens.makernotes.CurFocal) < 1.1f))
-  imgdata.lens.makernotes.CurFocal = 5.0f * powf64(2.0f, 
(float)LensData[i - 1] / 24.0f);
-if (LensData[i + 7]) imgdata.lens.nikon.NikonEffectiveMaxAp = 
powf64(2.0f, (float)LensData[i + 7] / 24.0f);
+  imgdata.lens.makernotes.CurFocal = 5.0f * my_powf64(2.0f, 
(float)LensData[i - 1] / 24.0f);
+if (LensData[i + 7]) imgdata.lens.nikon.NikonEffectiveMaxAp = 
my_powf64(2.0f, (float)LensData[i + 7] / 24.0f);
   }
 imgdata.lens.makernotes.LensID =
   (unsigned long long) LensData[i] << 56 |
@@ -6827,13 +6827,13 @@ void CLASS PentaxLensInfo (unsigned id,
if (table_buf[iLensData+9] &&
(fabs(imgdata.lens.makernotes.CurFocal) < 0.1f))
  imgdata.lens.makernotes.CurFocal =
-   10*(table_buf[iLensData+9]>>2) * powf64(4, 
(table_buf[iLensData+9] & 0x03)-2);
+   10*(table_buf[iLensData+9]>>2) * my_powf64(4, 
(table_buf[iLensData+9] & 0x03)-2);
if (table_buf[iLensData+10] & 0xf0)
  

commit libraw for openSUSE:Factory

2018-01-26 Thread root
Hello community,

here is the log from the commit of package libraw for openSUSE:Factory checked 
in at 2018-01-26 13:56:27

Comparing /work/SRC/openSUSE:Factory/libraw (Old)
 and  /work/SRC/openSUSE:Factory/.libraw.new (New)


Package is "libraw"

Fri Jan 26 13:56:27 2018 rev:45 rq:568826 version:0.18.7

Changes:

--- /work/SRC/openSUSE:Factory/libraw/libraw.changes2017-12-29 
00:02:13.888583408 +0100
+++ /work/SRC/openSUSE:Factory/.libraw.new/libraw.changes   2018-01-26 
13:56:31.105611051 +0100
@@ -1,0 +2,15 @@
+Tue Jan 23 23:07:15 UTC 2018 - avin...@opensuse.org
+
+- updated to 0.18.7:
+  * 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)
+- partial cleanup with spec-cleaner
+- other spec fixes:
+  * switch to https site
+  * remove executable bit from copyright
+  * remove outdated comment about build parallelism
+
+---

Old:

  LibRaw-0.18.6.tar.gz

New:

  LibRaw-0.18.7.tar.gz



Other differences:
--
++ libraw.spec ++
--- /var/tmp/diff_new_pack.x9WGGy/_old  2018-01-26 13:56:32.117563804 +0100
+++ /var/tmp/diff_new_pack.x9WGGy/_new  2018-01-26 13:56:32.121563617 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package libraw
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,28 +17,25 @@
 
 
 %define tar_name LibRaw
-
-Name:   libraw
 %define lver16
 %define lname  libraw%{lver}
-Version:0.18.6
+Name:   libraw
+Version:0.18.7
 Release:0
 Summary:Library for reading RAW files obtained from digital photo 
cameras
-License:CDDL-1.0 or LGPL-2.1
+License:CDDL-1.0 OR LGPL-2.1
 Group:  Development/Libraries/C and C++
-Url:http://www.libraw.org/
-
+Url:https://www.libraw.org/
 #Git-Clone:git://github.com/LibRaw/LibRaw
-Source: http://www.libraw.org/data/%tar_name-%version.tar.gz
+Source: https://www.libraw.org/data/%tar_name-%version.tar.gz
 BuildRequires:  fdupes
 BuildRequires:  gcc-c++
 BuildRequires:  libjasper-devel
 BuildRequires:  libjpeg-devel
 BuildRequires:  liblcms2-devel
-BuildRequires:  pkg-config
+BuildRequires:  pkgconfig
 # zlib for deflate DNG support
 BuildRequires:  zlib-devel
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
 LibRaw is a library for reading RAW files obtained from digital photo
@@ -103,18 +100,17 @@
 export CXXFLAGS="%optflags -fPIC -DUSE_ZLIB"
 export LIBS="$LIBS -lz"
 %configure
-# build env is too broken for parallel build
 make %{?_smp_mflags}
 
 %install
 find doc -type f -name "*.html" -exec chmod a-x "{}" "+"
 mv doc manual
 # The source tree has these with execute permissions for some reason
-chmod -x Changelog.txt LICENSE.CDDL LICENSE.LGPL
+chmod -x Changelog.txt LICENSE.CDDL LICENSE.LGPL COPYRIGHT
 chmod -x manual/index.html
 # The Libraries
-make install DESTDIR="%buildroot"
-rm -f "%buildroot/%_libdir"/*.la
+%make_install
+find %buildroot -type f -name "*.la" -delete -print
 # duplicated files
 rm -rf %buildroot%_datadir/doc
 %fdupes %buildroot/%_prefix
@@ -123,11 +119,9 @@
 %postun -n %lname -p /sbin/ldconfig
 
 %files tools
-%defattr(-,root,root)
 %_bindir/*
 
 %files devel
-%defattr(-,root,root)
 %doc Changelog.txt COPYRIGHT LICENSE.CDDL LICENSE.LGPL
 %doc manual
 %_includedir/%name/
@@ -136,12 +130,10 @@
 %_libdir/libraw_r.so
 
 %files -n %lname
-%defattr(-,root,root)
 %_libdir/libraw.so.%{lver}*
 %_libdir/libraw_r.so.%{lver}*
 
 %files devel-static
-%defattr(-,root,root)
 %_libdir/libraw.a
 %_libdir/libraw_r.a
 

++ LibRaw-0.18.6.tar.gz -> LibRaw-0.18.7.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/LibRaw-0.18.6/Changelog.txt 
new/LibRaw-0.18.7/Changelog.txt
--- old/LibRaw-0.18.6/Changelog.txt 2017-12-06 08:39:23.0 +0100
+++ new/LibRaw-0.18.7/Changelog.txt 2018-01-19 06:52:22.0 +0100
@@ -1,3 +1,12 @@
+2018-01-19  Alex Tutubalin 
+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 
 Secunia 

commit libraw for openSUSE:Factory

2017-12-28 Thread root
Hello community,

here is the log from the commit of package libraw for openSUSE:Factory checked 
in at 2017-12-29 00:02:07

Comparing /work/SRC/openSUSE:Factory/libraw (Old)
 and  /work/SRC/openSUSE:Factory/.libraw.new (New)


Package is "libraw"

Fri Dec 29 00:02:07 2017 rev:44 rq:559097 version:0.18.6

Changes:

--- /work/SRC/openSUSE:Factory/libraw/libraw.changes2017-10-02 
16:51:12.615600685 +0200
+++ /work/SRC/openSUSE:Factory/.libraw.new/libraw.changes   2017-12-29 
00:02:13.888583408 +0100
@@ -1,0 +2,8 @@
+Thu Dec 14 12:11:09 UTC 2017 - pgaj...@suse.com
+
+- updated to 0.18.6:
+  * Fixed fuji_width handling if file is neither fuji nor DNG
+  * Fixed xtrans interpolate for broken xtrans pattern
+  * Fixed panasonic decoder
+
+---

Old:

  LibRaw-0.18.5.tar.gz

New:

  LibRaw-0.18.6.tar.gz



Other differences:
--
++ libraw.spec ++
--- /var/tmp/diff_new_pack.qpngPE/_old  2017-12-29 00:02:14.484412622 +0100
+++ /var/tmp/diff_new_pack.qpngPE/_new  2017-12-29 00:02:14.488411476 +0100
@@ -21,7 +21,7 @@
 Name:   libraw
 %define lver16
 %define lname  libraw%{lver}
-Version:0.18.5
+Version:0.18.6
 Release:0
 Summary:Library for reading RAW files obtained from digital photo 
cameras
 License:CDDL-1.0 or LGPL-2.1

++ LibRaw-0.18.5.tar.gz -> LibRaw-0.18.6.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/LibRaw-0.18.5/Changelog.txt 
new/LibRaw-0.18.6/Changelog.txt
--- old/LibRaw-0.18.5/Changelog.txt 2017-09-22 08:23:54.0 +0200
+++ new/LibRaw-0.18.6/Changelog.txt 2017-12-06 08:39:23.0 +0100
@@ -1,3 +1,10 @@
+2017-12-06  Alex Tutubalin 
+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 
  * Fixed possible out of bound access in Kodak 6500 loader
  * LibRaw 0.18.5
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/LibRaw-0.18.5/autom4te.cache/output.0 
new/LibRaw-0.18.6/autom4te.cache/output.0
--- old/LibRaw-0.18.5/autom4te.cache/output.0   2017-09-22 08:35:18.0 
+0200
+++ new/LibRaw-0.18.6/autom4te.cache/output.0   2017-12-06 09:15:13.0 
+0100
@@ -1,6 +1,6 @@
 @%:@! /bin/sh
 @%:@ Guess values for system-dependent variables and create Makefiles.
-@%:@ Generated by GNU Autoconf 2.69 for LibRaw 0.18.5.
+@%:@ Generated by GNU Autoconf 2.69 for LibRaw 0.18.6.
 @%:@
 @%:@ Report bugs to .
 @%:@ 
@@ -590,8 +590,8 @@
 # Identity of this package.
 PACKAGE_NAME='LibRaw'
 PACKAGE_TARNAME='libraw'
-PACKAGE_VERSION='0.18.5'
-PACKAGE_STRING='LibRaw 0.18.5'
+PACKAGE_VERSION='0.18.6'
+PACKAGE_STRING='LibRaw 0.18.6'
 PACKAGE_BUGREPORT='i...@libraw.org'
 PACKAGE_URL='http://www.libraw.org'
 
@@ -1352,7 +1352,7 @@
   # Omit some internal or obsolete options to make the list less imposing.
   # This message is too long to be a string in the A/UX 3.1 sh.
   cat <<_ACEOF
-\`configure' configures LibRaw 0.18.5 to adapt to many kinds of systems.
+\`configure' configures LibRaw 0.18.6 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1422,7 +1422,7 @@
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
- short | recursive ) echo "Configuration of LibRaw 0.18.5:";;
+ short | recursive ) echo "Configuration of LibRaw 0.18.6:";;
esac
   cat <<\_ACEOF
 
@@ -1553,7 +1553,7 @@
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-LibRaw configure 0.18.5
+LibRaw configure 0.18.6
 generated by GNU Autoconf 2.69
 
 Copyright (C) 2012 Free Software Foundation, Inc.
@@ -2043,7 +2043,7 @@
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by LibRaw $as_me 0.18.5, which was
+It was created by LibRaw $as_me 0.18.6, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   $ $0 $@
@@ -2906,7 +2906,7 @@
 
 # Define the identity of the package.
  PACKAGE='libraw'
- VERSION='0.18.5'
+ VERSION='0.18.6'
 
 
 # Some tools Automake needs.
@@ -16906,7 +16906,7 @@
 
 LIBRAW_SHLIB_VERSION=16:0:0
 
-LIBRAW_RELEASE_VERSION=0.18.5
+LIBRAW_RELEASE_VERSION=0.18.6
 
 
 cat >confcache <<\_ACEOF
@@ -17483,7 +17483,7 @@
 # report actual input values of CONFIG_FILES etc. instead of their
 # values after options handling.
 ac_log="
-This file was extended by LibRaw $as_me 0.18.5, which was
+This file was extended by LibRaw $as_me 0.18.6, which was
 

commit libraw for openSUSE:Factory

2017-10-02 Thread root
Hello community,

here is the log from the commit of package libraw for openSUSE:Factory checked 
in at 2017-10-02 16:51:11

Comparing /work/SRC/openSUSE:Factory/libraw (Old)
 and  /work/SRC/openSUSE:Factory/.libraw.new (New)


Package is "libraw"

Mon Oct  2 16:51:11 2017 rev:43 rq:528639 version:0.18.5

Changes:

--- /work/SRC/openSUSE:Factory/libraw/libraw.changes2017-09-18 
19:51:10.550875500 +0200
+++ /work/SRC/openSUSE:Factory/.libraw.new/libraw.changes   2017-10-02 
16:51:12.615600685 +0200
@@ -1,0 +2,10 @@
+Mon Sep 25 12:42:43 UTC 2017 - pgaj...@suse.com
+
+- updated to 0.18.5:
+Fix for possible buffer overrun in kodak_65000 decoder
+Fix for possible heap overrun in Canon makernotes parser
+Fix for CVE-2017-13735
+CVE-2017-14265: Additional check for X-Trans CFA pattern data 
+- remove upstreamed libraw-out-of-bounds-kodak.patch
+
+---

Old:

  LibRaw-0.18.4.tar.gz
  libraw-out-of-bounds-kodak.patch

New:

  LibRaw-0.18.5.tar.gz



Other differences:
--
++ libraw.spec ++
--- /var/tmp/diff_new_pack.WmRkZt/_old  2017-10-02 16:51:13.463481683 +0200
+++ /var/tmp/diff_new_pack.WmRkZt/_new  2017-10-02 16:51:13.467481122 +0200
@@ -21,7 +21,7 @@
 Name:   libraw
 %define lver16
 %define lname  libraw%{lver}
-Version:0.18.4
+Version:0.18.5
 Release:0
 Summary:Library for reading RAW files obtained from digital photo 
cameras
 License:CDDL-1.0 or LGPL-2.1
@@ -30,7 +30,6 @@
 
 #Git-Clone:git://github.com/LibRaw/LibRaw
 Source: http://www.libraw.org/data/%tar_name-%version.tar.gz
-Patch0: libraw-out-of-bounds-kodak.patch
 BuildRequires:  fdupes
 BuildRequires:  gcc-c++
 BuildRequires:  libjasper-devel
@@ -99,7 +98,6 @@
 
 %prep
 %setup -qn %tar_name-%version
-%patch0 -p1
 
 %build
 export CXXFLAGS="%optflags -fPIC -DUSE_ZLIB"

++ LibRaw-0.18.4.tar.gz -> LibRaw-0.18.5.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/LibRaw-0.18.4/Changelog.txt 
new/LibRaw-0.18.5/Changelog.txt
--- old/LibRaw-0.18.4/Changelog.txt 2017-09-12 09:21:15.0 +0200
+++ new/LibRaw-0.18.5/Changelog.txt 2017-09-22 08:23:54.0 +0200
@@ -1,5 +1,10 @@
+2017-09-22  Alex Tutubalin 
+ * Fixed possible out of bound access in Kodak 6500 loader
+ * LibRaw 0.18.5
+
 2017-09-12  Alex Tutubalin 
- * Fix for possible heap overrun in Canon makernotes parser
+ * 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 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/LibRaw-0.18.4/autom4te.cache/output.0 
new/LibRaw-0.18.5/autom4te.cache/output.0
--- old/LibRaw-0.18.4/autom4te.cache/output.0   2017-09-12 09:24:39.0 
+0200
+++ new/LibRaw-0.18.5/autom4te.cache/output.0   2017-09-22 08:35:18.0 
+0200
@@ -1,6 +1,6 @@
 @%:@! /bin/sh
 @%:@ Guess values for system-dependent variables and create Makefiles.
-@%:@ Generated by GNU Autoconf 2.69 for LibRaw 0.18.4.
+@%:@ Generated by GNU Autoconf 2.69 for LibRaw 0.18.5.
 @%:@
 @%:@ Report bugs to .
 @%:@ 
@@ -590,8 +590,8 @@
 # Identity of this package.
 PACKAGE_NAME='LibRaw'
 PACKAGE_TARNAME='libraw'
-PACKAGE_VERSION='0.18.4'
-PACKAGE_STRING='LibRaw 0.18.4'
+PACKAGE_VERSION='0.18.5'
+PACKAGE_STRING='LibRaw 0.18.5'
 PACKAGE_BUGREPORT='i...@libraw.org'
 PACKAGE_URL='http://www.libraw.org'
 
@@ -1352,7 +1352,7 @@
   # Omit some internal or obsolete options to make the list less imposing.
   # This message is too long to be a string in the A/UX 3.1 sh.
   cat <<_ACEOF
-\`configure' configures LibRaw 0.18.4 to adapt to many kinds of systems.
+\`configure' configures LibRaw 0.18.5 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1422,7 +1422,7 @@
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
- short | recursive ) echo "Configuration of LibRaw 0.18.4:";;
+ short | recursive ) echo "Configuration of LibRaw 0.18.5:";;
esac
   cat <<\_ACEOF
 
@@ -1553,7 +1553,7 @@
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-LibRaw configure 0.18.4
+LibRaw configure 0.18.5
 generated by GNU Autoconf 2.69
 
 Copyright (C) 2012 Free Software Foundation, Inc.
@@ -2043,7 +2043,7 @@
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by LibRaw $as_me 0.18.4, which was
+It was created by LibRaw $as_me 0.18.5, which was
 generated by 

commit libraw for openSUSE:Factory

2017-09-18 Thread root
Hello community,

here is the log from the commit of package libraw for openSUSE:Factory checked 
in at 2017-09-18 19:51:08

Comparing /work/SRC/openSUSE:Factory/libraw (Old)
 and  /work/SRC/openSUSE:Factory/.libraw.new (New)


Package is "libraw"

Mon Sep 18 19:51:08 2017 rev:42 rq:526402 version:0.18.4

Changes:

--- /work/SRC/openSUSE:Factory/libraw/libraw.changes2017-06-02 
10:29:34.387774875 +0200
+++ /work/SRC/openSUSE:Factory/.libraw.new/libraw.changes   2017-09-18 
19:51:10.550875500 +0200
@@ -1,0 +2,13 @@
+Wed Sep 13 10:25:35 UTC 2017 - pgaj...@suse.com
+
+- updated to 0.18.4:
+ * Fix for possible heap overrun in Canon makernotes parser 
+   (CVE-2017-14348)
+ * Fix for CVE-2017-13735
+ * CVE-2017-14265: Additional check for X-Trans CFA pattern data
+- add libraw-out-of-bounds-kodak.patch, upstream bug #101
+- remove libraw-CVE-2017-6887,6886.patch and
+ libraw-CVE-2017-6890,6899.patch:
+  no need to patch dcraw.c, it is not used
+
+---

Old:

  LibRaw-0.18.2.tar.gz
  libraw-CVE-2017-6887,6886.patch
  libraw-CVE-2017-6890,6899.patch

New:

  LibRaw-0.18.4.tar.gz
  libraw-out-of-bounds-kodak.patch



Other differences:
--
++ libraw.spec ++
--- /var/tmp/diff_new_pack.yytNG7/_old  2017-09-18 19:51:12.230639244 +0200
+++ /var/tmp/diff_new_pack.yytNG7/_new  2017-09-18 19:51:12.242637557 +0200
@@ -21,7 +21,7 @@
 Name:   libraw
 %define lver16
 %define lname  libraw%{lver}
-Version:0.18.2
+Version:0.18.4
 Release:0
 Summary:Library for reading RAW files obtained from digital photo 
cameras
 License:CDDL-1.0 or LGPL-2.1
@@ -30,8 +30,7 @@
 
 #Git-Clone:git://github.com/LibRaw/LibRaw
 Source: http://www.libraw.org/data/%tar_name-%version.tar.gz
-Patch0: libraw-CVE-2017-6890,6899.patch
-Patch1: libraw-CVE-2017-6887,6886.patch
+Patch0: libraw-out-of-bounds-kodak.patch
 BuildRequires:  fdupes
 BuildRequires:  gcc-c++
 BuildRequires:  libjasper-devel
@@ -101,7 +100,6 @@
 %prep
 %setup -qn %tar_name-%version
 %patch0 -p1
-%patch1 -p1
 
 %build
 export CXXFLAGS="%optflags -fPIC -DUSE_ZLIB"

++ LibRaw-0.18.2.tar.gz -> LibRaw-0.18.4.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/LibRaw-0.18.2/Changelog.txt 
new/LibRaw-0.18.4/Changelog.txt
--- old/LibRaw-0.18.2/Changelog.txt 2017-03-04 19:33:42.0 +0100
+++ new/LibRaw-0.18.4/Changelog.txt 2017-09-12 09:21:15.0 +0200
@@ -1,3 +1,19 @@
+2017-09-12  Alex Tutubalin 
+ * Fix for possible heap overrun in Canon makernotes parser
+ * LibRaw 0.18.4
+
+2017-09-09  Alex Tutubalin 
+ * 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 
+ * 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 
  * Camera Support: Sigma Quatto H
  * Fixed bug in FujiExpoMidPointShift parser
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/LibRaw-0.18.2/autom4te.cache/output.0 
new/LibRaw-0.18.4/autom4te.cache/output.0
--- old/LibRaw-0.18.2/autom4te.cache/output.0   2017-03-04 19:36:01.0 
+0100
+++ new/LibRaw-0.18.4/autom4te.cache/output.0   2017-09-12 09:24:39.0 
+0200
@@ -1,6 +1,6 @@
 @%:@! /bin/sh
 @%:@ Guess values for system-dependent variables and create Makefiles.
-@%:@ Generated by GNU Autoconf 2.69 for LibRaw 0.18.2.
+@%:@ Generated by GNU Autoconf 2.69 for LibRaw 0.18.4.
 @%:@
 @%:@ Report bugs to .
 @%:@ 
@@ -590,8 +590,8 @@
 # Identity of this package.
 PACKAGE_NAME='LibRaw'
 PACKAGE_TARNAME='libraw'
-PACKAGE_VERSION='0.18.2'
-PACKAGE_STRING='LibRaw 0.18.2'
+PACKAGE_VERSION='0.18.4'
+PACKAGE_STRING='LibRaw 0.18.4'
 PACKAGE_BUGREPORT='i...@libraw.org'
 PACKAGE_URL='http://www.libraw.org'
 
@@ -1352,7 +1352,7 @@
   # Omit some internal or obsolete options to make the list less imposing.
   # This message is too long to be a string in the A/UX 3.1 sh.
   cat <<_ACEOF
-\`configure' configures LibRaw 0.18.2 to adapt to many kinds of systems.
+\`configure' configures LibRaw 0.18.4 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1422,7 +1422,7 @@
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
- short | recursive ) echo "Configuration of LibRaw 0.18.2:";;
+ short | recursive ) echo "Configuration 

commit libraw for openSUSE:Factory

2017-06-02 Thread root
Hello community,

here is the log from the commit of package libraw for openSUSE:Factory checked 
in at 2017-06-02 10:29:29

Comparing /work/SRC/openSUSE:Factory/libraw (Old)
 and  /work/SRC/openSUSE:Factory/.libraw.new (New)


Package is "libraw"

Fri Jun  2 10:29:29 2017 rev:41 rq:497438 version:0.18.2

Changes:

--- /work/SRC/openSUSE:Factory/libraw/libraw.changes2017-02-04 
18:00:57.524324509 +0100
+++ /work/SRC/openSUSE:Factory/.libraw.new/libraw.changes   2017-06-02 
10:29:34.387774875 +0200
@@ -1,0 +2,18 @@
+Tue May 23 06:54:04 UTC 2017 - pgaj...@suse.com
+
+- updated to 0.18.2:
+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-size output  
+Camera Support: Sigma Quattro H
+Fixed bug in FujiExpoMidPointShift parser
+Fixed wrong black level in Sony A350
+Added standard integer types for VisualStudio 2008 and earlier
+- added missing parts of the fix for CVE-2017-6887 
+  and CVE-2017-6886
++ libraw-CVE-2017-6887,6886.patch
+- added missing fix for CVE-2017-6890 and CVE-2017-6899
+  + libraw-CVE-2017-6890,6899.patch
+
+---

Old:

  LibRaw-0.18.0.tar.gz

New:

  LibRaw-0.18.2.tar.gz
  libraw-CVE-2017-6887,6886.patch
  libraw-CVE-2017-6890,6899.patch



Other differences:
--
++ libraw.spec ++
--- /var/tmp/diff_new_pack.rNsd7l/_old  2017-06-02 10:29:34.955694629 +0200
+++ /var/tmp/diff_new_pack.rNsd7l/_new  2017-06-02 10:29:34.955694629 +0200
@@ -21,7 +21,7 @@
 Name:   libraw
 %define lver16
 %define lname  libraw%{lver}
-Version:0.18.0
+Version:0.18.2
 Release:0
 Summary:Library for reading RAW files obtained from digital photo 
cameras
 License:CDDL-1.0 or LGPL-2.1
@@ -30,6 +30,8 @@
 
 #Git-Clone:git://github.com/LibRaw/LibRaw
 Source: http://www.libraw.org/data/%tar_name-%version.tar.gz
+Patch0: libraw-CVE-2017-6890,6899.patch
+Patch1: libraw-CVE-2017-6887,6886.patch
 BuildRequires:  fdupes
 BuildRequires:  gcc-c++
 BuildRequires:  libjasper-devel
@@ -98,6 +100,8 @@
 
 %prep
 %setup -qn %tar_name-%version
+%patch0 -p1
+%patch1 -p1
 
 %build
 export CXXFLAGS="%optflags -fPIC -DUSE_ZLIB"

++ LibRaw-0.18.0.tar.gz -> LibRaw-0.18.2.tar.gz ++
 2766 lines of diff (skipped)

++ libraw-CVE-2017-6887,6886.patch ++
>From d7c3d2cb460be10a3ea7b32e9443a83c243b2251 Mon Sep 17 00:00:00 2001
From: Alex Tutubalin 
Date: Sat, 4 Mar 2017 21:27:39 +0300
Subject: [PATCH] Secunia SA75000 advisory: several buffer overruns

---
 dcraw/dcraw.c | 12 ++--
 internal/dcraw_common.cpp | 12 ++--
 2 files changed, 20 insertions(+), 4 deletions(-)

Index: LibRaw-0.18.2/dcraw/dcraw.c
===
--- LibRaw-0.18.2.orig/dcraw/dcraw.c2017-05-23 10:30:39.264790336 +0200
+++ LibRaw-0.18.2/dcraw/dcraw.c 2017-05-23 11:15:45.574900958 +0200
@@ -5841,7 +5841,12 @@ int CLASS parse_tiff_ifd (int base)
if (!strcmp(model,"DSLR-A100") && tiff_ifd[ifd].width == 3872) {
  load_raw =  sony_arw_load_raw;
  data_offset = get4()+base;
- ifd++;  break;
+ ifd++;  
+#ifdef LIBRAW_LIBRARY_BUILD
+  if (ifd >= sizeof tiff_ifd / sizeof tiff_ifd[0])
+throw LIBRAW_EXCEPTION_IO_CORRUPT;
+#endif  
+  break; 
}
while (len--) {
  i = ftell(ifp);
@@ -6005,6 +6010,8 @@ int CLASS parse_tiff_ifd (int base)
break;
   case 50454:  /* Sinar tag */
   case 50455:
+if (len < 1 || len > 256)
+  break;
if (!(cbuf = (char *) malloc(len))) break;
fread (cbuf, 1, len, ifp);
for (cp = cbuf-1; cp && cp < cbuf+len; cp = strchr(cp,'\n'))
++ libraw-CVE-2017-6890,6899.patch ++
--- a/dcraw/dcraw.c
+++ b/dcraw/dcraw.c
@@ -319,7 +319,7 @@ void CLASS foveon_huff (ushort *huff)
 void CLASS foveon_dp_load_raw()
 {
   unsigned c, roff[4], row, col, diff;
-  ushort huff[512], vpred[2][2], hpred[2];
+  ushort huff[1024], vpred[2][2], hpred[2];
 
   fseek (ifp, 8, SEEK_CUR);
   foveon_huff (huff);
@@ -346,12 +346,16 @@ void CLASS foveon_dp_load_raw()
 void CLASS foveon_load_camf()
 {
   unsigned type, wide, high, i, j, row, col, diff;
-  ushort huff[258], vpred[2][2] = {{512,512},{512,512}}, hpred[2];
+  ushort huff[1024], vpred[2][2] = {{512,512},{512,512}}, hpred[2];
 
   fseek (ifp, meta_offset, SEEK_SET);
   type = get4();  get4();  get4();
   wide = get4();
   high = get4();
+#ifdef 

commit libraw for openSUSE:Factory

2017-02-04 Thread root
Hello community,

here is the log from the commit of package libraw for openSUSE:Factory checked 
in at 2017-02-04 15:16:38

Comparing /work/SRC/openSUSE:Factory/libraw (Old)
 and  /work/SRC/openSUSE:Factory/.libraw.new (New)


Package is "libraw"

Changes:

--- /work/SRC/openSUSE:Factory/libraw/libraw.changes2017-01-19 
10:41:46.734611588 +0100
+++ /work/SRC/openSUSE:Factory/.libraw.new/libraw.changes   2017-02-04 
18:00:57.524324509 +0100
@@ -1,0 +2,6 @@
+Mon Jan 30 14:58:42 UTC 2017 - pgaj...@suse.com
+
+- renaming libraw15 to libraw16 and amend spec file to avoid such
+  inconsistency [bsc#1021327]
+
+---



Other differences:
--
++ libraw.spec ++
--- /var/tmp/diff_new_pack.clTlZw/_old  2017-02-04 18:00:57.800285054 +0100
+++ /var/tmp/diff_new_pack.clTlZw/_new  2017-02-04 18:00:57.800285054 +0100
@@ -19,7 +19,8 @@
 %define tar_name LibRaw
 
 Name:   libraw
-%define lname  libraw15
+%define lver16
+%define lname  libraw%{lver}
 Version:0.18.0
 Release:0
 Summary:Library for reading RAW files obtained from digital photo 
cameras
@@ -136,8 +137,8 @@
 
 %files -n %lname
 %defattr(-,root,root)
-%_libdir/libraw.so.*
-%_libdir/libraw_r.so.*
+%_libdir/libraw.so.%{lver}*
+%_libdir/libraw_r.so.%{lver}*
 
 %files devel-static
 %defattr(-,root,root)




commit libraw for openSUSE:Factory

2017-01-19 Thread root
Hello community,

here is the log from the commit of package libraw for openSUSE:Factory checked 
in at 2017-01-19 10:41:45

Comparing /work/SRC/openSUSE:Factory/libraw (Old)
 and  /work/SRC/openSUSE:Factory/.libraw.new (New)


Package is "libraw"

Changes:

--- /work/SRC/openSUSE:Factory/libraw/libraw.changes2016-07-20 
09:15:25.0 +0200
+++ /work/SRC/openSUSE:Factory/.libraw.new/libraw.changes   2017-01-19 
10:41:46.734611588 +0100
@@ -1,0 +2,57 @@
+Wed Jan 11 09:16:36 UTC 2017 - nico.kru...@gmail.com
+
+- update to 0.18.0:
+  * License changed to LGPL-2.1/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
+  * More metadata parsed
+  * Existing API changes:
+imgdata.params fields (all very specific purpose):
+sony_arw2_options, sraw_ycc, and params.x3f_flags
+replaced with single bit-field raw_processing_options
+See  LIBRAW_PROCESSING_* bits in documentation.
+  * Fixed bug in Sony SR2 files black level
+  * DNG files with BlackLevel both in vendor makernotes and
+BlackLevel: BlackLevel tag always takes precedence
+  * ChannelBlackLevel added to canon makernotes
+  * unpack_thumb() data size/offset check against file size
+- removed libraw-0.17.1-gcc6-compatibility.patch (fixed upstream)
+
+---

Old:

  LibRaw-0.17.2.tar.gz
  libraw-0.17.1-gcc6-compatibility.patch

New:

  LibRaw-0.18.0.tar.gz



Other differences:
--
++ libraw.spec ++
--- /var/tmp/diff_new_pack.7lyuiR/_old  2017-01-19 10:41:47.238540503 +0100
+++ /var/tmp/diff_new_pack.7lyuiR/_new  2017-01-19 10:41:47.238540503 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package libraw
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -20,7 +20,7 @@
 
 Name:   libraw
 %define lname  libraw15
-Version:0.17.2
+Version:0.18.0
 Release:0
 Summary:Library for reading RAW files obtained from digital photo 
cameras
 License:CDDL-1.0 or LGPL-2.1
@@ -29,14 +29,14 @@
 
 #Git-Clone:git://github.com/LibRaw/LibRaw
 Source: http://www.libraw.org/data/%tar_name-%version.tar.gz
-# PATCH-FIX-UPSTREAM libraw-0.17.1-gcc6-compatibility.patch -- picked from 
upstream, sligthly modified for ppc
-Patch:  libraw-0.17.1-gcc6-compatibility.patch
 BuildRequires:  fdupes
 BuildRequires:  gcc-c++
 BuildRequires:  libjasper-devel
 BuildRequires:  libjpeg-devel
 BuildRequires:  liblcms2-devel
 BuildRequires:  pkg-config
+# zlib for deflate DNG support
+BuildRequires:  zlib-devel
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -47,7 +47,7 @@
 drawbacks have already been eliminated and part will be fixed in future.
 
 %package tools
-Summary:Library for reading RAW files obtained from digital photo 
cameras -- Tools
+Summary:Tools for reading RAW files obtained from digital photo cameras
 Group:  Productivity/Graphics/Other
 
 %description tools
@@ -97,10 +97,10 @@
 
 %prep
 %setup -qn %tar_name-%version
-%patch -p1
 
 %build
-export CXXFLAGS="%optflags -fPIC"
+export CXXFLAGS="%optflags -fPIC -DUSE_ZLIB"
+export LIBS="$LIBS -lz"
 %configure
 # 

commit libraw for openSUSE:Factory

2016-07-20 Thread h_root
Hello community,

here is the log from the commit of package libraw for openSUSE:Factory checked 
in at 2016-07-20 09:15:24

Comparing /work/SRC/openSUSE:Factory/libraw (Old)
 and  /work/SRC/openSUSE:Factory/.libraw.new (New)


Package is "libraw"

Changes:

--- /work/SRC/openSUSE:Factory/libraw/libraw.changes2016-05-31 
12:10:01.0 +0200
+++ /work/SRC/openSUSE:Factory/.libraw.new/libraw.changes   2016-07-20 
09:15:25.0 +0200
@@ -1,0 +2,6 @@
+Sun Jul 10 19:56:24 UTC 2016 - nico.kru...@gmail.com
+
+- update to 0.17.2:
+  * strncpy usage was not compatible with glibc bounds check
+
+---
@@ -16 +22 @@
-- updated to 1.17.1:
+- updated to 0.17.1:

Old:

  LibRaw-0.17.1.tar.gz

New:

  LibRaw-0.17.2.tar.gz



Other differences:
--
++ libraw.spec ++
--- /var/tmp/diff_new_pack.wU2Lgl/_old  2016-07-20 09:15:26.0 +0200
+++ /var/tmp/diff_new_pack.wU2Lgl/_new  2016-07-20 09:15:26.0 +0200
@@ -20,7 +20,7 @@
 
 Name:   libraw
 %define lname  libraw15
-Version:0.17.1
+Version:0.17.2
 Release:0
 Summary:Library for reading RAW files obtained from digital photo 
cameras
 License:CDDL-1.0 or LGPL-2.1

++ LibRaw-0.17.1.tar.gz -> LibRaw-0.17.2.tar.gz ++
 2541 lines of diff (skipped)




commit libraw for openSUSE:Factory

2016-05-31 Thread h_root
Hello community,

here is the log from the commit of package libraw for openSUSE:Factory checked 
in at 2016-05-31 12:09:59

Comparing /work/SRC/openSUSE:Factory/libraw (Old)
 and  /work/SRC/openSUSE:Factory/.libraw.new (New)


Package is "libraw"

Changes:

--- /work/SRC/openSUSE:Factory/libraw/libraw.changes2015-12-09 
19:32:59.0 +0100
+++ /work/SRC/openSUSE:Factory/.libraw.new/libraw.changes   2016-05-31 
12:10:01.0 +0200
@@ -1,0 +2,12 @@
+Tue May 24 20:18:14 UTC 2016 - antoine.belv...@laposte.net
+
+- Complete libraw-0.17.1-gcc6-compatibility.patch to fix build
+  on ppc as well
+
+---
+Tue May 24 16:21:17 UTC 2016 - antoine.belv...@laposte.net
+
+- Fix build with GCC 6:
+  * Add libraw-0.17.1-gcc6-compatibility.patch
+
+---

New:

  libraw-0.17.1-gcc6-compatibility.patch



Other differences:
--
++ libraw.spec ++
--- /var/tmp/diff_new_pack.GJudu6/_old  2016-05-31 12:10:02.0 +0200
+++ /var/tmp/diff_new_pack.GJudu6/_new  2016-05-31 12:10:02.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package libraw
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -29,6 +29,8 @@
 
 #Git-Clone:git://github.com/LibRaw/LibRaw
 Source: http://www.libraw.org/data/%tar_name-%version.tar.gz
+# PATCH-FIX-UPSTREAM libraw-0.17.1-gcc6-compatibility.patch -- picked from 
upstream, sligthly modified for ppc
+Patch:  libraw-0.17.1-gcc6-compatibility.patch
 BuildRequires:  fdupes
 BuildRequires:  gcc-c++
 BuildRequires:  libjasper-devel
@@ -95,6 +97,7 @@
 
 %prep
 %setup -qn %tar_name-%version
+%patch -p1
 
 %build
 export CXXFLAGS="%optflags -fPIC"

++ libraw-0.17.1-gcc6-compatibility.patch ++
>From eba7a66e23f2f62cc4c8115af8066f2df5da085a Mon Sep 17 00:00:00 2001
From: Alex Tutubalin 
Date: Sun, 20 Mar 2016 16:32:58 +0300
Subject: [PATCH] gcc6 compatibility

---
 dcraw/dcraw.c | 67 ++-
 internal/dcraw_common.cpp | 67 ++-
 libraw/libraw_const.h |  3 +--
 3 files changed, 75 insertions(+), 62 deletions(-)

diff --git a/dcraw/dcraw.c b/dcraw/dcraw.c
index 3667404..39edcaa 100755
--- a/dcraw/dcraw.c
+++ b/dcraw/dcraw.c
@@ -5788,30 +5788,37 @@ void CLASS lin_interpolate()
  */
 void CLASS vng_interpolate()
 {
-  static const signed char *cp, terms[] = {
--2,-2,+0,-1,0,0x01, -2,-2,+0,+0,1,0x01, -2,-1,-1,+0,0,0x01,
--2,-1,+0,-1,0,0x02, -2,-1,+0,+0,0,0x03, -2,-1,+0,+1,1,0x01,
--2,+0,+0,-1,0,0x06, -2,+0,+0,+0,1,0x02, -2,+0,+0,+1,0,0x03,
--2,+1,-1,+0,0,0x04, -2,+1,+0,-1,1,0x04, -2,+1,+0,+0,0,0x06,
--2,+1,+0,+1,0,0x02, -2,+2,+0,+0,1,0x04, -2,+2,+0,+1,0,0x04,
--1,-2,-1,+0,0,0x80, -1,-2,+0,-1,0,0x01, -1,-2,+1,-1,0,0x01,
--1,-2,+1,+0,1,0x01, -1,-1,-1,+1,0,0x88, -1,-1,+1,-2,0,0x40,
--1,-1,+1,-1,0,0x22, -1,-1,+1,+0,0,0x33, -1,-1,+1,+1,1,0x11,
--1,+0,-1,+2,0,0x08, -1,+0,+0,-1,0,0x44, -1,+0,+0,+1,0,0x11,
--1,+0,+1,-2,1,0x40, -1,+0,+1,-1,0,0x66, -1,+0,+1,+0,1,0x22,
--1,+0,+1,+1,0,0x33, -1,+0,+1,+2,1,0x10, -1,+1,+1,-1,1,0x44,
--1,+1,+1,+0,0,0x66, -1,+1,+1,+1,0,0x22, -1,+1,+1,+2,0,0x10,
--1,+2,+0,+1,0,0x04, -1,+2,+1,+0,1,0x04, -1,+2,+1,+1,0,0x04,
-+0,-2,+0,+0,1,0x80, +0,-1,+0,+1,1,0x88, +0,-1,+1,-2,0,0x40,
-+0,-1,+1,+0,0,0x11, +0,-1,+2,-2,0,0x40, +0,-1,+2,-1,0,0x20,
-+0,-1,+2,+0,0,0x30, +0,-1,+2,+1,1,0x10, +0,+0,+0,+2,1,0x08,
-+0,+0,+2,-2,1,0x40, +0,+0,+2,-1,0,0x60, +0,+0,+2,+0,1,0x20,
-+0,+0,+2,+1,0,0x30, +0,+0,+2,+2,1,0x10, +0,+1,+1,+0,0,0x44,
-+0,+1,+1,+2,0,0x10, +0,+1,+2,-1,1,0x40, +0,+1,+2,+0,0,0x60,
-+0,+1,+2,+1,0,0x20, +0,+1,+2,+2,0,0x10, +1,-2,+1,+0,0,0x80,
-+1,-1,+1,+1,0,0x88, +1,+0,+1,+2,0,0x08, +1,+0,+2,-1,0,0x40,
-+1,+0,+2,+1,0,0x10
-  }, chood[] = { -1,-1, -1,0, -1,+1, 0,+1, +1,+1, +1,0, +1,-1, 0,-1 };
+  struct interpolate_terms {
+signed char y1, x1, y2, x2, weight;
+unsigned char grads;
+  };
+  static const interpolate_terms terms[] = {
+{-2,-2,+0,-1,0,0x01}, {-2,-2,+0,+0,1,0x01}, {-2,-1,-1,+0,0,0x01},
+{-2,-1,+0,-1,0,0x02}, {-2,-1,+0,+0,0,0x03}, {-2,-1,+0,+1,1,0x01},
+{-2,+0,+0,-1,0,0x06}, {-2,+0,+0,+0,1,0x02}, {-2,+0,+0,+1,0,0x03},
+{-2,+1,-1,+0,0,0x04}, {-2,+1,+0,-1,1,0x04}, {-2,+1,+0,+0,0,0x06},
+{-2,+1,+0,+1,0,0x02}, {-2,+2,+0,+0,1,0x04}, {-2,+2,+0,+1,0,0x04},
+{-1,-2,-1,+0,0,0x80}, {-1,-2,+0,-1,0,0x01}, {-1,-2,+1,-1,0,0x01},
+

commit libraw for openSUSE:Factory

2015-12-09 Thread h_root
Hello community,

here is the log from the commit of package libraw for openSUSE:Factory checked 
in at 2015-12-09 19:32:58

Comparing /work/SRC/openSUSE:Factory/libraw (Old)
 and  /work/SRC/openSUSE:Factory/.libraw.new (New)


Package is "libraw"

Changes:

--- /work/SRC/openSUSE:Factory/libraw/libraw.changes2015-12-01 
09:17:50.0 +0100
+++ /work/SRC/openSUSE:Factory/.libraw.new/libraw.changes   2015-12-09 
19:32:59.0 +0100
@@ -1,0 +2,9 @@
+Thu Dec  3 13:56:58 UTC 2015 - pgaj...@suse.com
+
+- updated to 1.17.1:
+* fixed two errors found by fuzzer (CVE-2015-8367)
+* phase_one_correct always returns value; handle P1 return codes 
+  in postprocessing
+- removed upstreamedretval.diff
+
+---

Old:

  LibRaw-0.17.0.tar.gz
  retval.diff

New:

  LibRaw-0.17.1.tar.gz



Other differences:
--
++ libraw.spec ++
--- /var/tmp/diff_new_pack.FCUhJB/_old  2015-12-09 19:33:00.0 +0100
+++ /var/tmp/diff_new_pack.FCUhJB/_new  2015-12-09 19:33:00.0 +0100
@@ -20,7 +20,7 @@
 
 Name:   libraw
 %define lname  libraw15
-Version:0.17.0
+Version:0.17.1
 Release:0
 Summary:Library for reading RAW files obtained from digital photo 
cameras
 License:CDDL-1.0 or LGPL-2.1
@@ -29,7 +29,6 @@
 
 #Git-Clone:git://github.com/LibRaw/LibRaw
 Source: http://www.libraw.org/data/%tar_name-%version.tar.gz
-Patch1: retval.diff
 BuildRequires:  fdupes
 BuildRequires:  gcc-c++
 BuildRequires:  libjasper-devel
@@ -96,7 +95,6 @@
 
 %prep
 %setup -qn %tar_name-%version
-%patch -P 1 -p1
 
 %build
 export CXXFLAGS="%optflags -fPIC"

++ LibRaw-0.17.0.tar.gz -> LibRaw-0.17.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/LibRaw-0.17.0/Changelog.txt 
new/LibRaw-0.17.1/Changelog.txt
--- old/LibRaw-0.17.0/Changelog.txt 2015-08-15 15:10:27.0 +0200
+++ new/LibRaw-0.17.1/Changelog.txt 2015-11-24 08:43:29.0 +0100
@@ -1,3 +1,9 @@
+2015-11-24  Alex Tutubalin 
+ * fixed two errors found by fuzzer
+ * phase_one_correct always returns value; handle P1 return codes in postproces
+ sing
+ * LibRaw 0.17.1
+
 2015-08-15  Alex Tutubalin 
 
  * LibRaw 0.17 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/LibRaw-0.17.0/autom4te.cache/output.0 
new/LibRaw-0.17.1/autom4te.cache/output.0
--- old/LibRaw-0.17.0/autom4te.cache/output.0   2015-08-15 16:07:49.0 
+0200
+++ new/LibRaw-0.17.1/autom4te.cache/output.0   2015-11-24 16:17:27.0 
+0100
@@ -1,6 +1,6 @@
 @%:@! /bin/sh
 @%:@ Guess values for system-dependent variables and create Makefiles.
-@%:@ Generated by GNU Autoconf 2.69 for LibRaw 0.17.0.
+@%:@ Generated by GNU Autoconf 2.69 for LibRaw 0.17.1.
 @%:@
 @%:@ Report bugs to .
 @%:@ 
@@ -590,8 +590,8 @@
 # Identity of this package.
 PACKAGE_NAME='LibRaw'
 PACKAGE_TARNAME='libraw'
-PACKAGE_VERSION='0.17.0'
-PACKAGE_STRING='LibRaw 0.17.0'
+PACKAGE_VERSION='0.17.1'
+PACKAGE_STRING='LibRaw 0.17.1'
 PACKAGE_BUGREPORT='i...@libraw.org'
 PACKAGE_URL='http://www.libraw.org'
 
@@ -1352,7 +1352,7 @@
   # Omit some internal or obsolete options to make the list less imposing.
   # This message is too long to be a string in the A/UX 3.1 sh.
   cat <<_ACEOF
-\`configure' configures LibRaw 0.17.0 to adapt to many kinds of systems.
+\`configure' configures LibRaw 0.17.1 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1422,7 +1422,7 @@
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
- short | recursive ) echo "Configuration of LibRaw 0.17.0:";;
+ short | recursive ) echo "Configuration of LibRaw 0.17.1:";;
esac
   cat <<\_ACEOF
 
@@ -1553,7 +1553,7 @@
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-LibRaw configure 0.17.0
+LibRaw configure 0.17.1
 generated by GNU Autoconf 2.69
 
 Copyright (C) 2012 Free Software Foundation, Inc.
@@ -2043,7 +2043,7 @@
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by LibRaw $as_me 0.17.0, which was
+It was created by LibRaw $as_me 0.17.1, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   $ $0 $@
@@ -2906,7 +2906,7 @@
 
 # Define the identity of the package.
  PACKAGE='libraw'
- VERSION='0.17.0'
+ VERSION='0.17.1'
 
 
 # Some tools Automake needs.
@@ -16974,7 +16974,7 @@
 
 LIBRAW_SHLIB_VERSION=15:0:0
 
-LIBRAW_RELEASE_VERSION=0.17.0
+LIBRAW_RELEASE_VERSION=0.17.1
 
 
 cat >confcache <<\_ACEOF
@@ -17551,7 +17551,7 @@
 # 

commit libraw for openSUSE:Factory

2015-12-01 Thread h_root
Hello community,

here is the log from the commit of package libraw for openSUSE:Factory checked 
in at 2015-12-01 09:17:48

Comparing /work/SRC/openSUSE:Factory/libraw (Old)
 and  /work/SRC/openSUSE:Factory/.libraw.new (New)


Package is "libraw"

Changes:

--- /work/SRC/openSUSE:Factory/libraw/libraw.changes2015-06-17 
16:15:51.0 +0200
+++ /work/SRC/openSUSE:Factory/.libraw.new/libraw.changes   2015-12-01 
09:17:50.0 +0100
@@ -1,0 +2,27 @@
+Fri Nov 13 16:27:05 UTC 2015 - jeng...@inai.de
+
+- Update to new upstream release 0.17.0
+* Fixed dcraw.c ljpeg_start possibly buffer overrun
+* C API extension to support 3DLut Creator
+* More metadata parsing/extraction: XMP packet extracted (if
+  exists), DNG Color information parsed, GPS data (partially)
+  parsed, EXIF/Makernotes parsed for used optics (for both RAW
+  files and DNG converted by Adobe convertor). 
+* Exif/Makernotes parser callback (called for each processed tag)
+* Sony ARW2.3 decoder: params.sony_arw2_hack removed, decoded data
+  are always in 0...17k range (note the difference with dcraw!);
+  Additional processing options for Sony lossy compression techincal
+  analysis. 
+* Dcraw 9.26 imported (but some changes not approved because Libraw
+  does it better) with some exceptions: no Pentax K3-II frame
+  selection code; and no built-in JPEG decompressor.
+* Many improvements in data decoding/processing: Correct decoding
+  of black level values from metadata for many formats, LibRaw does
+  not rely on hardcoded black levels.
+* 224 camera models added to supported camera list. Some of them are
+  new (released since LibRaw 0.16 come out), some was supported
+  before, but missed from the list.
+* Fujifilm F700/S20Pro second frame support 
+- Add retval.diff to resolve new compiler warnings
+
+---

Old:

  LibRaw-0.16.2.tar.gz

New:

  LibRaw-0.17.0.tar.gz
  retval.diff



Other differences:
--
++ libraw.spec ++
--- /var/tmp/diff_new_pack.eA7KQv/_old  2015-12-01 09:17:51.0 +0100
+++ /var/tmp/diff_new_pack.eA7KQv/_new  2015-12-01 09:17:51.0 +0100
@@ -19,8 +19,8 @@
 %define tar_name LibRaw
 
 Name:   libraw
-%define lname  libraw10
-Version:0.16.2
+%define lname  libraw15
+Version:0.17.0
 Release:0
 Summary:Library for reading RAW files obtained from digital photo 
cameras
 License:CDDL-1.0 or LGPL-2.1
@@ -29,6 +29,7 @@
 
 #Git-Clone:git://github.com/LibRaw/LibRaw
 Source: http://www.libraw.org/data/%tar_name-%version.tar.gz
+Patch1: retval.diff
 BuildRequires:  fdupes
 BuildRequires:  gcc-c++
 BuildRequires:  libjasper-devel
@@ -95,6 +96,7 @@
 
 %prep
 %setup -qn %tar_name-%version
+%patch -P 1 -p1
 
 %build
 export CXXFLAGS="%optflags -fPIC"
@@ -103,6 +105,7 @@
 make %{?_smp_mflags}
 
 %install
+find doc -type f -name "*.html" -exec chmod a-x "{}" "+"
 mv doc manual
 # The source tree has these with execute permissions for some reason
 chmod -x Changelog.txt LICENSE.CDDL LICENSE.LGPL LICENSE.LibRaw.pdf

++ LibRaw-0.16.2.tar.gz -> LibRaw-0.17.0.tar.gz ++
 79118 lines of diff (skipped)

++ retval.diff ++
From: Jan Engelhardt 
Date: 2015-11-13 17:24:03.127632735 +0100

rpmlint says:
I: Program returns random data in a function
E: libraw no-return-in-nonvoid-function internal/dcraw_common.cpp:1710
gcc:
internal/dcraw_common.cpp: In member function 'int LibRaw::phase_one_correct()':
internal/dcraw_common.cpp:1710:1: warning: control reaches end of non-void 
function [-Wreturn-type]

---
 internal/dcraw_common.cpp |1 +
 1 file changed, 1 insertion(+)

Index: LibRaw-0.17.0/internal/dcraw_common.cpp
===
--- LibRaw-0.17.0.orig/internal/dcraw_common.cpp
+++ LibRaw-0.17.0/internal/dcraw_common.cpp
@@ -1707,6 +1707,7 @@ int CLASS phase_one_correct()
  return LIBRAW_CANCELLED_BY_CALLBACK;
   }
 #endif
+  return 0;
 }
 
 void CLASS phase_one_load_raw()



commit libraw for openSUSE:Factory

2015-06-17 Thread h_root
Hello community,

here is the log from the commit of package libraw for openSUSE:Factory checked 
in at 2015-06-17 16:15:50

Comparing /work/SRC/openSUSE:Factory/libraw (Old)
 and  /work/SRC/openSUSE:Factory/.libraw.new (New)


Package is libraw

Changes:

--- /work/SRC/openSUSE:Factory/libraw/libraw.changes2015-05-15 
09:55:36.0 +0200
+++ /work/SRC/openSUSE:Factory/.libraw.new/libraw.changes   2015-06-17 
16:15:51.0 +0200
@@ -1,0 +2,6 @@
+Sat Jun  6 19:09:45 UTC 2015 - jeng...@inai.de
+
+- Update to new upstream release 0.16.2
+* Fixed several bugs detected by running American Fuzzy Lop.
+
+---

Old:

  LibRaw-0.16.1.tar.gz

New:

  LibRaw-0.16.2.tar.gz



Other differences:
--
++ libraw.spec ++
--- /var/tmp/diff_new_pack.5PEkod/_old  2015-06-17 16:15:52.0 +0200
+++ /var/tmp/diff_new_pack.5PEkod/_new  2015-06-17 16:15:52.0 +0200
@@ -19,17 +19,16 @@
 %define tar_name LibRaw
 
 Name:   libraw
-%define lnum   10
-Version:0.16.1
+%define lname  libraw10
+Version:0.16.2
 Release:0
 Summary:Library for reading RAW files obtained from digital photo 
cameras
 License:CDDL-1.0 or LGPL-2.1
 Group:  Development/Libraries/C and C++
 Url:http://www.libraw.org/
 
-#Freecode-URL: http://freecode.com/projects/libraw
 #Git-Clone:git://github.com/LibRaw/LibRaw
-Source: http://www.libraw.org/data/%{tar_name}-%{version}.tar.gz
+Source: http://www.libraw.org/data/%tar_name-%version.tar.gz
 BuildRequires:  fdupes
 BuildRequires:  gcc-c++
 BuildRequires:  libjasper-devel
@@ -47,7 +46,7 @@
 
 %packagetools
 Summary:Library for reading RAW files obtained from digital photo 
cameras -- Tools
-Group:  System/Libraries
+Group:  Productivity/Graphics/Other
 
 %descriptiontools
 LibRaw is a library for reading RAW files obtained from digital photo
@@ -56,11 +55,11 @@
 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.
 
-%package-n libraw%{lnum}
+%package -n %lname
 Summary:Library for reading RAW files obtained from digital photo 
cameras
 Group:  System/Libraries
 
-%description-n libraw%{lnum}
+%description -n %lname
 LibRaw is a library for reading RAW files obtained from digital photo
 cameras (CRW/CR2, NEF, RAF, DNG, and others).
 
@@ -68,9 +67,9 @@
 drawbacks have already been eliminated and part will be fixed in future.
 
 %packagedevel
-Summary:Development files for %{name}
+Summary:Development files for libraw
 Group:  Development/Libraries/C and C++
-Requires:   libraw%{lnum} = %{version}
+Requires:   %lname = %version
 
 %descriptiondevel
 LibRaw is a library for reading RAW files obtained from digital photo
@@ -82,7 +81,7 @@
 %packagedevel-static
 Summary:Library for reading RAW files obtained from digital photo 
cameras
 Group:  Development/Libraries/C and C++
-Requires:   %{name}-devel = %{version}
+Requires:   %name-devel = %version
 
 %descriptiondevel-static
 LibRaw is a library for reading RAW files obtained from digital photo
@@ -95,10 +94,10 @@
 against LibRaw. LibRaw does not provide dynamic libraries.
 
 %prep
-%setup -q -n %{tar_name}-%{version}
+%setup -qn %tar_name-%version
 
 %build
-CXXFLAGS=%{optflags} -fPIC \
+export CXXFLAGS=%optflags -fPIC
 %configure
 # build env is too broken for parallel build
 make %{?_smp_mflags}
@@ -112,44 +111,33 @@
 make install DESTDIR=%buildroot
 rm -f %buildroot/%_libdir/*.la
 # duplicated files
-rm -rf %{buildroot}%{_datadir}/doc
+rm -rf %buildroot%_datadir/doc
 %fdupes %buildroot/%_prefix
 
-%post -n libraw%{lnum} -p /sbin/ldconfig
-
-%postun -n libraw%{lnum} -p /sbin/ldconfig
+%post   -n %lname -p /sbin/ldconfig
+%postun -n %lname -p /sbin/ldconfig
 
 %files tools
-%defattr(-,root,root,-)
-%{_bindir}/4channels
-%{_bindir}/dcraw_emu
-%{_bindir}/dcraw_half
-%{_bindir}/half_mt
-%{_bindir}/mem_image
-%{_bindir}/raw-identify
-%{_bindir}/simple_dcraw
-%{_bindir}/unprocessed_raw
-%{_bindir}/multirender_test
-%{_bindir}/postprocessing_benchmark
+%defattr(-,root,root)
+%_bindir/*
 
 %files devel
-%defattr(-,root,root,-)
+%defattr(-,root,root)
 %doc Changelog.txt COPYRIGHT LICENSE.CDDL LICENSE.LGPL LICENSE.LibRaw.pdf
 %doc manual
-%{_includedir}/%{name}/
-%{_libdir}/pkgconfig/libraw.pc
-%{_libdir}/pkgconfig/libraw_r.pc
-%{_libdir}/libraw.so
-%{_libdir}/libraw_r.so
-
-%files -n libraw%{lnum}
-%defattr(-,root,root,-)
-%{_libdir}/libraw.so.%{lnum}*
-%{_libdir}/libraw_r.so.%{lnum}*
+%_includedir/%name/

commit libraw for openSUSE:Factory

2015-05-15 Thread h_root
Hello community,

here is the log from the commit of package libraw for openSUSE:Factory checked 
in at 2015-05-15 09:55:34

Comparing /work/SRC/openSUSE:Factory/libraw (Old)
 and  /work/SRC/openSUSE:Factory/.libraw.new (New)


Package is libraw

Changes:

--- /work/SRC/openSUSE:Factory/libraw/libraw.changes2014-01-30 
17:41:13.0 +0100
+++ /work/SRC/openSUSE:Factory/.libraw.new/libraw.changes   2015-05-15 
09:55:36.0 +0200
@@ -1,0 +2,6 @@
+Mon May 11 14:37:27 UTC 2015 - pgaj...@suse.com
+
+- updated to 0.16.1:
+  * Fix for dcraw ljpeg_start() vulnerability.
+
+---

Old:

  LibRaw-0.16.0.tar.gz

New:

  LibRaw-0.16.1.tar.gz



Other differences:
--
++ libraw.spec ++
--- /var/tmp/diff_new_pack.Q0g5sl/_old  2015-05-15 09:55:36.0 +0200
+++ /var/tmp/diff_new_pack.Q0g5sl/_new  2015-05-15 09:55:36.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package libraw
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -20,7 +20,7 @@
 
 Name:   libraw
 %define lnum   10
-Version:0.16.0
+Version:0.16.1
 Release:0
 Summary:Library for reading RAW files obtained from digital photo 
cameras
 License:CDDL-1.0 or LGPL-2.1

++ LibRaw-0.16.0.tar.gz - LibRaw-0.16.1.tar.gz ++
 3251 lines of diff (skipped)




commit libraw for openSUSE:Factory

2014-01-30 Thread h_root
Hello community,

here is the log from the commit of package libraw for openSUSE:Factory checked 
in at 2014-01-30 17:41:12

Comparing /work/SRC/openSUSE:Factory/libraw (Old)
 and  /work/SRC/openSUSE:Factory/.libraw.new (New)


Package is libraw

Changes:

--- /work/SRC/openSUSE:Factory/libraw/libraw.changes2013-09-09 
19:44:54.0 +0200
+++ /work/SRC/openSUSE:Factory/.libraw.new/libraw.changes   2014-01-30 
17:41:13.0 +0100
@@ -1,0 +2,21 @@
+Thu Jan 30 13:52:19 UTC 2014 - pgaj...@suse.com
+
+- updated to 0.16.0:
+  * removed 0001-build-fix-return-of-random-data.patch (upstreamed)
+  * Support for new cameras:
+Baumer TXG14
+Blackmagic Cinema
+Canon EOS 70D, C500, S120, G16
+Fujifilm X-M1, X-A1, XE2, XQ1
+Hasselblad Lunar, Stellar
+Leica C, X VARIO
+Nikon D5200, P7800, D5300, D610, Df, 1 AW1
+Nokia Lumia 1020, 1520
+Olympus E-P5,E-M1, STYLUS1
+OmniVision OV5647 (Raspberry Pi)
+Panasonic LF1, GX7, GF6, GM1
+Pentax K-50, K-500, Q7,K-3
+Richon GR
+Samsung NX300, NX1100, NX2000, Galaxy NX (EK-GN120)
+
+---

Old:

  0001-build-fix-return-of-random-data.patch
  LibRaw-0.15.4.tar.gz

New:

  LibRaw-0.16.0.tar.gz



Other differences:
--
++ libraw.spec ++
--- /var/tmp/diff_new_pack.rXO7MA/_old  2014-01-30 17:41:14.0 +0100
+++ /var/tmp/diff_new_pack.rXO7MA/_new  2014-01-30 17:41:14.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package libraw
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -19,8 +19,8 @@
 %define tar_name LibRaw
 
 Name:   libraw
-%define lname  libraw9
-Version:0.15.4
+%define lnum   10
+Version:0.16.0
 Release:0
 Summary:Library for reading RAW files obtained from digital photo 
cameras
 License:CDDL-1.0 or LGPL-2.1
@@ -30,7 +30,6 @@
 #Freecode-URL: http://freecode.com/projects/libraw
 #Git-Clone:git://github.com/LibRaw/LibRaw
 Source: http://www.libraw.org/data/%{tar_name}-%{version}.tar.gz
-Patch2: 0001-build-fix-return-of-random-data.patch
 BuildRequires:  fdupes
 BuildRequires:  gcc-c++
 BuildRequires:  libjasper-devel
@@ -57,11 +56,11 @@
 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.
 
-%package-n %lname
+%package-n libraw%{lnum}
 Summary:Library for reading RAW files obtained from digital photo 
cameras
 Group:  System/Libraries
 
-%description-n %lname
+%description-n libraw%{lnum}
 LibRaw is a library for reading RAW files obtained from digital photo
 cameras (CRW/CR2, NEF, RAF, DNG, and others).
 
@@ -71,7 +70,7 @@
 %packagedevel
 Summary:Development files for %{name}
 Group:  Development/Libraries/C and C++
-Requires:   %lname = %version
+Requires:   libraw%{lnum} = %{version}
 
 %descriptiondevel
 LibRaw is a library for reading RAW files obtained from digital photo
@@ -97,7 +96,6 @@
 
 %prep
 %setup -q -n %{tar_name}-%{version}
-%patch2 -p1
 
 %build
 CXXFLAGS=%{optflags} -fPIC \
@@ -117,9 +115,9 @@
 rm -rf %{buildroot}%{_datadir}/doc
 %fdupes %buildroot/%_prefix
 
-%post -n %lname -p /sbin/ldconfig
+%post -n libraw%{lnum} -p /sbin/ldconfig
 
-%postun -n %lname -p /sbin/ldconfig
+%postun -n libraw%{lnum} -p /sbin/ldconfig
 
 %files tools
 %defattr(-,root,root,-)
@@ -144,10 +142,10 @@
 %{_libdir}/libraw.so
 %{_libdir}/libraw_r.so
 
-%files -n %lname
+%files -n libraw%{lnum}
 %defattr(-,root,root,-)
-%{_libdir}/libraw.so.9*
-%{_libdir}/libraw_r.so.9*
+%{_libdir}/libraw.so.%{lnum}*
+%{_libdir}/libraw_r.so.%{lnum}*
 
 %files devel-static
 %defattr(-,root,root,-)

++ LibRaw-0.15.4.tar.gz - LibRaw-0.16.0.tar.gz ++
 19808 lines of diff (skipped)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit libraw for openSUSE:Factory

2013-09-09 Thread h_root
Hello community,

here is the log from the commit of package libraw for openSUSE:Factory checked 
in at 2013-09-09 19:44:53

Comparing /work/SRC/openSUSE:Factory/libraw (Old)
 and  /work/SRC/openSUSE:Factory/.libraw.new (New)


Package is libraw

Changes:

--- /work/SRC/openSUSE:Factory/libraw/libraw.changes2013-07-31 
17:25:54.0 +0200
+++ /work/SRC/openSUSE:Factory/.libraw.new/libraw.changes   2013-09-09 
19:44:54.0 +0200
@@ -1,0 +2,12 @@
+Mon Sep  9 13:33:01 UTC 2013 - pgaj...@suse.com
+
+- updated to 0.15.4:
+Additional checks to data to prevent broken file opening
+New camera/format support:
+Richon GR
+Panasonic LF1
+Canon EOS 70D
+Sony RX100II, RX1R
+Olympus E-P5 
+
+---

Old:

  LibRaw-0.15.3.tar.gz

New:

  LibRaw-0.15.4.tar.gz



Other differences:
--
++ libraw.spec ++
--- /var/tmp/diff_new_pack.n9PmCa/_old  2013-09-09 19:44:55.0 +0200
+++ /var/tmp/diff_new_pack.n9PmCa/_new  2013-09-09 19:44:55.0 +0200
@@ -20,7 +20,7 @@
 
 Name:   libraw
 %define lname  libraw9
-Version:0.15.3
+Version:0.15.4
 Release:0
 Summary:Library for reading RAW files obtained from digital photo 
cameras
 License:CDDL-1.0 or LGPL-2.1

++ LibRaw-0.15.3.tar.gz - LibRaw-0.15.4.tar.gz ++
 8818 lines of diff (skipped)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit libraw for openSUSE:Factory

2013-07-31 Thread h_root
Hello community,

here is the log from the commit of package libraw for openSUSE:Factory checked 
in at 2013-07-31 17:25:52

Comparing /work/SRC/openSUSE:Factory/libraw (Old)
 and  /work/SRC/openSUSE:Factory/.libraw.new (New)


Package is libraw

Changes:

--- /work/SRC/openSUSE:Factory/libraw/libraw.changes2013-06-13 
16:52:43.0 +0200
+++ /work/SRC/openSUSE:Factory/.libraw.new/libraw.changes   2013-07-31 
17:25:54.0 +0200
@@ -1,0 +2,10 @@
+Mon Jul 29 09:16:30 UTC 2013 - pgaj...@suse.com
+
+- updated to 0.15.3:
+  * New camera/format support:
+ OmniVision OV5647 (Raspberry Pi)
+ Nikon D5200
+ Panasonic DMC-GF6
+  * Fixed decoding error for some Canon sRAW files.
+
+---

Old:

  LibRaw-0.15.2.tar.gz

New:

  LibRaw-0.15.3.tar.gz



Other differences:
--
++ libraw.spec ++
--- /var/tmp/diff_new_pack.NDC0je/_old  2013-07-31 17:25:55.0 +0200
+++ /var/tmp/diff_new_pack.NDC0je/_new  2013-07-31 17:25:55.0 +0200
@@ -20,7 +20,7 @@
 
 Name:   libraw
 %define lname  libraw9
-Version:0.15.2
+Version:0.15.3
 Release:0
 Summary:Library for reading RAW files obtained from digital photo 
cameras
 License:CDDL-1.0 or LGPL-2.1

++ LibRaw-0.15.2.tar.gz - LibRaw-0.15.3.tar.gz ++
 4840 lines of diff (skipped)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit libraw for openSUSE:Factory

2013-06-13 Thread h_root
Hello community,

here is the log from the commit of package libraw for openSUSE:Factory checked 
in at 2013-06-13 16:52:42

Comparing /work/SRC/openSUSE:Factory/libraw (Old)
 and  /work/SRC/openSUSE:Factory/.libraw.new (New)


Package is libraw

Changes:

--- /work/SRC/openSUSE:Factory/libraw/libraw.changes2013-01-17 
09:46:29.0 +0100
+++ /work/SRC/openSUSE:Factory/.libraw.new/libraw.changes   2013-06-13 
16:52:43.0 +0200
@@ -1,0 +2,16 @@
+Wed Jun 12 10:22:06 UTC 2013 - pgaj...@suse.com
+
+- remove libraw-gcc27.patch, it is upstreamed yet
+
+---
+Tue Jun 11 12:47:51 UTC 2013 - jeng...@inai.de
+
+- Update to new upstream release 0.15.2
+* Fixed possible double-free() on error recovery on damaged
+  full-color (Foveon, sRAW) files. (CVE-2013-2126, bnc#822665)
+* fixed wrong data maximum calculation for Panasonic files
+* check for possible buffer overrun in exposure correction code
+  (CVE-2013-2127, bnc#822665)
+- Add 0001-build-fix-return-of-random-data.patch
+
+---

Old:

  LibRaw-0.14.7.tar.gz
  libraw-gcc47.patch

New:

  0001-build-fix-return-of-random-data.patch
  LibRaw-0.15.2.tar.gz



Other differences:
--
++ libraw.spec ++
--- /var/tmp/diff_new_pack.54V5Lx/_old  2013-06-13 16:52:44.0 +0200
+++ /var/tmp/diff_new_pack.54V5Lx/_new  2013-06-13 16:52:44.0 +0200
@@ -19,18 +19,18 @@
 %define tar_name LibRaw
 
 Name:   libraw
-%define lname  libraw5
-Version:0.14.7
+%define lname  libraw9
+Version:0.15.2
 Release:0
 Summary:Library for reading RAW files obtained from digital photo 
cameras
 License:CDDL-1.0 or LGPL-2.1
-Group:  System/Libraries
+Group:  Development/Libraries/C and C++
 Url:http://www.libraw.org/
 
+#Freecode-URL: http://freecode.com/projects/libraw
 #Git-Clone:git://github.com/LibRaw/LibRaw
 Source: http://www.libraw.org/data/%{tar_name}-%{version}.tar.gz
-# PATCH-FIX-UPSTREAM libraw-gcc47.patch dims...@opensuse.org -- Fix build with 
gcc 4.7.
-Patch0: libraw-gcc47.patch
+Patch2: 0001-build-fix-return-of-random-data.patch
 BuildRequires:  fdupes
 BuildRequires:  gcc-c++
 BuildRequires:  libjasper-devel
@@ -70,7 +70,7 @@
 
 %packagedevel
 Summary:Development files for %{name}
-Group:  Development/Libraries/Other
+Group:  Development/Libraries/C and C++
 Requires:   %lname = %version
 
 %descriptiondevel
@@ -82,7 +82,7 @@
 
 %packagedevel-static
 Summary:Library for reading RAW files obtained from digital photo 
cameras
-Group:  Development/Libraries/Other
+Group:  Development/Libraries/C and C++
 Requires:   %{name}-devel = %{version}
 
 %descriptiondevel-static
@@ -97,7 +97,7 @@
 
 %prep
 %setup -q -n %{tar_name}-%{version}
-%patch0 -p1
+%patch2 -p1
 
 %build
 CXXFLAGS=%{optflags} -fPIC \
@@ -146,8 +146,8 @@
 
 %files -n %lname
 %defattr(-,root,root,-)
-%{_libdir}/libraw.so.5*
-%{_libdir}/libraw_r.so.5*
+%{_libdir}/libraw.so.9*
+%{_libdir}/libraw_r.so.9*
 
 %files devel-static
 %defattr(-,root,root,-)

++ 0001-build-fix-return-of-random-data.patch ++
From: Jan Engelhardt jeng...@inai.de
Date: Tue, 11 Jun 2013 15:02:28 +0200
Subject: [PATCH] build: fix return of random data
X-Upstream: submission has not occurred yet

!@#$

[   11s] internal/./wf_filtering.cpp: In member function 'int 
LibRaw::wf_remove_banding()':
[   11s] internal/./wf_filtering.cpp:686:1: warning: control reaches end of 
non-void function [-Wreturn-type]
[   39s] I: Program returns random data in a function
[   39s] E: libraw no-return-in-nonvoid-function internal/./wf_filtering.cpp:686
---
 internal/wf_filtering.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/internal/wf_filtering.cpp b/internal/wf_filtering.cpp
index a54ced4..b383b1e 100644
--- a/internal/wf_filtering.cpp
+++ b/internal/wf_filtering.cpp
@@ -683,6 +683,7 @@ int LibRaw::wf_remove_banding()
 
free(dummy_line);

+   return WF_DEBANDING_OK;
 }
 
 double LibRaw::wf_filter_energy(int r1_greenmode, int r1, int r2_greenmode, 
int r2)
-- 
1.8.2

++ LibRaw-0.14.7.tar.gz - LibRaw-0.15.2.tar.gz ++
 26946 lines of diff (skipped)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit libraw for openSUSE:Factory

2013-01-17 Thread h_root
Hello community,

here is the log from the commit of package libraw for openSUSE:Factory checked 
in at 2013-01-17 09:46:28

Comparing /work/SRC/openSUSE:Factory/libraw (Old)
 and  /work/SRC/openSUSE:Factory/.libraw.new (New)


Package is libraw, Maintainer is 

Changes:

--- /work/SRC/openSUSE:Factory/libraw/libraw.changes2012-07-12 
10:47:41.0 +0200
+++ /work/SRC/openSUSE:Factory/.libraw.new/libraw.changes   2013-01-17 
09:46:29.0 +0100
@@ -1,0 +2,9 @@
+Thu Jan 10 18:42:28 UTC 2013 - jeng...@inai.de
+
+- SONAME changed in 0.14, but prior update omitted package name
+  change libraw2 - libraw5. Do it now.
+- Use more robust make install call
+- Remove redundant %clean section, and remove unused .la files
+- Run fdupes to hardlink duplicate files
+
+---



Other differences:
--
++ libraw.spec ++
--- /var/tmp/diff_new_pack.YjMY73/_old  2013-01-17 09:46:30.0 +0100
+++ /var/tmp/diff_new_pack.YjMY73/_new  2013-01-17 09:46:30.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package libraw
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -19,15 +19,19 @@
 %define tar_name LibRaw
 
 Name:   libraw
+%define lname  libraw5
 Version:0.14.7
 Release:0
 Summary:Library for reading RAW files obtained from digital photo 
cameras
 License:CDDL-1.0 or LGPL-2.1
 Group:  System/Libraries
 Url:http://www.libraw.org/
+
+#Git-Clone:git://github.com/LibRaw/LibRaw
 Source: http://www.libraw.org/data/%{tar_name}-%{version}.tar.gz
 # PATCH-FIX-UPSTREAM libraw-gcc47.patch dims...@opensuse.org -- Fix build with 
gcc 4.7.
 Patch0: libraw-gcc47.patch
+BuildRequires:  fdupes
 BuildRequires:  gcc-c++
 BuildRequires:  libjasper-devel
 BuildRequires:  libjpeg-devel
@@ -53,11 +57,11 @@
 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.
 
-%package-n libraw2
+%package-n %lname
 Summary:Library for reading RAW files obtained from digital photo 
cameras
 Group:  System/Libraries
 
-%description-n libraw2
+%description-n %lname
 LibRaw is a library for reading RAW files obtained from digital photo
 cameras (CRW/CR2, NEF, RAF, DNG, and others).
 
@@ -67,7 +71,7 @@
 %packagedevel
 Summary:Development files for %{name}
 Group:  Development/Libraries/Other
-Requires:   libraw2 = %{version}
+Requires:   %lname = %version
 
 %descriptiondevel
 LibRaw is a library for reading RAW files obtained from digital photo
@@ -107,16 +111,15 @@
 chmod -x Changelog.txt LICENSE.CDDL LICENSE.LGPL LICENSE.LibRaw.pdf
 chmod -x manual/index.html
 # The Libraries
-%make_install
+make install DESTDIR=%buildroot
+rm -f %buildroot/%_libdir/*.la
 # duplicated files
 rm -rf %{buildroot}%{_datadir}/doc
+%fdupes %buildroot/%_prefix
 
-%post -n libraw2 -p /sbin/ldconfig
-
-%postun -n libraw2 -p /sbin/ldconfig
+%post -n %lname -p /sbin/ldconfig
 
-%clean
-rm -rf %{buildroot}
+%postun -n %lname -p /sbin/ldconfig
 
 %files tools
 %defattr(-,root,root,-)
@@ -140,13 +143,11 @@
 %{_libdir}/pkgconfig/libraw_r.pc
 %{_libdir}/libraw.so
 %{_libdir}/libraw_r.so
-%{_libdir}/libraw.la
-%{_libdir}/libraw_r.la
 
-%files -n libraw2
+%files -n %lname
 %defattr(-,root,root,-)
-%{_libdir}/libraw.so.*
-%{_libdir}/libraw_r.so.*
+%{_libdir}/libraw.so.5*
+%{_libdir}/libraw_r.so.5*
 
 %files devel-static
 %defattr(-,root,root,-)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit libraw for openSUSE:Factory

2012-07-12 Thread h_root
Hello community,

here is the log from the commit of package libraw for openSUSE:Factory checked 
in at 2012-07-12 10:47:38

Comparing /work/SRC/openSUSE:Factory/libraw (Old)
 and  /work/SRC/openSUSE:Factory/.libraw.new (New)


Package is libraw, Maintainer is 

Changes:

--- /work/SRC/openSUSE:Factory/libraw/libraw.changes2012-03-20 
17:49:10.0 +0100
+++ /work/SRC/openSUSE:Factory/.libraw.new/libraw.changes   2012-07-12 
10:47:41.0 +0200
@@ -1,0 +2,171 @@
+Wed Jul 11 11:08:57 UTC 2012 - lists.nic...@googlemail.com
+
+- update to 0.14.7
+ * Imported dcraw 9.15 (1.449):
+   - New cameras supported: Canon 5D Mark III, G1 X, 1D X and
+ Powershot SX200; Nikon D4,D800/D800E and D3200; Fuji X-S1 and
+ HS30EXR; Casio EX-Z8; Olympus E-M5; Panasonic GF5;
+ Sony NEX-F3, SLT-A37 and SLT-A57; Samsung NX20 and NX210;
+   - Support for updated Samsung NX200 firmware. 
+ * Makefile.msvc: easy additional compiler flag editing. 
+- update to 0.14.6
+ * Casio EX-Z500 support
+ * (possible) I/O exceptions on file open catched in
+   open_datastream
+ * Fixed possible read-after-buffer in Sony ARW2 decoder
+ * Fixed mingw32 errors when compiling LibRaw_windows_datastream
+ * Makefile.msvc: support of OpenMP and LCMS (uncomment to use)
+ * Fixed decoding of some Leaf Aptus II files 
+- update to 0.14.5
+ * Fixed bug (uninitialized variable) in SMAL format decoding.
+ * Imported new dcraw 9.12 (1.446): support for Leica V-LUX 3,
+   updated color data for Canon S100, Fujifilm X10, Nikon 1 J1/V1,
+   Panasonic GX1, Samsung NX200, Sony NEX-7 
+- update to 0.14.4
+ * Fixes to Panasonic/Leica file parser to prevent crash on
+   broken jpegs.
+ * Fixes to include order in src/libraw_datastream.cpp to better
+   compile with KDEWIN
+ * Floating-point DNGs are rejected on early processing stage.
+ * Support for new cameras: Canon S100, Fuji X10, Panasonic GX1,
+   Samsung NX200, Sony NEX-7. 
+- update to 0.14.3
+ * Bug fixes in black level subtraction code for PhaseOne files
+ * New API call LibRaw::get_internal_data_pointer() for developers
+   who need access to libraw_internal_data fields
+   (i.e. Fuji SuperCCD layout).
+ * doc/API-overview fixes to reflect 0.14 changes 
+- update to 0.14.2
+ * Fixed bug in Canon 1D and 1Ds files decoding.
+ * New decoder information bit DECODER_HASRAWCURVE 
+- update to 0.14.1
+ * Imported dcraw 9.11/1.445:
+   - Support for new cameras added: Fujifilm F600EXR, Nikon P7100,
+ Olympus E-PL3 and E-PM1, Panasonic DMC-FZ150, Sony NEX-5N,
+ A65 and A77.
+   - Updated color data for: Olympus E-P3, Panasonic G3 and GF3,
+ PhaseOne H25, P40 and P65, Sony NEX-C3, NEX-5, NEX-3, A35
+ and A55.
+   - Support for dark frame extraction on Sony cameras. 
+ * DCB demosaicing: reserving 6 pixels instead of 3 to suppress
+   colored image frame. 
+- update to 0.14.0
+ * Multiple rendering (LibRaw::dcraw_process() calls) allowed
+   without re-opening RAW file thrfough the sequence of
+   open()/unpack() calls.
+   You should be able to change any processing parameters
+   (except shot_select parameter) between dcraw_process() calls.
+   - New sample in samples/multirender_test.cpp: renders data 4 times:
+ in half and full modes with different white balance settings.
+   - Unprocessed RAW data is stored in separate data buffer:
+ (2 bytes per pixel for all Bayer-pattern images, 8 bytes per
+  pixel for Foveon, sRAW, and other full-color raw formats),
+ so now LibRaw uses 25% more memory for full processing of
+ most common Bayer images; while for just unpack memory is
+ reduced 4 times.
+   - New call LibRaw::raw2image() fills imgdata.image array with
+ fresh copy of data. There is no need to call raw2image()
+ separately if you use dcraw_process() or
+ dcraw_document_mode_processing() calls.
+   - New call LibRaw::get_decoder_info() to determine raw data
+ storage layout. See samples/unprocessed_raw.cpp for an example
+ of how to use it.
+   - New call LibRaw::free_image(), deallocates imgdata.image buffer.
+ Use this call if current postprocessing results are not needed,
+ but it is to early to call recycle() because dcraw_process()
+ may be called later.
+   - New C-API calls
+ libraw_raw2image() - C API for LibRaw::raw2image()
+ libraw_free_image() - C API for LibRaw::free_image()
+ libraw_get_decoder_info() - C API for LibRaw::get_decoder_info() 
+   If your code uses usual open()/unpack()/dcraw_process() call
+   sequence, then NOTHING CHANGED: your program should produce
+   same results. For interactive programs you may skip open()/unpack()
+   calls after adjusting processing parameters, so user should see
+   image refreshed much faster.
+   If your code uses raw data (open+unpack calls), you need to call
+   LibRaw::raw2image(), and 

commit libraw for openSUSE:Factory

2012-03-20 Thread h_root
Hello community,

here is the log from the commit of package libraw for openSUSE:Factory checked 
in at 2012-03-20 17:49:08

Comparing /work/SRC/openSUSE:Factory/libraw (Old)
 and  /work/SRC/openSUSE:Factory/.libraw.new (New)


Package is libraw, Maintainer is 

Changes:

--- /work/SRC/openSUSE:Factory/libraw/libraw.changes2011-09-23 
02:09:50.0 +0200
+++ /work/SRC/openSUSE:Factory/.libraw.new/libraw.changes   2012-03-20 
17:49:10.0 +0100
@@ -1,0 +2,5 @@
+Wed Mar 14 19:29:33 UTC 2012 - dims...@opensuse.org
+
+- Add libraw-gcc47.patch: Fix build with gcc 4.7.
+
+---

Old:

  libraw-lcms2-build.patch

New:

  libraw-gcc47.patch



Other differences:
--
++ libraw.spec ++
--- /var/tmp/diff_new_pack.YUrrXM/_old  2012-03-20 17:49:13.0 +0100
+++ /var/tmp/diff_new_pack.YUrrXM/_new  2012-03-20 17:49:13.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package libraw
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -20,12 +20,14 @@
 
 Name:   libraw
 Version:0.13.5
-Release:3
-License:CDDL-1.0 or LGPL-2.1
+Release:0
 Summary:Library for reading RAW files obtained from digital photo 
cameras
-Url:http://www.libraw.org/
+License:CDDL-1.0 or LGPL-2.1
 Group:  System/Libraries
+Url:http://www.libraw.org/
 Source: http://www.libraw.org/data/%{tar_name}-%{version}.tar.gz
+# PATCH-FIX-UPSTREAM libraw-gcc47.patch dims...@opensuse.org -- Fix build with 
gcc 4.7.
+Patch0: libraw-gcc47.patch
 BuildRequires:  gcc-c++
 BuildRequires:  libjpeg-devel
 BuildRequires:  liblcms2-devel
@@ -40,7 +42,6 @@
 drawbacks have already been eliminated and part will be fixed in future.
 
 %packagetools
-License:CDDL-1.0 or LGPL-2.1
 Summary:Library for reading RAW files obtained from digital photo 
cameras -- Tools
 Group:  System/Libraries
 
@@ -52,7 +53,6 @@
 drawbacks have already been eliminated and part will be fixed in future.
 
 %package-n libraw2
-License:CDDL-1.0 or LGPL-2.1
 Summary:Library for reading RAW files obtained from digital photo 
cameras
 Group:  System/Libraries
 
@@ -64,7 +64,6 @@
 drawbacks have already been eliminated and part will be fixed in future.
 
 %packagedevel
-License:CDDL-1.0 or LGPL-2.1
 Summary:Development files for %{name}
 Group:  Development/Libraries/Other
 Requires:   libraw2 = %{version}
@@ -77,7 +76,6 @@
 drawbacks have already been eliminated and part will be fixed in future.
 
 %packagedevel-static
-License:CDDL-1.0 or LGPL-2.1
 Summary:Library for reading RAW files obtained from digital photo 
cameras
 Group:  Development/Libraries/Other
 Requires:   %{name}-devel = %{version}
@@ -94,6 +92,7 @@
 
 %prep
 %setup -q -n %{tar_name}-%{version}
+%patch0 -p1
 
 %build
 CXXFLAGS=%{optflags} -fPIC \

++ libraw-gcc47.patch ++
Index: LibRaw-0.13.5/samples/dcraw_emu.cpp
===
--- LibRaw-0.13.5.orig/samples/dcraw_emu.cpp
+++ LibRaw-0.13.5/samples/dcraw_emu.cpp
@@ -27,6 +27,7 @@ it under the terms of the one of three l
 #endif
 
 #include stdio.h
+#include unistd.h // For getpagesize, read and close
 #include string.h
 #include stdlib.h
 #include math.h
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit libraw for openSUSE:Factory

2011-08-24 Thread h_root

Hello community,

here is the log from the commit of package libraw for openSUSE:Factory
checked in at Wed Aug 24 17:17:20 CEST 2011.




--- GNOME/libraw/libraw.changes 2011-06-12 02:13:57.0 +0200
+++ /mounts/work_src_done/STABLE/libraw/libraw.changes  2011-08-24 
13:53:34.0 +0200
@@ -1,0 +2,11 @@
+Wed Aug 24 11:53:14 UTC 2011 - idon...@novell.com
+
+- Stop using _service files 
+
+---
+Tue Aug  9 20:03:58 UTC 2011 - toddrme2...@gmail.com
+
+- Made html document file non-executable (fix for RPMLINT warning)
+- Cleaned up spec file formatting
+
+---

calling whatdependson for head-i586


Old:

  _service
  _service:recompress:download_url:LibRaw-0.13.5.tar.bz2

New:

  LibRaw-0.13.5.tar.gz



Other differences:
--
++ libraw.spec ++
--- /var/tmp/diff_new_pack.CFjGHA/_old  2011-08-24 17:16:55.0 +0200
+++ /var/tmp/diff_new_pack.CFjGHA/_new  2011-08-24 17:16:55.0 +0200
@@ -16,21 +16,20 @@
 #
 
 
-%define fake_name LibRaw
+%define tar_name LibRaw
 
 Name:   libraw
 Version:0.13.5
-Release:1
+Release:3
 License:CDDLv1.0 | LGPLv2.1
 Summary:Library for reading RAW files obtained from digital photo 
cameras
 Url:http://www.libraw.org/
 Group:  System/Libraries
-Source0:http://www.libraw.org/data/%{fake_name}-%{version}.tar.bz2
+Source: http://www.libraw.org/data/%{tar_name}-%{version}.tar.gz
 BuildRequires:  gcc-c++
-BuildRequires:  make
+BuildRequires:  libjpeg-devel
 BuildRequires:  liblcms2-devel
 BuildRequires:  pkg-config
-BuildRequires:  libjpeg-devel
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -94,11 +93,10 @@
 against LibRaw. LibRaw does not provide dynamic libraries.
 
 %prep
-%setup -q -n %{fake_name}-%{version}
-#autoreconf -fi
+%setup -q -n %{tar_name}-%{version}
 
 %build
-CXXFLAGS=$RPM_OPT_FLAGS -fPIC \
+CXXFLAGS=%{optflags} -fPIC \
 %configure
 # build env is too broken for parallel build
 make
@@ -106,18 +104,19 @@
 %install
 mv doc manual
 # The source tree has these with execute permissions for some reason
-%{__chmod} -x Changelog.txt LICENSE.CDDL LICENSE.LGPL LICENSE.LibRaw.pdf
+chmod -x Changelog.txt LICENSE.CDDL LICENSE.LGPL LICENSE.LibRaw.pdf
+chmod -x manual/index.html
 # The Libraries
-%makeinstall
+%make_install
 # duplicated files
-%__rm -rf %{buildroot}%{_datadir}/doc
+rm -rf %{buildroot}%{_datadir}/doc
 
 %post -n libraw2 -p /sbin/ldconfig
 
 %postun -n libraw2 -p /sbin/ldconfig
 
 %clean
-%__rm -rf %{buildroot}
+rm -rf %{buildroot}
 
 %files tools
 %defattr(-,root,root,-)
@@ -144,8 +143,8 @@
 
 %files -n libraw2
 %defattr(-,root,root,-)
-%_libdir/libraw.so.*
-%_libdir/libraw_r.so.*
+%{_libdir}/libraw.so.*
+%{_libdir}/libraw_r.so.*
 
 %files devel-static
 %defattr(-,root,root,-)






Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit libraw for openSUSE:Factory

2011-06-14 Thread h_root

Hello community,

here is the log from the commit of package libraw for openSUSE:Factory
checked in at Tue Jun 14 12:14:51 CEST 2011.




--- GNOME/libraw/libraw.changes 2011-03-13 13:53:41.0 +0100
+++ /mounts/work_src_done/STABLE/libraw/libraw.changes  2011-06-12 
02:13:57.0 +0200
@@ -1,0 +2,22 @@
+Sun Jun 12 00:07:49 UTC 2011 - nico.laus.2...@gmx.de
+
+- update to 0.13.5
+* Imported new dcraw 9.08/1.443:
+New color data for Canon 600D and 1100D, Fuji S200EXR
+New camera supported: Fuji HS20EXR and F550EXR, Kodak Z990,
+  Nikon D5100, Olympus E-PL1s and XZ-1, Samsung NX11,
+  Sony A230 and 290. 
+- update to 0.13.4
+* Imported new dcraw 9.07/1.442:
+support for Canon 600D and 1100D, Hasselblad H4D-60, Olympus E-PL2
+* Color data for Leaf Aptus II and Canon Powershot S2 IS
+- update to 0.13.3
+* Preliminary support for Leaf Aptus II cameras (no color data yet):
+Leaf Aptus II 6,7,8,10 and 12 are tested, Aptus II 5 should work.
+* Preliminary support for Fujifilm X100 camera (again, no color data).
+* Fixed possible after the end of buffer read when working with
+in-memory RAW data.
+* Fixed possible loss of JPEG stream sync marks in LJPEG decoder
+(this bug was found only for Leaf Aptus II RAWs). 
+
+---

calling whatdependson for head-i586


Old:

  _service:recompress:download_url:LibRaw-0.13.2.tar.bz2

New:

  _service:recompress:download_url:LibRaw-0.13.5.tar.bz2



Other differences:
--
++ libraw.spec ++
--- /var/tmp/diff_new_pack.Wi56ad/_old  2011-06-14 12:14:23.0 +0200
+++ /var/tmp/diff_new_pack.Wi56ad/_new  2011-06-14 12:14:23.0 +0200
@@ -19,7 +19,7 @@
 %define fake_name LibRaw
 
 Name:   libraw
-Version:0.13.2
+Version:0.13.5
 Release:1
 License:CDDLv1.0 | LGPLv2.1
 Summary:Library for reading RAW files obtained from digital photo 
cameras

++ _service ++
--- /var/tmp/diff_new_pack.Wi56ad/_old  2011-06-14 12:14:23.0 +0200
+++ /var/tmp/diff_new_pack.Wi56ad/_new  2011-06-14 12:14:23.0 +0200
@@ -1,13 +1,14 @@
+?xml version=1.0 ?
 services
   service name=download_url
 param name=protocolhttp/param
 param name=hostwww.libraw.org/param
-param name=path/data/LibRaw-0.13.2.tar.gz/param
+param name=path/data/LibRaw-0.13.5.tar.gz/param
   /service
   service name=verify_file
-param name=file_service:download_url:LibRaw-0.13.2.tar.gz/param
+param name=file_service:download_url:LibRaw-0.13.5.tar.gz/param
 param name=verifiersha256/param
-param 
name=checksum8977a0a147fd811f62012bcf792611e6f5a160ac31ed1e86ad5731c69bb4f95a/param
+param 
name=checksum7e554d5fd6ca6f430d74e4c7084086cf57bd0c478268412920c0ce2940b86fe8/param
   /service
   service name=recompress
 param name=compressionbz2/param

++ _service:recompress:download_url:LibRaw-0.13.2.tar.bz2 - 
_service:recompress:download_url:LibRaw-0.13.5.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/LibRaw-0.13.2/Changelog.rus 
new/LibRaw-0.13.5/Changelog.rus
--- old/LibRaw-0.13.2/Changelog.rus 2011-03-08 16:43:31.0 +0100
+++ new/LibRaw-0.13.5/Changelog.rus 2011-05-21 16:31:34.0 +0200
@@ -1,4 +1,31 @@
-2011-03-08 Alex Tutubalin l...@lexa.ru
+2011-05-18 Alex Tutubalin l...@lexa.ru
+* Imported new dcraw 9.08/1.443:
+   + Новые цветовые данные для камер Canon 600D и 1100D, Fuji S200EXR
+   + Поддержка новых камер: Fuji HS20EXR и F550EXR, Kodak Z990, 
+   Nikon D5100, Olympus E-PL1s и XZ-1, 
+   Samsung NX11, Sony A230 и 290.
+* LibRaw 0.13.5-Release
+
+2011-04-02 Alex Tutubalin l...@lexa.ru
+* Импортирована dcraw 9.07/1.442:
+  + Поддержка новых камер: Canon 600D и 1100D, Hasselblad H4D-60,
+Olympus E-PL2
+* Цветовые данные для Leaf Aptus II и Canon Powershot S2 IS
+* LibRaw 0.13.4-Release
+
+2011-03-30 Alex Tutubalin l...@lexa.ru
+* Предварительная поддержка для камер Leaf Aptus II (без цветовых
+  данных). Протестировано на файлах Leaf Aptus II 6,7,8,10 и 12,
+  должно работать с Aptus II 5.
+* Предварительная поддержка для Fujifilm X100 (тоже без цветовых 
+  матриц).
+* Исправлено возможное заглядывание за конец буфера при обработке
+  RAW-данных из файла.
+* Исправлена возможная потеря маркера синхронизации в LJPEG-потоке
+  (проявлялась только на данных с камер Leaf Aptus II)
+* LibRaw 0.13.3-Release
+
+2011-03-08 Alex Tutubalin l...@lexa.ru
 * Исправлена ошибка чтения камерного баланса белого для некоторых 
   камер Sony
 * LibRaw 0.13.2-Release
diff -urN '--exclude=CVS'