2007-01-06 Till Kamppeter * README, USAGE, README.build-foomatic-filters-ppds, foomatic-addpjloptions.8.in, foomatic-combo-xml.1.in, foomatic-compiledb.1.in, Foomatic-Devel-Ideas.txt, foomatic-filters-ppds-README, foomatic-kitload.8.in, foomatic-ppdfile.1.in, lib/Foomatic/DB.pm, debian/control, debian/copyright, debian/foomatic-bin.README.Debian, debian/README.Debian: Updated texts and links to have "http://www.openprinting.org/" and "FSG OpenPrinting". 2007-01-04 Till Kamppeter * foomatic-ppdfile.1.in: Corrected mark-up in the man page for foomatic-ppdfile (Thanks to Eric Raymond for his man page verification bot). 2006-11-09 Till Kamppeter * foomatic-combo-xml.c, foomatic-ppdfile.in, lib/Foomatic/DB.pm: Let the listing of auto-generatable PPD files for CUPS 1.2 ("foomatic-ppdfile list") not contain entries for combos of printers with driver entries with a ready-made PPD file, as these PPD files are usually listed by CUPS directly. 2006-09-25 Till Kamppeter * Makefile.in: Added forgotten DESTDIR (upstream merge from Debian patch). * foomatic-combo-xml.c: Several small stability fixes in the C code (upstream merge from Debian patch). * foomatic-configure.in: If there is a user named "cupsys", switch the ownership of the PPD files to "cupsys", this way Ubuntu does not break on running CUPS as non-root. This does not affect other distributions (upstream merge from Debian patch). * foomatic-printjob.in: Added help for the printer-specific options (upstream merge from Debian patch). * foomatic-getpjloptions.8.in: Typo fix (upstream merge from Debian patch). * foomatic-printjob.1.in: Text fixes, new help on printer options mentioned (upstream merge from Debian patch). 2006-09-22 Till Kamppeter * foomatic-combo-xml.c, foomatic-ppdfile.in, lib/Foomatic/DB.pm: Let the listing of auto-generatable PPD files for CUPS 1.2 ("foomatic-ppdfile list") not contain entries for combos of printers with driver entries which do not have a command line prototype (these indicate only that the printer/driver combo works, but do not produce PPD files). Allow defining valid printer/driver combos also by only defining the driver in the "" section of the printer entry. So for a printer with ready-made PPD it is enough to add a driver entry with link to the PPD in its "" section so that "foomatic-ppdfile" lists and returns the PPD. 2006-07-20 Till Kamppeter * lib/Foomatic/DB.pm: For get_javascript2() building the printer menu based on pre-read data now also printer IDs can be supplied instead of deriving the IDs from the model names. 2006-07-16 Till Kamppeter * Makefile.in: Fixed missing dependency at "man:" target in the Makefile (Gentoo bug #138635) 2006-07-11 Till Kamppeter * lib/Foomatic/DB.pm: Fixed bug in the decoding of UI strings in the PPDs, only hex-encoded characters were decoded correctly (Thanks to Florian Festi from Red Hat for this patch). 2006-07-10 Till Kamppeter * foomatic-extract-text.in: Generate .po files from the UI strings in the currently installed Foomatic database (Thanks to Florian Festi from Red Hat for this script). * lib/Foomatic/DB.pm: When reading PPD files extract the UI strings always in UTF-8, taking into account the encoding of the PPD file (Thanks to Florian Festi from Red Hat for this patch). * *: Way to many files were marked executable. Fixed. 2006-06-27 Till Kamppeter * lib/Foomatic/DB.pm: get_javascript2() can now also build the script based on pre-read printer data. This avoids duplicate reading of the Foomatic database and allows adding of extra printers which are not in the Foomatic XML database (for example new user-supplied entries). 2006-05-23 Till Kamppeter * lib/Foomatic/DB.pm: Eliminated a warning. 2006-05-22 Till Kamppeter * configure.ac: Do never use CUPS commands "enable-cups", "disable-cups", "accept-cups", "reject-cups", even if executable files with these names are available. CUPS has only one executable for these tasks and recognizes by the executable/link name what to do. So it only accepts execution with one of the names "enable", "disable", "accept", "reject". * lib/Foomatic/DB.pm: When generating PPD files from Foomatic XML data and the option XML files contain "" tags with different values, the options get ordered by the "" values (within their group). This way manually defining the presentation order of the options gets possible. Fixed also a buglet in the setting of the default of numerical options. * foomatic-ppdfile.in: Removed "use strict;" due to an incompatibility with the "getopts()" Perl function. 2006-05-20 Till Kamppeter * lib/Foomatic/DB.pm: Improved group name parsing in the PPD files, now the group names of the Gutenprint CUPS raster PPDs are read out correctly. Do not sort the options any more when reading PPD files. 2006-05-19 Till Kamppeter * foomatic-ppdfile.in: Let PPD file generation with cups-driverd also work if the driver name contains dashes (as in Gutenprint), added "use strict;", let debug output and error messages have prefixes to be correctly categorized in the CUPS error_log. 2006-04-22 Till Kamppeter * foomatic-configure.in: Added support for reading additional items from the /etc/cups/printers.conf file: Print quotas, individual, printer sharing, error and operation policies. 2006-04-21 Till Kamppeter * lib/Foomatic/DB.pm: Eliminated some warnings * foomatic-configure.in: Added new URIs to URI overview in header comments, let beh wrapper backend also not be applied to HPLIP fax queues (URI: "hpfax:/..."). 2006-04-19 Till Kamppeter * foomatic-ppdfile.in, lib/Foomatic/DB.pm, configure.ac, Makefile.in, makeDefaults.in, USAGE, README: Added support for on-the-fly PPD file generation by the CUPS 1.2 cups-driverd. * USAGE: Update HPOJ -> HPLIP. 2006-02-28 Till Kamppeter * foomatic-configure.in: Treat a missing /etc/cups/printers.conf as an empty file (CUPS 1.2 allows printers.conf missing for no local printers). Suppress warnings if the list of available CUPS queues is requested but no default printer set. 2006-01-17 Till Kamppeter * lib/Foomatic/DB.pm: Generate PPD files correctly where an enumerated-choice option has "0" as default (thanks to Tim Waugh from Red Hat for the patch). * foomatic-cleanupdrivers.in: Do not try to delete the "." file in the driver-XML-file directory (thanks to Tim Waugh from Red Hat for the patch). 2006-01-09 Till Kamppeter * lib/Foomatic/DB.pm: Let PPD files with "*CloseGroup" without group name being parsed correctly, eliminate warning about uninitialized variable when a PPD file is built out of Foomatic data. 2006-01-06 Till Kamppeter * configure.in, configure.ac: Renamed configure.in to configure.ac, to make the package working with the current versions of aclocal and autoconf. * foomatic-cleanupdrivers.in: Delete also driver XML files without "" tags at all, as they also do not contain a driver command line prototype. 2005-10-26 Till Kamppeter * lib/Foomatic/DB.pm: Fix on support for gzipped PPDs. 2005-10-25 Till Kamppeter * lib/Foomatic/DB.pm: Added support for gzipping the custom PPD files without needing to adapt the links in the printer XML files. 2005-10-22 Till Kamppeter * foomatic-perl-data.c, foomatic-configure.in, foomatic-ppdfile.in, foomatic-compiledb.in, lib/Foomatic/DB.pm: Let the Foomatic tools use custom-made PPD files if they are linked in the printer XML file and available in the local Foomatic database. 2005-09-13 Till Kamppeter * lib/Foomatic/DB.pm: Made "translate_printer_id()" not crashing when it is called with a weird printer ID. 2005-08-23 Till Kamppeter * foomatic-combo-xml.c: Added the links to the ready-made PPD files for all drivers to the overview output. Eliminated compiler warnings. * foomatic-perl-data.c: Eliminated compiler warnings. 2005-08-15 Till Kamppeter * foomatic-configure.in: Added support for the new "beh" (Backend Error Handler for CUPS) backend (included in foomatic-filters now). 2005-08-05 Till Kamppeter * foomatic-perl-data.c: Added support for "" tags in the "" list of the printer XML files. This is needed to provide ready-made PPDs for arbitrary drivers on the linuxprinting.org site. 2005-08-04 Till Kamppeter * foomatic-configure.in: Fixed bug of multiple "tc=..." items in an /etc/printcap entry of LPRng not being supported. 2005-07-12 Till Kamppeter * READNE: Updated links to Adobe PostScript specifications. 2005-05-29 Till Kamppeter * foomatic-configure.in, lib/Foomatic/DB.pm: Added support for PPD file names with spaces (Mandriva bug #16172). 2005-05-11 Till Kamppeter * README: Corrected character list in "" in the example string option XML file. Improved instructions for "". 2005-02-23 Till Kamppeter * foomatic-configure.in: Fixed bug of old non-Foomatic PPD not overtaken when applying "foomatic-configure" to a queue without specifying a PPD or a printer/driver pair. * lib/Foomatic/DB.pm: When modifying PPD defaults for boolean options "0" or "1" was written into the PPD file and not "False" or "True". 2005-01-28 Till Kamppeter * makeDefaults.in, foomatic-cleanupdrivers.in: Allow use of an alternative Foomatic database location specifying it with the FOOMATICDB environment variable. * Makefile.in: Added foomatic-cleanupdrivers to be installed into /usr/sbin, fixed "testing-clean" target. * foomatic-cleanupdrivers.in: Use default database location from Defaults.pm. 2005-01-22 Till Kamppeter * lib/Foomatic/DB.pm: Fixed Tim Waugh's fix. It made an "@@IEEE1284@@" appear in the PPD file when for a printer no autodetection info was supplied. This made CUPS not accepting the PPD. 2005-01-21 Tim Waugh * lib/Foomatic/DB.pm: Fixed "uninitialized value" warning (RH bug #145605). 2004-11-30 Till Kamppeter * foomatic-configure.in, foomatic-ppdfile.in, foomatic-compiledb.in, lib/Foomatic/DB.pm: Let Foomatic not generate PPD files with blank "*FoomaticRIPCommandLine" entry. 2004-09-14 Till Kamppeter * *: Tagged CVS for the release of foomatic-db-engine 3.0.2. Tag name: "foomatic-db-engine-3_0_2". * README, USAGE: Updated for version 3.0.2. 2004-07-30 Till Kamppeter * lib/Foomatic/DB.pm: Use the manufacturer as defined in the Foomatic database and not the one from the IEEE-1284 auto-detection ID string for the "*Manufacturer: ..." tag of the PPD files, as in the IDs the manufacturer names often do not comply with the Adobe specs (as "Hewlett-Packard", here "HP" has to be used). 2004-07-20 Till Kamppeter * configure.in: Replaced mechanism for auto-detecting libxml(2). 2004-07-13 Till Kamppeter * README: Updated link to Adobe's PostScript specifications. 2004-03-28 Till Kamppeter * README, README.build-foomatic-filters-ppds, USAGE, foomatic-kitload.8.in, foomatic-preferred-driver.in, foomatic-printermap-to-gimp-print-xml.in, lib/Foomatic/DB.pm: Replaced "GIMP-Print" by "Gimp-Print". 2004-03-24 Till Kamppeter * lib/Foomatic/DB.pm: Added entries to sortargs() function to support drivers with RGB processing and Gimp-Print 5.0.x support for new CMYRBK (additional red and blue ink) printers. * foomatic-perl-data.c, foomatic-combo-xml.c: Compatibility fixes for newest gcc. 2004-03-04 Till Kamppeter * lib/Foomatic/DB.pm: Read paper size with unit out of the driverval (needed for Omni), restrict paper sizes in the PPD to 2 digits after the decimal point. 2004-02-27 Till Kamppeter * lib/Foomatic/DB.pm: Eliminated another Perl warning. 2004-02-18 Till Kamppeter * *: Tagged CVS for the release of foomatic-db-engine 3.0.1. Tag name: "foomatic-db-engine-3_0_1". * README, USAGE: Updated for version 3.0.1 final. 2004-02-17 Till Kamppeter * lib/Foomatic/DB.pm: Eliminated some Perl warnings. 2004-02-14 Till Kamppeter * foomatic-ppdfile.in: Accept "-t " option and ignore it, for compatibility with the former "foomatic-datafile". 2004-01-24 Till Kamppeter * *: Tagged CVS for the release of foomatic-db-engine 3.0.1rc2. Tag name: "foomatic-db-engine-3_0_1rc2". * README, USAGE: Updated for version 3.0.1rc2. 2004-01-22 Till Kamppeter * foomatic-configure.in: Eliminated warnings which appeared since the insertion of "use strict;". Thanks to the hint from Marcelo Ricardo Leitner (mrl at conectiva dot com dot br). 2004-01-22 Tim Waugh * lib/Foomatic/DB.pm (perltoxml): New function. 2003-12-19 Till Kamppeter * configure.in, Makefile.in, foomatic-printermap-to-gimp-print-xml.in: Added script to update the driver entry of Gimp-Print with the printer list of the src/foomatic/foomatic-printermap file of the Gimp-Print source tarball (Gimp-Print 4.2.x or later). * Makefile.in: Make mkinstalldirs executable (Thanks to Florian Diesch ). * Makefile.in: Removed $(DESTDIR) from "make" calls for the Perl libraries (Thanks to Florian Diesch ). 2003-12-17 Tim Waugh * Makefile.in: Use relative symlink, not absolute. 2003-11-22 Till Kamppeter * *: Tagged all files of the repository with "foomatic-3_0-bp", started stable branch "foomatic-3_0-branch". 2003-11-20 Till Kamppeter * README: Added section that CUPS raster drivers can now be used with every spooler. 2003-11-20 Till Kamppeter * *: Tagged CVS for the release of foomatic-db-engine 3.0.1rc1. Tag name: "foomatic-db-engine-3_0_1rc1". * README, USAGE: Updated for version 3.0.1rc1. 2003-11-19 Till Kamppeter * configure.in: Do not do a test run of GhostScript in the /def/fd/3 check if there is no GhostScript available. 2003-10-20 Till Kamppeter * configure.in: Added /usr/local/libexec to LIBSEARCHPATH for *BSD compatibilty. Thanks to Sebastian Horzela (sh at horzela dot com). * configure.in: Replaced a "==" by "=" in a "test" expression (*BSD compatibility). * configure.in, Makefile.in, README.build-foomatic-filters-ppds: Fixes from Patrick Powell. 2003-09-13 Patrick Powell * foomatic-configure: set 'use strict' and perl -w options - cleaned up compilation and usage errors exposed by adding these options. modified the LPRng setup to be consistent with the new or latest version of foomatic-rip and LPRng. fixed several other entries that were using values that either were not initialized or were the wrong variable name. This appears to be the result of a cut-and-paste where the author did not modify all of the variable names in the pasted area. Added warnings about security loopholes when using the smbclient and nmbprint facilities. Fixed up missing $DESTDIR in Makefile.in * lib/Foomatic/DB.pm added 'use strict' to Foomatic::DB.pm and then did editting for syntax cleanup. Mostly adding my to 'for $x' loops, i.e. - 'for my $x' Cleaned up a performance hit by passing reference to array rather than copying array. * foomatic-ppdfile: Added -A, -P match options to display information If the PPD file does not exist, error message is printed and exits with nonzero error code. Also tidied up error messages and help messages. If the driver (-d driver) is not specified or is blank, use the default driver for the printer. Sanity check the printer and driver names against the database. Fixed up the foomatic-ppdfile.1 man page and added the -A and -P options. * Makefile - make dist-clean now removes ppd subdirectory * configure - added check for GhostScript and security loophole in GhostScript. Modified the uses of AC_PROG_PATH to avoid a problem with shell variable expansion. * foomatic-getpjloptions: changed use of 'echo -ne' * foomatic-addpjloptions now handles strings, also defaults with ? characters and string values. -s - writes options to a single file -i - does only IMPORTANT options -a - does ALL options found in PJL information (except readonly) -q - reads the PJL file and produces a quick summary (debugging) * man pages - fixed up several of the man pages to agree with the programs. More editting is needed. 2003-09-07 Till Kamppeter * lib/Foomatic/DB.pm: Fixed bug of the getpapersize() function returning the size of "Letter" when requesting the sixe of "Half Letter". 2003-08-27 Till Kamppeter * foomatic-configure.in: When using "foomatic-configure -P -r" recognize implicit classes as remotely defined printer (for now this works only for root). 2003-08-26 Till Kamppeter * foomatic-configure.in: Let the information about the default printer be included in the output of "foomatic-configure -P". This makes the initial reading of configuration information by a frontend much faster. The information will by in $QUEUES[x]->{'queuedata'}{'default'}, which is 1 for the default queue and 0 for the other queues. Added support for the "-r" option with "foomatic-configure -P" ($QUEUES[x]->{'queuedata'}{'remote'} field indicates remote queues). Retrieve the "Location" information of remotely defined CUPS printers. 2003-08-24 Till Kamppeter * lib/Foomatic/DB.pm: Fixed reading make and model name of the printer from the PPD file to also work with the new Foomatic PPDs ("*ShortNickName" linited to 32 characters and no comma before the driver name). 2003-08-14 Till Kamppeter * foomatic-compiledb.in: Let PPD pre-compilation process not choke on a driver entry with a non-existing printer (for example mistyped) in its list. 2003-08-12 Till Kamppeter * foomatic-combo-xml.c: Pre-initialized pointers in the loadidlist() function (thanks to Gwenole Beauchesne from MandrakeSoft). 2003-08-07 Till Kamppeter * foomatic-configure.in: HPOJ after 0.9 needs two slashes instead of one in CUPS device URIs ("ptal://..."). Let foomatic-configure do the correct thing independent whether the user enters a "ptal" URI with one or two slashes. 2003-08-03 Till Kamppeter * lib/Foomatic/DB.pm, foomatic-ppdfile.in, foomatic-configure.in, USAGE: Added possibility to limit the length of GUI strings ("translations") in the generated PPD files to 39 characters, so that the CUPS PostScript driver for Windows does not choke on them. 2003-08-01 Till Kamppeter * lib/Foomatic/DB.pm, README: Made it possible to define nested composite options. 2003-07-21 Till Kamppeter * README, configure.in, Makefile.in, foomatic-ppdload.in, foomatic-ppdload.8.in: Removed the "foomatic-ppdload" tool as generating XML data from PPD files is not needed any more. "foomatic-rip" works also with manufacturer-supplied PostScript PPDs. * foomatic-perl-data.c: Let URL of manufacturer PPD also appear in printer/driver combo output. 2003-07-19 Till Kamppeter * foomatic-perl-data.c: Fixed output of printer language info. 2003-07-17 Till Kamppeter * lib/Foomatic/DB.pm: Added "Folio" and "Env10" paper sizes to paper size list. 2003-07-02 Till Kamppeter * foomatic-perl-data.c: Added stuff needed for a web form to enter printer data. 2003-06-26 Till Kamppeter * configure.in, makeMan.in: Support for IRIX. 2003-06-25 Till Kamppeter * lib/Foomatic/DB.pm: Remove "," and "+" from the "*NickName" and "*ShortNickName" to make the PostScript drivers of Windows happy, fix on auto-abbreviation of "*ShortNickName". 2003-05-09 Till Kamppeter * README: Lots of small corrections. 2003-04-30 Till Kamppeter * README: Updated link to Adobe's PostScript documentation. 2003-04-29 Till Kamppeter * *: Tagged CVS for the release of foomatic-db-engine 3.0.0. Tag name: "foomatic-db-engine-3_0_0". * README, USAGE, lib/Foomatic/DB.pm: Updated for version 3.0.0. 2003-04-27 Till Kamppeter * Makefile.in: Stop if an error occurs when building the PPD package. 2003-04-25 Till Kamppeter * foomatic-replaceoldprinterids.in: Changed default pattern on the right side of the printer ID to "(?!\d)", which means that there should be no further digit on the right. This is the right choice in nearly every case. * foomatic-compiledb.in: Make "foomatic-compiledb" working with both old numerical and new clear-text printer IDs. 2003-04-23 Till Kamppeter * lib/Foomatic/DB.pm: Auto-abbreviation of "*ShortNickName"s in the PPD files so that they are not longer than 31 characters to fulfill the Adobe specs. 2003-04-22 Till Kamppeter * *: Tagged CVS for the release of foomatic-db-engine 3.0.0rc2. Tag name: "foomatic-db-engine-3_0_0rc2". * README, USAGE, Foomatic-Devel-Ideas.txt: Added missing substitution for ampersand in XML files, updated for version 3.0.0rc2. 2003-04-21 Till Kamppeter * foomatic-perl-data.c, lib/Foomatic/DB.pm, foomatic-configure.in: added restriction for allowed strings by means of lists of allowed characters (XML: '...', PPD: '*FoomaticRIPOptionAllowedChars