svn commit: r555251 - in head/graphics: . openjph openjph/files
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Sun Nov 15 17:56:01 UTC 2020
Author: sunpoet
Date: Sun Nov 15 17:55:53 2020
New Revision: 555251
URL: https://svnweb.freebsd.org/changeset/ports/555251
Log:
Add openjph 0.7.2
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).
WWW: https://github.com/aous72/OpenJPH
Added:
head/graphics/openjph/
head/graphics/openjph/Makefile (contents, props changed)
head/graphics/openjph/distinfo (contents, props changed)
head/graphics/openjph/files/
head/graphics/openjph/files/patch-CMakeLists.txt (contents, props changed)
head/graphics/openjph/pkg-descr (contents, props changed)
head/graphics/openjph/pkg-plist (contents, props changed)
Modified:
head/graphics/Makefile
Modified: head/graphics/Makefile
==============================================================================
--- head/graphics/Makefile Sun Nov 15 17:55:48 2020 (r555250)
+++ head/graphics/Makefile Sun Nov 15 17:55:53 2020 (r555251)
@@ -589,6 +589,7 @@
SUBDIR += openimageio
SUBDIR += openjpeg
SUBDIR += openjpeg15
+ SUBDIR += openjph
SUBDIR += openjump
SUBDIR += opennurbs
SUBDIR += openorienteering-mapper
Added: head/graphics/openjph/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/graphics/openjph/Makefile Sun Nov 15 17:55:53 2020 (r555251)
@@ -0,0 +1,22 @@
+# Created by: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= openjph
+PORTVERSION= 0.7.2
+CATEGORIES= graphics
+
+MAINTAINER= sunpoet at FreeBSD.org
+COMMENT= Open-source implementation of JPEG2000 Part-15
+
+LICENSE= BSD2CLAUSE
+LICENSE_FILE= ${WRKSRC}/license.txt
+
+USES= cmake pathfix
+
+CMAKE_ON= BUILD_SHARED_LIBS
+
+GH_ACCOUNT= aous72
+GH_PROJECT= OpenJPH
+USE_GITHUB= yes
+
+.include <bsd.port.mk>
Added: head/graphics/openjph/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/graphics/openjph/distinfo Sun Nov 15 17:55:53 2020 (r555251)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1605426319
+SHA256 (aous72-OpenJPH-0.7.2_GH0.tar.gz) = 3be911b2f702c64411ebe4312efd10d3a52fa4de38dc85e520431fb3a921a23d
+SIZE (aous72-OpenJPH-0.7.2_GH0.tar.gz) = 319432
Added: head/graphics/openjph/files/patch-CMakeLists.txt
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/graphics/openjph/files/patch-CMakeLists.txt Sun Nov 15 17:55:53 2020 (r555251)
@@ -0,0 +1,38 @@
+--- CMakeLists.txt.orig 2020-11-04 10:33:56 UTC
++++ CMakeLists.txt
+@@ -29,7 +29,7 @@ if (MSVC)
+ SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /EHsc /D \"_CRT_SECURE_NO_WARNINGS\"")
+ endif()
+ if (CMAKE_CXX_COMPILER_ID MATCHES "Clang|GNU")
+- set(CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS} "-Wall -Wextra -Wconversion -Wunused-parameter")
++ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra -Wconversion -Wunused-parameter")
+ endif()
+
+ if (OJPH_DISABLE_INTEL_SIMD)
+@@ -40,9 +40,6 @@ if (OJPH_DISABLE_INTEL_SIMD)
+ endif()
+ endif()
+
+-set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/../bin)
+-set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/../bin)
+-
+ include_directories(src/core/common)
+ include_directories(src/apps/common)
+ file(GLOB SOURCES "src/core/coding/*.cpp" "src/core/others/*.cpp" "src/core/codestream/*.cpp" "src/core/transform/ojph_colour.cpp" "src/core/transform/ojph_transform.cpp")
+@@ -53,7 +50,7 @@ file(GLOB AVX2_SOURCES "src/core/transform/*_avx2.cpp"
+
+ CONFIGURE_FILE(
+ "${CMAKE_CURRENT_SOURCE_DIR}/src/pkg-config.pc.cmake"
+- "${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/${PROJECT_NAME}.pc"
++ "${CMAKE_BINARY_DIR}/${PROJECT_NAME}.pc"
+ )
+
+ if (OJPH_DISABLE_INTEL_SIMD)
+@@ -107,6 +104,6 @@ INSTALL (DIRECTORY src/core/common/
+ FILES_MATCHING
+ PATTERN "*.h")
+
+-INSTALL(FILES "${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/${PROJECT_NAME}.pc"
++INSTALL(FILES "${CMAKE_BINARY_DIR}/${PROJECT_NAME}.pc"
+ DESTINATION lib/pkgconfig)
+
Added: head/graphics/openjph/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/graphics/openjph/pkg-descr Sun Nov 15 17:55:53 2020 (r555251)
@@ -0,0 +1,7 @@
+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).
+
+WWW: https://github.com/aous72/OpenJPH
Added: head/graphics/openjph/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/graphics/openjph/pkg-plist Sun Nov 15 17:55:53 2020 (r555251)
@@ -0,0 +1,14 @@
+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
+libdata/pkgconfig/openjph.pc
More information about the svn-ports-all
mailing list