Sync from SUSE:SLFO:Main openjpeg2 revision 340d387506d325b7fc05b6ca84415527
This commit is contained in:
commit
315665d372
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
baselibs.conf
Normal file
1
baselibs.conf
Normal file
@ -0,0 +1 @@
|
||||
libopenjp2-7
|
BIN
openjpeg-2.5.0.tar.gz
(Stored with Git LFS)
Normal file
BIN
openjpeg-2.5.0.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
260
openjpeg2.changes
Normal file
260
openjpeg2.changes
Normal file
@ -0,0 +1,260 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 8 14:11:29 UTC 2023 - Martin Pluskal <mpluskal@suse.com>
|
||||
|
||||
- Build AVX2 enabled hwcaps library for x86_64-v3
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 3 09:59:48 UTC 2022 - Timothy Brown <stimut@gmail.com>
|
||||
|
||||
- update to 2.5.0:
|
||||
* Encoder: add support for generation of TLM markers
|
||||
* Decoder: add support for high throughput (HTJ2K) decoding
|
||||
* Decoder: add support for partial bitstream decoding
|
||||
* Bug fixes (including security fixes)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 18 23:00:45 UTC 2021 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 2.4.0:
|
||||
* Encoder: add support for multithreading #1248
|
||||
* Encoder: add support for generation of PLT markers #1246
|
||||
* Encoder: single-threaded performance improvements in forward DWT for 5-3 and 9-7 (and other improvements) #1253
|
||||
* Encoder: support IMF profiles #1235
|
||||
* Many bug fixes (including security fixes)
|
||||
|
||||
- drop 024b8407392cb0b8.patch, 05f9b91e60debda0.patch,
|
||||
21399f6b7d318fcd.patch, 3aef207f90e937d4.patch,
|
||||
4cb1f663049aab96.patch: upstream
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 31 16:21:36 UTC 2020 - Stefan Brüns <stefan.bruens@rwth-aachen.de>
|
||||
|
||||
- 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
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 02 10:41:57 UTC 2019 - mvetter@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#1111638)
|
||||
* 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
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 14 20:15:11 UTC 2019 - bjorn.lie@gmail.com
|
||||
|
||||
- Change openjpeg2 Recommends in the devel package to Requires (bsc#1201799)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 23 15:04:03 UTC 2017 - idonmez@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.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 12 20:49:00 CEST 2017 - hpj@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.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 19 08:42:02 UTC 2016 - normand@linux.vnet.ibm.com
|
||||
|
||||
- update to version 2.1.2
|
||||
Bug fixes including security fixes among which:
|
||||
CVE-2016-8332 CVE-2016-7163
|
||||
CVE-2016-5139 CVE-2016-5159
|
||||
CVE-2016-5158 (not listed but solved different way)
|
||||
Huge amount of critical bugfixes
|
||||
Speed improvements
|
||||
No API/ABI break compared to v2.1.1/v2.1
|
||||
- some doc files now have '.md' suffix (like README.md)
|
||||
- CVE-2016-5152 with new 0018-tcd_get_decoded_tile_size.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 8 15:13:03 UTC 2015 - p.drouand@gmail.com
|
||||
|
||||
- Add a pkg-config dependency; expand pkgconfig
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 19 09:20:16 UTC 2015 - schwab@suse.de
|
||||
|
||||
- Re-add baselibs.conf, needed by poppler and leptonica
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 4 11:54:30 UTC 2015 - mpluskal@suse.com
|
||||
|
||||
- Use cmake macro
|
||||
- Remove baselibs.conf (it was broken anyways for months)
|
||||
- Cleanup spec file with spec-cleaner
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat May 31 07:12:54 UTC 2014 - coolo@suse.com
|
||||
|
||||
- pimp up the previous changelog
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 27 15:10:53 UTC 2014 - opensuse@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.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 8 14:47:36 UTC 2014 - hpj@urpla.net
|
||||
|
||||
- version 2.0.1
|
||||
|
||||
- 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)
|
||||
|
||||
- API/ABI modifications: (see abi_compat_report_2.0.1.html in dev-utils/scripts)
|
||||
* No changes, API/ABI fully compatible with 2.0.0
|
||||
|
||||
- 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.
|
||||
|
||||
- adjust library name
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 18 07:21:03 UTC 2014 - pgajdos@suse.com
|
||||
|
||||
- add libopenjp2.pc (demand introduced by ImageMagick 6.8.8-5)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 26 09:48:46 UTC 2013 - gber@opensuse.org
|
||||
|
||||
- remove bogus dependency on libjpeg-devel
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 26 04:25:48 UTC 2013 - mrdocs@opensuse.org
|
||||
|
||||
- add explicit libjpeg-devel to fix build on SLE 11
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Nov 24 10:38:25 UTC 2013 - gber@opensuse.org
|
||||
|
||||
- use pkgconfig macros
|
||||
- let openjpeg2-devel only recommend openjpeg2
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 13 16:50:45 UTC 2013 - gber@opensuse.org
|
||||
|
||||
- remove bogus dependency on libgeotiff-devel and depend on
|
||||
libtiff-devel
|
||||
- ensure no bundled libraries are used
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 12 14:06:55 UTC 2013 - gber@opensuse.org
|
||||
|
||||
- cleanup
|
||||
- improve group, summary, description
|
||||
- fix license
|
||||
- fix build dependencies
|
||||
- use optflags, don't mess with debug symbols
|
||||
- fix library install path
|
||||
- create main package containing codec tools
|
||||
- build doxygen documentaion
|
||||
- fix %post/un scriptlets for the libopenjp2-6 subpackage
|
||||
- add baselibs
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 8 11:56:09 UTC 2013 - behrisch@users.sourceforge.net
|
||||
|
||||
- fixed make install for non suse targets
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Nov 25 14:55:50 UTC 2012 - Angelos Tzotsos <tzotsos@opensuse.org>
|
||||
|
||||
Update to version 2.0 Final, fixed some major issues :
|
||||
* support of Large JPEG2000 Files greater than 2 GBytes
|
||||
* support of tile coding and decoding which allows to encode or decode only specific part of image if the file is tiled
|
||||
* implements subset of the MCT part 2
|
||||
* streaming system
|
||||
* improvement of the cmake build system
|
||||
* adding a CDash platform to support continuous integration of the different version
|
||||
* opaque pointers (opj_stream, opj_codec) have been used to simplify the API
|
||||
* the library does not perform the t1 decoding of non-needed resolutions any more (increases performance)
|
||||
* a lot of code has been simplified/factored in order to lower the memory consumption.
|
||||
* j2k.c and jp2.c have been modified to support a simpler extension mechanism
|
||||
* prefix all public and the great majority of the private symbols with opj_ to avoid conflict with external libraries
|
||||
|
||||
------------------------------------------------------------------
|
||||
Mon Jan 24 00:00:00 UTC 2010 - Angelos Tzotsos <tzotsos@opensuse.org>
|
||||
|
||||
* Initial build from SVN
|
142
openjpeg2.spec
Normal file
142
openjpeg2.spec
Normal file
@ -0,0 +1,142 @@
|
||||
#
|
||||
# spec file for package openjpeg2
|
||||
#
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%define library_name libopenjp2-7
|
||||
%define base_version 2.5
|
||||
Name: openjpeg2
|
||||
Version: 2.5.0
|
||||
Release: 0
|
||||
Summary: Opensource JPEG 2000 Codec Implementation
|
||||
License: BSD-2-Clause
|
||||
Group: Productivity/Graphics/Other
|
||||
URL: https://www.openjpeg.org/
|
||||
Source0: https://github.com/uclouvain/openjpeg/archive/v%{version}.tar.gz#/openjpeg-%{version}.tar.gz
|
||||
Source1: baselibs.conf
|
||||
BuildRequires: cmake > 2.8.2
|
||||
BuildRequires: doxygen
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: libjbig-devel
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: pkgconfig(lcms2)
|
||||
BuildRequires: pkgconfig(libjpeg)
|
||||
BuildRequires: pkgconfig(liblzma)
|
||||
BuildRequires: pkgconfig(libpng)
|
||||
BuildRequires: pkgconfig(libtiff-4)
|
||||
BuildRequires: pkgconfig(libzstd)
|
||||
%{?suse_build_hwcaps_libs}
|
||||
|
||||
%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
|
||||
still-image compression standard from the Joint Photographic Experts Group
|
||||
(JPEG).
|
||||
|
||||
This package provides the codec executables.
|
||||
|
||||
%package -n %{library_name}
|
||||
Summary: Opensource JPEG 2000 Codec Implementation
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n %{library_name}
|
||||
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
|
||||
still-image compression standard from the Joint Photographic Experts Group
|
||||
(JPEG).
|
||||
|
||||
%package devel
|
||||
Summary: Development files for %{name}
|
||||
Group: Development/Libraries/Other
|
||||
Requires: %{library_name} = %{version}
|
||||
Requires: %{name} = %{version}
|
||||
Recommends: %{name}-devel-doc
|
||||
|
||||
%description devel
|
||||
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
|
||||
still-image compression standard from the Joint Photographic Experts Group
|
||||
(JPEG).
|
||||
|
||||
This package provides the development files for %{name}.
|
||||
|
||||
%package devel-doc
|
||||
Summary: API documentation for %{name}
|
||||
Group: Documentation/HTML
|
||||
Recommends: %{library_name} = %{version}
|
||||
Recommends: %{name} = %{version}
|
||||
|
||||
%description devel-doc
|
||||
The OpenJPEG library is an open-source JPEG 2000 codec written in C language.
|
||||
|
||||
This package provides the API documentation for %{name}.
|
||||
|
||||
%prep
|
||||
%autosetup -n openjpeg-%{version} -p0
|
||||
|
||||
# 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, but keep thirdparty/CMakeLists.txt
|
||||
for d in thirdparty/*; do
|
||||
[ -d "$d" ] && rm -rf "$d"
|
||||
done
|
||||
|
||||
%build
|
||||
%cmake \
|
||||
-DBUILD_SHARED_LIBS=ON \
|
||||
-DBUILD_CODEC=ON \
|
||||
-DBUILD_JPIP=OFF \
|
||||
-DBUILD_JPWL=OFF \
|
||||
-DBUILD_MJ2=OFF \
|
||||
-DBUILD_TESTING=OFF \
|
||||
-DBUILD_DOC=ON \
|
||||
-DBUILD_THIRDPARTY=OFF \
|
||||
-DOPENJPEG_INSTALL_LIB_DIR=%{_lib} \
|
||||
-DOPENJPEG_INSTALL_DOC_DIR=share/doc/packages/%{name}-devel-doc
|
||||
|
||||
%cmake_build all doc
|
||||
|
||||
%install
|
||||
%cmake_install
|
||||
rm %{buildroot}%{_defaultdocdir}/%{name}-devel-doc/LICENSE
|
||||
%fdupes %{buildroot}%{_defaultdocdir}
|
||||
|
||||
%post -n %{library_name} -p /sbin/ldconfig
|
||||
%postun -n %{library_name} -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%license LICENSE
|
||||
%{_bindir}/opj_*
|
||||
%{_mandir}/man1/opj_*.1%{?ext_man}
|
||||
|
||||
%files -n %{library_name}
|
||||
%{_libdir}/libopenjp2.so.*
|
||||
|
||||
%files devel
|
||||
%{_includedir}/openjpeg-%{base_version}/
|
||||
%{_libdir}/libopenjp2.so
|
||||
%{_libdir}/pkgconfig/libopenjp2.pc
|
||||
%{_libdir}/openjpeg-%{base_version}/
|
||||
%{_mandir}/man3/libopenjp2.3%{?ext_man}
|
||||
|
||||
%files devel-doc
|
||||
%license LICENSE
|
||||
%doc AUTHORS.md CHANGELOG.md NEWS.md README.md THANKS.md
|
||||
%doc %{_defaultdocdir}/%{name}-devel-doc/html
|
||||
|
||||
%changelog
|
Loading…
Reference in New Issue
Block a user