<pre style='margin:0'>
Joshua Root (jmroot) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/9848f1c4263f6f7af69fcb1e3cf10e191b0c1003">https://github.com/macports/macports-ports/commit/9848f1c4263f6f7af69fcb1e3cf10e191b0c1003</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new 9848f1c4263 jasper: update to 4.2.5
</span>9848f1c4263 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 9848f1c4263f6f7af69fcb1e3cf10e191b0c1003
</span>Author: Joshua Root <jmr@macports.org>
AuthorDate: Sat Mar 29 09:34:57 2025 +1100
<span style='display:block; white-space:pre;color:#404040;'> jasper: update to 4.2.5
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Also help cmake find the right OpenGL and GLU.
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Closes: https://trac.macports.org/ticket/67495
</span><span style='display:block; white-space:pre;color:#404040;'> Closes: https://trac.macports.org/ticket/70778
</span>---
graphics/jasper/Portfile | 20 +++++++++++++-------
graphics/jasper/files/src_app_CMakeLists.txt.patch | 13 +++++++++++++
2 files changed, 26 insertions(+), 7 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/graphics/jasper/Portfile b/graphics/jasper/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 3e5b7b3acab..2c2cdbad366 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/graphics/jasper/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/graphics/jasper/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4,7 +4,7 @@ PortSystem 1.0
</span> PortGroup cmake 1.0
PortGroup github 1.0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-github.setup jasper-software jasper 4.2.4 version-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.setup jasper-software jasper 4.2.5 version-
</span> categories graphics
license JasPer-2
maintainers {jmr @jmroot} openmaintainer
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -18,8 +18,8 @@ long_description \
</span> homepage http://www.ece.uvic.ca/~mdadams/jasper/
github.tarball_from releases
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 361d20dce0c46c039fd0336e7210e844adcfcee8 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 6a597613d8d84c500b5b83bf0eec06cd3707c23d19957f70354ac2394c9914e7
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 2a58c6714806bb0eeba8ce3098c595d2b4ece1c9 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 6e49075b47204a9879600f85628a248cdb19abc1bb74d0b7a2177bcdb87c95eb
</span>
depends_lib path:include/turbojpeg.h:libjpeg-turbo
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -27,10 +27,16 @@ compiler.c_standard 2011
</span>
cmake.out_of_source yes
<span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.args-append -DGLUT_glut_LIBRARY=${configure.sdkroot}/System/Library/Frameworks/GLUT.framework \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- -DJAS_ENABLE_LIBHEIF=OFF \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- -DJAS_ENABLE_DOC=OFF \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- -DJAS_PACKAGING=ON
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.args-append -DOPENGL_gl_LIBRARY:FILEPATH=${configure.sdkroot}/System/Library/Frameworks/OpenGL.framework \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DOPENGL_INCLUDE_DIR:PATH=${configure.sdkroot}/System/Library/Frameworks/OpenGL.framework/Headers \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DOPENGL_glu_LIBRARY:FILEPATH=${configure.sdkroot}/System/Library/Frameworks/OpenGL.framework \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DOPENGL_GLU_INCLUDE_DIR:PATH=${configure.sdkroot}/System/Library/Frameworks/OpenGL.framework/Headers \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DGLUT_glut_LIBRARY:FILEPATH=${configure.sdkroot}/System/Library/Frameworks/GLUT.framework \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DJAS_ENABLE_LIBHEIF:BOOL=OFF \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DJAS_ENABLE_DOC:BOOL=OFF \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DJAS_PACKAGING:BOOL=ON
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles src_app_CMakeLists.txt.patch
</span>
if {[vercmp ${configure.sdk_version} <= 10.10]} {
patchfiles-append max_align_t.patch
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/graphics/jasper/files/src_app_CMakeLists.txt.patch b/graphics/jasper/files/src_app_CMakeLists.txt.patch
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..84f5cb3c14e
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/graphics/jasper/files/src_app_CMakeLists.txt.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,13 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- src/app/CMakeLists.txt.orig 2025-03-27 04:54:43
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ src/app/CMakeLists.txt 2025-03-29 09:09:40
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -38,8 +38,8 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if(JAS_HAVE_OPENGL)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ add_executable(jiv jiv.c)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ target_link_libraries(jiv libjasper
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- ${JAS_LIBJPEG_TARGET} ${HEIF_LIBRARIES} ${JAS_OPENGL_TARGETS}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- ${JAS_OPENGL_TARGETS} ${MATH_LIBRARY} ${THREAD_LIBRARY})
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ ${JAS_OPENGL_TARGETS} ${JAS_LIBJPEG_TARGET} ${HEIF_LIBRARIES}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ ${MATH_LIBRARY} ${THREAD_LIBRARY})
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set(public_programs "${public_programs}" jiv)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set(man_pages "${man_pages}" jiv.1)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ else()
</span></pre><pre style='margin:0'>
</pre>