Skip to content

Commit

Permalink
Update graphics/charls to version 2.3.4
Browse files Browse the repository at this point in the history
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](team-charls/charls#167),
  Decoding\Encoding fails on IBM s390x CPU (Big Endian architecture).

## [2.3.2] - 2021-1-29

### Fixed

- Fixed team-charls/charls#160,
  warning: cast from 'unsigned char*' to 'uint16_t*'
  increases required alignment of target type.
- Fixed team-charls/charls#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 team-charls/charls#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
  team-charls/charls#92 .
- Added support to write and read comment (COM) segments
  team-charls/charls#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 team-charls/charls#84 ,
  Default preset coding parameters not computed for unset values.
- Fixed team-charls/charls#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 team-charls/charls#167 ,
  Decoding\Encoding fails on IBM s390x CPU (Big Endian architecture).
  • Loading branch information
nros committed Nov 12, 2022
1 parent 16134d4 commit 33ab676
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 8 deletions.
4 changes: 2 additions & 2 deletions graphics/charls/Makefile
Original file line number Diff line number Diff line change
@@ -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/}

Expand Down
3 changes: 2 additions & 1 deletion graphics/charls/PLIST
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -9,6 +9,7 @@ include/charls/public_types.h
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}
Expand Down
3 changes: 2 additions & 1 deletion graphics/charls/buildlink3.mk
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
# $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

.if !defined(CHARLS_BUILDLINK3_MK)
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

Expand Down
8 changes: 4 additions & 4 deletions graphics/charls/distinfo
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 33ab676

Please sign in to comment.