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:           Sat Jan  6 19:11:38 UTC 2024

Added Files:
        pkgsrc/graphics/OpenJPH: DESCR Makefile PLIST distinfo
        pkgsrc/graphics/OpenJPH/patches: patch-CMakeLists.txt

Log Message:
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).


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/graphics/OpenJPH/DESCR \
    pkgsrc/graphics/OpenJPH/Makefile pkgsrc/graphics/OpenJPH/PLIST \
    pkgsrc/graphics/OpenJPH/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/graphics/OpenJPH/patches/patch-CMakeLists.txt

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

Added files:

Index: pkgsrc/graphics/OpenJPH/DESCR
diff -u /dev/null pkgsrc/graphics/OpenJPH/DESCR:1.1
--- /dev/null   Sat Jan  6 19:11:38 2024
+++ pkgsrc/graphics/OpenJPH/DESCR       Sat Jan  6 19:11:38 2024
@@ -0,0 +1,6 @@
+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).
Index: pkgsrc/graphics/OpenJPH/Makefile
diff -u /dev/null pkgsrc/graphics/OpenJPH/Makefile:1.1
--- /dev/null   Sat Jan  6 19:11:38 2024
+++ pkgsrc/graphics/OpenJPH/Makefile    Sat Jan  6 19:11:38 2024
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1 2024/01/06 19:11:38 wiz Exp $
+
+DISTNAME=      OpenJPH-0.10.0
+CATEGORIES=    graphics
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=aous72/}
+GITHUB_TAG=    ${PKGVERSION_NOREV}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/aous72/OpenJPH/
+COMMENT=       Open-source implementation of JPEG2000 Part-15
+LICENSE=       2-clause-bsd
+
+USE_LANGUAGES= c++
+
+PKGCONFIG_OVERRIDE+=           ${CMAKE_BUILD_DIR}/openjph.pc
+PKGCONFIG_OVERRIDE_STAGE=      post-build
+
+.include "../../devel/cmake/build.mk"
+.include "../../graphics/tiff/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/graphics/OpenJPH/PLIST
diff -u /dev/null pkgsrc/graphics/OpenJPH/PLIST:1.1
--- /dev/null   Sat Jan  6 19:11:38 2024
+++ pkgsrc/graphics/OpenJPH/PLIST       Sat Jan  6 19:11:38 2024
@@ -0,0 +1,17 @@
+@comment $NetBSD: PLIST,v 1.1 2024/01/06 19:11:38 wiz Exp $
+bin/ojph_compress
+bin/ojph_expand
+include/openjph/ojph_arch.h
+include/openjph/ojph_arg.h
+include/openjph/ojph_base.h
+include/openjph/ojph_codestream.h
+include/openjph/ojph_defs.h
+include/openjph/ojph_file.h
+include/openjph/ojph_mem.h
+include/openjph/ojph_message.h
+include/openjph/ojph_params.h
+include/openjph/ojph_version.h
+lib/libopenjph.so
+lib/libopenjph.so.0.10
+lib/libopenjph.so.${PKGVERSION}
+lib/pkgconfig/openjph.pc
Index: pkgsrc/graphics/OpenJPH/distinfo
diff -u /dev/null pkgsrc/graphics/OpenJPH/distinfo:1.1
--- /dev/null   Sat Jan  6 19:11:38 2024
+++ pkgsrc/graphics/OpenJPH/distinfo    Sat Jan  6 19:11:38 2024
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2024/01/06 19:11:38 wiz Exp $
+
+BLAKE2s (OpenJPH-0.10.0.tar.gz) = 98466b65e8a15602f0d9054f74e3a0dfb225c57f85f9db35be75eb3f3703bc90
+SHA512 (OpenJPH-0.10.0.tar.gz) = 2e013e3cd3b96e8377bf22e4e360b7903a69f50b6b154ab225c737c7e6fcf37ebac8365dae95f93fa2b01fc3b63e9428743de4f9fcf2b5da0fbe55085ffbb091
+Size (OpenJPH-0.10.0.tar.gz) = 359847 bytes
+SHA1 (patch-CMakeLists.txt) = 9f9ff43629e7c7a79a316ee463a357d3a41f23c9

Index: pkgsrc/graphics/OpenJPH/patches/patch-CMakeLists.txt
diff -u /dev/null pkgsrc/graphics/OpenJPH/patches/patch-CMakeLists.txt:1.1
--- /dev/null   Sat Jan  6 19:11:38 2024
+++ pkgsrc/graphics/OpenJPH/patches/patch-CMakeLists.txt        Sat Jan  6 19:11:38 2024
@@ -0,0 +1,15 @@
+$NetBSD: patch-CMakeLists.txt,v 1.1 2024/01/06 19:11:38 wiz Exp $
+
+Make sure library search path is in pkg-config file.
+
+--- CMakeLists.txt.orig        2024-01-06 19:10:34.138110748 +0000
++++ CMakeLists.txt
+@@ -86,7 +86,7 @@ endif()
+ 
+ set(PKG_CONFIG_INCLUDEDIR "\${prefix}/include")
+ set(PKG_CONFIG_LIBDIR "\${prefix}/lib")
+-set(PKG_CONFIG_LIBS "-lopenjph")
++set(PKG_CONFIG_LIBS "-L\${prefix}/lib -lopenjph")
+ 
+ include(GNUInstallDirs)
+ install(TARGETS openjph



Home | Main Index | Thread Index | Old Index