summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>1999-10-09 20:05:39 +0000
committerjlam <jlam@pkgsrc.org>1999-10-09 20:05:39 +0000
commit214ff11b1f1378597a3a91241f24aa155f346b10 (patch)
tree38d35504911ffbd2bd81037b86f6b7a18acf0b8f /graphics
parent8a4fbb1ed5288a32b0017dd15afd21f9138a8dc0 (diff)
downloadpkgsrc-214ff11b1f1378597a3a91241f24aa155f346b10.tar.gz
Initial import of libungif-4.1.0 -- tools and library routines for working
with GIF images. API/ABI-compatible with giflib, but doesn't write compressed GIFs.
Diffstat (limited to 'graphics')
-rw-r--r--graphics/libungif/Makefile34
-rw-r--r--graphics/libungif/files/md53
-rw-r--r--graphics/libungif/files/patch-sum4
-rw-r--r--graphics/libungif/patches/patch-aa20
-rw-r--r--graphics/libungif/patches/patch-ab13
-rw-r--r--graphics/libungif/pkg/COMMENT1
-rw-r--r--graphics/libungif/pkg/DESCR13
-rw-r--r--graphics/libungif/pkg/PLIST74
8 files changed, 162 insertions, 0 deletions
diff --git a/graphics/libungif/Makefile b/graphics/libungif/Makefile
new file mode 100644
index 00000000000..61e188bb15d
--- /dev/null
+++ b/graphics/libungif/Makefile
@@ -0,0 +1,34 @@
+# $NetBSD: Makefile,v 1.1.1.1 1999/10/09 20:05:39 jlam Exp $
+#
+
+DISTNAME= libungif-4.1.0
+CATEGORIES= graphics
+MASTER_SITES= ftp://prtr-13.ucsc.edu/pub/libungif/
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://prtr-13.ucsc.edu/~badger/software/libungif.shtml
+
+CONFLICTS= giflib-*
+
+USE_LIBTOOL= yes
+
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --without-x
+
+DOCDIR= ${PREFIX}/share/doc/libungif
+
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "SunOS"
+MAKE_ENV+= CC="${CC} -I${LOCALBASE}/include"
+.endif
+
+post-patch:
+ ${RM} ${WRKSRC}/doc/gif2x11.html
+
+post-install:
+ ${INSTALL_DATA_DIR} ${DOCDIR}
+ cd ${WRKSRC}; ${INSTALL_DATA} COPYING UNCOMPRESSED_GIF ${DOCDIR}
+ cd ${WRKSRC}/doc; ${INSTALL_DATA} *.html *.txt *.png ${DOCDIR}
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/graphics/libungif/files/md5 b/graphics/libungif/files/md5
new file mode 100644
index 00000000000..eb11f4861fa
--- /dev/null
+++ b/graphics/libungif/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 1999/10/09 20:05:39 jlam Exp $
+
+MD5 (libungif-4.1.0.tar.gz) = 35427da9b40e06faae0db531c41c7eb6
diff --git a/graphics/libungif/files/patch-sum b/graphics/libungif/files/patch-sum
new file mode 100644
index 00000000000..b370351f770
--- /dev/null
+++ b/graphics/libungif/files/patch-sum
@@ -0,0 +1,4 @@
+$NetBSD: patch-sum,v 1.1.1.1 1999/10/09 20:05:40 jlam Exp $
+
+MD5 (patch-aa) = 20885e0f4e5a0757542eb4cb3e99fe44
+MD5 (patch-ab) = dacda410c2da4d0695fdee220e00ce69
diff --git a/graphics/libungif/patches/patch-aa b/graphics/libungif/patches/patch-aa
new file mode 100644
index 00000000000..fd063644820
--- /dev/null
+++ b/graphics/libungif/patches/patch-aa
@@ -0,0 +1,20 @@
+$NetBSD: patch-aa,v 1.1.1.1 1999/10/09 20:05:40 jlam Exp $
+
+--- ./configure.orig Tue Jan 19 23:32:09 1999
++++ ./configure Tue Oct 5 23:34:58 1999
+@@ -1191,6 +1191,7 @@
+ echo "$ac_t""no" 1>&6
+ fi
+
++if false; then
+ # Always use our own libtool.
+ LIBTOOL='$(SHELL) $(top_builddir)/libtool'
+
+@@ -1240,6 +1241,7 @@
+ # Redirect the config.log output again, so that the ltconfig log is not
+ # clobbered by the next message.
+ exec 5>>./config.log
++fi
+
+ # Extract the first word of "gcc", so it can be a program name with args.
+ set dummy gcc; ac_word=$2
diff --git a/graphics/libungif/patches/patch-ab b/graphics/libungif/patches/patch-ab
new file mode 100644
index 00000000000..35d64cbf807
--- /dev/null
+++ b/graphics/libungif/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1.1.1 1999/10/09 20:05:40 jlam Exp $
+
+--- ./doc/index.html.orig Sun Sep 6 12:07:35 1998
++++ ./doc/index.html Tue Oct 5 23:34:31 1999
+@@ -65,8 +65,6 @@
+ <DD>convert images saved as GIF to 24-bit RGB image(s)
+ <DT><a href="gif2rle.html">gif2rle</a>
+ <DD>convert images saved as GIF to RLE (Utah raster toolkit) format
+-<DT><a href="gif2x11.html">gif2x11</a>
+-<DD>display images saved as GIF files under X window system
+ <DT><a href="raw2gif.html">raw2gif</a>
+ <DD>convert raw 8-bit image data into GIF files
+ <DT><a href="rgb2gif.html">rgb2gif</a>
diff --git a/graphics/libungif/pkg/COMMENT b/graphics/libungif/pkg/COMMENT
new file mode 100644
index 00000000000..5fe97745349
--- /dev/null
+++ b/graphics/libungif/pkg/COMMENT
@@ -0,0 +1 @@
+Tools and library routines for working with GIF images.
diff --git a/graphics/libungif/pkg/DESCR b/graphics/libungif/pkg/DESCR
new file mode 100644
index 00000000000..6f56dc8793d
--- /dev/null
+++ b/graphics/libungif/pkg/DESCR
@@ -0,0 +1,13 @@
+Libungif is a giflib-compatible library and tools that saves GIFs using
+an uncompressed algorithm that avoids the Unisys patent on the LZW
+compression algorithm.
+
+The tools include programs to clip, rotate, scale, and position
+GIF images. It includes code to dump GIFs to an Epson-compatible printer
+in graphics mode, and several conversion utilities.
+
+The library includes program-callable entry points for reading and writing
+GIF files, an 8x8 utility font for embedding text in GIFs, and an error
+handler. GIF manipulation can be done at a relatively low level by
+sequential I/O (which automatically undoes image compression) or at
+a higher level by slurping an entire GIF into allocated core.
diff --git a/graphics/libungif/pkg/PLIST b/graphics/libungif/pkg/PLIST
new file mode 100644
index 00000000000..3da2cbf8c9f
--- /dev/null
+++ b/graphics/libungif/pkg/PLIST
@@ -0,0 +1,74 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 1999/10/09 20:05:40 jlam Exp $
+bin/gif2epsn
+bin/gif2ps
+bin/gif2rgb
+bin/gifasm
+bin/gifbg
+bin/gifclip
+bin/gifcomb
+bin/giffix
+bin/gifflip
+bin/gifhisto
+bin/gifinter
+bin/gifinto
+bin/gifovly
+bin/gifpos
+bin/gifrsize
+bin/giftext
+bin/gifwedge
+bin/raw2gif
+bin/rgb2gif
+bin/text2gif
+bin/gifspnge
+bin/giffiltr
+bin/icon2gif
+bin/gifcolor
+bin/gifclrmp
+bin/gifrotat
+bin/gifcompose
+bin/gifburst
+include/gif_lib.h
+lib/libungif.a
+lib/libungif.so.5.0
+share/doc/libungif/COPYING
+share/doc/libungif/GifFileType.png
+share/doc/libungif/UNCOMPRESSED_GIF
+share/doc/libungif/gif2bgi.html
+share/doc/libungif/gif2epsn.html
+share/doc/libungif/gif2herc.html
+share/doc/libungif/gif2iris.html
+share/doc/libungif/gif2ps.html
+share/doc/libungif/gif2rgb.html
+share/doc/libungif/gif2rle.html
+share/doc/libungif/gif89.txt
+share/doc/libungif/gif_lib.html
+share/doc/libungif/gifasm.html
+share/doc/libungif/gifbg.html
+share/doc/libungif/gifburst.html
+share/doc/libungif/gifclip.html
+share/doc/libungif/gifclrmp.html
+share/doc/libungif/gifcolor.html
+share/doc/libungif/gifcomb.html
+share/doc/libungif/gifcompose.html
+share/doc/libungif/giffiltr.html
+share/doc/libungif/giffix.html
+share/doc/libungif/gifflip.html
+share/doc/libungif/gifhisto.html
+share/doc/libungif/gifinter.html
+share/doc/libungif/gifinto.html
+share/doc/libungif/gifovly.html
+share/doc/libungif/gifpos.html
+share/doc/libungif/gifrotat.html
+share/doc/libungif/gifrsize.html
+share/doc/libungif/gifspnge.html
+share/doc/libungif/giftext.html
+share/doc/libungif/gifwedge.html
+share/doc/libungif/icon2gif.html
+share/doc/libungif/index.html
+share/doc/libungif/liberror.html
+share/doc/libungif/lzgif.txt
+share/doc/libungif/raw2gif.html
+share/doc/libungif/rgb2gif.html
+share/doc/libungif/rle2gif.html
+share/doc/libungif/text2gif.html
+@dirrm share/doc/libungif