pkgsrc-Changes archive

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

CVS commit: pkgsrc/graphics/charls



Module Name:    pkgsrc
Committed By:   nros
Date:           Mon Oct  2 20:03:25 UTC 2023

Modified Files:
        pkgsrc/graphics/charls: Makefile PLIST buildlink3.mk distinfo

Log Message:
graphics/charls: update to version 2.4.2

pkgsrc changes:
use cmake/build.mk instead of USE_CMAKE.
use USE_CXX_FEATURES.

Added
* Support for Windows on ARM64 in the MSBuild projects and CMake files.
* Support to read and write application data markers.
* Added method charls_validate_spiff_header to validate SPIFF headers.

Changed
* Improved compatibility of public headers with C++20.
* Switch order of APP8 and SOF55 markers during encoding to allign
  with user application data markers.

Fixed
* Multi component image with interleave mode none is not correctly
  decoded when a custom stride argument is used.
* jpegls_errc::destination_buffer_too_small incorrectly thrown for
  8 bit 2*2 image with stride = 4 during decoding.
* Decoding doesn't work when compiled with mingw64.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 pkgsrc/graphics/charls/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/graphics/charls/PLIST \
    pkgsrc/graphics/charls/buildlink3.mk
cvs rdiff -u -r1.5 -r1.6 pkgsrc/graphics/charls/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/graphics/charls/Makefile
diff -u pkgsrc/graphics/charls/Makefile:1.4 pkgsrc/graphics/charls/Makefile:1.5
--- pkgsrc/graphics/charls/Makefile:1.4 Mon Nov 21 18:20:42 2022
+++ pkgsrc/graphics/charls/Makefile     Mon Oct  2 20:03:25 2023
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.4 2022/11/21 18:20:42 jperkin Exp $
+# $NetBSD: Makefile,v 1.5 2023/10/02 20:03:25 nros Exp $
 
-DISTNAME=      charls-2.3.4
+DISTNAME=      charls-2.4.2
 CATEGORIES=    graphics
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=team-charls/}
 
@@ -9,8 +9,8 @@ HOMEPAGE=       https://github.com/team-charls
 COMMENT=       Jpeg-ls codec library
 LICENSE=       modified-bsd
 
-USE_CMAKE=     yes
-USE_LANGUAGES= c c++
+USE_LANGUAGES=         c c++
+USE_CXX_FEATURES+=     c++14
 
 CMAKE_ARGS+=   -DBUILD_SHARED_LIBS:BOOL=ON
 CMAKE_ARGS+=   -DCMAKE_BUILD_TYPE=Release
@@ -19,4 +19,5 @@ BUILDLINK_TRANSFORM.SunOS+=   rm:-Wl,--ver
 
 PKGCONFIG_OVERRIDE=    src/charls-template.pc
 
+.include "../../devel/cmake/build.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/graphics/charls/PLIST
diff -u pkgsrc/graphics/charls/PLIST:1.2 pkgsrc/graphics/charls/PLIST:1.3
--- pkgsrc/graphics/charls/PLIST:1.2    Sat Nov 12 18:59:20 2022
+++ pkgsrc/graphics/charls/PLIST        Mon Oct  2 20:03:25 2023
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2022/11/12 18:59:20 nros Exp $
+@comment $NetBSD: PLIST,v 1.3 2023/10/02 20:03:25 nros Exp $
 include/charls/annotations.h
 include/charls/api_abi.h
 include/charls/charls.h
@@ -6,6 +6,7 @@ include/charls/charls_jpegls_decoder.h
 include/charls/charls_jpegls_encoder.h
 include/charls/jpegls_error.h
 include/charls/public_types.h
+include/charls/validate_spiff_header.h
 include/charls/version.h
 lib/cmake/charls/charlsConfig-release.cmake
 lib/cmake/charls/charlsConfig.cmake
Index: pkgsrc/graphics/charls/buildlink3.mk
diff -u pkgsrc/graphics/charls/buildlink3.mk:1.2 pkgsrc/graphics/charls/buildlink3.mk:1.3
--- pkgsrc/graphics/charls/buildlink3.mk:1.2    Sat Nov 12 18:59:20 2022
+++ pkgsrc/graphics/charls/buildlink3.mk        Mon Oct  2 20:03:25 2023
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.2 2022/11/12 18:59:20 nros Exp $
+# $NetBSD: buildlink3.mk,v 1.3 2023/10/02 20:03:25 nros Exp $
 
 BUILDLINK_TREE+=       charls
 
@@ -6,7 +6,7 @@ BUILDLINK_TREE+=        charls
 CHARLS_BUILDLINK3_MK:=
 
 BUILDLINK_API_DEPENDS.charls+= charls>=2.2.0
-BUILDLINK_ABI_DEPENDS.charls?= charls>=2.3.4
+BUILDLINK_ABI_DEPENDS.charls?= charls>=2.4.2
 BUILDLINK_PKGSRCDIR.charls?=   ../../graphics/charls
 .endif # CHARLS_BUILDLINK3_MK
 

Index: pkgsrc/graphics/charls/distinfo
diff -u pkgsrc/graphics/charls/distinfo:1.5 pkgsrc/graphics/charls/distinfo:1.6
--- pkgsrc/graphics/charls/distinfo:1.5 Sat Nov 12 18:59:20 2022
+++ pkgsrc/graphics/charls/distinfo     Mon Oct  2 20:03:25 2023
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.5 2022/11/12 18:59:20 nros Exp $
+$NetBSD: distinfo,v 1.6 2023/10/02 20:03:25 nros Exp $
 
-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
+BLAKE2s (charls-2.4.2.tar.gz) = ee060b858c2980aef68cd8b30a5df251a729d049030add418ffacdbe0be90eb0
+SHA512 (charls-2.4.2.tar.gz) = 4f1b587f008956ab6fb9d2473c37a7b1a842633113245be7f8bb29b8c64304a6d580a29fcfca97ba1ac75adedbaf89e29adc4ac9e4117e1af1aa5949dbd34df9
+Size (charls-2.4.2.tar.gz) = 9492449 bytes



Home | Main Index | Thread Index | Old Index