pkgsrc-Changes archive

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

CVS commit: pkgsrc/graphics/OpenJPH



Module Name:    pkgsrc
Committed By:   wiz
Date:           Sun Dec 28 21:35:50 UTC 2025

Modified Files:
        pkgsrc/graphics/OpenJPH: Makefile PLIST distinfo

Log Message:
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 <openjph/ojph_version.h>. 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 <openjph/ojph_version.h> 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


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 pkgsrc/graphics/OpenJPH/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/graphics/OpenJPH/PLIST
cvs rdiff -u -r1.4 -r1.5 pkgsrc/graphics/OpenJPH/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/OpenJPH/Makefile
diff -u pkgsrc/graphics/OpenJPH/Makefile:1.7 pkgsrc/graphics/OpenJPH/Makefile:1.8
--- pkgsrc/graphics/OpenJPH/Makefile:1.7        Sun Nov 16 21:26:04 2025
+++ pkgsrc/graphics/OpenJPH/Makefile    Sun Dec 28 21:35:50 2025
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.7 2025/11/16 21:26:04 wiz Exp $
+# $NetBSD: Makefile,v 1.8 2025/12/28 21:35:50 wiz Exp $
 
-DISTNAME=      OpenJPH-0.25.3
+DISTNAME=      OpenJPH-0.26.0
 CATEGORIES=    graphics
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=aous72/}
 GITHUB_TAG=    ${PKGVERSION_NOREV}

Index: pkgsrc/graphics/OpenJPH/PLIST
diff -u pkgsrc/graphics/OpenJPH/PLIST:1.3 pkgsrc/graphics/OpenJPH/PLIST:1.4
--- pkgsrc/graphics/OpenJPH/PLIST:1.3   Sun Nov 16 21:26:04 2025
+++ pkgsrc/graphics/OpenJPH/PLIST       Sun Dec 28 21:35:50 2025
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2025/11/16 21:26:04 wiz Exp $
+@comment $NetBSD: PLIST,v 1.4 2025/12/28 21:35:50 wiz Exp $
 bin/ojph_compress
 bin/ojph_expand
 include/openjph/ojph_arch.h
@@ -16,6 +16,6 @@ lib/cmake/openjph/openjph-config.cmake
 lib/cmake/openjph/openjph-targets-release.cmake
 lib/cmake/openjph/openjph-targets.cmake
 lib/libopenjph.so
-lib/libopenjph.so.0.25
+lib/libopenjph.so.0.26
 lib/libopenjph.so.${PKGVERSION}
 lib/pkgconfig/openjph.pc

Index: pkgsrc/graphics/OpenJPH/distinfo
diff -u pkgsrc/graphics/OpenJPH/distinfo:1.4 pkgsrc/graphics/OpenJPH/distinfo:1.5
--- pkgsrc/graphics/OpenJPH/distinfo:1.4        Sun Nov 16 21:26:04 2025
+++ pkgsrc/graphics/OpenJPH/distinfo    Sun Dec 28 21:35:50 2025
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.4 2025/11/16 21:26:04 wiz Exp $
+$NetBSD: distinfo,v 1.5 2025/12/28 21:35:50 wiz Exp $
 
-BLAKE2s (OpenJPH-0.25.3.tar.gz) = 396d19e3d8176ae47f1112b61b9764b9cb61887f24f231c5607347c9ffd1b428
-SHA512 (OpenJPH-0.25.3.tar.gz) = c34a1a568be4f4587bb1e8bee5b3494035bdeca519f411fe0e01a8b48ac3f2ccea9e7acd8b557462a12aae1fa01bd8b678c499c8be0b221f07b59a0636363863
-Size (OpenJPH-0.25.3.tar.gz) = 477543 bytes
+BLAKE2s (OpenJPH-0.26.0.tar.gz) = 522ce542bcbaad7e1b2c58a61509b6c3520c0f16f94440a6add3b9d59deceafa
+SHA512 (OpenJPH-0.26.0.tar.gz) = d93a85524ff6e64183777eebd61589bf971b7777b0b79c95a60de966d75f429c55ab6aca970407183b1274d952cd7a654516e906eed6534f59f852f60cf8a2bf
+Size (OpenJPH-0.26.0.tar.gz) = 477517 bytes



Home | Main Index | Thread Index | Old Index