ports/107868: [NEW PORT] graphics/openjpeg: An open-source JPEG 2000 codec

trasz trasz at pin.if.uz.zgora.pl
Sat Jan 13 12:10:18 UTC 2007


>Number:         107868
>Category:       ports
>Synopsis:       [NEW PORT] graphics/openjpeg: An open-source JPEG 2000 codec
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jan 13 12:10:17 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     trasz
>Release:        FreeBSD 6.1-RELEASE-p10 i386
>Organization:
>Environment:
System: FreeBSD pin.if.uz.zgora.pl 6.1-RELEASE-p10 FreeBSD 6.1-RELEASE-p10 #0: Wed Nov 15 19:16:30 CET 2006
>Description:
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://www.openjpeg.org/

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- openjpeg-1.1.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	openjpeg
#	openjpeg/pkg-descr
#	openjpeg/Makefile
#	openjpeg/pkg-plist
#	openjpeg/distinfo
#	openjpeg/files
#	openjpeg/files/patch-Makefile
#
echo c - openjpeg
mkdir -p openjpeg > /dev/null 2>&1
echo x - openjpeg/pkg-descr
sed 's/^X//' >openjpeg/pkg-descr << 'END-of-openjpeg/pkg-descr'
XThe OpenJPEG library is an open-source JPEG 2000 codec written in
XC language.  It has been developed in order to promote the use of
XJPEG 2000, the new still-image compression standard from the Joint
XPhotographic Experts Group (JPEG).  In addition to the basic codec,
Xvarious other features are under development, among them the JP2
Xand MJ2 (Motion JPEG 2000) file formats, an indexing tool useful
Xfor the JPIP protocol, JPWL-tools for error-resilience, a Java-viewer
Xfor j2k-images, ...
X
XWWW:	http://www.openjpeg.org/
END-of-openjpeg/pkg-descr
echo x - openjpeg/Makefile
sed 's/^X//' >openjpeg/Makefile << 'END-of-openjpeg/Makefile'
X# New ports collection makefile for:	openjpeg
X# Date created:		2007-01-13
X# Whom:			trasz <trasz at pin.if.uz.zgora.pl>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	openjpeg
XPORTVERSION=	1.1
XCATEGORIES=	graphics
XMASTER_SITES=	http://www.openjpeg.org/
XDISTNAME=	openjpeg_v1_1
X
XMAINTAINER=	trasz at pin.if.uz.zgora.pl
XCOMMENT=	An open-source JPEG 2000 codec
X
XWRKSRC=		${WRKDIR}/OpenJPEG/
XUSE_GMAKE=	yes
XUSE_LDCONFIG=	yes
X
X.include <bsd.port.mk>
END-of-openjpeg/Makefile
echo x - openjpeg/pkg-plist
sed 's/^X//' >openjpeg/pkg-plist << 'END-of-openjpeg/pkg-plist'
Xlib/libopenjpeg.a
Xlib/libopenjpeg-1.0.0.so
Xlib/libopenjpeg.so.1
END-of-openjpeg/pkg-plist
echo x - openjpeg/distinfo
sed 's/^X//' >openjpeg/distinfo << 'END-of-openjpeg/distinfo'
XMD5 (openjpeg_v1_1.tar.gz) = 6bf7768d7a37b25b13994f455760ef90
XSHA256 (openjpeg_v1_1.tar.gz) = 71ddea3b8adea46c7c71502887501b28a631ec36d321f40cf214f22365208c3b
XSIZE (openjpeg_v1_1.tar.gz) = 1419311
END-of-openjpeg/distinfo
echo c - openjpeg/files
mkdir -p openjpeg/files > /dev/null 2>&1
echo x - openjpeg/files/patch-Makefile
sed 's/^X//' >openjpeg/files/patch-Makefile << 'END-of-openjpeg/files/patch-Makefile'
X--- Makefile.orig	Wed Feb  1 22:25:11 2006
X+++ Makefile	Sat Jan 13 12:52:47 2007
X@@ -8,15 +8,13 @@
X INCLUDE = -Ilibopenjpeg
X 
X # General configuration variables:
X-CC = gcc
X-AR = ar
X 
X-INSTALLDIR = /usr/lib
X+INSTALLDIR = $(PREFIX)/lib
X 
X # Converts cr/lf to just lf
X DOS2UNIX = dos2unix
X 
X-COMPILERFLAGS = -O3
X+COMPILERFLAGS := $(CFLAGS)
X LIBRARIES = -lstdc++
X 
X MODULES = $(SRCS:.c=.o)
X@@ -54,10 +52,9 @@
X 	$(CC) -s -shared -Wl,-soname,$(LIBNAME) -o $@ $(MODULES) $(LIBRARIES)
X 
X install:
X-	install -m 644 -o root -g root $(STATICLIB) $(INSTALLDIR)
X-	install -m 755 -o root -g root $(SHAREDLIB) $(INSTALLDIR)
X+	install -m 644 -o 0 -g 0 $(STATICLIB) $(INSTALLDIR)
X+	install -m 755 -o 0 -g 0 $(SHAREDLIB) $(INSTALLDIR)
X 	ln -sf $(SHAREDLIB) $(INSTALLDIR)/$(LIBNAME)
X-	ldconfig
X 
X clean:
X 	rm -rf core dist/ u2dtmp* $(MODULES) $(STATICLIB) $(SHAREDLIB) $(LIBNAME)
END-of-openjpeg/files/patch-Makefile
exit
--- openjpeg-1.1.shar ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list