pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/charls Update graphics/charls to version 2.3.4



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d34b0a3e60e5
branches:  trunk
changeset: 388071:d34b0a3e60e5
user:      nros <nros%pkgsrc.org@localhost>
date:      Sat Nov 12 18:59:20 2022 +0000

description:
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).

diffstat:

 graphics/charls/Makefile      |  4 ++--
 graphics/charls/PLIST         |  3 ++-
 graphics/charls/buildlink3.mk |  3 ++-
 graphics/charls/distinfo      |  8 ++++----
 4 files changed, 10 insertions(+), 8 deletions(-)

diffs (59 lines):

diff -r 7dc4f06940c2 -r d34b0a3e60e5 graphics/charls/Makefile
--- a/graphics/charls/Makefile  Sat Nov 12 15:19:24 2022 +0000
+++ b/graphics/charls/Makefile  Sat Nov 12 18:59:20 2022 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.2 2021/02/14 12:55:18 wiz Exp $
+# $NetBSD: Makefile,v 1.3 2022/11/12 18:59:20 nros Exp $
 
-DISTNAME=      charls-2.2.0
+DISTNAME=      charls-2.3.4
 CATEGORIES=    graphics
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=team-charls/}
 
diff -r 7dc4f06940c2 -r d34b0a3e60e5 graphics/charls/PLIST
--- a/graphics/charls/PLIST     Sat Nov 12 15:19:24 2022 +0000
+++ b/graphics/charls/PLIST     Sat Nov 12 18:59:20 2022 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2021/02/14 11:51:57 nros Exp $
+@comment $NetBSD: PLIST,v 1.2 2022/11/12 18:59:20 nros Exp $
 include/charls/annotations.h
 include/charls/api_abi.h
 include/charls/charls.h
@@ -9,6 +9,7 @@
 include/charls/version.h
 lib/cmake/charls/charlsConfig-release.cmake
 lib/cmake/charls/charlsConfig.cmake
+lib/cmake/charls/charlsConfigVersion.cmake
 lib/libcharls.so
 lib/libcharls.so.2
 lib/libcharls.so.${PKGVERSION}
diff -r 7dc4f06940c2 -r d34b0a3e60e5 graphics/charls/buildlink3.mk
--- a/graphics/charls/buildlink3.mk     Sat Nov 12 15:19:24 2022 +0000
+++ b/graphics/charls/buildlink3.mk     Sat Nov 12 18:59:20 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.1 2021/02/14 11:51:57 nros Exp $
+# $NetBSD: buildlink3.mk,v 1.2 2022/11/12 18:59:20 nros Exp $
 
 BUILDLINK_TREE+=       charls
 
@@ -6,6 +6,7 @@
 CHARLS_BUILDLINK3_MK:=
 
 BUILDLINK_API_DEPENDS.charls+= charls>=2.2.0
+BUILDLINK_ABI_DEPENDS.charls?= charls>=2.3.4
 BUILDLINK_PKGSRCDIR.charls?=   ../../graphics/charls
 .endif # CHARLS_BUILDLINK3_MK
 
diff -r 7dc4f06940c2 -r d34b0a3e60e5 graphics/charls/distinfo
--- a/graphics/charls/distinfo  Sat Nov 12 15:19:24 2022 +0000
+++ b/graphics/charls/distinfo  Sat Nov 12 18:59:20 2022 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.4 2021/10/26 10:46:01 nia Exp $
+$NetBSD: distinfo,v 1.5 2022/11/12 18:59:20 nros Exp $
 
-BLAKE2s (charls-2.2.0.tar.gz) = 022437844c0ed572affb01053d246c5656b32edb806d6d3e7ce86fcd53033e9b
-SHA512 (charls-2.2.0.tar.gz) = 387293f89bc30b50a59de7d5af23d0047bcdba89bd48cdb81e0437adabbfc9e19e135749129334a9db5c3ae5ad0c75b489e6e6545ee0c8134fc432153413793e
-Size (charls-2.2.0.tar.gz) = 9827594 bytes
+BLAKE2s (charls-2.3.4.tar.gz) = 7d2427a1ba58f596668a82d0dfb066118a88690ed03712641acb9b4fde3b1f11
+SHA512 (charls-2.3.4.tar.gz) = 3f6e1a054d5f7cfa5309e3d1b280d0dbaaeac7f06b08619cefe15677367631d9f6eb96e54b3e5ec921ac50793a570c39178c3e4b52ce9837b731bbccd6a3d0ad
+Size (charls-2.3.4.tar.gz) = 9483782 bytes



Home | Main Index | Thread Index | Old Index