Hello community, here is the log from the commit of package CharLS for openSUSE:Factory checked in at 2020-10-27 18:58:38 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/CharLS (Old) and /work/SRC/openSUSE:Factory/.CharLS.new.3463 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "CharLS" Tue Oct 27 18:58:38 2020 rev:11 rq:833922 version:2.1.0 Changes: -------- --- /work/SRC/openSUSE:Factory/CharLS/CharLS.changes 2017-07-21 22:50:31.327224625 +0200 +++ /work/SRC/openSUSE:Factory/.CharLS.new.3463/CharLS.changes 2020-10-27 18:58:43.082733335 +0100 @@ -1,0 +2,50 @@ +Sun Aug 9 06:35:48 UTC 2020 - andy great <[email protected]> + +- Update to version 2.1.0. + * Added + * Two new C++ classes (jpegls_encoder \ jpegls_decoder) have + been added to make it much easier to use CharLS from C++ + * A new C API (charls_xxx functions) was added to provide a + more stable ABI for future updates. The old API calls are + internally forwarded to the new API. + * CharLS can now read and write JPEG-LS standard SPIFF headers + * Support has been added to detect the unsupported JPEG-LS + extension (ISO/IEC 14495-2) SOF_57 marker and IDs in LSE + marker + * Support has been added to encode\decode 4 component images + in all interleave modes + * Deprecated + * The legacy 1.x\2.0 C API has been marked as deprecated. This + legacy API will be maintained until the next major upgrade. + * Future 2.x updates will start to mark the legacy types and + functions with the C++ [[deprecated]] attribute. + * Changed + * charls_error has been replaced by a C++11 compatible + jpegls_errc error code enum design + * The included C and C++ sample have been updated to use the + new C\C++ API + * Improved the validation of the JPEG-LS stream during + decoding + * The referenced NuGet packages of the .NET wrapper assembly + are updated to their latest versions + * Removed + * Support to write JFIF headers during encoding has been + removed. JFIF headers were already skipped when present + during decoding. + * SPIFF headers should be used when creating standalone .jls + files + * Support for .NET Code Contracts has been removed as this + technology is being phased out by Microsoft + * Fixed + * Fixed #7, How to compile CharLS with Xcode has been + documented in the Wiki + * Fixed #44, Only the API functions should be exported from a + Linux shared library + * Fixes #35, Encoding will fail if the bit per sample is + greater than 8, and a custom RESET value is used + * Fixes #51, The default threshold values are not corrected + computed for 6 bit images or less + * Fixed the ASSERT in the ModuloRange function, which would + trigger false assertions in debug builds + +------------------------------------------------------------------- Old: ---- CharLS-2.0.0.tar.gz New: ---- charls-2.1.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ CharLS.spec ++++++ --- /var/tmp/diff_new_pack.elsctl/_old 2020-10-27 18:58:44.386734284 +0100 +++ /var/tmp/diff_new_pack.elsctl/_new 2020-10-27 18:58:44.390734287 +0100 @@ -1,7 +1,7 @@ # # spec file for package CharLS # -# Copyright (c) 2017 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,29 +12,27 @@ # 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/ # %define so_ver 2 - Name: CharLS -Version: 2.0.0 +Version: 2.1.0 Release: 0 Summary: A JPEG-LS library License: BSD-3-Clause Group: Development/Libraries/C and C++ -Url: https://github.com/team-charls/charls/ -Source0: https://github.com/team-charls/charls/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz +URL: https://github.com/team-charls/charls/ +Source0: https://github.com/team-charls/charls/archive/%{version}.tar.gz#/charls-%{version}.tar.gz BuildRequires: cmake %if 0%{?suse_version} > 1320 BuildRequires: gcc-c++ %else # Leap 42.2+ / SLE12SP2Backports BuildRequires: gcc6-c++ -#!Buildignore: libgcc_s1 +#!BuildIgnore: libgcc_s1 %endif -BuildRoot: %{_tmppath}/%{name}-%{version}-build %description An optimized implementation of the JPEG-LS standard for lossless and @@ -45,16 +43,16 @@ %package devel Summary: Libraries and headers for CharLS Group: Development/Libraries/C and C++ -Requires: libCharLS%{so_ver} = %{version} +Requires: libcharls%{so_ver} = %{version} %description devel This package contains libraries and headers for CharLS. -%package -n libCharLS%{so_ver} +%package -n libcharls%{so_ver} Summary: A JPEG-LS library Group: System/Libraries -%description -n libCharLS%{so_ver} +%description -n libcharls%{so_ver} An optimized implementation of the JPEG-LS standard for lossless and near-lossless image compression. JPEG-LS is a low-complexity standard that matches JPEG 2000 compression ratios. In terms of speed, CharLS outperforms @@ -62,8 +60,6 @@ %prep %setup -q -n charls-%{version} -# Fix rpmlint warning "wrong-file-end-of-line-encoding" -sed -i 's/\r$//' License.txt %build test -x "$(type -p gcc-5)" && export CC=gcc-5 @@ -75,7 +71,7 @@ %cmake \ -DBUILD_SHARED_LIBS=ON \ -DBUILD_TESTING=ON -make %{?_smp_mflags} VERBOSE=1 +%make_build %install %cmake_install @@ -84,18 +80,16 @@ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:. ctest . -%post -n libCharLS%{so_ver} -p /sbin/ldconfig - -%postun -n libCharLS%{so_ver} -p /sbin/ldconfig +%post -n libcharls%{so_ver} -p /sbin/ldconfig +%postun -n libcharls%{so_ver} -p /sbin/ldconfig %files devel -%defattr(-,root,root,-) -%doc License.txt README.md -%{_includedir}/CharLS/ +%license LICENSE.md +%doc README.md +%{_includedir}/charls/ %{_libdir}/*.so -%files -n libCharLS%{so_ver} -%defattr(-,root,root,-) -%{_libdir}/libCharLS.so.%{so_ver}* +%files -n libcharls%{so_ver} +%{_libdir}/libcharls.so.%{so_ver}* %changelog
