commit openjpeg2 for openSUSE:Factory

2020-02-06 Thread root
Hello community,

here is the log from the commit of package openjpeg2 for openSUSE:Factory 
checked in at 2020-02-06 13:05:23

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


Package is "openjpeg2"

Thu Feb  6 13:05:23 2020 rev:14 rq:769224 version:2.3.1

Changes:

--- /work/SRC/openSUSE:Factory/openjpeg2/openjpeg2.changes  2019-04-05 
11:56:25.774326656 +0200
+++ /work/SRC/openSUSE:Factory/.openjpeg2.new.26092/openjpeg2.changes   
2020-02-06 13:05:24.816244360 +0100
@@ -1,0 +2,14 @@
+Fri Jan 31 16:21:36 UTC 2020 - Stefan BrĂ¼ns 
+
+- Fix several security relevant bugs:
+  * 21399f6b7d318fcd.patch (like CVE-2018-6616, but rle4 instead
+of rle8, bsc#1079845)
+  * 3aef207f90e937d4.patch (CVE-2019-12973, bsc#1140359)
+  * 4cb1f663049aab96.patch (OSS-fuzz,
+https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=18979)
+  * 024b8407392cb0b8.patch (CVE-2020-6851, bsc#1160782)
+  * 05f9b91e60debda0.patch (CVE-2020-8112, bsc#1162090)
+- Use upstream pkgconfig file
+- Move API documentation from devel package to devel-doc
+
+---

New:

  024b8407392cb0b8.patch
  05f9b91e60debda0.patch
  21399f6b7d318fcd.patch
  3aef207f90e937d4.patch
  4cb1f663049aab96.patch



Other differences:
--
++ openjpeg2.spec ++
--- /var/tmp/diff_new_pack.Nc5KFH/_old  2020-02-06 13:05:26.008245008 +0100
+++ /var/tmp/diff_new_pack.Nc5KFH/_new  2020-02-06 13:05:26.012245010 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package openjpeg2
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# 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
@@ -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/
 #
 
 
@@ -25,9 +25,19 @@
 Summary:Opensource JPEG 2000 Codec Implementation
 License:BSD-2-Clause
 Group:  Productivity/Graphics/Other
-Url:http://www.openjpeg.org/
+URL:http://www.openjpeg.org/
 Source0:
https://github.com/uclouvain/openjpeg/archive/v%{version}.tar.gz#/openjpeg-%{version}.tar.gz
 Source1:baselibs.conf
+# PATCH-FIX-UPSTREAM -- like CVE-2018-6616, but rle4 instead of rle8, 
bsc#1079845, https://github.com/uclouvain/openjpeg/commit/21399f6b7d318fcd.patch
+Patch0: 21399f6b7d318fcd.patch
+# PATCH-FIX-UPSTREAM -- CVE-2019-12973, bsc#1140359, 
https://github.com/uclouvain/openjpeg/commit/3aef207f90e937d4.patch
+Patch1: 3aef207f90e937d4.patch
+# PATCH-FIX-UPSTREAM -- OSS-fuzz, 
https://github.com/uclouvain/openjpeg/commit/4cb1f663049aab96.patch
+Patch2: 4cb1f663049aab96.patch
+# PATCH-FIX-UPSTREAM -- CVE-2020-6851, bsc#1160782, 
https://github.com/uclouvain/openjpeg/commit/024b8407392cb0b8.patch
+Patch3: 024b8407392cb0b8.patch
+# PATCH-FIX-UPSTREAM -- CVE-2020-8112, bsc#1162090, 
https://github.com/uclouvain/openjpeg/commit/05f9b91e60debda0.patch
+Patch4: 05f9b91e60debda0.patch
 BuildRequires:  cmake > 2.8.2
 BuildRequires:  doxygen
 BuildRequires:  fdupes
@@ -61,6 +71,7 @@
 Group:  Development/Libraries/Other
 Requires:   %{library_name} = %{version}
 Requires:   %{name} = %{version}
+Recommends: %{name}-devel-doc
 
 %descriptiondevel
 The OpenJPEG library is an open-source JPEG 2000 codec written in C language.
@@ -70,12 +81,25 @@
 
 This package provides the development files for %{name}.
 
+%packagedevel-doc
+Summary:API documentation for %{name}
+Group:  Documentation/HTML
+Recommends: %{library_name} = %{version}
+Recommends: %{name} = %{version}
+
+%descriptiondevel-doc
+The OpenJPEG library is an open-source JPEG 2000 codec written in C language.
+
+This package provides the API documentation for %{name}.
+
 %prep
 %setup -q -n openjpeg-%{version}
+%autopatch -p1
+
 # do not embed timestamps into html documentation
 sed -i 's|^HTML_TIMESTAMP[ =].*$|HTML_TIMESTAMP = NO|' 
doc/Doxyfile.dox.cmake.in
 
-# ensure no bundled libraries are used
+# ensure no bundled libraries are used, but keep thirdparty/CMakeLists.txt
 for d in thirdparty/*; do
 [ -d "$d" ] && rm -rf "$d"
 done
@@ -90,28 +114,16 @@
   -DBUILD_TESTING=OFF \
   -DBUILD_DOC=ON \
   -DBUILD_THIRDPARTY=OFF \
-  -DOPENJPEG_INSTALL_LIB_DIR=%{_lib}
+  -DOPENJPEG_INSTALL_LIB_DIR=%{_lib} \
+  -DOPENJPEG_INSTALL_DOC_DIR=share/doc/packages/%{name}-devel-doc
 
 make %{?_smp_mflags} 

commit openjpeg2 for openSUSE:Factory

2019-04-05 Thread root
Hello community,

here is the log from the commit of package openjpeg2 for openSUSE:Factory 
checked in at 2019-04-05 11:56:24

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


Package is "openjpeg2"

Fri Apr  5 11:56:24 2019 rev:13 rq:691318 version:2.3.1

Changes:

--- /work/SRC/openSUSE:Factory/openjpeg2/openjpeg2.changes  2019-02-24 
20:45:39.863908764 +0100
+++ /work/SRC/openSUSE:Factory/.openjpeg2.new.3908/openjpeg2.changes
2019-04-05 11:56:25.774326656 +0200
@@ -1,0 +2,14 @@
+Tue Apr 02 10:41:57 UTC 2019 - mvet...@suse.com
+
+- Update to version 2.3.1:
+  * Fix CVE-2018-6616 (bsr#1079845)
+  * Fix CVE-2018-5785 (bsc#1076967)
+  * Fix CVE-2018-18088 (bsc#638)
+  * Fix CVE-2018-16375 (bsc#1106882)
+  * Fix CVE-2018-14423 (bsc#1102016)
+  * Fix CVE-2018-7648 (bsc#1083901)
+  * Fix CVE-2018-5727 (bsc#1076314)
+  * For full list see ChangeLog file
+- Remove install-fix.patch: upstreamed
+
+---

Old:

  install-fix.patch
  openjpeg-2.3.0.tar.gz

New:

  openjpeg-2.3.1.tar.gz



Other differences:
--
++ openjpeg2.spec ++
--- /var/tmp/diff_new_pack.g5jOCY/_old  2019-04-05 11:56:26.526327191 +0200
+++ /var/tmp/diff_new_pack.g5jOCY/_new  2019-04-05 11:56:26.530327194 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package openjpeg2
 #
-# Copyright (c) 2017 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
@@ -20,7 +20,7 @@
 %define base_version 2.3
 
 Name:   openjpeg2
-Version:2.3.0
+Version:2.3.1
 Release:0
 Summary:Opensource JPEG 2000 Codec Implementation
 License:BSD-2-Clause
@@ -28,7 +28,6 @@
 Url:http://www.openjpeg.org/
 Source0:
https://github.com/uclouvain/openjpeg/archive/v%{version}.tar.gz#/openjpeg-%{version}.tar.gz
 Source1:baselibs.conf
-Patch1: install-fix.patch
 BuildRequires:  cmake > 2.8.2
 BuildRequires:  doxygen
 BuildRequires:  fdupes
@@ -75,7 +74,6 @@
 %setup -q -n openjpeg-%{version}
 # do not embed timestamps into html documentation
 sed -i 's|^HTML_TIMESTAMP[ =].*$|HTML_TIMESTAMP = NO|' 
doc/Doxyfile.dox.cmake.in
-%patch1 -p1
 
 # ensure no bundled libraries are used
 for d in thirdparty/*; do

++ openjpeg-2.3.0.tar.gz -> openjpeg-2.3.1.tar.gz ++
 2459 lines of diff (skipped)




commit openjpeg2 for openSUSE:Factory

2019-02-24 Thread root
Hello community,

here is the log from the commit of package openjpeg2 for openSUSE:Factory 
checked in at 2019-02-24 20:45:37

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


Package is "openjpeg2"

Sun Feb 24 20:45:37 2019 rev:12 rq:676608 version:2.3.0

Changes:

--- /work/SRC/openSUSE:Factory/openjpeg2/openjpeg2.changes  2017-11-03 
16:31:35.169500788 +0100
+++ /work/SRC/openSUSE:Factory/.openjpeg2.new.28833/openjpeg2.changes   
2019-02-24 20:45:39.863908764 +0100
@@ -1,0 +2,5 @@
+Thu Feb 14 20:15:11 UTC 2019 - bjorn@gmail.com
+
+- Change openjpeg2 Recommends in the devel package to Requires.
+
+---



Other differences:
--
++ openjpeg2.spec ++
--- /var/tmp/diff_new_pack.mUqgGX/_old  2019-02-24 20:45:41.203908093 +0100
+++ /var/tmp/diff_new_pack.mUqgGX/_new  2019-02-24 20:45:41.203908093 +0100
@@ -61,7 +61,7 @@
 Summary:Development files for %{name}
 Group:  Development/Libraries/Other
 Requires:   %{library_name} = %{version}
-Recommends: %{name} = %{version}
+Requires:   %{name} = %{version}
 
 %descriptiondevel
 The OpenJPEG library is an open-source JPEG 2000 codec written in C language.




commit openjpeg2 for openSUSE:Factory

2017-11-03 Thread root
Hello community,

here is the log from the commit of package openjpeg2 for openSUSE:Factory 
checked in at 2017-11-03 16:31:04

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


Package is "openjpeg2"

Fri Nov  3 16:31:04 2017 rev:11 rq:536483 version:2.3.0

Changes:

--- /work/SRC/openSUSE:Factory/openjpeg2/openjpeg2.changes  2017-09-15 
21:08:30.251302032 +0200
+++ /work/SRC/openSUSE:Factory/.openjpeg2.new/openjpeg2.changes 2017-11-03 
16:31:35.169500788 +0100
@@ -1,0 +2,17 @@
+Mon Oct 23 15:04:03 UTC 2017 - idon...@suse.com
+
+- Update to version 2.3.0
+- Drop upstream patches:
+  * 0018-tcd_get_decoded_tile_size.patch
+  * openjpeg2-CVE-2016-10504.patch
+  * openjpeg2-CVE-2016-10505.patch
+  * openjpeg2-CVE-2016-10506.patch
+  * openjpeg2-CVE-2017-12982.patch
+  * openjpeg2-CVE-2017-14039.patch
+  * openjpeg2-CVE-2017-14040.patch
+  * openjpeg2-CVE-2017-14041.patch
+  * openjpeg2-CVE-2017-14151.patch
+  * openjpeg2-CVE-2017-14152.patch
+- Add install-fix.patch from upstream to fix library installation.
+
+---

Old:

  0018-tcd_get_decoded_tile_size.patch
  openjpeg-2.1.2.tar.gz
  openjpeg2-CVE-2016-10504.patch
  openjpeg2-CVE-2016-10505.patch
  openjpeg2-CVE-2016-10506.patch
  openjpeg2-CVE-2017-12982.patch
  openjpeg2-CVE-2017-14039.patch
  openjpeg2-CVE-2017-14040.patch
  openjpeg2-CVE-2017-14041.patch
  openjpeg2-CVE-2017-14151.patch
  openjpeg2-CVE-2017-14152.patch

New:

  install-fix.patch
  openjpeg-2.3.0.tar.gz



Other differences:
--
++ openjpeg2.spec ++
--- /var/tmp/diff_new_pack.tEHBvA/_old  2017-11-03 16:31:37.113430035 +0100
+++ /var/tmp/diff_new_pack.tEHBvA/_new  2017-11-03 16:31:37.117429890 +0100
@@ -17,9 +17,10 @@
 
 
 %define library_name  libopenjp2-7
-%define base_version 2.1
+%define base_version 2.3
+
 Name:   openjpeg2
-Version:%{base_version}.2
+Version:2.3.0
 Release:0
 Summary:Opensource JPEG 2000 Codec Implementation
 License:BSD-2-Clause
@@ -27,37 +28,17 @@
 Url:http://www.openjpeg.org/
 Source0:
https://github.com/uclouvain/openjpeg/archive/v%{version}.tar.gz#/openjpeg-%{version}.tar.gz
 Source1:baselibs.conf
+Patch1: install-fix.patch
 BuildRequires:  cmake > 2.8.2
 BuildRequires:  doxygen
 BuildRequires:  fdupes
+BuildRequires:  gcc-c++
 BuildRequires:  pkg-config
 BuildRequires:  pkgconfig(lcms2)
 BuildRequires:  pkgconfig(libpng)
 BuildRequires:  pkgconfig(libtiff-4)
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
-# CVE-2016-5152 is
-# 
https://pdfium.googlesource.com/pdfium.git/+/d8cc503575463ff3d81b22dad292665f2c88911e/third_party/libopenjpeg20/0018-tcd_get_decoded_tile_size.patch
-Patch1: 0018-tcd_get_decoded_tile_size.patch
-# PATCH-FIX-UPSTREAM openjpeg2-CVE-2016-10504.patch bsc#1056351 h...@suse.com
-Patch2: openjpeg2-CVE-2016-10504.patch
-# PATCH-FIX-UPSTREAM openjpeg2-CVE-2016-10505.patch bsc#1056363 h...@suse.com
-Patch3: openjpeg2-CVE-2016-10505.patch
-# PATCH-FIX-UPSTREAM openjpeg2-CVE-2016-10506.patch bsc#1056396 h...@suse.com
-Patch4: openjpeg2-CVE-2016-10506.patch
-# PATCH-FIX-UPSTREAM openjpeg2-CVE-2017-12982.patch bsc#1054696 h...@suse.com
-Patch5: openjpeg2-CVE-2017-12982.patch
-# PATCH-FIX-UPSTREAM openjpeg2-CVE-2017-14039.patch bsc#1056622 bsc#1057511 
h...@suse.com
-Patch6: openjpeg2-CVE-2017-14039.patch
-# PATCH-FIX-UPSTREAM openjpeg2-CVE-2017-14040.patch bsc#1056621 h...@suse.com
-Patch7: openjpeg2-CVE-2017-14040.patch
-# PATCH-FIX-UPSTREAM openjpeg2-CVE-2017-14041.patch bsc#1056562 h...@suse.com
-Patch8: openjpeg2-CVE-2017-14041.patch
-# PATCH-FIX-UPSTREAM openjpeg2-CVE-2017-14151.patch bsc#1057336 h...@suse.com
-Patch9: openjpeg2-CVE-2017-14151.patch
-# PATCH-FIX-UPSTREAM openjpeg2-CVE-2017-14152.patch bsc#1057335 h...@suse.com
-Patch10:openjpeg2-CVE-2017-14152.patch
-
 %description
 The OpenJPEG library is an open-source JPEG 2000 codec written in C language.
 It has been developed in order to promote the use of JPEG 2000, the new
@@ -94,33 +75,26 @@
 %setup -q -n openjpeg-%{version}
 # do not embed timestamps into html documentation
 sed -i 's|^HTML_TIMESTAMP[ =].*$|HTML_TIMESTAMP = NO|' 
doc/Doxyfile.dox.cmake.in
+%patch1 -p1
+
 # ensure no bundled libraries are used
 for d in thirdparty/*; do
 [ -d "$d" ] && rm -rf "$d"
 done
-%patch1 -p1
-%patch2 -p1
-%patch3 -p1
-%patch4 -p1
-%patch5 -p1
-%patch6 -p1
-%patch7 -p1
-%patch8 -p1
-%patch9 -p1
-%patch10 -p1
 
 %build
 %cmake \
-  -DBUILD_SHARED_LIBS:BOOL=ON \
-  -DBUILD_CODEC:BOOL=ON \
-  -DBUILD_JPIP:BOOL=OFF \
-  -DBUILD_JPWL:BOOL=OFF \
- 

commit openjpeg2 for openSUSE:Factory

2017-09-15 Thread root
Hello community,

here is the log from the commit of package openjpeg2 for openSUSE:Factory 
checked in at 2017-09-15 21:08:28

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


Package is "openjpeg2"

Fri Sep 15 21:08:28 2017 rev:10 rq:525881 version:2.1.2

Changes:

--- /work/SRC/openSUSE:Factory/openjpeg2/openjpeg2.changes  2016-12-22 
16:00:02.200755315 +0100
+++ /work/SRC/openSUSE:Factory/.openjpeg2.new/openjpeg2.changes 2017-09-15 
21:08:30.251302032 +0200
@@ -1,0 +2,17 @@
+Tue Sep 12 20:49:00 CEST 2017 - h...@suse.com
+
+- Add security fixes:
+  openjpeg2-CVE-2016-10504.patch (CVE-2016-10504, bsc#1056351),
+  openjpeg2-CVE-2016-10505.patch (CVE-2016-10505, bsc#1056363),
+  openjpeg2-CVE-2016-10506.patch (CVE-2016-10506, bsc#1056396),
+  openjpeg2-CVE-2017-12982.patch (CVE-2017-12982, bsc#1054696),
+  openjpeg2-CVE-2017-14039.patch (CVE-2017-14039, CVE-2017-14164,
+  bsc#1056622, bsc#1057511),
+  openjpeg2-CVE-2017-14040.patch (CVE-2017-14040, bsc#1056621),
+  openjpeg2-CVE-2017-14041.patch (CVE-2017-14041, bsc#1056562),
+  openjpeg2-CVE-2017-14151.patch (CVE-2017-14151, bsc#1057336),
+  openjpeg2-CVE-2017-14152.patch (CVE-2017-14152, bsc#1057335),
+  most of which are critical, including heap and stack overwrites,
+  over-reads and division by zero errors.
+
+---

New:

  openjpeg2-CVE-2016-10504.patch
  openjpeg2-CVE-2016-10505.patch
  openjpeg2-CVE-2016-10506.patch
  openjpeg2-CVE-2017-12982.patch
  openjpeg2-CVE-2017-14039.patch
  openjpeg2-CVE-2017-14040.patch
  openjpeg2-CVE-2017-14041.patch
  openjpeg2-CVE-2017-14151.patch
  openjpeg2-CVE-2017-14152.patch



Other differences:
--
++ openjpeg2.spec ++
--- /var/tmp/diff_new_pack.uMpKAX/_old  2017-09-15 21:08:31.135177937 +0200
+++ /var/tmp/diff_new_pack.uMpKAX/_new  2017-09-15 21:08:31.139177375 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package openjpeg2
 #
-# 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
@@ -39,6 +39,24 @@
 # CVE-2016-5152 is
 # 
https://pdfium.googlesource.com/pdfium.git/+/d8cc503575463ff3d81b22dad292665f2c88911e/third_party/libopenjpeg20/0018-tcd_get_decoded_tile_size.patch
 Patch1: 0018-tcd_get_decoded_tile_size.patch
+# PATCH-FIX-UPSTREAM openjpeg2-CVE-2016-10504.patch bsc#1056351 h...@suse.com
+Patch2: openjpeg2-CVE-2016-10504.patch
+# PATCH-FIX-UPSTREAM openjpeg2-CVE-2016-10505.patch bsc#1056363 h...@suse.com
+Patch3: openjpeg2-CVE-2016-10505.patch
+# PATCH-FIX-UPSTREAM openjpeg2-CVE-2016-10506.patch bsc#1056396 h...@suse.com
+Patch4: openjpeg2-CVE-2016-10506.patch
+# PATCH-FIX-UPSTREAM openjpeg2-CVE-2017-12982.patch bsc#1054696 h...@suse.com
+Patch5: openjpeg2-CVE-2017-12982.patch
+# PATCH-FIX-UPSTREAM openjpeg2-CVE-2017-14039.patch bsc#1056622 bsc#1057511 
h...@suse.com
+Patch6: openjpeg2-CVE-2017-14039.patch
+# PATCH-FIX-UPSTREAM openjpeg2-CVE-2017-14040.patch bsc#1056621 h...@suse.com
+Patch7: openjpeg2-CVE-2017-14040.patch
+# PATCH-FIX-UPSTREAM openjpeg2-CVE-2017-14041.patch bsc#1056562 h...@suse.com
+Patch8: openjpeg2-CVE-2017-14041.patch
+# PATCH-FIX-UPSTREAM openjpeg2-CVE-2017-14151.patch bsc#1057336 h...@suse.com
+Patch9: openjpeg2-CVE-2017-14151.patch
+# PATCH-FIX-UPSTREAM openjpeg2-CVE-2017-14152.patch bsc#1057335 h...@suse.com
+Patch10:openjpeg2-CVE-2017-14152.patch
 
 %description
 The OpenJPEG library is an open-source JPEG 2000 codec written in C language.
@@ -81,6 +99,15 @@
 [ -d "$d" ] && rm -rf "$d"
 done
 %patch1 -p1
+%patch2 -p1
+%patch3 -p1
+%patch4 -p1
+%patch5 -p1
+%patch6 -p1
+%patch7 -p1
+%patch8 -p1
+%patch9 -p1
+%patch10 -p1
 
 %build
 %cmake \

++ openjpeg2-CVE-2016-10504.patch ++
commit 0a915d5e6b49c8428a28d0b858b9e274851b4b1c
Author: Hans Petter Jansson 
Date:   Fri Sep 8 00:22:18 2017 +0200

openjpeg2-CVE-2016-10504.patch

diff --git a/src/lib/openjp2/tcd.c b/src/lib/openjp2/tcd.c
index 985ac5f..2e116b2 100644
--- a/src/lib/openjp2/tcd.c
+++ b/src/lib/openjp2/tcd.c
@@ -1088,8 +1088,10 @@ static OPJ_BOOL opj_tcd_code_block_enc_allocate_data 
(opj_tcd_cblk_enc_t * p_cod
 {
OPJ_UINT32 l_data_size;

-   l_data_size = (OPJ_UINT32)((p_code_block->x1 - p_code_block->x0) * 
(p_code_block->y1 - p_code_block->y0) * (OPJ_INT32)sizeof(OPJ_UINT32));
-   
+   /* The +1 is needed for 
https://github.com/uclouvain/openjpeg/issues/835 */
+   l_data_size = 1 + 

commit openjpeg2 for openSUSE:Factory

2015-12-17 Thread h_root
Hello community,

here is the log from the commit of package openjpeg2 for openSUSE:Factory 
checked in at 2015-12-17 15:52:38

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


Package is "openjpeg2"

Changes:

--- /work/SRC/openSUSE:Factory/openjpeg2/openjpeg2.changes  2015-10-24 
18:56:13.0 +0200
+++ /work/SRC/openSUSE:Factory/.openjpeg2.new/openjpeg2.changes 2015-12-17 
15:52:40.0 +0100
@@ -1,0 +2,5 @@
+Tue Dec  8 15:13:03 UTC 2015 - p.drou...@gmail.com
+
+- Add a pkg-config dependency; expand pkgconfig
+
+---



Other differences:
--
++ openjpeg2.spec ++
--- /var/tmp/diff_new_pack.LhlLNi/_old  2015-12-17 15:52:41.0 +0100
+++ /var/tmp/diff_new_pack.LhlLNi/_new  2015-12-17 15:52:41.0 +0100
@@ -30,6 +30,7 @@
 BuildRequires:  cmake > 2.8.2
 BuildRequires:  doxygen
 BuildRequires:  fdupes
+BuildRequires:  pkg-config
 BuildRequires:  pkgconfig(lcms2)
 BuildRequires:  pkgconfig(libpng)
 BuildRequires:  pkgconfig(libtiff-4)




commit openjpeg2 for openSUSE:Factory

2015-10-24 Thread h_root
Hello community,

here is the log from the commit of package openjpeg2 for openSUSE:Factory 
checked in at 2015-10-24 18:55:58

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


Package is "openjpeg2"

Changes:

--- /work/SRC/openSUSE:Factory/openjpeg2/openjpeg2.changes  2015-09-08 
17:38:22.0 +0200
+++ /work/SRC/openSUSE:Factory/.openjpeg2.new/openjpeg2.changes 2015-10-24 
18:56:13.0 +0200
@@ -1,0 +2,5 @@
+Mon Oct 19 09:20:16 UTC 2015 - sch...@suse.de
+
+- Re-add baselibs.conf, needed by poppler and leptonica
+
+---

New:

  baselibs.conf



Other differences:
--
++ openjpeg2.spec ++
--- /var/tmp/diff_new_pack.k5vxMY/_old  2015-10-24 18:56:14.0 +0200
+++ /var/tmp/diff_new_pack.k5vxMY/_new  2015-10-24 18:56:14.0 +0200
@@ -26,6 +26,7 @@
 Group:  Productivity/Graphics/Other
 Url:http://www.openjpeg.org/
 Source0:
http://sourceforge.net/projects/openjpeg.mirror/files/%{version}/openjpeg-%{version}.tar.gz
+Source1:baselibs.conf
 BuildRequires:  cmake > 2.8.2
 BuildRequires:  doxygen
 BuildRequires:  fdupes

++ baselibs.conf ++
libopenjp2-7



commit openjpeg2 for openSUSE:Factory

2015-09-08 Thread h_root
Hello community,

here is the log from the commit of package openjpeg2 for openSUSE:Factory 
checked in at 2015-09-08 17:37:36

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


Package is "openjpeg2"

Changes:

--- /work/SRC/openSUSE:Factory/openjpeg2/openjpeg2.changes  2014-06-16 
21:43:55.0 +0200
+++ /work/SRC/openSUSE:Factory/.openjpeg2.new/openjpeg2.changes 2015-09-08 
17:38:22.0 +0200
@@ -1,0 +2,7 @@
+Fri Sep  4 11:54:30 UTC 2015 - mplus...@suse.com
+
+- Use cmake macro
+- Remove baselibs.conf (it was broken anyways for months)
+- Cleanup spec file with spec-cleaner
+
+---

Old:

  baselibs.conf



Other differences:
--
++ openjpeg2.spec ++
--- /var/tmp/diff_new_pack.0MH3sF/_old  2015-09-08 17:38:26.0 +0200
+++ /var/tmp/diff_new_pack.0MH3sF/_new  2015-09-08 17:38:26.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package openjpeg2
 #
-# 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
@@ -17,9 +17,8 @@
 
 
 %define library_name  libopenjp2-7
-
-Name:   openjpeg2
 %define base_version 2.1
+Name:   openjpeg2
 Version:%{base_version}.0
 Release:0
 Summary:Opensource JPEG 2000 Codec Implementation
@@ -27,11 +26,9 @@
 Group:  Productivity/Graphics/Other
 Url:http://www.openjpeg.org/
 Source0:
http://sourceforge.net/projects/openjpeg.mirror/files/%{version}/openjpeg-%{version}.tar.gz
-Source1:baselibs.conf
 BuildRequires:  cmake > 2.8.2
 BuildRequires:  doxygen
 BuildRequires:  fdupes
-BuildRequires:  gcc
 BuildRequires:  pkgconfig(lcms2)
 BuildRequires:  pkgconfig(libpng)
 BuildRequires:  pkgconfig(libtiff-4)
@@ -79,11 +76,7 @@
 done
 
 %build
-export CFLAGS="%{optflags}"
-export CXXFLAGS="%{optflags}"
-mkdir build
-cd build
-cmake \
+%cmake \
 -DBUILD_SHARED_LIBS:BOOL=ON \
 -DBUILD_CODEC:BOOL=ON \
 -DBUILD_JPIP:BOOL=OFF \
@@ -92,28 +85,23 @@
 -DBUILD_TESTING:BOOL=OFF \
 -DBUILD_DOC:BOOL=ON \
 -DBUILD_THIRDPARTY:BOOL=OFF \
--DCMAKE_INSTALL_PREFIX:PATH="%{_prefix}" \
--DOPENJPEG_INSTALL_LIB_DIR:PATH="%{_lib}" \
--DCMAKE_BUILD_TYPE:STRING="Release" \
-..
-
-make %{?_smp_mflags} VERBOSE=1
-make %{?_smp_mflags} VERBOSE=1 doc
+  -DOPENJPEG_INSTALL_LIB_DIR:PATH="%{_lib}"
+make %{?_smp_mflags} all doc
 
 cat << END > libopenjp2.pc 
+
 Name: openjpeg
-Description: Opensource JPEG 2000 Codec Implementation
-URL: %{url}
 Version: %{version}
+Url:%{url}
+Description: Opensource JPEG 2000 Codec Implementation
 Libs: -L%{_libdir} -lopenjp2
 Libs.private: -lm
 Cflags: -I%{_includedir}/openjpeg-%{base_version}
 END
-
 %fdupes -s doc/html/
 
 %install
-%make_install -C build
+%cmake_install
 mkdir -p %{buildroot}%{_libdir}/pkgconfig/
 install -m 644 build/libopenjp2.pc %{buildroot}%{_libdir}/pkgconfig/
 rm -rf %{buildroot}%{_datadir}/doc




commit openjpeg2 for openSUSE:Factory

2014-06-16 Thread h_root
Hello community,

here is the log from the commit of package openjpeg2 for openSUSE:Factory 
checked in at 2014-06-16 21:43:21

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


Package is openjpeg2

Changes:

--- /work/SRC/openSUSE:Factory/openjpeg2/openjpeg2.changes  2014-05-10 
22:57:05.0 +0200
+++ /work/SRC/openSUSE:Factory/.openjpeg2.new/openjpeg2.changes 2014-06-16 
21:43:55.0 +0200
@@ -1,0 +2,45 @@
+Sat May 31 07:12:54 UTC 2014 - co...@suse.com
+
+- pimp up the previous changelog
+
+---
+Tue May 27 15:10:53 UTC 2014 - opens...@dstoecker.de
+
+- update to version 2.1.0
+
+New Features:
+
+* Digital Cinema profiles have been fixed and updated
+* New option to disable MCT if needed
+* extended RAW support: it is now possible to input raw images
+  with subsampled color components (422, 420, etc)
+* New way to deal with profiles
+
+API/ABI modifications: (see abi_compat_report in dev-utils/scripts)
+
+* Removed deprecated functions
+- opj_stream_create_default_file_stream(FILE*,...)
+- opj_stream_create_file_stream(FILE*,...)
+- opj_stream_set_user_data (opj_stream_t* p_stream, void * p_data)
+* Added
+- opj_stream_create_default_file_stream(char*,...)
+- opj_stream_create_file_stream(char*,...)
+- opj_stream_destroy(opj_stream_t*)
+- opj_stream_set_user_data (opj_stream_t* p_stream, void * p_data,
+... opj_stream_free_user_data_fn p_function)
+- JPEG 2000 profiles and Part-2 extensions defined through '#define'
+* Changed
+- 'alpha' field added to 'opj_image_comp' structure
+- 'OPJ_CLRSPC_EYCC' added to enum COLOR_SPACE
+- 'OPJ_CLRSPC_CMYK' added to enum COLOR_SPACE
+- 'OPJ_CODEC_JPP' and 'OPJ_CODEC_JPX' added to CODEC_FORMAT
+  (not yet used in use)
+- 'max_cs_size' and 'rsiz' fields added to opj_cparameters_t
+
+Misc:
+* OpenJPEG is now officialy conformant with JPEG 2000 Part-1
+  and will soon become official reference software at the
+  JPEG committee.
+* Huge amount of bug fixes. See CHANGES for details.
+
+---

Old:

  openjpeg-2.0.1.tar.gz

New:

  openjpeg-2.1.0.tar.gz



Other differences:
--
++ openjpeg2.spec ++
--- /var/tmp/diff_new_pack.KkSmEW/_old  2014-06-16 21:43:56.0 +0200
+++ /var/tmp/diff_new_pack.KkSmEW/_new  2014-06-16 21:43:56.0 +0200
@@ -19,15 +19,16 @@
 %define library_name  libopenjp2-7
 
 Name:   openjpeg2
-Version:2.0.1
+%define base_version 2.1
+Version:%{base_version}.0
 Release:0
 Summary:Opensource JPEG 2000 Codec Implementation
 License:BSD-2-Clause
 Group:  Productivity/Graphics/Other
 Url:http://www.openjpeg.org/
-Source0:openjpeg-%{version}.tar.gz
+Source0:
http://sourceforge.net/projects/openjpeg.mirror/files/%{version}/openjpeg-%{version}.tar.gz
 Source1:baselibs.conf
-BuildRequires:  cmake
+BuildRequires:  cmake  2.8.2
 BuildRequires:  doxygen
 BuildRequires:  fdupes
 BuildRequires:  gcc
@@ -106,7 +107,7 @@
 Version: %{version}
 Libs: -L%{_libdir} -lopenjp2
 Libs.private: -lm
-Cflags: -I%{_includedir}/openjpeg-2.0
+Cflags: -I%{_includedir}/openjpeg-%{base_version}
 END
 
 %fdupes -s doc/html/
@@ -134,10 +135,10 @@
 %files devel
 %defattr(-,root,root,-)
 %doc build/doc/html/
-%{_includedir}/openjpeg-2.0/
+%{_includedir}/openjpeg-%{base_version}/
 %{_libdir}/libopenjp2.so
 %{_libdir}/pkgconfig/libopenjp2.pc
-%{_libdir}/openjpeg-2.0/
+%{_libdir}/openjpeg-%{base_version}/
 %{_mandir}/man3/libopenjp2.3%{ext_man}
 
 %changelog

++ openjpeg-2.0.1.tar.gz - openjpeg-2.1.0.tar.gz ++
 4836 lines of diff (skipped)

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



commit openjpeg2 for openSUSE:Factory

2014-02-18 Thread h_root
Hello community,

here is the log from the commit of package openjpeg2 for openSUSE:Factory 
checked in at 2014-02-19 07:21:34

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


Package is openjpeg2

Changes:

--- /work/SRC/openSUSE:Factory/openjpeg2/openjpeg2.changes  2013-12-03 
16:55:17.0 +0100
+++ /work/SRC/openSUSE:Factory/.openjpeg2.new/openjpeg2.changes 2014-02-19 
07:21:35.0 +0100
@@ -1,0 +2,5 @@
+Tue Feb 18 07:21:03 UTC 2014 - pgaj...@suse.com
+
+- add libopenjp2.pc (demand introduced by ImageMagick 6.8.8-5)
+
+---



Other differences:
--
++ openjpeg2.spec ++
--- /var/tmp/diff_new_pack.lWF1rd/_old  2014-02-19 07:21:36.0 +0100
+++ /var/tmp/diff_new_pack.lWF1rd/_new  2014-02-19 07:21:36.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package openjpeg2
 #
-# 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
@@ -15,6 +15,7 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+
 %define library_name  libopenjp2-6
 
 Name:   openjpeg2
@@ -27,12 +28,12 @@
 Source0:openjpeg-%{version}.tar.gz
 Source1:baselibs.conf
 BuildRequires:  cmake
+BuildRequires:  doxygen
 BuildRequires:  fdupes
 BuildRequires:  gcc
-BuildRequires:  pkgconfig(libtiff-4)
 BuildRequires:  pkgconfig(lcms2)
 BuildRequires:  pkgconfig(libpng)
-BuildRequires:  doxygen
+BuildRequires:  pkgconfig(libtiff-4)
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -98,11 +99,22 @@
 make %{?_smp_mflags} VERBOSE=1
 make %{?_smp_mflags} VERBOSE=1 doc
 
+cat  END  libopenjp2.pc 
+Name: openjpeg
+Description: Opensource JPEG 2000 Codec Implementation
+URL: %{url}
+Version: %{version}
+Libs: -L%{_libdir} -lopenjp2
+Libs.private: -lm
+Cflags: -I%{_includedir}/openjpeg-2.0
+END
+
 %fdupes -s doc/html/
 
 %install
 %make_install -C build
-
+mkdir -p %{buildroot}%{_libdir}/pkgconfig/
+install -m 644 build/libopenjp2.pc %{buildroot}%{_libdir}/pkgconfig/
 rm -rf %{buildroot}%{_datadir}/doc
 
 %post -n %{library_name} -p /sbin/ldconfig
@@ -124,6 +136,7 @@
 %doc build/doc/html/
 %{_includedir}/openjpeg-2.0/
 %{_libdir}/libopenjp2.so
+%{_libdir}/pkgconfig/libopenjp2.pc
 %{_libdir}/openjpeg-2.0/
 %{_mandir}/man3/libopenjp2.3%{ext_man}
 

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