Update graphics/charls to version 2.3.4 Changes from CHANGELOG.md: # Change Log ## [2.3.4] - 2021-2-12 ### Changed - Replaced legacy test images. ## [2.3.3] - 2021-2-5 ### Fixed - Fixed [#167](https://github.com/team-charls/charls/issues/167), Decoding\Encoding fails on IBM s390x CPU (Big Endian architecture). ## [2.3.2] - 2021-1-29 ### Fixed - Fixed https://github.com/team-charls/charls/issues/160, warning: cast from 'unsigned char*' to 'uint16_t*' increases required alignment of target type. - Fixed https://github.com/team-charls/charls/issues/161 , warning: useless cast to type 'size_t' {aka 'unsigned int'} [-Wuseless-cast]. ### Changed - Updates to the CMakeLists.txt for Unix builds (except macOS) to hide more symbols from the shared library. - C++14 is now the minimum version instead of explicitly required. This allows consuming applications more flexibility. Typically CMake will select the latest C++ standard version that the used C++ compiler supports. ## [2.3.1] - 2021-1-25 ### Fixed - Fixed https://github.com/team-charls/charls/issues/155 , charls::jpegls_decoder::decode: 2 overloads have similar conversions in v2.3.0 ## [2.3.0] - 2022-1-24 ### Added - The encoder API has been extended with a rewind method that can be used to re-use a configured encoder to encode multiple images in a loop. - Added support to decode JPEG-LS images that use restart markers https://github.com/team-charls/charls/issues/92 . - Added support to write and read comment (COM) segments https://github.com/team-charls/charls/issues/113 . - Added support to encode/decode oversized images (width or height larger then 65535). - Extended the validation of the encoded JPEG-LS byte stream during decoding. - Added support to encode JPEG-LS images with: - The option to ensure the output stream has an even size. - The option to write the CharLS version number as a comment (COM segment) to the output stream. - The option to write the coding parameters to the output stream if the bits per pixel are larger then 12 (enabled by default). - Usage of compiler specific attributes on the public API as replacement for ``[[nodiscard]]`` (which is a C++17 feature). ### Fixed - Fixed https://github.com/team-charls/charls/issues/84 , Default preset coding parameters not computed for unset values. - Fixed https://github.com/team-charls/charls/issues/102 , CMake find_package(charls 2.2.0 REQUIRED) not working. ### Changed - CMakeSettings.json has been replaced with CMakePresets.json. - Non default coding parameters are explicitly stored in the output stream during encoding. - GCC shared library release builds are now using LTO (Link Time Optimization). - Some functions use compiler intrinsics for slightly better performance. ## [2.2.1] - 2022-2-3 ### Fixed - Backport of fix for https://github.com/team-charls/charls/issues/167 , Decoding\Encoding fails on IBM s390x CPU (Big Endian architecture).diff -r1.2 -r1.3 pkgsrc/graphics/charls/Makefile
(nros)
@@ -1,16 +1,16 @@ | @@ -1,16 +1,16 @@ | |||
1 | # $NetBSD: Makefile,v 1.2 2021/02/14 12:55:18 wiz Exp $ | 1 | # $NetBSD: Makefile,v 1.3 2022/11/12 18:59:20 nros Exp $ | |
2 | 2 | |||
3 | DISTNAME= charls-2.2.0 | 3 | DISTNAME= charls-2.3.4 | |
4 | CATEGORIES= graphics | 4 | CATEGORIES= graphics | |
5 | MASTER_SITES= ${MASTER_SITE_GITHUB:=team-charls/} | 5 | MASTER_SITES= ${MASTER_SITE_GITHUB:=team-charls/} | |
6 | 6 | |||
7 | MAINTAINER= pkgsrc-users@NetBSD.org | 7 | MAINTAINER= pkgsrc-users@NetBSD.org | |
8 | HOMEPAGE= https://github.com/team-charls/charls/ | 8 | HOMEPAGE= https://github.com/team-charls/charls/ | |
9 | COMMENT= Jpeg-ls codec library | 9 | COMMENT= Jpeg-ls codec library | |
10 | LICENSE= modified-bsd | 10 | LICENSE= modified-bsd | |
11 | 11 | |||
12 | USE_CMAKE= yes | 12 | USE_CMAKE= yes | |
13 | USE_LANGUAGES= c c++ | 13 | USE_LANGUAGES= c c++ | |
14 | 14 | |||
15 | CMAKE_ARGS+= -DBUILD_SHARED_LIBS:BOOL=ON | 15 | CMAKE_ARGS+= -DBUILD_SHARED_LIBS:BOOL=ON | |
16 | CMAKE_ARGS+= -DCMAKE_BUILD_TYPE=Release | 16 | CMAKE_ARGS+= -DCMAKE_BUILD_TYPE=Release |
@@ -1,15 +1,16 @@ | @@ -1,15 +1,16 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.1 2021/02/14 11:51:57 nros Exp $ | 1 | @comment $NetBSD: PLIST,v 1.2 2022/11/12 18:59:20 nros Exp $ | |
2 | include/charls/annotations.h | 2 | include/charls/annotations.h | |
3 | include/charls/api_abi.h | 3 | include/charls/api_abi.h | |
4 | include/charls/charls.h | 4 | include/charls/charls.h | |
5 | include/charls/charls_jpegls_decoder.h | 5 | include/charls/charls_jpegls_decoder.h | |
6 | include/charls/charls_jpegls_encoder.h | 6 | include/charls/charls_jpegls_encoder.h | |
7 | include/charls/jpegls_error.h | 7 | include/charls/jpegls_error.h | |
8 | include/charls/public_types.h | 8 | include/charls/public_types.h | |
9 | include/charls/version.h | 9 | include/charls/version.h | |
10 | lib/cmake/charls/charlsConfig-release.cmake | 10 | lib/cmake/charls/charlsConfig-release.cmake | |
11 | lib/cmake/charls/charlsConfig.cmake | 11 | lib/cmake/charls/charlsConfig.cmake | |
12 | lib/cmake/charls/charlsConfigVersion.cmake | |||
12 | lib/libcharls.so | 13 | lib/libcharls.so | |
13 | lib/libcharls.so.2 | 14 | lib/libcharls.so.2 | |
14 | lib/libcharls.so.${PKGVERSION} | 15 | lib/libcharls.so.${PKGVERSION} | |
15 | lib/pkgconfig/charls.pc | 16 | lib/pkgconfig/charls.pc |
@@ -1,12 +1,13 @@ | @@ -1,12 +1,13 @@ | |||
1 | # $NetBSD: buildlink3.mk,v 1.1 2021/02/14 11:51:57 nros Exp $ | 1 | # $NetBSD: buildlink3.mk,v 1.2 2022/11/12 18:59:20 nros Exp $ | |
2 | 2 | |||
3 | BUILDLINK_TREE+= charls | 3 | BUILDLINK_TREE+= charls | |
4 | 4 | |||
5 | .if !defined(CHARLS_BUILDLINK3_MK) | 5 | .if !defined(CHARLS_BUILDLINK3_MK) | |
6 | CHARLS_BUILDLINK3_MK:= | 6 | CHARLS_BUILDLINK3_MK:= | |
7 | 7 | |||
8 | BUILDLINK_API_DEPENDS.charls+= charls>=2.2.0 | 8 | BUILDLINK_API_DEPENDS.charls+= charls>=2.2.0 | |
9 | BUILDLINK_ABI_DEPENDS.charls?= charls>=2.3.4 | |||
9 | BUILDLINK_PKGSRCDIR.charls?= ../../graphics/charls | 10 | BUILDLINK_PKGSRCDIR.charls?= ../../graphics/charls | |
10 | .endif # CHARLS_BUILDLINK3_MK | 11 | .endif # CHARLS_BUILDLINK3_MK | |
11 | 12 | |||
12 | BUILDLINK_TREE+= -charls | 13 | BUILDLINK_TREE+= -charls |
@@ -1,5 +1,5 @@ | @@ -1,5 +1,5 @@ | |||
1 | $NetBSD: distinfo,v 1.4 2021/10/26 10:46:01 nia Exp $ | 1 | $NetBSD: distinfo,v 1.5 2022/11/12 18:59:20 nros Exp $ | |
2 | 2 | |||
3 | BLAKE2s (charls-2.2.0.tar.gz) = 022437844c0ed572affb01053d246c5656b32edb806d6d3e7ce86fcd53033e9b | 3 | BLAKE2s (charls-2.3.4.tar.gz) = 7d2427a1ba58f596668a82d0dfb066118a88690ed03712641acb9b4fde3b1f11 | |
4 | SHA512 (charls-2.2.0.tar.gz) = 387293f89bc30b50a59de7d5af23d0047bcdba89bd48cdb81e0437adabbfc9e19e135749129334a9db5c3ae5ad0c75b489e6e6545ee0c8134fc432153413793e | 4 | SHA512 (charls-2.3.4.tar.gz) = 3f6e1a054d5f7cfa5309e3d1b280d0dbaaeac7f06b08619cefe15677367631d9f6eb96e54b3e5ec921ac50793a570c39178c3e4b52ce9837b731bbccd6a3d0ad | |
5 | Size (charls-2.2.0.tar.gz) = 9827594 bytes | 5 | Size (charls-2.3.4.tar.gz) = 9483782 bytes |