1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

Update openjpeg to 2.1.0.

Version 2.x is incompatible with openjpeg 1.5. Preserve it as openjpeg15
and update users.

Approved by:	portmgr (implicit) for NO_STAGE ports
This commit is contained in:
Koop Mast 2014-05-26 14:42:44 +00:00
parent 8707167003
commit 097c01dd0a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=355352
30 changed files with 220 additions and 126 deletions

View File

@ -3,13 +3,14 @@
PORTNAME= gdcm
PORTVERSION= ${GDCM_MAJOR}.${GDCM_MINOR}.${GDCM_PATCH}
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= SF/gdcm/gdcm%202.x/GDCM%20${PORTVERSION}
MAINTAINER= gahr@FreeBSD.org
COMMENT= Grassroots DICOM library
LIB_DEPENDS= libopenjpeg.so:${PORTSDIR}/graphics/openjpeg \
LIB_DEPENDS= libopenjpeg.so:${PORTSDIR}/graphics/openjpeg15 \
libexpat.so:${PORTSDIR}/textproc/expat2
OPTIONS_DEFINE= DOCS

View File

@ -2,7 +2,7 @@
PORTNAME= web2c
PORTVERSION= 20120701
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= devel
MASTER_SITES= ftp://tug.org/historic/systems/texlive/2012/
PKGNAMEPREFIX= tex-
@ -12,9 +12,9 @@ DIST_SUBDIR= TeX
MAINTAINER= hrs@FreeBSD.org
COMMENT= TeX implementation translating WEB to C
LIB_DEPENDS= openjpeg:${PORTSDIR}/graphics/openjpeg \
png15:${PORTSDIR}/graphics/png \
zzip:${PORTSDIR}/devel/zziplib
LIB_DEPENDS= libopenjpeg.so:${PORTSDIR}/graphics/openjpeg15 \
libpng15.so:${PORTSDIR}/graphics/png \
libzzip.so:${PORTSDIR}/devel/zziplib
USE_TEX= texlive kpathsea
USES= pkgconfig gmake tar:xz

View File

@ -2,7 +2,7 @@
PORTNAME= calligra
PORTVERSION= ${CALLIGRA_VERSION}
PORTREVISION= 5
PORTREVISION= 6
CATEGORIES= editors kde
MASTER_SITES= ${MASTER_SITE_KDE}
MASTER_SITE_SUBDIR= ${CALLIGRA_BRANCH}/${PORTNAME}-${PORTVERSION}/
@ -22,7 +22,7 @@ LIB_DEPENDS= libpng15.so:${PORTSDIR}/graphics/png \
libwpd-0.9.so:${PORTSDIR}/textproc/libwpd \
libwpg-0.2.so:${PORTSDIR}/graphics/libwpg \
libpoppler-qt4.so:${PORTSDIR}/graphics/poppler-qt4 \
libopenjpeg.so:${PORTSDIR}/graphics/openjpeg \
libopenjpeg.so:${PORTSDIR}/graphics/openjpeg15 \
libjpeg.so:${PORTSDIR}/graphics/jpeg \
libdcmdata.so:${PORTSDIR}/devel/dcmtk \
libfftw3.so:${PORTSDIR}/math/fftw3 \

View File

@ -619,6 +619,7 @@
SUBDIR += opengtl
SUBDIR += openimageio
SUBDIR += openjpeg
SUBDIR += openjpeg15
SUBDIR += openjump
SUBDIR += opennurbs
SUBDIR += openrm

View File

@ -3,7 +3,7 @@
PORTNAME= blender
PORTVERSION= 2.70a
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= graphics games
MASTER_SITES= http://download.blender.org/source/ \
http://mirror.cs.umn.edu/blender.org/source/ \
@ -106,7 +106,7 @@ OPENEXR_LIB_DEPENDS= libIlmImf.so:${PORTSDIR}/graphics/OpenEXR
OPENJPEG_CMAKE_ON= -DWITH_SYSTEM_OPENJPEG:BOOL=ON \
-DWITH_IMAGE_OPENJPEG:BOOL=ON
OPENJPEG_CMAKE_OFF= -DWITH_IMAGE_OPENJPEG:BOOL=OFF
OPENJPEG_LIB_DEPENDS= libopenjpeg.so:${PORTSDIR}/graphics/openjpeg
OPENJPEG_LIB_DEPENDS= libopenjpeg.so:${PORTSDIR}/graphics/openjpeg15
OPENMP_CMAKE_ON= -DWITH_OPENMP:BOOL=ON
OPENMP_CMAKE_OFF= -DWITH_OPENMP:BOOL=OFF
RAYOPTIMIZATION_CMAKE_ON= -DWITH_RAYOPTIMIZATION:BOOL=ON

