changed program name to "t2p"

Wed, 30 Jan 2002 08:55:53 +0000

author
eric
date
Wed, 30 Jan 2002 08:55:53 +0000
changeset 44
0f78374addae
parent 43
b80cb5a4282a
child 45
23ef95d6ff07

changed program name to "t2p"

Makefile file | annotate | diff | revisions
semantics.c file | annotate | diff | revisions
t2p.c file | annotate | diff | revisions
tumble.c file | annotate | diff | revisions
     1.1 diff -r b80cb5a4282a -r 0f78374addae Makefile
     1.2 --- a/Makefile	Tue Jan 22 09:42:42 2002 +0000
     1.3 +++ b/Makefile	Wed Jan 30 08:55:53 2002 +0000
     1.4 @@ -1,6 +1,6 @@
     1.5 -# tiff2pdf: build a PDF file out of one or more TIFF Class F Group 4 files
     1.6 +# t2p: build a PDF file out of one or more TIFF Class F Group 4 files
     1.7  # Makefile
     1.8 -# $Id: Makefile,v 1.8 2002/01/22 01:41:12 eric Exp $
     1.9 +# $Id: Makefile,v 1.9 2002/01/30 00:55:53 eric Exp $
    1.10  # Copyright 2001 Eric Smith <eric@brouhaha.com>
    1.11  #
    1.12  # This program is free software; you can redistribute it and/or modify
    1.13 @@ -24,23 +24,27 @@
    1.14  YACC = bison
    1.15  YFLAGS = -d -v
    1.16  
    1.17 -SRCS = bitblt.c bitblt_test.c tiff2pdf.c semantics.c
    1.18 -HDRS = type.h bitblt.h tiff2pdf.h semantics.h
    1.19 +SRCS = bitblt.c bitblt_test.c t2p.c semantics.c
    1.20 +HDRS = type.h bitblt.h t2p.h semantics.h
    1.21  MISC = Makefile scanner.l parser.y
    1.22  
    1.23 -TARGETS = tiff2pdf bitblt_test
    1.24 +TARGETS = t2p bitblt_test
    1.25  
    1.26  AUTO_SRCS = scanner.c parser.tab.c
    1.27  AUTO_HDRS = parser.tab.h
    1.28  AUTO_MISC = parser.output
    1.29  
    1.30 -tiff2pdf: tiff2pdf.o scanner.o semantics.o parser.tab.o bitblt.o
    1.31 +t2p: t2p.o scanner.o semantics.o parser.tab.o bitblt.o
    1.32  
    1.33  bitblt_test: bitblt_test.o bitblt.o
    1.34  
    1.35  
    1.36  clean:
    1.37 -	rm -f *.o *.d $(TARGETS) $(AUTO_SRCS) $(AUTO_HDRS) $(AUTO_MISC) 
    1.38 +	rm -f *.o *.d $(TARGETS) $(AUTO_SRCS) $(AUTO_HDRS) $(AUTO_MISC)
    1.39 +
    1.40 +very_clean:
    1.41 +	rm -f *.o *.d $(TARGETS) $(AUTO_SRCS) $(AUTO_HDRS) $(AUTO_MISC) \
    1.42 +		*~ *.pdf
    1.43  
    1.44  wc:
    1.45  	wc -l $(SRCS) $(HDRS) $(MISC)
     2.1 diff -r b80cb5a4282a -r 0f78374addae semantics.c
     2.2 --- a/semantics.c	Tue Jan 22 09:42:42 2002 +0000
     2.3 +++ b/semantics.c	Wed Jan 30 08:55:53 2002 +0000
     2.4 @@ -5,7 +5,7 @@
     2.5  #include "type.h"
     2.6  #include "semantics.h"
     2.7  #include "parser.tab.h"
     2.8 -#include "tiff2pdf.h"
     2.9 +#include "t2p.h"
    2.10  
    2.11  
    2.12  typedef struct
     3.1 diff -r b80cb5a4282a -r 0f78374addae t2p.c
     3.2 --- a/t2p.c	Tue Jan 22 09:42:42 2002 +0000
     3.3 +++ b/t2p.c	Wed Jan 30 08:55:53 2002 +0000
     3.4 @@ -1,11 +1,10 @@
     3.5  /*
     3.6 - * tiff2pdf: Create a PDF file from the contents of one or more
     3.7 - *           TIFF bilevel image files.  The images in the resulting
     3.8 - *           PDF file will be compressed using ITU-T T.6 (G4) fax
     3.9 - *           encoding.
    3.10 + * t2p: Create a PDF file from the contents of one or more TIFF
    3.11 + *      bilevel image files.  The images in the resulting PDF file
    3.12 + *      will be compressed using ITU-T T.6 (G4) fax encoding.
    3.13   *
    3.14   * Main program
    3.15 - * $Id: t2p.c,v 1.15 2002/01/22 01:42:42 eric Exp $
    3.16 + * $Id: t2p.c,v 1.16 2002/01/30 00:55:34 eric Exp $
    3.17   * Copyright 2001 Eric Smith <eric@brouhaha.com>
    3.18   *
    3.19   * This program is free software; you can redistribute it and/or modify
    3.20 @@ -21,8 +20,7 @@
    3.21   *
    3.22   * You should have received a copy of the GNU General Public License
    3.23   * along with this program; if not, write to the Free Software
    3.24 - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111  USA
    3.25 - */
    3.26 + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111 USA */
    3.27  
    3.28  
    3.29  #include <stdio.h>
    3.30 @@ -36,7 +34,7 @@
    3.31  #include "bitblt.h"
    3.32  #include "semantics.h"
    3.33  #include "parser.tab.h"
    3.34 -#include "tiff2pdf.h"
    3.35 +#include "t2p.h"
    3.36  
    3.37  
    3.38  #define POINTS_PER_INCH 72
    3.39 @@ -255,7 +253,7 @@
    3.40    panda_page *page;
    3.41  
    3.42    int tiff_temp_fd;
    3.43 -  char tiff_temp_fn [] = "/var/tmp/tiff2pdf-XXXXXX\0";
    3.44 +  char tiff_temp_fn [] = "/var/tmp/t2p-XXXXXX\0";
    3.45    TIFF *tiff_temp;
    3.46    
    3.47    char pagesize [26];  /* Needs to hold two ints of four characters (0..3420),
     4.1 diff -r b80cb5a4282a -r 0f78374addae tumble.c
     4.2 --- a/tumble.c	Tue Jan 22 09:42:42 2002 +0000
     4.3 +++ b/tumble.c	Wed Jan 30 08:55:53 2002 +0000
     4.4 @@ -1,11 +1,10 @@
     4.5  /*
     4.6 - * tiff2pdf: Create a PDF file from the contents of one or more
     4.7 - *           TIFF bilevel image files.  The images in the resulting
     4.8 - *           PDF file will be compressed using ITU-T T.6 (G4) fax
     4.9 - *           encoding.
    4.10 + * t2p: Create a PDF file from the contents of one or more TIFF
    4.11 + *      bilevel image files.  The images in the resulting PDF file
    4.12 + *      will be compressed using ITU-T T.6 (G4) fax encoding.
    4.13   *
    4.14   * Main program
    4.15 - * $Id: tumble.c,v 1.15 2002/01/22 01:42:42 eric Exp $
    4.16 + * $Id: tumble.c,v 1.16 2002/01/30 00:55:34 eric Exp $
    4.17   * Copyright 2001 Eric Smith <eric@brouhaha.com>
    4.18   *
    4.19   * This program is free software; you can redistribute it and/or modify
    4.20 @@ -21,8 +20,7 @@
    4.21   *
    4.22   * You should have received a copy of the GNU General Public License
    4.23   * along with this program; if not, write to the Free Software
    4.24 - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111  USA
    4.25 - */
    4.26 + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111 USA */
    4.27  
    4.28  
    4.29  #include <stdio.h>
    4.30 @@ -36,7 +34,7 @@
    4.31  #include "bitblt.h"
    4.32  #include "semantics.h"
    4.33  #include "parser.tab.h"
    4.34 -#include "tiff2pdf.h"
    4.35 +#include "t2p.h"
    4.36  
    4.37  
    4.38  #define POINTS_PER_INCH 72
    4.39 @@ -255,7 +253,7 @@
    4.40    panda_page *page;
    4.41  
    4.42    int tiff_temp_fd;
    4.43 -  char tiff_temp_fn [] = "/var/tmp/tiff2pdf-XXXXXX\0";
    4.44 +  char tiff_temp_fn [] = "/var/tmp/t2p-XXXXXX\0";
    4.45    TIFF *tiff_temp;
    4.46    
    4.47    char pagesize [26];  /* Needs to hold two ints of four characters (0..3420),