add jasper 1.701.0
-- The JasPer Project is a collaborative effort between Image Power, Inc. and the University of British Columbia. The objective of this project is to develop a software-based reference implementation of the codec specified in the JPEG-2000 Part-1 standard (i.e., ISO/IEC 15444-1). This software has also been submitted to the ISO for inclusion in the JPEG-2000 Part-5 standard (as an official reference implementation).
This commit is contained in:
parent
e9771081e4
commit
2d67390878
24
graphics/jasper/Makefile
Normal file
24
graphics/jasper/Makefile
Normal file
@ -0,0 +1,24 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2004/05/14 05:33:57 brad Exp $
|
||||
|
||||
COMMENT= "software-based reference implementation of the JPEG-2000 codec"
|
||||
|
||||
DISTNAME= jasper-1.701.0
|
||||
CATEGORIES= graphics
|
||||
MASTER_SITES= ${HOMEPAGE}software/
|
||||
EXTRACT_SUFX= .zip
|
||||
|
||||
HOMEPAGE= http://www.ece.uvic.ca/~mdadams/jasper/
|
||||
|
||||
MAINTAINER= Brad Smith <brad@openbsd.org>
|
||||
|
||||
# MIT
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
CONFIGURE_STYLE= gnu
|
||||
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
|
||||
CONFIGURE_ARGS+= --without-x --disable-opengl
|
||||
|
||||
.include <bsd.port.mk>
|
3
graphics/jasper/distinfo
Normal file
3
graphics/jasper/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (jasper-1.701.0.zip) = 22a9f74fc880e38dd125c60aa4e4ce97
|
||||
RMD160 (jasper-1.701.0.zip) = 3f93bcabccd8461155f4fefc9b1be306b8c1451e
|
||||
SHA1 (jasper-1.701.0.zip) = e304457a3973c3a926792c3e25e16f05818634e4
|
11
graphics/jasper/patches/patch-src_libjasper_Makefile_in
Normal file
11
graphics/jasper/patches/patch-src_libjasper_Makefile_in
Normal file
@ -0,0 +1,11 @@
|
||||
$OpenBSD: patch-src_libjasper_Makefile_in,v 1.1.1.1 2004/05/14 05:33:57 brad Exp $
|
||||
--- src/libjasper/Makefile.in.orig 2004-04-22 21:58:42.000000000 -0400
|
||||
+++ src/libjasper/Makefile.in 2004-04-22 21:59:07.000000000 -0400
|
||||
@@ -186,7 +186,6 @@ libjasper_la_LIBADD = \
|
||||
ras/libras.la
|
||||
|
||||
libjasper_la_LDFLAGS = \
|
||||
- -release $(LT_RELEASE) \
|
||||
-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
|
||||
|
||||
subdir = src/libjasper
|
22
graphics/jasper/patches/patch-src_libjasper_jp2_jp2_cod_c
Normal file
22
graphics/jasper/patches/patch-src_libjasper_jp2_jp2_cod_c
Normal file
@ -0,0 +1,22 @@
|
||||
$OpenBSD: patch-src_libjasper_jp2_jp2_cod_c,v 1.1.1.1 2004/05/14 05:33:57 brad Exp $
|
||||
--- src/libjasper/jp2/jp2_cod.c.orig 2004-02-08 20:34:40.000000000 -0500
|
||||
+++ src/libjasper/jp2/jp2_cod.c 2004-04-22 21:37:19.000000000 -0400
|
||||
@@ -774,11 +774,15 @@ static void jp2_cmap_dumpdata(jp2_box_t
|
||||
jp2_cmap_t *cmap = &box->data.cmap;
|
||||
unsigned int i;
|
||||
jp2_cmapent_t *ent;
|
||||
- fprintf(out, "numchans = %d\n", (int) cmap->numchans);
|
||||
+ if (jas_getdbglevel() >= 1) {
|
||||
+ fprintf(out, "numchans = %d\n", (int) cmap->numchans);
|
||||
+ }
|
||||
for (i = 0; i < cmap->numchans; ++i) {
|
||||
ent = &cmap->ents[i];
|
||||
- fprintf(out, "cmptno=%d; map=%d; pcol=%d\n",
|
||||
- (int) ent->cmptno, (int) ent->map, (int) ent->pcol);
|
||||
+ if (jas_getdbglevel() >= 1) {
|
||||
+ fprintf(out, "cmptno=%d; map=%d; pcol=%d\n",
|
||||
+ (int) ent->cmptno, (int) ent->map, (int) ent->pcol);
|
||||
+ }
|
||||
}
|
||||
}
|
||||
|
14
graphics/jasper/patches/patch-src_libjasper_jp2_jp2_dec_c
Normal file
14
graphics/jasper/patches/patch-src_libjasper_jp2_jp2_dec_c
Normal file
@ -0,0 +1,14 @@
|
||||
$OpenBSD: patch-src_libjasper_jp2_jp2_dec_c,v 1.1.1.1 2004/05/14 05:33:57 brad Exp $
|
||||
--- src/libjasper/jp2/jp2_dec.c.orig 2004-02-08 20:34:40.000000000 -0500
|
||||
+++ src/libjasper/jp2/jp2_dec.c 2004-04-22 21:37:19.000000000 -0400
|
||||
@@ -293,7 +293,9 @@ jas_image_t *jp2_decode(jas_stream_t *in
|
||||
dec->colr->data.colr.iccplen);
|
||||
assert(iccprof);
|
||||
jas_iccprof_gethdr(iccprof, &icchdr);
|
||||
- jas_eprintf("ICC Profile CS %08x\n", icchdr.colorspc);
|
||||
+ if (jas_getdbglevel() >= 1) {
|
||||
+ jas_eprintf("ICC Profile CS %08x\n", icchdr.colorspc);
|
||||
+ }
|
||||
jas_image_setclrspc(dec->image, fromiccpcs(icchdr.colorspc));
|
||||
dec->image->cmprof_ = jas_cmprof_createfromiccprof(iccprof);
|
||||
assert(dec->image->cmprof_);
|
12
graphics/jasper/patches/patch-src_libjasper_jpc_jpc_cs_c
Normal file
12
graphics/jasper/patches/patch-src_libjasper_jpc_jpc_cs_c
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-src_libjasper_jpc_jpc_cs_c,v 1.1.1.1 2004/05/14 05:33:57 brad Exp $
|
||||
--- src/libjasper/jpc/jpc_cs.c.orig 2004-02-08 20:34:40.000000000 -0500
|
||||
+++ src/libjasper/jpc/jpc_cs.c 2004-04-22 21:37:19.000000000 -0400
|
||||
@@ -639,7 +639,7 @@ static int jpc_cod_dumpparms(jpc_ms_t *m
|
||||
cod->compparms.cblksty);
|
||||
if (cod->csty & JPC_COX_PRT) {
|
||||
for (i = 0; i < cod->compparms.numrlvls; ++i) {
|
||||
- fprintf(stderr, "prcwidth[%d] = %d, prcheight[%d] = %d\n",
|
||||
+ fprintf(out, "prcwidth[%d] = %d, prcheight[%d] = %d\n",
|
||||
i, cod->compparms.rlvls[i].parwidthval,
|
||||
i, cod->compparms.rlvls[i].parheightval);
|
||||
}
|
14
graphics/jasper/patches/patch-src_libjasper_jpc_jpc_dec_c
Normal file
14
graphics/jasper/patches/patch-src_libjasper_jpc_jpc_dec_c
Normal file
@ -0,0 +1,14 @@
|
||||
$OpenBSD: patch-src_libjasper_jpc_jpc_dec_c,v 1.1.1.1 2004/05/14 05:33:57 brad Exp $
|
||||
--- src/libjasper/jpc/jpc_dec.c.orig 2004-02-08 20:34:40.000000000 -0500
|
||||
+++ src/libjasper/jpc/jpc_dec.c 2004-04-22 21:37:19.000000000 -0400
|
||||
@@ -1472,7 +1472,9 @@ static int jpc_dec_process_unk(jpc_dec_t
|
||||
dec = 0;
|
||||
|
||||
fprintf(stderr, "warning: ignoring unknown marker segment\n");
|
||||
- jpc_ms_dump(ms, stderr);
|
||||
+ if (jas_getdbglevel() >= 1) {
|
||||
+ jpc_ms_dump(ms, stderr);
|
||||
+ }
|
||||
return 0;
|
||||
}
|
||||
|
7
graphics/jasper/pkg/DESCR
Normal file
7
graphics/jasper/pkg/DESCR
Normal file
@ -0,0 +1,7 @@
|
||||
The JasPer Project is a collaborative effort between Image Power,
|
||||
Inc. and the University of British Columbia. The objective of this
|
||||
project is to develop a software-based reference implementation of
|
||||
the codec specified in the JPEG-2000 Part-1 standard (i.e., ISO/IEC
|
||||
15444-1). This software has also been submitted to the ISO for
|
||||
inclusion in the JPEG-2000 Part-5 standard (as an official reference
|
||||
implementation).
|
3
graphics/jasper/pkg/PFRAG.shared
Normal file
3
graphics/jasper/pkg/PFRAG.shared
Normal file
@ -0,0 +1,3 @@
|
||||
@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2004/05/14 05:33:57 brad Exp $
|
||||
lib/libjasper.so.1.0
|
||||
DYNLIBDIR(%D/lib)
|
26
graphics/jasper/pkg/PLIST
Normal file
26
graphics/jasper/pkg/PLIST
Normal file
@ -0,0 +1,26 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2004/05/14 05:33:57 brad Exp $
|
||||
bin/imgcmp
|
||||
bin/imginfo
|
||||
bin/jasper
|
||||
include/jasper/jas_cm.h
|
||||
include/jasper/jas_config.h
|
||||
include/jasper/jas_config2.h
|
||||
include/jasper/jas_debug.h
|
||||
include/jasper/jas_fix.h
|
||||
include/jasper/jas_getopt.h
|
||||
include/jasper/jas_icc.h
|
||||
include/jasper/jas_image.h
|
||||
include/jasper/jas_init.h
|
||||
include/jasper/jas_malloc.h
|
||||
include/jasper/jas_math.h
|
||||
include/jasper/jas_seq.h
|
||||
include/jasper/jas_stream.h
|
||||
include/jasper/jas_string.h
|
||||
include/jasper/jas_tvp.h
|
||||
include/jasper/jas_types.h
|
||||
include/jasper/jas_version.h
|
||||
include/jasper/jasper.h
|
||||
lib/libjasper.a
|
||||
lib/libjasper.la
|
||||
%%SHARED%%
|
||||
@dirrm include/jasper
|
Loading…
Reference in New Issue
Block a user