View File

@ -3,7 +3,7 @@
PORTNAME= darktable
PORTVERSION= 1.2.3
PORTREVISION= 5
PORTREVISION= 6
CATEGORIES= graphics
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION:R}
@ -95,7 +95,7 @@ CMAKE_ARGS+= -DDONT_USE_RAWSPEED:BOOL=ON
.endif
.if ${PORT_OPTIONS:MOPENJPEG}
LIB_DEPENDS+= libopenjpeg.so:${PORTSDIR}/graphics/openjpeg
LIB_DEPENDS+= libopenjpeg.so:${PORTSDIR}/graphics/openjpeg15
PLIST_FILES+= lib/darktable/plugins/imageio/format/libj2k.so
.else
CMAKE_ARGS+= -DUSE_OPENJPEG:BOOL=OFF

View File

@ -1,6 +1,6 @@
# $FreeBSD$
PORTREVISION= 0
PORTREVISION= 1
CATEGORIES= graphics
COMMENT= Gstreamer jpeg2000 decoder plugin

View File

@ -3,7 +3,7 @@
PORTNAME= mtpaint
PORTVERSION= 3.40
PORTREVISION= 3
PORTREVISION= 4
CATEGORIES= graphics
MASTER_SITES= SF
@ -41,7 +41,7 @@ CONFIGURE_ARGS+=nolcms
.endif
.if ${PORT_OPTIONS:MOPENJPEG}
LIB_DEPENDS+= libopenjpeg.so:${PORTSDIR}/graphics/openjpeg
LIB_DEPENDS+= libopenjpeg.so:${PORTSDIR}/graphics/openjpeg15
CONFIGURE_ARGS+=jp2
.else
LIB_DEPENDS+= libjasper.so:${PORTSDIR}/graphics/jasper

View File

@ -3,7 +3,7 @@
PORTNAME= mupdf
PORTVERSION= 1.2
PORTREVISION= 1
PORTREVISION= 2
PORTEPOCH= 1
CATEGORIES= graphics
MASTER_SITES= GOOGLE_CODE \
@ -15,17 +15,16 @@ COMMENT= Lightweight PDF viewer and toolkit
LICENSE= AGPLv3
LIB_DEPENDS= freetype:${PORTSDIR}/print/freetype2 \
jpeg:${PORTSDIR}/graphics/jpeg \
jbig2dec:${PORTSDIR}/graphics/jbig2dec \
openjpeg:${PORTSDIR}/graphics/openjpeg
LIB_DEPENDS= libfreetype.so:${PORTSDIR}/print/freetype2 \
libjpeg.so:${PORTSDIR}/graphics/jpeg \
libjbig2dec.so:${PORTSDIR}/graphics/jbig2dec \
libopenjpeg.so:${PORTSDIR}/graphics/openjpeg15
USE_GMAKE= yes
MAKE_ARGS+= build=release prefix=${PREFIX} verbose=1 mandir=${PREFIX}/man \
XCFLAGS=-I${LOCALBASE}/include
USES= pkgconfig
USE_XORG= x11 xext
MAN1= mupdf.1 mutool.1 mudraw.1
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}-source
@ -35,7 +34,6 @@ OPTIONS_DEFAULT=SCROLL
SCROLL_DESC= Build with scroll hacks
JS_DESC= JavaScript support (V8 engine)
NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${CC:T:Mclang} == "clang"
@ -49,7 +47,7 @@ EXTRA_PATCHES+= ${FILESDIR}/scroll_hack-apps_pdfapp.c
.endif
.if ${PORT_OPTIONS:MJS}
LIB_DEPENDS+= v8:${PORTSDIR}/lang/v8
LIB_DEPENDS+= libv8.so:${PORTSDIR}/lang/v8
MAKE_ARGS+= V8_PRESENT=1 V8LIBS=-lv8
.endif

