no interest in this one?
On Sun, Apr 17, 2011 at 4:16 PM, Amit Kulkarni <amitk...@gmail.com> wrote: > Read a message on dragonfly digest a few weeks ago. Since gif patents have > expired...and if anybody is interested. > > Couldn't test it without going without gui :) Also since this touches so > many packages, the experts will have to be called in anyway, for quirks > handling. > > This is my first 'new' port, so feedback is welcome. I simply changed > stuff from libungif. The DESCR might be inaccurate, i.e uncompressed vs > compressed. > > Finally, I am not sure if cvs can deal with the Attic part. > > Thanks, > amit > > Index: Makefile > =================================================================== > RCS file: /cvs/ports/graphics/giflib/Attic/Makefile,v > diff -N -u Makefile > --- /dev/null 17 Apr 2011 15:05:06 -0000 > +++ Makefile 17 Apr 2011 21:05:06 -0000 > @@ -0,0 +1,39 @@ > +#$OpenBSD$ > + > +COMMENT= tools and library routines for working with GIF images > + > +DISTNAME= giflib-4.1.6 > +SHARED_LIBS= gif 5.6 > +CATEGORIES= graphics > +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=giflib/} > + > +HOMEPAGE= http://sourceforge.net/projects/giflib/ > + > +PERMIT_PACKAGE_CDROM= Yes > +PERMIT_PACKAGE_FTP= Yes > +PERMIT_DISTFILES_CDROM= Yes > +PERMIT_DISTFILES_FTP= Yes > + > +USE_LIBTOOL= Yes > +CONFIGURE_STYLE= autoconf > +AUTOCONF_VERSION= 2.61 > +CONFIGURE_ARGS= ${CONFIGURE_SHARED} --with-x > +DOCS= README > +HTMLDOCS= *.html *.txt *.png > +DOCSDIR= ${PREFIX}/share/doc/giflib > + > +MAKE_ENV+= CFLAGS="${CFLAGS}" > + > +post-install: > + @cd ${PREFIX}/lib; \ > + chown ${LIBOWN}:${LIBGRP} libgif.la && \ > + chmod 755 libgif.la > + ${INSTALL_DATA_DIR} ${DOCSDIR}/html > +.for d in ${DOCS} > + ${INSTALL_DATA} ${WRKSRC}/$d ${DOCSDIR} > +.endfor > +.for h in ${HTMLDOCS} > + ${INSTALL_DATA} ${WRKSRC}/doc/$h ${DOCSDIR}/html > +.endfor > + > +.include <bsd.port.mk> > Index: distinfo > =================================================================== > RCS file: distinfo > diff -N -u distinfo > --- /dev/null 17 Apr 2011 15:05:06 -0000 > +++ distinfo 17 Apr 2011 21:05:06 -0000 > @@ -0,0 +1,5 @@ > +MD5 (giflib-4.1.6.tar.gz) = T/Ls7DNrlyTFGQ8G6KQPng== > +RMD160 (giflib-4.1.6.tar.gz) = daUB9EEw5kQ0hPtEBhnwsDzA3Ts= > +SHA1 (giflib-4.1.6.tar.gz) = hkn6nBbzMAdQ9wiceeZS3cdQyDI= > +SHA256 (giflib-4.1.6.tar.gz) = zsp33NKetvbQM2QU3+zJCUQT9xw7WJr8+Wu3L7+wjOA= > +SIZE (giflib-4.1.6.tar.gz) = 636030 > Index: patches/patch-Makefile_in > =================================================================== > RCS file: patches/patch-Makefile_in > diff -N -u patches/patch-Makefile_in > --- /dev/null 17 Apr 2011 15:05:06 -0000 > +++ patches/patch-Makefile_in 17 Apr 2011 21:05:06 -0000 > @@ -0,0 +1,12 @@ > +$OpenBSD$ > +--- Makefile.in.orig Sun Apr 17 14:28:26 2011 > ++++ Makefile.in Sun Apr 17 14:28:46 2011 > +@@ -188,7 +188,7 @@ sysconfdir = @sysconfdir@ > + target_alias = @target_alias@ > + top_builddir = @top_builddir@ > + top_srcdir = @top_srcdir@ > +-SUBDIRS = lib util doc pic > ++SUBDIRS = lib > + WINDOWS = $(top_srcdir)/windows/GifWin.cpp \ > + $(top_srcdir)/windows/GifWin.h \ > + $(top_srcdir)/windows/StdAfx.h \ > Index: patches/patch-doc_index_html > =================================================================== > RCS file: patches/patch-doc_index_html > diff -N -u patches/patch-doc_index_html > --- /dev/null 17 Apr 2011 15:05:06 -0000 > +++ patches/patch-doc_index_html 17 Apr 2011 21:05:06 -0000 > @@ -0,0 +1,20 @@ > +$OpenBSD$ > +--- doc/index.html.orig Sun Apr 17 14:36:05 2011 > ++++ doc/index.html Sun Apr 17 14:36:36 2011 > +@@ -63,16 +63,10 @@ hotlink to HTML documentation.<P> > + <DD>print GIF file on laser printers supporting PostScript > + <DT><a href="gif2rgb.html">gif2rgb</a> > + <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> > + <DD>convert 24 bit images to a GIF image using color quantization > +-<DT><a href="rle2gif.html">rle2gif</a> > +-<DD>convert images saved as RLE (Utah raster toolkit) to GIF format > + </DL> > + > + <H2>Test Pattern Generators</H2> > Index: pkg/DESCR > =================================================================== > RCS file: /cvs/ports/graphics/giflib/pkg/Attic/DESCR,v > diff -N -u pkg/DESCR > --- /dev/null 17 Apr 2011 15:05:06 -0000 > +++ pkg/DESCR 17 Apr 2011 21:05:06 -0000 > @@ -0,0 +1,5 @@ > +GIF loading and saving library. (Saving uses an uncompressed GIF > +algorithm that does not use LZW compression.) > + > +See the ${PREFIX}/share/doc/giflib directory for more information on > +giflib's capabilities. > Index: pkg/PFRAG.shared > =================================================================== > RCS file: /cvs/ports/graphics/giflib/pkg/Attic/PFRAG.shared,v > diff -N -u pkg/PFRAG.shared > --- /dev/null 17 Apr 2011 15:05:06 -0000 > +++ pkg/PFRAG.shared 17 Apr 2011 21:05:06 -0000 > @@ -0,0 +1,2 @@ > +@comment $OpenBSD$ > +@lib lib/libgif.so.${LIBgif_VERSION} > Index: pkg/PLIST > =================================================================== > RCS file: /cvs/ports/graphics/giflib/pkg/Attic/PLIST,v > diff -N -u pkg/PLIST > --- /dev/null 17 Apr 2011 15:05:06 -0000 > +++ pkg/PLIST 17 Apr 2011 21:05:06 -0000 > @@ -0,0 +1,48 @@ > +@comment $OpenBSD$ > +%%SHARED%% > +include/gif_lib.h > +lib/libgif.a > +lib/libgif.la > +share/doc/giflib/ > +share/doc/giflib/README > +share/doc/giflib/html/ > +share/doc/giflib/html/GifFileType.png > +share/doc/giflib/html/gif2bgi.html > +share/doc/giflib/html/gif2epsn.html > +share/doc/giflib/html/gif2herc.html > +share/doc/giflib/html/gif2iris.html > +share/doc/giflib/html/gif2ps.html > +share/doc/giflib/html/gif2rgb.html > +share/doc/giflib/html/gif2rle.html > +share/doc/giflib/html/gif2x11.html > +share/doc/giflib/html/gif89.txt > +share/doc/giflib/html/gif_lib.html > +share/doc/giflib/html/gifasm.html > +share/doc/giflib/html/gifbg.html > +share/doc/giflib/html/gifburst.html > +share/doc/giflib/html/gifclip.html > +share/doc/giflib/html/gifclrmp.html > +share/doc/giflib/html/gifcolor.html > +share/doc/giflib/html/gifcomb.html > +share/doc/giflib/html/gifcompose.html > +share/doc/giflib/html/giffiltr.html > +share/doc/giflib/html/giffix.html > +share/doc/giflib/html/gifflip.html > +share/doc/giflib/html/gifhisto.html > +share/doc/giflib/html/gifinter.html > +share/doc/giflib/html/gifinto.html > +share/doc/giflib/html/gifovly.html > +share/doc/giflib/html/gifpos.html > +share/doc/giflib/html/gifrotat.html > +share/doc/giflib/html/gifrsize.html > +share/doc/giflib/html/gifspnge.html > +share/doc/giflib/html/giftext.html > +share/doc/giflib/html/gifwedge.html > +share/doc/giflib/html/icon2gif.html > +share/doc/giflib/html/index.html > +share/doc/giflib/html/liberror.html > +share/doc/giflib/html/lzgif.txt > +share/doc/giflib/html/raw2gif.html > +share/doc/giflib/html/rgb2gif.html > +share/doc/giflib/html/rle2gif.html > +share/doc/giflib/html/text2gif.html >