head 1.7; access; symbols pkgsrc-2026Q1:1.7.0.10 pkgsrc-2026Q1-base:1.7 pkgsrc-2025Q4:1.7.0.8 pkgsrc-2025Q4-base:1.7 pkgsrc-2025Q3:1.7.0.6 pkgsrc-2025Q3-base:1.7 pkgsrc-2025Q2:1.7.0.4 pkgsrc-2025Q2-base:1.7 pkgsrc-2025Q1:1.7.0.2 pkgsrc-2025Q1-base:1.7 pkgsrc-2023Q1:1.5.0.22 pkgsrc-2023Q1-base:1.5 pkgsrc-2022Q4:1.5.0.20 pkgsrc-2022Q4-base:1.5 pkgsrc-2022Q3:1.5.0.18 pkgsrc-2022Q3-base:1.5 pkgsrc-2022Q2:1.5.0.16 pkgsrc-2022Q2-base:1.5 pkgsrc-2022Q1:1.5.0.14 pkgsrc-2022Q1-base:1.5 pkgsrc-2021Q4:1.5.0.12 pkgsrc-2021Q4-base:1.5 pkgsrc-2021Q3:1.5.0.10 pkgsrc-2021Q3-base:1.5 pkgsrc-2021Q2:1.5.0.8 pkgsrc-2021Q2-base:1.5 pkgsrc-2021Q1:1.5.0.6 pkgsrc-2021Q1-base:1.5 pkgsrc-2020Q4:1.5.0.4 pkgsrc-2020Q4-base:1.5 pkgsrc-2020Q3:1.5.0.2 pkgsrc-2020Q3-base:1.5 pkgsrc-2020Q2:1.3.0.26 pkgsrc-2020Q2-base:1.3 pkgsrc-2020Q1:1.3.0.6 pkgsrc-2020Q1-base:1.3 pkgsrc-2019Q4:1.3.0.28 pkgsrc-2019Q4-base:1.3 pkgsrc-2019Q3:1.3.0.24 pkgsrc-2019Q3-base:1.3 pkgsrc-2019Q2:1.3.0.22 pkgsrc-2019Q2-base:1.3 pkgsrc-2019Q1:1.3.0.20 pkgsrc-2019Q1-base:1.3 pkgsrc-2018Q4:1.3.0.18 pkgsrc-2018Q4-base:1.3 pkgsrc-2018Q3:1.3.0.16 pkgsrc-2018Q3-base:1.3 pkgsrc-2018Q2:1.3.0.14 pkgsrc-2018Q2-base:1.3 pkgsrc-2018Q1:1.3.0.12 pkgsrc-2018Q1-base:1.3 pkgsrc-2017Q4:1.3.0.10 pkgsrc-2017Q4-base:1.3 pkgsrc-2017Q3:1.3.0.8 pkgsrc-2017Q3-base:1.3 pkgsrc-2017Q2:1.3.0.4 pkgsrc-2017Q2-base:1.3 pkgsrc-2017Q1:1.3.0.2 pkgsrc-2017Q1-base:1.3; locks; strict; comment @# @; 1.7 date 2025.01.07.19.36.10; author riastradh; state Exp; branches; next 1.6; commitid Plv7Vh3tdZMaAAEF; 1.6 date 2023.04.11.05.43.24; author adam; state dead; branches; next 1.5; commitid jwxV0M73VF2MrEkE; 1.5 date 2020.09.14.17.47.14; author adam; state Exp; branches; next 1.4; commitid lZfZxPHEamKwD2oC; 1.4 date 2020.07.21.07.31.28; author adam; state Exp; branches; next 1.3; commitid 68sfvBbTuPJTZUgC; 1.3 date 2017.02.22.11.53.49; author ryoon; state Exp; branches; next 1.2; commitid 6knf4jRlhloXsWGz; 1.2 date 2017.02.22.00.45.06; author ryoon; state Exp; branches; next 1.1; commitid CPwC0O0rqH8GLSGz; 1.1 date 2017.02.21.18.24.20; author adam; state Exp; branches; next ; commitid VSUIC85lQBP0FQGz; desc @@ 1.7 log @graphics/jasper: Fix cross-build. @ text @$NetBSD$ Allow JAS_STDC_VERSION to be set on the command line. Affects only cross builds. --- CMakeLists.txt.orig 2024-04-27 17:54:18.000000000 +0000 +++ CMakeLists.txt @@@@ -423,7 +423,7 @@@@ if((DEFINED JAS_CROSSCOMPILING AND JAS_C # will need to be set manually from the command line # (e.g., using -DJAS_STDC_VERSION=YYYYMML) or by changing the line below. if(NOT JAS_WASM) - set(JAS_STDC_VERSION "0L" CACHE INTERNAL "The value of __STDC_VERSION__.") + set(JAS_STDC_VERSION "0L" CACHE STRING "The value of __STDC_VERSION__.") if (JAS_STDC_VERSION STREQUAL "0L") message(FATAL_ERROR "The value of __STDC_VERSION__ cannot be automatically determined " @ 1.6 log @jasper: updated to 4.0.0 4.0.0 (2022-11-05) Improve static linking Fix path relocation in mingw environment Improve logging and build scripts. Improve JPEG-2000 conformance test results. Enable PIC by default. Fix memory leaks in function cmdopts_parse imgcmp: Add quiet (-q) option. Add debug-level option. Fix memory leak. imginfo: Add quiet (-q) option. Fix bug in parsing PGX header. Fix integer overflow bug @ text @d1 1 a1 1 $NetBSD: patch-CMakeLists.txt,v 1.5 2020/09/14 17:47:14 adam Exp $ d3 2 a4 1 Remove the weird hack. d6 1 a6 1 --- CMakeLists.txt.orig 2020-09-05 14:52:22.000000000 +0000 d8 9 a16 12 @@@@ -57,11 +57,7 @@@@ set(JAS_SO_MINOR 0) set(JAS_SO_RELEASE 0) # This is a temporary hack for OSX that should be removed when JAS_SO_VERSION # is next incremented. -if (MACOSX) -set(JAS_SO_NAME "5.${JAS_SO_MINOR}.${JAS_SO_RELEASE}") -else() set(JAS_SO_NAME "${JAS_SO_VERSION}.${JAS_SO_MINOR}.${JAS_SO_RELEASE}") -endif() message("Shared library ABI version: ${JAS_SO_VERSION}") message("Shared library build version: ${JAS_SO_NAME}") @ 1.5 log @jasper: updated to 2.0.20 2.0.20 * fixed several ISO/IEC 15444-4 conformance bugs * fixed new variant of CVE-2016-9398 * disabled the MIF codec by default for security reasons (but it is still included in the library); in a future release, the MIF codec may also be excluded from the library by default * added documentation for the I/O streams library API @ text @d1 1 a1 1 $NetBSD: patch-CMakeLists.txt,v 1.4 2020/07/21 07:31:28 adam Exp $ @ 1.4 log @jasper: updated to 2.0.18 2.0.18: Unknown changes. @ text @d1 1 a1 1 $NetBSD: patch-CMakeLists.txt,v 1.3 2017/02/22 11:53:49 ryoon Exp $ a3 2 Do not look for Doxygen. Support GLUT/glut.h. d5 1 a5 1 --- CMakeLists.txt.orig 2020-07-20 13:56:40.000000000 +0000 a18 23 @@@@ -221,7 +217,6 @@@@ endif() # Perform plaform checks. ################################################################################ -find_package(Doxygen) find_package(LATEX COMPONENTS PDFLATEX) find_program(BASH_PROGRAM bash) @@@@ -310,11 +305,13 @@@@ if (JAS_ENABLE_OPENGL AND OPENGL_FOUND) message("GLUT include directory: ${GLUT_INCLUDE_DIR}") message("GLUT libraries: ${GLUT_LIBRARIES}") set(CMAKE_REQUIRED_INCLUDES ${GLUT_INCLUDE_DIR}) + check_include_files(GLUT/glut.h JAS_HAVE_GLUT_GLUT_H) check_include_files(GL/glut.h JAS_HAVE_GL_GLUT_H) check_include_files(glut.h JAS_HAVE_GLUT_H) message("JAS_HAVE_GLUT_H: ${JAS_HAVE_GLUT_H}") message("JAS_HAVE_GL_GLUT_H: ${JAS_HAVE_GL_GLUT_H}") - if (JAS_HAVE_GL_GLUT_H OR JAS_HAVE_GLUT_H) + message("JAS_HAVE_GLUT_GLUT_H: ${JAS_HAVE_GL_GLUT_H}") + if (JAS_HAVE_GLUT_GLUT_H OR JAS_HAVE_GL_GLUT_H OR JAS_HAVE_GLUT_H) set(JAS_HAVE_OPENGL 1) include_directories(${GLUT_INCLUDE_DIR} ${OPENGL_INCLUDE_DIR}) else() @ 1.3 log @Disable PDF files regeneration from disabling doxygen detection. And install pre-generated PDF files. Bump PKGREVISION. Thank you, adam@@. @ text @d1 1 a1 1 $NetBSD: patch-CMakeLists.txt,v 1.2 2017/02/22 00:45:06 ryoon Exp $ d4 2 d7 1 a7 1 --- CMakeLists.txt.orig 2016-12-30 16:53:52.000000000 +0000 d9 1 a9 1 @@@@ -55,11 +55,7 @@@@ set(JAS_SO_MINOR 0) d21 23 @ 1.2 log @Disable documentation files generation. Bump PKGREVISION When LaTeX is detected, some LaTeX style files are required. @ text @d1 1 a1 1 $NetBSD: patch-CMakeLists.txt,v 1.1 2017/02/21 18:24:20 adam Exp $ a18 9 @@@@ -368,7 +364,7 @@@@ endif() add_subdirectory(src/libjasper) add_subdirectory(src/appl) -add_subdirectory(doc) +#add_subdirectory(doc) # The package configuation (pc) file should be installed in # ${CMAKE_INSTALL_PREFIX}/lib/pkgconfig. @ 1.1 log @Changes 2.0.10: Fixed a problem in the JP2 encoder that caused a null pointer dereference when no ICC profile data is available (e.g., in the case of an unknown color space). @ text @d1 1 a1 1 $NetBSD$ d5 1 a5 1 --- CMakeLists.txt.orig 2017-02-21 17:54:13.000000000 +0000 d19 9 @