View File

@ -7,3 +7,6 @@ include/mucbz.h
include/mupdf.h
include/muxps.h
lib/libfitz.a
man/man1/mudraw.1.gz
man/man1/mupdf.1.gz
man/man1/mutool.1.gz

View File

@ -3,7 +3,7 @@
PORTNAME= openimageio
PORTVERSION= 1.3.9
PORTREVISION?= 3
PORTREVISION?= 4
CATEGORIES?= graphics multimedia
MAINTAINER?= FreeBSD@Shaneware.biz
@ -41,7 +41,7 @@ LIB_DEPENDS= libIlmImf.so:${PORTSDIR}/graphics/OpenEXR \
libboost_thread.so:${PORTSDIR}/devel/boost-libs \
libhdf5.so:${PORTSDIR}/science/hdf5 \
libopencv_legacy.so:${PORTSDIR}/graphics/opencv \
libopenjpeg.so:${PORTSDIR}/graphics/openjpeg \
libopenjpeg.so:${PORTSDIR}/graphics/openjpeg15 \
libwebp.so:${PORTSDIR}/graphics/webp
USE_LDCONFIG= yes
CMAKE_ARGS+= -DUSE_PYTHON:BOOL=OFF -DOIIO_BUILD_TOOLS:BOOL=ON

View File

@ -2,9 +2,10 @@
# $FreeBSD$
PORTNAME= openjpeg
PORTVERSION= 1.5.2
PORTVERSION= 2.1.0
CATEGORIES= graphics
MASTER_SITES= SF/openjpeg.mirror/${PORTVERSION}/
#??
MAINTAINER= ports@FreeBSD.org
COMMENT= Open-source JPEG 2000 codec
@ -15,9 +16,9 @@ LIB_DEPENDS= libtiff.so:${PORTSDIR}/graphics/tiff \
libpng15.so:${PORTSDIR}/graphics/png \
liblcms2.so:${PORTSDIR}/graphics/lcms2
USES= cmake dos2unix
DOS2UNIX_FILES= libopenjpeg/opj_malloc.h
GNU_CONFIGURE= yes
USES= cmake pkgconfig
USE_LDCONFIG= yes
PLIST_SUB= VER=${PORTVERSION:R}
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (openjpeg-1.5.2.tar.gz) = 15df7b194a5d8dba0052cd21c17a4dc761149a770a907d73fffb972078c28a87
SIZE (openjpeg-1.5.2.tar.gz) = 1385702
SHA256 (openjpeg-2.1.0.tar.gz) = 1232bb814fd88d8ed314c94f0bfebb03de8559583a33abbe8c64ef3fc0a8ff03
SIZE (openjpeg-2.1.0.tar.gz) = 1789675

View File

