head 1.11; access; symbols pkgsrc-2026Q1:1.9.0.2 pkgsrc-2026Q1-base:1.9 pkgsrc-2025Q4:1.7.0.2 pkgsrc-2025Q4-base:1.7 pkgsrc-2025Q3:1.5.0.2 pkgsrc-2025Q3-base:1.5 pkgsrc-2025Q2:1.4.0.2 pkgsrc-2025Q2-base:1.4 pkgsrc-2025Q1:1.3.0.6 pkgsrc-2025Q1-base:1.3 pkgsrc-2024Q4:1.3.0.4 pkgsrc-2024Q4-base:1.3 pkgsrc-2024Q3:1.3.0.2 pkgsrc-2024Q3-base:1.3 pkgsrc-2024Q2:1.1.0.4 pkgsrc-2024Q2-base:1.1 pkgsrc-2024Q1:1.1.0.2 pkgsrc-2024Q1-base:1.1; locks; strict; comment @# @; 1.11 date 2026.05.10.12.01.23; author wiz; state Exp; branches; next 1.10; commitid joAZ3BSfLpYzngFG; 1.10 date 2026.04.19.14.38.51; author wiz; state Exp; branches; next 1.9; commitid 8PqhGXSqXNbuVzCG; 1.9 date 2026.02.22.10.50.55; author wiz; state Exp; branches; next 1.8; commitid 26RvnqfiW8wTsmvG; 1.8 date 2025.12.28.21.35.50; author wiz; state Exp; branches; next 1.7; commitid fvs1Z9oHKiECPdoG; 1.7 date 2025.11.16.21.26.04; author wiz; state Exp; branches; next 1.6; commitid N3aZvNnlz6I48PiG; 1.6 date 2025.09.21.15.02.53; author wiz; state Exp; branches; next 1.5; commitid AKtOdsGXrWG1OAbG; 1.5 date 2025.08.30.22.45.13; author wiz; state Exp; branches; next 1.4; commitid 2izPxU30rhec4O8G; 1.4 date 2025.04.24.14.14.10; author wiz; state Exp; branches; next 1.3; commitid A3VBjL8Zdd4LljSF; 1.3 date 2024.08.25.06.18.49; author wiz; state Exp; branches; next 1.2; commitid BcrSL94SO85mvanF; 1.2 date 2024.07.07.09.25.40; author nia; state Exp; branches; next 1.1; commitid XWgJVTvK5uko7TgF; 1.1 date 2024.01.06.19.11.38; author wiz; state Exp; branches; next ; commitid YcYlgZKbeyw9fqTE; desc @@ 1.11 log @OpenJPH: update to 0.27.2. 0.27.2: Fix version (#270) Latest Forgot to bump version in my previous release. 0.27.1 Two small bug fixes. What's Changed Adds a check that we do not use reversible Sqcd/Sqcc with irreversible transform Detecting illegal precinct width or height by @@aous72 in #269 Full Changelog: 0.27.0...0.27.1 @ text @# $NetBSD: Makefile,v 1.10 2026/04/19 14:38:51 wiz Exp $ DISTNAME= OpenJPH-0.27.2 CATEGORIES= graphics MASTER_SITES= ${MASTER_SITE_GITHUB:=aous72/} GITHUB_TAG= ${PKGVERSION_NOREV} MAINTAINER= pkgsrc-users@@NetBSD.org HOMEPAGE= https://github.com/aous72/OpenJPH/ COMMENT= Open-source implementation of JPEG2000 Part-15 LICENSE= 2-clause-bsd USE_LANGUAGES= c c++ PKGCONFIG_OVERRIDE+= ${CMAKE_BUILD_DIR}/openjph.pc PKGCONFIG_OVERRIDE_STAGE= post-build .include "../../mk/bsd.prefs.mk" .if ${MACHINE_ARCH} != "x86_64" CMAKE_CONFIGURE_ARGS+= -DOJPH_DISABLE_INTEL_SIMD=ON CMAKE_CONFIGURE_ARGS+= -DOJPH_ENABLE_INTEL_AVX512=OFF .endif .include "../../devel/cmake/build.mk" .include "../../graphics/tiff/buildlink3.mk" .include "../../mk/bsd.pkg.mk" @ 1.10 log @OpenJPH: update to 0.27.0. What's Changed Add initial support for oss-fuzz by @@palemieux in #249 Fix OSS-fuzz build by @@palemieux in #250 Renamed file to avoid duplicate library names in custom builds. by @@dlemstra in #252 Validate dimensions in the SIZ marker segment after reading it from a codestream by @@palemieux in #253 Fix: Rule of 3/5/7 violation leads to possible use after free in inadvertent use of copy constructor /assignment. by @@geo-ant in #242 Fix typo in the signature of get_tile_offset() by @@palemieux in #254 Fix oss-fuzz build and improve documentation by @@palemieux in #256 fix move special functions in mem in and outfile by @@geo-ant in #258 Add support for CIFuzz by @@palemieux in #259 Fix race condition in table initialization with multiple threads by @@brechtvl in #243 Fix 32-bit ARM SIGBUS: align elastic allocator payload for coded_lists::buf by @@cary-ilm in #262 Add Linux-ARM32 Build by @@palemieux in #263 Extend fuzzing harness to add more reachability by @@DavidKorczynski in #264 Fix ARM64EC builds by excluding ARM64EC from x64(_M_X64) detection on Windows by @@navvyswethgraphics in #265 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.9 2026/02/22 10:50:55 wiz Exp $ d3 1 a3 1 DISTNAME= OpenJPH-0.27.0 @ 1.9 log @OpenJPH: update to 0.26.3. 0.26.3 This release fixes a bug introduced in version 0.26.1. Using versions 0.26.1 and 0.26.2 is not recommended. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.8 2025/12/28 21:35:50 wiz Exp $ d3 1 a3 1 DISTNAME= OpenJPH-0.26.3 @ 1.8 log @OpenJPH: update to 0.26.0. This version: Renames src/core/common to src/core/openjph, as request by @@cary-ilm. It is best to use his words " OpenJPH headers are included in application code via #include . The headers are expected to be in a folder named "openjph". The cmake configuration places them there in the installation step. However, if OpenJPH is incorporated into an application via cmake's add_subdirectory, there is no installation step, the headers are included directly out of the source tree. There is no "openjph" folder, leading the #include to fail. Renaming the "common" directory to "openjph" resolves the build issue, since the headers then live inside the source tree in a directory with same name as the installation. The use of the "common" directory name is entirely internal to the OpenJPH build, it has no impact on the installation. The name should be arbitrary, so there should be no downside to renaming it this way." Modifies error message names. This may break your code. The modified versions are more descriptive, and less likely to be caught in a preprocessor macro. Address an issue identified by @@clshortfuse. Thank you Carlos. During compilation on windows using clang-cl, the compiler may received flags designed for clang or gcc. What's Changed Merges PR #236, and another two smaller issues. by @@aous72 in #237 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.7 2025/11/16 21:26:04 wiz Exp $ d3 1 a3 1 DISTNAME= OpenJPH-0.26.0 @ 1.7 log @OpenJPH: update to 0.25.3. 0.25.3 This release: modifies 'aligned allocation' code for better compatibility -- this activity was instigated by a request from @@barracuda156. integrates PR from @@ziyao233 for better compatibility of the strerror_r function, used in ojph_sockets.cpp -- this code is not compiled by default and is not needed for the library. 0.25.2 There was a mistake in the version bump earlier. So this is a second bump to fix things. The earlier release was to fix a bug that was discovered during OSS-Fuzz. Thanx to @@cary-ilm. 0.25.0 This PR makes ojph_aligned_alloc and ojph_aligned_free C functions, called using extern "C" {} This is the correct way to support aligned_alloc. The function aligned_alloc is a C11 function. For C++ is it officially supported in C++ 17, which we do NOT support. 0.24.5 Addresses OpenEXR OSS-fuzz issue 5747129672073216 that can cause heap corruption. 0.24.4 This modifies the way ATK marker segment is processed. Also, we now check that the ATK marker segment length (Latk) makes sense. The issue was identified in OpenEXR fuzzing. Thanx to @@cary-ilm for identifying the issue. 0.24.3 This is an important bug fix. It protects against illegally long QCD and QCC marker segments. It was discovered during OpenEXR fussing; thanx to @@cary-ilm. 0.24.2 This release has an important bug fix, contributed by @@MrApplejuice. It also has a few build and test improvements, including many contributions by @@kmilos. Thanks to the contributors. 0.24.1 Fixes compilation failure on MinGW. Thanks to @@hmaarrfk and @@kmilos for discovering this problem, proposing a fix, and testing it. 0.24.0 This address a few requests. In particular, PR #200, which is concerned with using aligned memory allocation for mem_outfile -- thanks to @@hmaarrfk Issue #206, which is concerned with setting the needed C++ standard at configuration time -- thanks to @@ggarra13 Issue #207, which is concerned with installing 64bit library in /lib64 instead of /lib -- thanks to @@dschepler and @@kmilos @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.6 2025/09/21 15:02:53 wiz Exp $ d3 1 a3 1 DISTNAME= OpenJPH-0.25.3 @ 1.6 log @OpenJPH: update to 0.23.1. About 2 years of development. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.5 2025/08/30 22:45:13 wiz Exp $ d3 1 a3 1 DISTNAME= OpenJPH-0.23.1 @ 1.5 log @*: recursive bump for tiff growing lerc dependency @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.4 2025/04/24 14:14:10 wiz Exp $ d3 1 a3 2 DISTNAME= OpenJPH-0.10.0 PKGREVISION= 2 d13 1 a13 1 USE_LANGUAGES= c++ @ 1.4 log @*: recursive bump for jpeg -> libjpeg-turbo switch @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.3 2024/08/25 06:18:49 wiz Exp $ d4 1 a4 1 PKGREVISION= 1 @ 1.3 log @*: replace CMAKE_ARGS with CMAKE_CONFIGURE_ARGS @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.2 2024/07/07 09:25:40 nia Exp $ d4 1 @ 1.2 log @OpenJPH: Support compiling on non-amd64 platforms. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.1 2024/01/06 19:11:38 wiz Exp $ d20 2 a21 2 CMAKE_ARGS+= -DOJPH_DISABLE_INTEL_SIMD=ON CMAKE_ARGS+= -DOJPH_ENABLE_INTEL_AVX512=OFF @ 1.1 log @graphics/OpenJPH: import OpenJPH-0.10.0 Open source implementation of High-throughput JPEG2000 (HTJ2K), also known as JPH, JPEG2000 Part 15, ISO/IEC 15444-15, and ITU-T T.814. Here, we are interested in implementing the HTJ2K only, supporting features that are defined in JPEG2000 Part 1 (for example, for wavelet transform, only reversible 5/3 and irreversible 9/7 are supported). @ text @d1 1 a1 1 # $NetBSD$ d18 6 @