From 014f0e14a3c6a044d99a67c8f4e1c4065452479e Mon Sep 17 00:00:00 2001 From: Didier Raboud Date: Sun, 23 May 2010 00:05:04 +0200 Subject: Imported Upstream version 4.0-20090301 --- AUTHORS | 0 ChangeLog | 314 ++ INSTALL | 236 ++ Makefile.am | 159 + Makefile.in | 652 ++- NEWS | 0 README | 297 +- STANDARD_installation | 4 +- TODO | 2 - USAGE | 159 +- VERSION | 1 + VERSION.full | 1 + acinclude.m4 | 4 +- aclocal.m4 | 837 ++++ beh.in | 4 +- config.h.in | 174 + configure | 8373 ++++++++++++++++++++++++++++++++----- configure.ac | 76 +- debian/README.Debian | 23 - debian/changelog | 304 -- debian/compat | 1 - debian/control | 31 - debian/copyright | 28 - debian/dirs | 6 - debian/docs | 3 - debian/foomatic-filters.config | 120 - debian/foomatic-filters.postinst | 115 - debian/foomatic-filters.postrm | 12 - debian/foomatic-filters.templates | 95 - debian/parseconfig.pl | 53 - debian/po/POTFILES.in | 1 - debian/po/de.po | 261 -- debian/po/fr.po | 269 -- debian/po/ja.po | 215 - debian/po/nl.po | 260 -- debian/po/pt_BR.po | 261 -- debian/po/templates.pot | 216 - debian/po/tr.po | 244 -- debian/rules | 113 - depcomp | 530 +++ fileconverter.c | 248 ++ fileconverter.h | 13 + foomatic-gswrapper.1.in | 31 - foomatic-gswrapper.in | 98 - foomatic-rip.1.in | 2 +- foomatic-rip.in | 6617 ----------------------------- foomaticrip.c | 1570 +++++++ foomaticrip.h | 115 + make_configure | 14 +- missing | 360 ++ options.c | 2073 +++++++++ options.h | 160 + pdf.c | 359 ++ pdf.h | 8 + postscript.c | 1288 ++++++ postscript.h | 8 + process.c | 200 + process.h | 26 + renderer.c | 450 ++ renderer.h | 9 + spooler.c | 465 ++ spooler.h | 15 + test/foomatic-test-input-ps.ps | 54 + test/foomatic-test-renderer | 53 + test/foomatic-test.ppd | 419 ++ test/lsbfuncs.sh | 387 ++ test/shfuncs.sh | 187 + test/tcm.sh | 571 +++ test/testfoomaticrip | 564 +++ test/tetapi.sh | 313 ++ util.c | 1042 +++++ util.h | 177 + 72 files changed, 21528 insertions(+), 10822 deletions(-) create mode 100644 AUTHORS create mode 100644 INSTALL create mode 100644 Makefile.am create mode 100644 NEWS create mode 100644 VERSION create mode 100644 VERSION.full create mode 100644 config.h.in delete mode 100644 debian/README.Debian delete mode 100644 debian/changelog delete mode 100644 debian/compat delete mode 100644 debian/control delete mode 100644 debian/copyright delete mode 100644 debian/dirs delete mode 100644 debian/docs delete mode 100644 debian/foomatic-filters.config delete mode 100644 debian/foomatic-filters.postinst delete mode 100644 debian/foomatic-filters.postrm delete mode 100644 debian/foomatic-filters.templates delete mode 100644 debian/parseconfig.pl delete mode 100644 debian/po/POTFILES.in delete mode 100644 debian/po/de.po delete mode 100644 debian/po/fr.po delete mode 100644 debian/po/ja.po delete mode 100644 debian/po/nl.po delete mode 100644 debian/po/pt_BR.po delete mode 100644 debian/po/templates.pot delete mode 100644 debian/po/tr.po delete mode 100644 debian/rules create mode 100755 depcomp create mode 100644 fileconverter.c create mode 100644 fileconverter.h delete mode 100644 foomatic-gswrapper.1.in delete mode 100644 foomatic-gswrapper.in delete mode 100644 foomatic-rip.in create mode 100644 foomaticrip.c create mode 100644 foomaticrip.h create mode 100755 missing create mode 100644 options.c create mode 100644 options.h create mode 100644 pdf.c create mode 100644 pdf.h create mode 100644 postscript.c create mode 100644 postscript.h create mode 100644 process.c create mode 100644 process.h create mode 100644 renderer.c create mode 100644 renderer.h create mode 100644 spooler.c create mode 100644 spooler.h create mode 100644 test/foomatic-test-input-ps.ps create mode 100755 test/foomatic-test-renderer create mode 100644 test/foomatic-test.ppd create mode 100755 test/lsbfuncs.sh create mode 100755 test/shfuncs.sh create mode 100755 test/tcm.sh create mode 100755 test/testfoomaticrip create mode 100755 test/tetapi.sh create mode 100644 util.c create mode 100644 util.h diff --git a/AUTHORS b/AUTHORS new file mode 100644 index 0000000..e69de29 diff --git a/ChangeLog b/ChangeLog index bc4063f..e565b2d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,317 @@ +2009-02-11 Lars Uebernickel + * foomaticrip.c: The value of the "execpath" variable in the config + file was not used fully: Only the characters leading up to the first + ':' were copied into the programs $PATH environment variable. + +2009-02-11 Lars Uebernickel + * renderer.c: Fixed several bugs in the argument replacements in + massage_gs_commandline. + * foomaticrip.c: Use "gspath" and "echopath" from the config file. + +2009-02-09 Lars Uebernickel + + * fileconverter.h, foomaticrip.c, renderer.c, util.c: Made + foomatic-rip building under Mac OS X, mainly by replacing + functions which are GNU-only. + +2009-02-02 Till Kamppeter + + * renderer.c: When foomatic-rip looked for JCL options in the + binary output of the driver to merge them with JCL options from + the PPD file, it read binary data into a C string, which causes + problems when this data contains zeroes. Finally fixes Ubuntu bug + LP: #303691. + +2009-01-29 Till Kamppeter + + * renderer.c: If there were very many JCL lines in the driver's + output or coming together by JCL options, the JCL merging + process (kid4) segfaulted (Ubuntu bug LP: #321164, + https://launchpad.net/bugs/321164). + +2009-01-14 Till Kamppeter + + * Tagged branch for release 4.0.0. + +2009-01-13 Till Kamppeter + + * options.c: Custom JCL options were not inserted correctly + (thanks to Bin Li from Ricoh for reporting this). Fixed also + that "None" as argument for a string or password option is + considered as the empty string. + + * options.c: String and password option settings got inserted into + the command line or the PostScript code with the "Custom." + prefix (thanks to Bin Li from Ricoh for reporting this). Fixed + also a segmentation fault due to missing initialization of + components of the param_t data structure by the + option_add_custom_param_from_string() function. Removed also + some unneeded free() calls. + +2009-01-12 Till Kamppeter + + * acinclude.m4: Eliminated warnings when generating ./configure + +2009-01-08 Till Kamppeter + + * README, USAGE: Version 4.0.0. + + * STANDARD_installation: Tell also that "sudo make install" works + to run "make install" as root. + + * Makefile.am: Fixed cleaning rules. Many transient files did not + get removed. + Fixed "make inplace" and uninstalling rules. + +2009-01-03 Till Kamppeter + + * postscript.c: Do the workaround for PostScript input of + OpenOffice 1.1.x also for StarOffice 8 (Thanks to Martin Jacobs, + martin dot jacobs at arcor dot de, for the patch). + +2008-12-10 Till Kamppeter + + * foomaticrip.c, foomaticrip.h, options.c: The PostScript code of + PostScript options did not get inserted when the spooler is CUPS + and foomatic-rip had to convert incoming PDF to PostScript + (Ubuntu bug #299918). + +2008-12-05 Till Kamppeter + + * README: Updated for Foomatic 4.x + + * test/*: Added test suite based on the LSB tests for foomatic-rip + + * README, USAGE, foomatic-rip.1.in, foomaticrip.c, options.c, pdf.c. + spooler.c: s/GhostScript/Ghostscript/ + +2008-11-30 Till Kamppeter + + * postscript.c: Insert the "%%PageSetup" section directly after + the DSC comment header of the page, all page drawing commands + must be after the section. + + * postscript.c: Inserted PostScript option settings from pstops + were not corrected with custom option settings done on the + command line (numerical, string, password). + + * options.c: Small fix for better readability. + + * renderer.c: If there was only one PJL option in the PPD no PJL got + added at all (Ubuntu bug #303691). + + * renderer.c: Fixed several bugs in the merging of PJL options. + In some cases equal keywords were not found in the two JCL + option sets or keywords only differing by the last character + were considered equal. Also a command in the first line of the + driver's PJL header got dropped. + +2008-11-26 Lars Uebernickel + * options.c: When a numeric value is out of range, use the default + value instead of the closest valid value (i.e. min or max). Do not + truncate string options which are longer than allowed, use the + default instead. Apply AllowedChars and AllowedRegExp also to + Password options. + + Small bug fix: The generated regular expression for AllowedChars was + missing the final '$' and therefore didn't match all cases + correctly. + + Bug fix: Merge JCL options correctly + +2008-11-21 Lars Uebernickel + * options.c: Fixed bug: Setting the page range of an option to + multiple ranges (seperated by comma), foomatic-rip was caught in an + infinte loop. + + * options.c: Fixed bug: Page ranges were not applied for command line + options when processing PostScript files (the renderer wasn't + restarted as it should have been). + +2008-11-13 Lars Uebernickel + * options.c: Don't prepend @PJL to JCL options if they already start + with @PJL. Unhexify JCL commands. + + * options.c: Handle CustomJCL