@ -1,64 +1,37 @@
--- CMakeLists.txt.orig 2014-03-27 11:58:08.000000000 +0100
+++ CMakeLists.txt 2014-05-24 11:24:37.000000000 +0200
@@ -54,7 +54,7 @@
endif(NOT OPENJPEG_SOVERSION)
SET(OPENJPEG_LIBRARY_PROPERTIES
VERSION "${OPENJPEG_VERSION_MAJOR}.${OPENJPEG_VERSION_MINOR}.${OPENJPEG_VERSION_BUILD}"
- SOVERSION "${OPENJPEG_SOVERSION}"
+ SOVERSION 2
)
# --------------------------------------------------------------------------
@@ -94,7 +94,7 @@
# Install directories
STRING(TOLOWER ${PROJECT_NAME} projectname)
-SET(OPENJPEG_INSTALL_SUBDIR "${projectname}-${OPENJPEG_VERSION_MAJOR}.${OPENJPEG_VERSION_MINOR}")
+SET(OPENJPEG_INSTALL_SUBDIR "${projectname}")
IF(NOT OPENJPEG_INSTALL_BIN_DIR)
SET(OPENJPEG_INSTALL_BIN_DIR "bin")
@@ -125,11 +125,11 @@
ENDIF(NOT OPENJPEG_INSTALL_DATA_DIR)
IF(NOT OPENJPEG_INSTALL_INCLUDE_DIR)
- SET(OPENJPEG_INSTALL_INCLUDE_DIR "include/${OPENJPEG_INSTALL_SUBDIR}")
+ SET(OPENJPEG_INSTALL_INCLUDE_DIR "include/")
ENDIF(NOT OPENJPEG_INSTALL_INCLUDE_DIR)
IF(NOT OPENJPEG_INSTALL_MAN_DIR)
- SET(OPENJPEG_INSTALL_MAN_DIR "share/man/")
+ SET(OPENJPEG_INSTALL_MAN_DIR "man/")
ENDIF(NOT OPENJPEG_INSTALL_MAN_DIR)
IF(NOT OPENJPEG_INSTALL_DOC_DIR)
@@ -148,7 +148,7 @@
# We could install *.cmake files in share/ however those files contains
# hardcoded path to libraries on a multi-arch system (fedora/debian) those
# path will be different (lib/i386-linux-gnu vs lib/x86_64-linux-gnu)
- SET(OPENJPEG_INSTALL_PACKAGE_DIR "${OPENJPEG_INSTALL_LIB_DIR}/${OPENJPEG_INSTALL_SUBDIR}")
+ SET(OPENJPEG_INSTALL_PACKAGE_DIR "${OPENJPEG_INSTALL_SHARE_DIR}/${OPENJPEG_INSTALL_SUBDIR}")
ENDIF(NOT OPENJPEG_INSTALL_PACKAGE_DIR)
#-----------------------------------------------------------------------------
@@ -188,10 +188,10 @@
CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/libopenjpeg1.pc.cmake
${CMAKE_CURRENT_BINARY_DIR}/libopenjpeg1.pc @ONLY)
INSTALL( FILES ${CMAKE_CURRENT_BINARY_DIR}/libopenjpeg1.pc DESTINATION
--- CMakeLists.txt.orig 2014-05-23 22:46:07.000000000 +0200
+++ CMakeLists.txt 2014-05-23 22:48:32.000000000 +0200
@@ -334,14 +334,14 @@
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/src/lib/openjp2/libopenjp2.pc.cmake.in
${CMAKE_CURRENT_BINARY_DIR}/libopenjp2.pc @ONLY)
install( FILES ${CMAKE_CURRENT_BINARY_DIR}/libopenjp2.pc DESTINATION
- ${OPENJPEG_INSTALL_LIB_DIR}/pkgconfig )
+ libdata/pkgconfig )
INSTALL( CODE "EXECUTE_PROCESS(COMMAND ${CMAKE_COMMAND} -E create_symlink
\"libopenjpeg1.pc\"
- \"\$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/${OPENJPEG_INSTALL_SHARE_DIR}/pkgconfig/libopenjpeg.pc\")")
+ \"\$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/libdata/pkgconfig/libopenjpeg.pc\")")
ENDIF(UNIX)
#
if(BUILD_JPWL)
# install in lib and not share (see multi-arch note above)
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/src/lib/openjpwl/libopenjpwl.pc.cmake.in
${CMAKE_CURRENT_BINARY_DIR}/libopenjpwl.pc @ONLY)
install( FILES ${CMAKE_CURRENT_BINARY_DIR}/libopenjpwl.pc DESTINATION
- ${OPENJPEG_INSTALL_LIB_DIR}/pkgconfig )
+ libdata/pkgconfig )
endif()
#
if(BUILD_JPIP)
@@ -349,7 +349,7 @@
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/src/lib/openjpip/libopenjpip.pc.cmake.in
${CMAKE_CURRENT_BINARY_DIR}/libopenjpip.pc @ONLY)
install( FILES ${CMAKE_CURRENT_BINARY_DIR}/libopenjpip.pc DESTINATION
- ${OPENJPEG_INSTALL_LIB_DIR}/pkgconfig )
+ libdata/pkgconfig )
endif()
#
if(BUILD_JP3D)
@@ -357,7 +357,7 @@
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/src/lib/openjp3d/libopenjp3d.pc.cmake.in
${CMAKE_CURRENT_BINARY_DIR}/libopenjp3d.pc @ONLY)
install( FILES ${CMAKE_CURRENT_BINARY_DIR}/libopenjp3d.pc DESTINATION
- ${OPENJPEG_INSTALL_LIB_DIR}/pkgconfig )
+ libdata/pkgconfig )
endif()
endif()
#-----------------------------------------------------------------------------
@@ -288,6 +288,7 @@
#-----------------------------------------------------------------------------
# install all targets referenced as OPENJPEGTargets
INSTALL(EXPORT OpenJPEGTargets DESTINATION ${OPENJPEG_INSTALL_PACKAGE_DIR})
+SET(OPENJPEG_LIBRARIES "${CMAKE_INSTALL_PREFIX}/${OPENJPEG_INSTALL_LIB_DIR}/lib${OPENJPEG_LIBRARY_NAME}.so")
CONFIGURE_FILE( ${OPENJPEG_SOURCE_DIR}/CMake/OpenJPEGConfig.cmake.in
${OPENJPEG_BINARY_DIR}/OpenJPEGConfig.cmake
@ONLY

View File

@ -1,20 +1,15 @@
bin/image_to_j2k
bin/j2k_dump
bin/j2k_to_image
include/openjpeg.h
lib/libopenjpeg.so
lib/libopenjpeg.so.1.5.2
lib/libopenjpeg.so.2
man/man1/image_to_j2k.1.gz
man/man1/j2k_dump.1.gz
man/man1/j2k_to_image.1.gz
man/man3/libopenjpeg.3.gz
%%DOCSDIR%%/CHANGES
%%DOCSDIR%%/LICENSE
%%DATADIR%%/OpenJPEGConfig.cmake
%%DATADIR%%/OpenJPEGTargets-%%CMAKE_BUILD_TYPE%%.cmake
%%DATADIR%%/OpenJPEGTargets.cmake
libdata/pkgconfig/libopenjpeg.pc
libdata/pkgconfig/libopenjpeg1.pc
@dirrm %%DATADIR%%
@dirrm %%DOCSDIR%%
bin/opj_compress
bin/opj_decompress
bin/opj_dump
include/openjpeg-%%VER%%/openjpeg.h
include/openjpeg-%%VER%%/opj_config.h
include/openjpeg-%%VER%%/opj_stdint.h
lib/libopenjp2.so
lib/libopenjp2.so.2.1.0
lib/libopenjp2.so.7
lib/openjpeg-%%VER%%/OpenJPEGConfig.cmake
lib/openjpeg-%%VER%%/OpenJPEGTargets-%%CMAKE_BUILD_TYPE%%.cmake
lib/openjpeg-%%VER%%/OpenJPEGTargets.cmake
libdata/pkgconfig/libopenjp2.pc
@dirrmtry lib/openjpeg-%%VER%%
@dirrmtry include/openjpeg-%%VER%%

View File

@ -0,0 +1,24 @@
# Created by: trasz <trasz@pin.if.uz.zgora.pl>
# $FreeBSD$
PORTNAME= openjpeg
PORTVERSION= 1.5.2
CATEGORIES= graphics
MASTER_SITES= SF/openjpeg.mirror/${PORTVERSION}/
PKGNAMESUFFIX= 15
MAINTAINER= ports@FreeBSD.org
COMMENT= Open-source JPEG 2000 codec
LICENSE= BSD2CLAUSE
LIB_DEPENDS= libtiff.so:${PORTSDIR}/graphics/tiff \
libpng15.so:${PORTSDIR}/graphics/png \
liblcms2.so:${PORTSDIR}/graphics/lcms2
USES= cmake dos2unix
DOS2UNIX_FILES= libopenjpeg/opj_malloc.h
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
SHA256 (openjpeg-1.5.2.tar.gz) = 15df7b194a5d8dba0052cd21c17a4dc761149a770a907d73fffb972078c28a87
SIZE (openjpeg-1.5.2.tar.gz) = 1385702

View File

@ -0,0 +1,64 @@
--- CMakeLists.txt.orig 2014-03-27 11:58:08.000000000 +0100
+++ CMakeLists.txt 2014-05-24 11:24:37.000000000 +0200
@@ -54,7 +54,7 @@
endif(NOT OPENJPEG_SOVERSION)
SET(OPENJPEG_LIBRARY_PROPERTIES
VERSION "${OPENJPEG_VERSION_MAJOR}.${OPENJPEG_VERSION_MINOR}.${OPENJPEG_VERSION_BUILD}"
- SOVERSION "${OPENJPEG_SOVERSION}"
+ SOVERSION 2
)
# --------------------------------------------------------------------------
@@ -94,7 +94,7 @@
# Install directories
STRING(TOLOWER ${PROJECT_NAME} projectname)
-SET(OPENJPEG_INSTALL_SUBDIR "${projectname}-${OPENJPEG_VERSION_MAJOR}.${OPENJPEG_VERSION_MINOR}")
+SET(OPENJPEG_INSTALL_SUBDIR "${projectname}")
IF(NOT OPENJPEG_INSTALL_BIN_DIR)
SET(OPENJPEG_INSTALL_BIN_DIR "bin")
@@ -125,11 +125,11 @@
ENDIF(NOT OPENJPEG_INSTALL_DATA_DIR)
IF(NOT OPENJPEG_INSTALL_INCLUDE_DIR)
- SET(OPENJPEG_INSTALL_INCLUDE_DIR "include/${OPENJPEG_INSTALL_SUBDIR}")
+ SET(OPENJPEG_INSTALL_INCLUDE_DIR "include/")
ENDIF(NOT OPENJPEG_INSTALL_INCLUDE_DIR)
IF(NOT OPENJPEG_INSTALL_MAN_DIR)
- SET(OPENJPEG_INSTALL_MAN_DIR "share/man/")
+ SET(OPENJPEG_INSTALL_MAN_DIR "man/")
ENDIF(NOT OPENJPEG_INSTALL_MAN_DIR)
IF(NOT OPENJPEG_INSTALL_DOC_DIR)
@@ -148,7 +148,7 @@
# We could install *.cmake files in share/ however those files contains
# hardcoded path to libraries on a multi-arch system (fedora/debian) those
# path will be different (lib/i386-linux-gnu vs lib/x86_64-linux-gnu)
- SET(OPENJPEG_INSTALL_PACKAGE_DIR "${OPENJPEG_INSTALL_LIB_DIR}/${OPENJPEG_INSTALL_SUBDIR}")
+ SET(OPENJPEG_INSTALL_PACKAGE_DIR "${OPENJPEG_INSTALL_SHARE_DIR}/${OPENJPEG_INSTALL_SUBDIR}")
ENDIF(NOT OPENJPEG_INSTALL_PACKAGE_DIR)
#-----------------------------------------------------------------------------
@@ -188,10 +188,10 @@
CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/libopenjpeg1.pc.cmake
${CMAKE_CURRENT_BINARY_DIR}/libopenjpeg1.pc @ONLY)
INSTALL( FILES ${CMAKE_CURRENT_BINARY_DIR}/libopenjpeg1.pc DESTINATION
- ${OPENJPEG_INSTALL_LIB_DIR}/pkgconfig )
+ libdata/pkgconfig )
INSTALL( CODE "EXECUTE_PROCESS(COMMAND ${CMAKE_COMMAND} -E create_symlink
\"libopenjpeg1.pc\"
- \"\$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/${OPENJPEG_INSTALL_SHARE_DIR}/pkgconfig/libopenjpeg.pc\")")
+ \"\$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/libdata/pkgconfig/libopenjpeg.pc\")")
ENDIF(UNIX)
#-----------------------------------------------------------------------------
@@ -288,6 +288,7 @@
#-----------------------------------------------------------------------------
# install all targets referenced as OPENJPEGTargets
INSTALL(EXPORT OpenJPEGTargets DESTINATION ${OPENJPEG_INSTALL_PACKAGE_DIR})
+SET(OPENJPEG_LIBRARIES "${CMAKE_INSTALL_PREFIX}/${OPENJPEG_INSTALL_LIB_DIR}/lib${OPENJPEG_LIBRARY_NAME}.so")
CONFIGURE_FILE( ${OPENJPEG_SOURCE_DIR}/CMake/OpenJPEGConfig.cmake.in
${OPENJPEG_BINARY_DIR}/OpenJPEGConfig.cmake
@ONLY

View File

@ -0,0 +1,10 @@
The OpenJPEG library is an open-source JPEG 2000 codec written in
C language. It has been developed in order to promote the use of
JPEG 2000, the new still-image compression standard from the Joint
Photographic Experts Group (JPEG). In addition to the basic codec,
various other features are under development, among them the JP2
and MJ2 (Motion JPEG 2000) file formats, an indexing tool useful
for the JPIP protocol, JPWL-tools for error-resilience, a Java-viewer
for j2k-images, ...
WWW: http://code.google.com/p/openjpeg/

View File

@ -0,0 +1,20 @@
bin/image_to_j2k
bin/j2k_dump
bin/j2k_to_image
include/openjpeg.h
lib/libopenjpeg.so
lib/libopenjpeg.so.1.5.2
lib/libopenjpeg.so.2
man/man1/image_to_j2k.1.gz
man/man1/j2k_dump.1.gz
man/man1/j2k_to_image.1.gz
man/man3/libopenjpeg.3.gz
%%DOCSDIR%%/CHANGES
%%DOCSDIR%%/LICENSE
%%DATADIR%%/OpenJPEGConfig.cmake
%%DATADIR%%/OpenJPEGTargets-%%CMAKE_BUILD_TYPE%%.cmake
%%DATADIR%%/OpenJPEGTargets.cmake
libdata/pkgconfig/libopenjpeg.pc
libdata/pkgconfig/libopenjpeg1.pc
@dirrm %%DATADIR%%
@dirrm %%DOCSDIR%%

View File

@ -4,7 +4,7 @@
PORTNAME= poppler
PORTVERSION= 0.24.5
PORTREVISION?= 3
PORTREVISION?= 4
CATEGORIES= graphics print
MASTER_SITES= http://poppler.freedesktop.org/
@ -103,7 +103,7 @@ PLIST_SUB+= CAIRO="@comment "
.if ${PORT_OPTIONS:MOPENJPEG}
CONFIGURE_ARGS+=--enable-libopenjpeg
LIB_DEPENDS+= libopenjpeg.so:${PORTSDIR}/graphics/openjpeg
LIB_DEPENDS+= libopenjpeg.so:${PORTSDIR}/graphics/openjpeg15
.else
CONFIGURE_ARGS+=--disable-libopenjpeg
.endif

View File

@ -3,6 +3,7 @@
PORTNAME= xpaint
PORTVERSION= 2.9.10.2
PORTREVISION= 1
CATEGORIES= graphics
MASTER_SITES= SF/sf-${PORTNAME}/sf-${PORTNAME}/${PORTNAME}-${PORTVERSION:R}
@ -13,7 +14,7 @@ LICENSE= GPLv3
LIB_DEPENDS= libpng15.so:${PORTSDIR}/graphics/png \
libjpeg.so:${PORTSDIR}/graphics/jpeg \
libopenjpeg.so:${PORTSDIR}/graphics/openjpeg \
libopenjpeg.so:${PORTSDIR}/graphics/openjpeg15 \
libtiff.so:${PORTSDIR}/graphics/tiff \
libfreetype.so:${PORTSDIR}/print/freetype2 \
libjbig.so:${PORTSDIR}/graphics/jbigkit \

View File

@ -138,7 +138,7 @@ OPENCV_LIB_DEPENDS= libopencv_imgproc.so:${PORTSDIR}/graphics/opencv-core
OPENCV_CONFIGURE_ENABLE= libopencv
# openjpeg
OPENJPEG_LIB_DEPENDS= libopenjpeg.so:${PORTSDIR}/graphics/openjpeg
OPENJPEG_LIB_DEPENDS= libopenjpeg.so:${PORTSDIR}/graphics/openjpeg15
OPENJPEG_CONFIGURE_ENABLE= libopenjpeg
# opus

View File

@ -265,7 +265,7 @@ CONFIGURE_ARGS+= --disable-libopencv
# openjpeg
.if ${PORT_OPTIONS:MOPENJPEG}
LIB_DEPENDS+= libopenjpeg.so:${PORTSDIR}/graphics/openjpeg
LIB_DEPENDS+= libopenjpeg.so:${PORTSDIR}/graphics/openjpeg15
CONFIGURE_ARGS+= --enable-libopenjpeg
.else
CONFIGURE_ARGS+= --disable-libopenjpeg

View File

@ -3,7 +3,7 @@
PORTNAME= gmerlin-avdecoder
PORTVERSION= 1.2.0
PORTREVISION= 6
PORTREVISION= 7
CATEGORIES= multimedia
MASTER_SITES= SF/gmerlin/${PORTNAME}/${PORTVERSION}
@ -152,7 +152,7 @@ PLIST_SUB+= CDIO="@comment "
.endif
.if ${PORT_OPTIONS:MOPENJPEG}
LIB_DEPENDS+= libopenjpeg.so:${PORTSDIR}/graphics/openjpeg
LIB_DEPENDS+= libopenjpeg.so:${PORTSDIR}/graphics/openjpeg15
.else
CONFIGURE_ARGS+=--disable-openjpeg
.endif

View File

@ -324,7 +324,7 @@ gst_opencv_PLIST_DIRSTRY= share/gst-plugins-bad/${VERSION}/opencv_haarcascades \
share/gst-plugins-bad
# openjpeg
gst_openjpeg_LIB_DEPENDS= libopenjpeg.so:${PORTSDIR}/graphics/openjpeg
gst_openjpeg_LIB_DEPENDS= libopenjpeg.so:${PORTSDIR}/graphics/openjpeg15
# opus
gst_opus_LIB_DEPENDS= libopus.so:${PORTSDIR}/audio/opus

View File

@ -95,7 +95,7 @@ LAME_CONFIGURE_ENABLE= libmp3lame
OPENCV_LIB_DEPENDS= libopencv_gpu.so:${PORTSDIR}/graphics/opencv
OPENCV_CONFIGURE_ENABLE= libopencv
OPENJPEG_LIB_DEPENDS= libopenjpeg.so:${PORTSDIR}/graphics/openjpeg
OPENJPEG_LIB_DEPENDS= libopenjpeg.so:${PORTSDIR}/graphics/openjpeg15
OPENJPEG_CONFIGURE_ENABLE= libopenjpeg
OPENSSL_CONFIGURE_ENABLE= openssl

View File

@ -68,7 +68,7 @@ NAS_CONFIGURE_OFF= --disable-nas
OPENAL_USES= openal:soft
OPENAL_CONFIGURE_OFF= --disable-openal
OPENJPEG_LIB_DEPENDS= libopenjpeg.so:${PORTSDIR}/graphics/openjpeg
OPENJPEG_LIB_DEPENDS= libopenjpeg.so:${PORTSDIR}/graphics/openjpeg15
OPENJPEG_CONFIGURE_OFF= --disable-libopenjpeg
OPUS_LIB_DEPENDS= libopus.so:${PORTSDIR}/audio/opus

View File

@ -2,6 +2,7 @@
PORTNAME= opencinematools
PORTVERSION= 1.1.2
PORTREVISION= 1
CATEGORIES= multimedia
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
@ -9,9 +10,9 @@ DISTNAME= ${PORTNAME}-${PORTVERSION}-src
MAINTAINER= olgeni@FreeBSD.org
COMMENT= Tools for creating multi-reel DCPs from MXF source material
LIB_DEPENDS= openjpeg.2:${PORTSDIR}/graphics/openjpeg \
expat.6:${PORTSDIR}/textproc/expat2 \
asdcp.0:${PORTSDIR}/multimedia/asdcplib
LIB_DEPENDS= libopenjpeg.so:${PORTSDIR}/graphics/openjpeg15 \
libexpat.so:${PORTSDIR}/textproc/expat2 \
libasdcp.so:${PORTSDIR}/multimedia/asdcplib
USES= dos2unix zip

View File

@ -2,7 +2,7 @@
PORTNAME= xetex
PORTVERSION= 0.9999
PORTREVISION= 3
PORTREVISION= 4
CATEGORIES= print
MASTER_SITES= http://people.allbsd.org/~hrs/FreeBSD/:web2c \
ftp://tug.org/historic/systems/texlive/2012/:texmf
@ -19,7 +19,7 @@ COMMENT= TeX System with Unicode and Modern Font Technologies
LIB_DEPENDS= libfreetype.so:${PORTSDIR}/print/freetype2 \
libgraphite2.so:${PORTSDIR}/graphics/graphite2 \
libicuio.so:${PORTSDIR}/devel/icu \
libopenjpeg.so:${PORTSDIR}/graphics/openjpeg \
libopenjpeg.so:${PORTSDIR}/graphics/openjpeg15 \
libpng15.so:${PORTSDIR}/graphics/png \
libpoppler.so:${PORTSDIR}/graphics/poppler \
libTECkit.so:${PORTSDIR}/textproc/teckit