sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
[SM-Commit] GIT changes to stable-0.4 grimoire by Eric Sandall (89d005b16d96fe4e0f874fb1f8a58b5dc0041238)
- From: Eric Sandall <scm AT mail.sourcemage.org>
- To: sm-commit AT lists.ibiblio.org
- Subject: [SM-Commit] GIT changes to stable-0.4 grimoire by Eric Sandall (89d005b16d96fe4e0f874fb1f8a58b5dc0041238)
- Date: Wed, 27 Dec 2006 17:53:01 -0600
GIT changes to stable-0.4 grimoire by Eric Sandall <sandalle AT moby.sandall.us>:
ChangeLog | 3 ++
graphics-libs/jasper/BUILD | 3 ++
graphics-libs/jasper/DEPENDS | 27 ++++++++++++++++++++
graphics-libs/jasper/DETAILS | 16 +++++++++++
graphics-libs/jasper/HISTORY | 35
++++++++++++++++++++++++++
graphics-libs/jasper/PRE_BUILD | 4 ++
graphics-libs/jasper/jasper-memory-leak.patch | 28 ++++++++++++++++++++
7 files changed, 116 insertions(+)
New commits:
commit 89d005b16d96fe4e0f874fb1f8a58b5dc0041238
Author: Juuso Alasuutari <iuso AT sourcemage.org>
Commit: Eric Sandall <sandalle AT moby.sandall.us>
jasper: JPEG-2000 lib, migrated from z-rejected
Bug #13357
Conflicts:
ChangeLog
diff --git a/ChangeLog b/ChangeLog
index 2fa3183..0a09634 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+2006-12-26 Juuso Alasuutari <iuso AT sourcemage.org>
+ * graphics-libs/jasper: JPEG-2000 lib, migrated from z-rejected.
+
2006-11-13 Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
* audio-drivers/podxt renamed to line6
diff --git a/graphics-libs/jasper/BUILD b/graphics-libs/jasper/BUILD
new file mode 100755
index 0000000..fd23b55
--- /dev/null
+++ b/graphics-libs/jasper/BUILD
@@ -0,0 +1,3 @@
+OPTS="--enable-shared --disable-static $OPTS" &&
+
+default_build
diff --git a/graphics-libs/jasper/DEPENDS b/graphics-libs/jasper/DEPENDS
new file mode 100755
index 0000000..c0fc423
--- /dev/null
+++ b/graphics-libs/jasper/DEPENDS
@@ -0,0 +1,27 @@
+optional_depends jpeg \
+ "--enable-libjpeg" \
+ "--disable-libjpeg" \
+ "to build with libjpeg" &&
+
+optional_depends GLUT \
+ "--enable-opengl --with-x" \
+ "--disable-opengl --without-x" \
+ "to build the jiv image display utility" &&
+
+. "$GRIMOIRE/FUNCTIONS" &&
+
+local GLUT_PROVIDER=$(get_spell_provider $SPELL GLUT) &&
+if [[ $GLUT_PROVIDER ]] &&
+ check_if_xorg_modular_libs $GLUT_PROVIDER
+then
+ depends libxxf86vm &&
+ depends libxau &&
+ depends libxmu &&
+ depends libxi &&
+ depends libxext &&
+ depends libxt &&
+ depends libsm &&
+ depends libice &&
+ depends libx11 &&
+ depends libxdmcp
+fi
diff --git a/graphics-libs/jasper/DETAILS b/graphics-libs/jasper/DETAILS
new file mode 100755
index 0000000..2b213d9
--- /dev/null
+++ b/graphics-libs/jasper/DETAILS
@@ -0,0 +1,16 @@
+ SPELL=jasper
+ VERSION=1.900.0
+ SOURCE=$SPELL-$VERSION.zip
+
SOURCE_HASH=sha512:4f2c5374da7d3ae8bcccdfa7616f280ac71c0ed76353bd197ee7ebb628ea87da334d9405775a42441076a58b78069b1c451a176ddfa70e51559bd32847b46985
+SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-$VERSION"
+ SOURCE_URL[0]=http://www.ece.uvic.ca/~mdadams/jasper/software/$SOURCE
+ WEB_SITE=http://www.ece.uvic.ca/~mdadams/jasper/
+ LICENSE[0]=http://www.ece.uvic.ca/~mdadams/jasper/LICENSE
+ ENTERED=20040118
+ KEYWORDS="images graphics libs"
+ SHORT="A JPEG-2000 library."
+cat << EOF
+The JasPer Project is an open-source initiative to provide a free
+software-based reference implementation of the codec specified in the
+JPEG-2000 Part-1 standard (i.e., ISO/IEC 15444-1).
+EOF
diff --git a/graphics-libs/jasper/HISTORY b/graphics-libs/jasper/HISTORY
new file mode 100644
index 0000000..05de9ad
--- /dev/null
+++ b/graphics-libs/jasper/HISTORY
@@ -0,0 +1,35 @@
+2006-12-26 Juuso Alasuutari <iuso AT sourcemage.org>
+ * DETAILS: Removed REJECT, added KEYWORDS, changed LICENSE and
+ SHORT.
+ * CONFIGURE: Deleted, rejected warning not needed.
+ * DEPENDS: Added optional_depends GLUT and xorg-modular deps.
+ * PRE_BUILD: Added, moved patching here.
+ * BUILD: Removed patching.
+ * INSTALL: Really deleted this time.
+
+2006-12-19 Treeve Jelbert <treeve AT pi.be>
+ * BUILD: build shared libraries
+ * DEPENDS: added, for jpeg
+ * INSTALL: deleted
+
+2006-12-19 Treeve Jelbert <treeve AT pi.be>
+ * DETAILS: version .900.0
+
+2006-10-03 Juuso Alasuutari <iuso AT sourcemage.org>
+ * DETAILS: [automated] Removed UPDATED.
+
+2005-12-01 Seth Woolley <seth AT tautology.org>
+ * DETAILS: MD5 -> SHA512
+
+2005-03-30 Andrew Stitt <astitt AT sourcemage.org>
+ * CONFIGURE: remove relative paths to grimoire libraries
+
+2004-08-05 Eric Schabell <eschabell AT sourcemage.org>
+ * DETAILS: updated long description.
+ * INSTALL: added for api2.
+ * BUILD: modified for api2.
+ * CONFIGURE: modified to use grimoire rejected message.
+
+2004-01-18 Jose Bernardo Silva <jbernardo AT sourcemage.org>
+ * ALL: Created the spell
+
diff --git a/graphics-libs/jasper/PRE_BUILD b/graphics-libs/jasper/PRE_BUILD
new file mode 100755
index 0000000..3e2758f
--- /dev/null
+++ b/graphics-libs/jasper/PRE_BUILD
@@ -0,0 +1,4 @@
+default_pre_build &&
+cd "$SOURCE_DIRECTORY" &&
+
+patch -p1 < "$SCRIPT_DIRECTORY/jasper-memory-leak.patch"
diff --git a/graphics-libs/jasper/jasper-memory-leak.patch
b/graphics-libs/jasper/jasper-memory-leak.patch
new file mode 100644
index 0000000..a37977b
--- /dev/null
+++ b/graphics-libs/jasper/jasper-memory-leak.patch
@@ -0,0 +1,28 @@
+diff -ur jasper-1.700.2/src/libjasper/base/jas_stream.c
jasper-1.700.2-local/src/libjasper/base/jas_stream.c
+--- jasper-1.700.2/src/libjasper/base/jas_stream.c Sun Feb 9 10:27:29
2003
++++ jasper-1.700.2-local/src/libjasper/base/jas_stream.c Tue Jun 17
23:06:57 2003
+@@ -408,11 +408,11 @@
+ }
+ obj->fd = -1;
+ obj->flags = 0;
+- obj->pathname[0] = '\0';
++ strncpy(obj->pathname, "jasXXXXXX", sizeof(obj->pathname));
+ stream->obj_ = obj;
+
+ /* Choose a file name. */
+- tmpnam(obj->pathname);
++ mkstemp(obj->pathname);
+
+ /* Open the underlying file. */
+ if ((obj->fd = open(obj->pathname, O_CREAT | O_EXCL | O_RDWR |
O_TRUNC | O_BINARY,
+diff -ur jasper-1.700.2/src/libjasper/jpg/jpg_enc.c
jasper-1.700.2-local/src/libjasper/jpg/jpg_enc.c
+--- jasper-1.700.2/src/libjasper/jpg/jpg_enc.c Sun Feb 9 11:38:25 2003
++++ jasper-1.700.2-local/src/libjasper/jpg/jpg_enc.c Tue Jun 17 22:46:16
2003
+@@ -380,6 +380,7 @@
+ rewind(output_file);
+ jpg_copyfiletostream(out, output_file);
+ fclose(output_file);
++ jas_matrix_destroy(src_mgr->data);
+ output_file = 0;
+
+ return 0;
- [SM-Commit] GIT changes to stable-0.4 grimoire by Eric Sandall (89d005b16d96fe4e0f874fb1f8a58b5dc0041238), Eric Sandall, 12/27/2006
Archive powered by MHonArc 2.6.24.