debian/0000775000000000000000000000000012053603665007176 5ustar debian/control0000664000000000000000000000123712047207726010605 0ustar Source: giftrans Section: graphics Priority: optional Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Chris Lamb Build-Depends: debhelper (>= 7.0.50~) Standards-Version: 3.9.2 Vcs-Git: git://github.com/lamby/pkg-giftrans.git Vcs-Browser: https://github.com/lamby/pkg-giftrans Package: giftrans Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, x11-common Description: Convert any GIF file into a GIF89a Allows for setting a specific transparent or background color of GIF images as well as changing colors, adding or removing comments. Also provides the ability to analyze GIF contents. debian/source/0000775000000000000000000000000012047207726010477 5ustar debian/source/format0000664000000000000000000000001412047207726011705 0ustar 3.0 (quilt) debian/install0000664000000000000000000000002112047207726010561 0ustar giftrans usr/bin debian/rules0000775000000000000000000000044312047207726010260 0ustar #!/usr/bin/make -f CFLAGS=-g -Wall -pedantic-errors -Wfatal-errors -Wwrite-strings \ -fno-merge-constants -fstrict-aliasing ifeq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) CFLAGS += -O2 else CFLAGS += -O0 endif %: dh $@ override_dh_auto_build: $(CC) $(CFLAGS) -ogiftrans giftrans.c debian/changelog0000664000000000000000000001632612053603665011060 0ustar giftrans (1.12.2-17ubuntu1) raring; urgency=low * Merge from Debian unstable. Remaining changes: - debian/rules: Don't build with -Werror. Fix FTBFS with GCC4.6. - Patch giftrans.c to get result from fwrite. Fixes FTBFS with warn_unused_result. -- Mahyuddin Susanto Fri, 23 Nov 2012 12:20:44 +0700 giftrans (1.12.2-17) unstable; urgency=low * Add additional credits to manpage. Thanks to M. Kolar . * Update Vcs-{Browser,Git}. * Bump Standards-Version to 3.9.2. -- Chris Lamb Wed, 07 Nov 2012 03:09:19 +0000 giftrans (1.12.2-16ubuntu2) oneiric; urgency=low * debian/rules: Don't build with -Werror. Fix FTBFS with GCC4.6 (LP: #831110). -- Mahyuddin Susanto Thu, 15 Sep 2011 22:15:06 +0700 giftrans (1.12.2-16ubuntu1) maverick; urgency=low * Merge from debian unstable, remaining changes: - Patch giftrans.c to get result from fwrite. Fixes FTBFS with warn_unused_result. -- Lorenzo De Liso Sat, 31 Jul 2010 12:54:16 +0200 giftrans (1.12.2-16) unstable; urgency=low * New maintainer email address. * Bump Standards-Version to 3.9.1. * New git repo locations. * Move to "3.0 (quilt)" source package format. * Move to minimal dh7 debian/rules. * Expand long description a little. * Add missing comments to patches. -- Chris Lamb Wed, 28 Jul 2010 15:21:55 -0400 giftrans (1.12.2-15ubuntu1) intrepid; urgency=low * Merge from debian unstable, remaining changes: - Patch giftrans.c to get result from fwrite. Fixes FTBFS with warn_unused_result. -- Emanuele Gentili Sun, 03 Aug 2008 17:07:49 +0200 giftrans (1.12.2-15) unstable; urgency=medium * Remove -ftrapv from CFLAGS. It was added in the previous upload as a purely cautionary measure and is causing GCC to segfault on alpha. The associated GCC bug is #490244. * Remove outdated debian/prerm that handles /usr/doc/giftrans. * Remove xfree86-common from Depends. * Add debian/watch file. -- Chris Lamb Fri, 18 Jul 2008 02:22:02 +0100 giftrans (1.12.2-14ubuntu1) intrepid; urgency=low * Sync with Debian unstable (LP: #241270), additional changes required. * Patch giftrans.c to get result from fwrite. Fixes FTBFS with warn_unused_result. * Modify Maintainer value to match the DebianMaintainerField specification. -- Iain Lane Tue, 24 Jun 2008 14:21:54 +0100 giftrans (1.12.2-14) unstable; urgency=medium * New maintainer (Closes: #485058). * Rework packaging to use debhelper and quilt - Fixes bashism in debian/rules (Closes: #478385) - Stricter warnings when compiling * Move debian/copyright to the machine-parsable format * debian/control: - Add debhelper and quilt to Build-Depends - Add ${misc:Depends} to binary package Depends - Bump Standards-Version to 3.8.0 - Add Vcs-{Git,Browser} fields -- Chris Lamb Sun, 08 Jun 2008 04:08:16 +0100 giftrans (1.12.2-13ubuntu2) hardy; urgency=low * Replace xrgb with x11-common again, since xrgb is being removed from the archive, and x11-common ships rgb.txt. -- Timo Aaltonen Tue, 20 Nov 2007 10:37:38 +0200 giftrans (1.12.2-13ubuntu1) gutsy; urgency=low * Merge from Debian unstable, remaining changes: - Replace x11-common with xrgb (/etc/X11/rgb.txt is in the ubuntu package xrgb instead of x11-common). - Update maintainer field in debian/control. -- Michele Angrisano Mon, 13 Aug 2007 19:25:06 +0200 giftrans (1.12.2-13) unstable; urgency=low * Cope with DEB_BUILD_OPTIONS=nostrip. Closes: #436984 * Remove postinst - /usr/doc is gone * Update Standards-Version -- Steve McIntyre <93sam@debian.org> Sun, 12 Aug 2007 22:58:58 +0100 giftrans (1.12.2-12ubuntu1) edgy; urgency=low * Merge newer debian version, only change left: - replace x11-common with xrgb (/etc/X11/rgb.txt is in the ubuntu package xrgb instead of x11-common) -- Stefan Potyra Fri, 30 Jun 2006 03:38:18 +0200 giftrans (1.12.2-12) unstable; urgency=low * Update Depends: to cope with new xorg-provided x11-common. Closes: #362905 * Updated to latest Standards-Version and fixed several lintian warnings. -- Steve McIntyre <93sam@debian.org> Wed, 26 Apr 2006 23:58:58 +0100 giftrans (1.12.2-11) unstable; urgency=low * Add a warning to the manpage about needing to escape # characters when specifying colours. Closes: #270499. * Updated to latest Standards-Version and fixed several lintian warnings. -- Steve McIntyre <93sam@debian.org> Sun, 12 Dec 2004 02:50:05 +0000 giftrans (1.12.2-10) unstable; urgency=low * Fix handling of gif files with local colour tables. Thanks to John Lightsey for the patch! Closes: 20715 * Updated to latest Standards-Version and fixed several lintian warnings. -- Steve McIntyre <93sam@debian.org> Tue, 22 Jul 2003 00:09:05 +0100 giftrans (1.12.2-9) unstable; urgency=low * Now depends on xfree86-common for rgb.txt instead of xserver-common. Closes: #129852 -- Steve McIntyre <93sam@debian.org> Fri, 18 Jan 2002 19:46:03 -0000 giftrans (1.12.2-8) unstable; urgency=low * Updated Standards-Version. * Fixed lintian warnings. * New Maintainer address. -- Steve McIntyre <93sam@debian.org> Sun, 13 Jan 2002 01:46:03 -0000 giftrans (1.12.2-7) unstable; urgency=low * Now depends on xserver-common for rgb.txt. Fixes: Bug#76197 * Now copes with comments in rgb.txt. Thanks to Dave Carrigan for the patch. Fixes: Bug#76951 -- Steve McIntyre Tue, 16 May 2000 02:03:40 +0100 giftrans (1.12.2-6) unstable; urgency=low * Removed backup (*~) files - reduces diff size. Closes Bug#62601. * Fixed several warnings from lintian * FIxed two compilation warnings. -- Steve McIntyre Tue, 16 May 2000 02:03:40 +0100 giftrans (1.12.2-5) frozen unstable; urgency=low * Fixed shlibdeps problem. Fixes Bug #52324. * Updated Standards-Version. -- Steve McIntyre Sun, 13 Feb 2000 16:03:40 +0000 giftrans (1.12.2-4) unstable; urgency=low * New (old) maintainer. See Bug#24341 for details. -- Steve McIntyre Sat, 11 Jul 1998 13:23:23 +0100 giftrans (1.12.2-3) unstable; urgency=low * Re-build, since previous uploads seem to have disappeared. No changes to source except this changelog entry. -- Lars Wirzenius Wed, 8 Jul 1998 18:24:23 +0300 giftrans (1.12.2-2) unstable; urgency=low * Moved from /usr/X11R6 to /usr (I'd copied the script from a package with X programs...). * Compiled using glibc2. -- Lars Wirzenius Mon, 20 Oct 1997 05:19:23 +0300 giftrans (1.12.2-1) unstable; urgency=low * Converted to new Debian packaging format, using new upstream version and Erick Branderhorst's (branderhorst@heel.fgg.eur.nl) old version. * Moved from section non-free to unstable/graphics, because it is GPL'd, and does not do any compression, so there is no need for it not to be in the main part of the distribution. -- Lars Wirzenius Fri, 4 Jul 1997 22:10:05 +0300 debian/dirs0000664000000000000000000000001012047207726010052 0ustar usr/bin debian/copyright0000664000000000000000000000326712047207726011142 0ustar Author: Andreas Ley Download: ftp://ftp.rz.uni-karlsruhe.de/pub/net/www/tools/giftrans/ Files: * Copyright: (C) 1994 Andreas Ley License: GPL-2+ This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. . This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this program. If not, see . Files: debian/* Copyright: (C) 2008 Chris Lamb License: GPL-2+ This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. . This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this program. If not, see . On Debian systems, the complete text of the GNU General Public License can be found in the /usr/share/common-licenses/GPL-2 file. The GIF file format was designed by Compuserve. debian/manpages0000664000000000000000000000001312047207726010707 0ustar giftrans.1 debian/patches/0000775000000000000000000000000012047207726010626 5ustar debian/patches/20_manpage_escape_warning.diff0000664000000000000000000000157612047207726016447 0ustar giftrans (1.12.2-11) unstable; urgency=low * Add a warning to the manpage about needing to escape # characters when specifying colours. Closes: #270499. [...] -- Steve McIntyre <93sam@debian.org> Sun, 12 Dec 2004 02:50:05 +0000 --- giftrans-1.12.2.orig/giftrans.1 +++ giftrans-1.12.2/giftrans.1 @@ -6,7 +6,7 @@ .fi .in -.5i .. -.TH GIFTRANS l local +.TH GIFTRANS 1 .SH NAME .PP giftrans \- transform gif from gif87 to gif89, making one color transparent @@ -51,7 +51,9 @@ .IP -e Redirect stderr to a file .PP -Colors may be specified as index, as rgb.txt entry or in the #rrggbb form. +Colors may be specified as index, as rgb.txt entry or in the #rrggbb +form. Of course, beware that shells will often consider the # +character to start a comment and so you may have to escape it! .SH EXAMPLE .PP To convert the white background of a gif file to transparent, use debian/patches/12_initialise_gct_size.diff0000664000000000000000000000061212047207726016002 0ustar Initialise gct_size with a default value, to prevent a build failure with -O2. --- giftrans-1.12.2.orig/giftrans.c +++ giftrans-1.12.2/giftrans.c @@ -383,7 +383,7 @@ FILE *dest; { unsigned char buffer[3*256],lsd[7],gct[3*256],gce[5]; - unsigned int cnt,cols,size,gct_size,gct_delay,gce_present; + unsigned int cnt,cols,size,gct_size=0,gct_delay,gce_present; struct entry *rgbptr; debian/patches/series0000664000000000000000000000042012047207726012037 0ustar 01_relocate_rgb.diff 10_local_colour_tables.diff 11_ignore_comments.diff 12_initialise_gct_size.diff 13_check_file_access_result.diff 20_manpage_escape_warning.diff 21_manpage_hyphens.diff 22_manpage_remove_distribution_section.diff 23_manpage_additional_credentials.diff debian/patches/11_ignore_comments.diff0000664000000000000000000000110512047207726015146 0ustar Ignore comments in rgb.txt. re #76951 --- giftrans-1.12.2.orig/giftrans.c +++ giftrans-1.12.2/giftrans.c @@ -811,10 +813,12 @@ image=argv[0]; root=NULL; - if (*rgb) + if (*rgb) { if ((src=fopen(rgb,"r"))!=NULL) { next= &root; while (fgets(line,sizeof(line),src)) { + if (line[0] == '!') + continue; *next=(struct entry *)malloc(sizeof(struct entry)); for (ptr=line;strchr(" \t",*ptr);ptr++); for (nptr=ptr;!strchr(" \t",*ptr);ptr++); @@ -847,7 +851,7 @@ *rgb='\0'; #endif } - + } bc.index=NONE; tc.index=NONE; tn.index=NONE; debian/patches/01_relocate_rgb.diff0000664000000000000000000000047612047207726014417 0ustar On Debian systems, rgb.txt is sotred in /etc/X11. --- giftrans-1.12.2.orig/giftrans.c +++ giftrans-1.12.2/giftrans.c @@ -169,7 +169,7 @@ #ifndef RGBTXT #ifdef X11 -#define RGBTXT "/usr/lib/X11/rgb.txt" +#define RGBTXT "/etc/X11/rgb.txt" #else /* X11 */ #ifdef OPENWIN #define RGBTXT "/usr/openwin/lib/rgb.txt" debian/patches/10_local_colour_tables.diff0000664000000000000000000000110612047207726015765 0ustar (Re. Debian Bug #20715) This bug is caused by the local color table in the image not being parsed. The patch below fixes giftrans for images with local color tables. John Lightsey john@nixnuts.net --- giftrans-1.12.2.orig/giftrans.c +++ giftrans-1.12.2/giftrans.c @@ -547,8 +547,8 @@ if (output) (void)fwrite((void *)buffer,10,1,dest); /* Local Color Table */ - if (buffer[8]&0x80) { - size=2<<(buffer[8]&0x7); + if (buffer[9]&0x80) { + size=2<<(buffer[9]&0x7); pos=ftell(src); (void)fread((void *)buffer,size,3,src); if (verbose) { debian/patches/13_check_file_access_result.diff0000664000000000000000000002347511425000470016753 0ustar Index: giftrans-1.12.2/giftrans.c =================================================================== --- giftrans-1.12.2.orig/giftrans.c 2008-06-19 12:12:08.152671697 +0100 +++ giftrans-1.12.2/giftrans.c 2008-06-19 12:16:13.844171848 +0100 @@ -270,16 +270,17 @@ size_t len; { unsigned char size; + size_t nbytes; while (len) { size=len<256?len:255; - (void)fwrite((void *)&size,1,1,dest); - (void)fwrite((void *)data,(size_t)size,1,dest); + nbytes = fwrite((void *)&size,1,1,dest); + nbytes = fwrite((void *)data,(size_t)size,1,dest); data+=size; len-=size; } size=0; - (void)fwrite((void *)&size,1,1,dest); + nbytes = fwrite((void *)&size,1,1,dest); } @@ -287,15 +288,16 @@ FILE *src; { unsigned char size,buffer[256]; + size_t nbytes; do { pos=ftell(src); - (void)fread((void *)&size,1,1,src); + nbytes = fread((void *)&size,1,1,src); if (debug) dump(pos,&size,1); if (debug) { pos=ftell(src); - (void)fread((void *)buffer,(size_t)size,1,src); + nbytes = fread((void *)buffer,(size_t)size,1,src); dump(pos,buffer,(size_t)size); } else @@ -309,19 +311,20 @@ FILE *dest; { unsigned char size,buffer[256]; + size_t nbytes; pos=ftell(src); - (void)fread((void *)&size,1,1,src); + nbytes = fread((void *)&size,1,1,src); if (debug) dump(pos,&size,1); if (output) - (void)fwrite((void *)&size,1,1,dest); + nbytes = fwrite((void *)&size,1,1,dest); pos=ftell(src); - (void)fread((void *)buffer,(size_t)size,1,src); + nbytes = fread((void *)buffer,(size_t)size,1,src); if (debug) dump(pos,buffer,(size_t)size); if (output) - (void)fwrite((void *)buffer,(size_t)size,1,dest); + nbytes = fwrite((void *)buffer,(size_t)size,1,dest); } @@ -329,13 +332,13 @@ FILE *src; { unsigned char size,buffer[256]; - size_t i; + size_t i,nbytes; pos=ftell(src); - (void)fread((void *)&size,1,1,src); + nbytes = fread((void *)&size,1,1,src); if (debug) dump(pos,&size,1); - (void)fread((void *)buffer,(size_t)size,1,src); + nbytes = fread((void *)buffer,(size_t)size,1,src); if (debug) dump(pos+1,buffer,(size_t)size); for (i=0; i<(size_t)size; i++) @@ -360,20 +363,21 @@ FILE *dest; { unsigned char size,buffer[256]; + size_t nbytes; do { pos=ftell(src); - (void)fread((void *)&size,1,1,src); + nbytes = fread((void *)&size,1,1,src); if (debug) dump(pos,&size,1); if (output) - (void)fwrite((void *)&size,1,1,dest); + nbytes = fwrite((void *)&size,1,1,dest); pos=ftell(src); - (void)fread((void *)buffer,(size_t)size,1,src); + nbytes = fread((void *)buffer,(size_t)size,1,src); if (debug) dump(pos,buffer,(size_t)size); if (output) - (void)fwrite((void *)buffer,(size_t)size,1,dest); + nbytes = fwrite((void *)buffer,(size_t)size,1,dest); } while (!feof(src)&&size>0); } @@ -385,11 +389,11 @@ unsigned char buffer[3*256],lsd[7],gct[3*256],gce[5]; unsigned int cnt,cols,size,gct_size=0,gct_delay,gce_present; struct entry *rgbptr; - + size_t nbytes; /* Header */ pos=ftell(src); - (void)fread((void *)buffer,6,1,src); + nbytes = fread((void *)buffer,6,1,src); if (strncmp((char *)buffer,"GIF",3)) { (void)fprintf(stderr,"No GIF file!\n"); return(1); @@ -403,12 +407,12 @@ if (output) { if (!strncmp((char *)buffer,"GIF87a",6)) buffer[4]='9'; - (void)fwrite((void *)buffer,6,1,dest); + nbytes = fwrite((void *)buffer,6,1,dest); } /* Logical Screen Descriptor */ pos=ftell(src); - (void)fread((void *)lsd,7,1,src); + nbytes = fread((void *)lsd,7,1,src); if (verbose) { (void)fprintf(stderr,"Logical Screen Descriptor:\n"); (void)fprintf(stderr,"\tLogical Screen Width: %d pixels\n",readword(lsd)); @@ -431,7 +435,7 @@ if (lsd[4]&0x80) { gct_size=2<<(lsd[4]&0x7); pos=ftell(src); - (void)fread((void *)gct,gct_size,3,src); + nbytes = fread((void *)gct,gct_size,3,src); if (go.index==RGB) for(cnt=0;cnt=0||gce_present) { if (!gce_present) { @@ -515,18 +519,18 @@ gct[3*tc.index+2]=tn.blue; } if (output&&gct_delay) { - (void)fwrite((void *)gct,gct_size,3,dest); + nbytes = fwrite((void *)gct,gct_size,3,dest); gct_delay=FALSE; } if (output) { (void)fputs("\041\371\004",dest); - (void)fwrite((void *)gce,5,1,dest); + nbytes = fwrite((void *)gce,5,1,dest); } } if (output&&gct_delay) { if (verbose) (void)fprintf(stderr,"Warning: Global Color Table has not been modified as no Transparent Color Index has been set\n"); - (void)fwrite((void *)gct,gct_size,3,dest); + nbytes = fwrite((void *)gct,gct_size,3,dest); gct_delay=FALSE; } /* Write Image Descriptor */ @@ -545,12 +549,12 @@ if (debug) dump(pos,buffer,10); if (output) - (void)fwrite((void *)buffer,10,1,dest); + nbytes = fwrite((void *)buffer,10,1,dest); /* Local Color Table */ if (buffer[9]&0x80) { size=2<<(buffer[9]&0x7); pos=ftell(src); - (void)fread((void *)buffer,size,3,src); + nbytes = fread((void *)buffer,size,3,src); if (verbose) { (void)fprintf(stderr,"Local Color Table:\n"); for(cnt=0;cnt>2); switch (gce[0]&0x1c>>2) { @@ -646,7 +650,7 @@ dump(pos+3,gce,size); } pos=ftell(src); - (void)fread((void *)buffer,1,1,src); + nbytes = fread((void *)buffer,1,1,src); if (debug) dump(pos,buffer,1); gce_present=TRUE; @@ -665,11 +669,11 @@ if (output&&gct_delay) { if (verbose) (void)fprintf(stderr,"Warning: Global Color Table has not been modified due to a Comment Extension\n"); - (void)fwrite((void *)gct,gct_size,3,dest); + nbytes = fwrite((void *)gct,gct_size,3,dest); gct_delay=FALSE; } if (output) - (void)fwrite((void *)buffer,2,1,dest); + nbytes = fwrite((void *)buffer,2,1,dest); transdata(src,dest); } break; @@ -677,7 +681,7 @@ if (output&&gct_delay) { if (verbose) (void)fprintf(stderr,"Warning: Global Color Table has not been modified due to a Application Extension\n"); - (void)fwrite((void *)gct,gct_size,3,dest); + nbytes = fwrite((void *)gct,gct_size,3,dest); gct_delay=FALSE; } if (verbose) @@ -685,7 +689,7 @@ if (debug) dump(pos,buffer,2); if (output) - (void)fwrite((void *)buffer,2,1,dest); + nbytes = fwrite((void *)buffer,2,1,dest); transblock(src,dest); transdata(src,dest); break; @@ -693,7 +697,7 @@ if (output&&gct_delay) { if (verbose) (void)fprintf(stderr,"Warning: Global Color Table has not been modified due to an unknown Extension\n"); - (void)fwrite((void *)gct,gct_size,3,dest); + nbytes = fwrite((void *)gct,gct_size,3,dest); gct_delay=FALSE; } if (verbose) @@ -701,7 +705,7 @@ if (debug) dump(pos,buffer,2); if (output) - (void)fwrite((void *)buffer,2,1,dest); + nbytes = fwrite((void *)buffer,2,1,dest); transblock(src,dest); transdata(src,dest); break; debian/patches/22_manpage_remove_distribution_section.diff0000664000000000000000000000175312047207726021301 0ustar We remove the distribution information from the manpage as it is already covered in debian/copyright and the long URLs make groff cry. -- Chris Lamb Sun, 08 Jun 2008 04:59:02 +0100 --- giftrans/giftrans.1.orig +++ giftrans/giftrans.1 @@ -176,17 +176,6 @@ john@charles.CS.UNLV.EDU (John Kilburg) .IP enzo@hk.net (Enzo Michelangeli) -.SH DISTRIBUTION -.IP "Original distribution site is" -ftp://ftp.rz.uni-karlsruhe.de/pub/net/www/tools/giftrans/giftrans.c -.IP "To compile for MS-DOS, you need getopt:" -ftp://ftp.rz.uni-karlsruhe.de/pub/net/www/tools/giftrans/getopt.c -.IP "MS-DOS executable can be found at" -ftp://ftp.rz.uni-karlsruhe.de/pub/net/www/tools/giftrans/giftrans.exe -.IP "A template rgb.txt for use with the MS-DOS version can be found at" -ftp://ftp.rz.uni-karlsruhe.de/pub/net/www/tools/giftrans/rgb.txt -.IP "Additional info can be found on" -http://melmac.corp.harris.com/transparent_images.html .SH SEE ALSO .PP xv(1), giftoppm(1), ppmtogif(1) debian/patches/23_manpage_additional_credentials.diff0000664000000000000000000000235012046350342020131 0ustar --- giftrans-1.12.2/giftrans.1 +++ giftrans-1.12.2-updated/giftrans.1 @@ -88,6 +88,22 @@ copyright notice appears in all copies. This software is provided "as is" and without any express or implied warranties. .SH VERSION HISTORY +.IP "Version 1.12.2 - 11.4.96" +Changed to GNU copyright +.IP "Version 1.12.1 - 9.2.96" +Fix for multi-word color names. +.IP "Version 1.12 - 17.2.95" +Incorporated dumpcomment by omerzu@quantum.de (Thomas Omerzu) +.br +Outputs original version if newer than GIF89a. +.IP "Version 1.11.2 - 14.12.94" +Incorporated OS/2 port by k.rusch@ieee.org (Klaus Johannes Rusch) +.br +Different rgb.txt file for OS/2, setmode replaced by freopen for +.br +OS/2 (SAA C) +.IP "Version 1.11.1 - 11.8.94" +Allows for use of the -g option without the -B option. .IP "Version 1.11 - 21.7.94" Moved Plain Text Extension to the Extensions section where it belongs .br @@ -178,6 +194,16 @@ john@charles.CS.UNLV.EDU (John Kilburg) .IP enzo@hk.net (Enzo Michelangeli) +.IP +twv@hpwtwe0.cup.hp.com (Terry von Gease) +.IP +k.rusch@ieee.org (Klaus Johannes Rusch) +.IP +omerzu@quantum.de (Thomas Omerzu) +.IP +Willem.Vermin@sara.nl (Willem Vermin) +.IP +wjones@tc.fluke.COM (Warren Jones) .SH SEE ALSO .PP xv(1), giftoppm(1), ppmtogif(1) debian/patches/21_manpage_hyphens.diff0000664000000000000000000000641012047207726015131 0ustar Correct usage of '-' in manpage. --- giftrans-1.12.2.orig/giftrans.1.orig +++ giftrans-1.12.2/giftrans.1 @@ -59,26 +59,26 @@ To convert the white background of a gif file to transparent, use .sp .DS -giftrans -t #ffffff file.gif > transparentfile.gif +giftrans \-t #ffffff file.gif > transparentfile.gif .DE .SH BUGS .PP This program has been tested on a HP9000/720 with HP-UX A.08.07 -In this environment, neither lint -u nor gcc -Wall produce any messages. +In this environment, neither lint \-u nor gcc \-Wall produce any messages. If you encounter any errors or need to make any changes to port it to another platform, please contact me. .PP Known bugs: .IP --B flag won't work if there's an Extension between the Global Color -Table and the Image Descriptor (or Graphic Control Extension). If -V +\-B flag won't work if there's an Extension between the Global Color +Table and the Image Descriptor (or Graphic Control Extension). If \-V has been specified, a Warning Message will be displayed. Will be fixed in 2.0 .IP Always outputs GIF89a. Shouldn't do this if version is newer. .IP --D option may output changed data instead of original data, use -with caution, best only with then -L option. +\-D option may output changed data instead of original data, use +with caution, best only with then \-L option. .SH COPYRIGHT .PP Copyright (c) 24.2.94 by Andreas Ley @@ -95,30 +95,30 @@ .br Incorporated MS-DOS port by enzo@hk.net (Enzo Michelangeli) .br -Added -o and -e options to redirect stdout and stderr +Added \-o and \-e options to redirect stdout and stderr .br -Added -D debug flag -.IP "Version 1.10.2 - 22.6.94" -Support for -DRGBTXT flag -.IP "Version 1.10.1 - 21.6.94" +Added \-D debug flag +.IP "Version 1.10.2 \- 22.6.94" +Support for \-DRGBTXT flag +.IP "Version 1.10.1 \- 21.6.94" Different rgb.txt file FreeBSD/386BSD -.IP "Version 1.10 - 19.6.94" +.IP "Version 1.10 \- 19.6.94" Added option to change a color in the global color table .br Added option to change the color for the transparent color index -.IP "Version 1.9.1 - 7.6.94" +.IP "Version 1.9.1 \- 7.6.94" Different rgb.txt files for X11 and Open Windows -.IP "Version 1.9 - 1.6.94" +.IP "Version 1.9 \- 1.6.94" Fixed a bug which caused color names to be rejected. -.IP "Version 1.8 - 30.5.94" +.IP "Version 1.8 \- 30.5.94" Accept #rrggbb style arguments. .br Do nothing if rgb-color not found in GIF. -.IP "Version 1.7 - 16.5.94" -Added -l option to only list the color table. +.IP "Version 1.7 \- 16.5.94" +Added \-l option to only list the color table. .br -Added -L option for verbose output without creating a gif. -Added -b option to change the background color index. +Added \-L option for verbose output without creating a gif. +Added \-b option to change the background color index. .br Display all matching color names for color table entries. .br @@ -128,11 +128,11 @@ Doesn't use strdup anymore. .br Fixed =& bug on dec machines. -.IP "Version 1.6 - 5.4.94" +.IP "Version 1.6 \- 5.4.94" Added color names recognition. -.IP "Version 1.5 - 15.3.94" +.IP "Version 1.5 \- 15.3.94" Added basic verbose output to analyze GIFs. -.IP "Version 1.4 - 8.3.94" +.IP "Version 1.4 \- 8.3.94" Fixed off-by-one bug in Local Color table code. .br Added option to add or remove a comment. debian/compat0000664000000000000000000000000212047207726010375 0ustar 5 debian/watch0000664000000000000000000000023412047207726010227 0ustar # Upstream does not release tarballs: the latest code is simply uploaded to an # FTP directory. The version number is contained within the giftrans.c file.