Blame SOURCES/foomatic-manpages.patch

4329f6
diff -up foomatic-db-engine-4.0.11/foomatic-cleanupdrivers.1.in.manpages foomatic-db-engine-4.0.11/foomatic-cleanupdrivers.1.in
4329f6
--- foomatic-db-engine-4.0.11/foomatic-cleanupdrivers.1.in.manpages	2014-08-28 14:48:37.799189679 +0100
4329f6
+++ foomatic-db-engine-4.0.11/foomatic-cleanupdrivers.1.in	2014-08-28 14:48:37.799189679 +0100
4329f6
@@ -0,0 +1,16 @@
4329f6
+.\" This -*- nroff -*- source file is part of foomatic.
4329f6
+.\"
4329f6
+.TH FOOMATIC-CLEANUPDRIVERS 1 "2014-08-21" "Foomatic Project"
4329f6
+.SH NAME
4329f6
+foomatic-cleanupdrivers \- Remove driver entries with no command line
4329f6
+.SH SYNOPSIS
4329f6
+.HP \w'\fBfoomatic-cleanupdrivers\fR\ 'u
4329f6
+\fBfoomatic-cleanupdrivers\fR [\fIDBDIR\fR]
4329f6
+
4329f6
+.SH DESCRIPTION
4329f6
+.PP
4329f6
+The \fBfoomatic\-cleanupdrivers\fR command removes all driver XML
4329f6
+files which have an empty command line.
4329f6
+
4329f6
+.PP
4329f6
+It is not intended to be called directly by the user.
4329f6
diff -up foomatic-db-engine-4.0.11/foomatic-datafile.1.manpages foomatic-db-engine-4.0.11/foomatic-datafile.1
4329f6
--- foomatic-db-engine-4.0.11/foomatic-datafile.1.manpages	2014-08-28 14:48:37.799189679 +0100
4329f6
+++ foomatic-db-engine-4.0.11/foomatic-datafile.1	2014-08-28 14:48:37.799189679 +0100
4329f6
@@ -0,0 +1 @@
4329f6
+.so man1/foomatic-ppdfile.1
4329f6
diff -up foomatic-db-engine-4.0.11/foomatic-extract-text.1.in.manpages foomatic-db-engine-4.0.11/foomatic-extract-text.1.in
4329f6
--- foomatic-db-engine-4.0.11/foomatic-extract-text.1.in.manpages	2014-08-28 14:48:37.799189679 +0100
4329f6
+++ foomatic-db-engine-4.0.11/foomatic-extract-text.1.in	2014-08-28 14:48:37.799189679 +0100
4329f6
@@ -0,0 +1,16 @@
4329f6
+.\" This -*- nroff -*- source file is part of foomatic.
4329f6
+.\"
4329f6
+.TH FOOMATIC-EXTRACT-TEXT 1 "2014-08-21" "Foomatic Project"
4329f6
+.SH NAME
4329f6
+foomatic-extract-text \- Generate .po files from Foomatic UI strings
4329f6
+.SH SYNOPSIS
4329f6
+.HP \w'\fBfoomatic-extract-text\fR\ 'u
4329f6
+\fBfoomatic-extract-text\fR
4329f6
+
4329f6
+.SH DESCRIPTION
4329f6
+.PP
4329f6
+The \fBfoomatic\-extract\-text\fR command generates .po files from the
4329f6
+UI strings in the currently installed Foomatic database.
4329f6
+
4329f6
+.PP
4329f6
+It is not intended to be called directly by the user.
4329f6
diff -up foomatic-db-engine-4.0.11/foomatic-fix-xml.1.in.manpages foomatic-db-engine-4.0.11/foomatic-fix-xml.1.in
4329f6
--- foomatic-db-engine-4.0.11/foomatic-fix-xml.1.in.manpages	2014-08-28 14:48:37.799189679 +0100
4329f6
+++ foomatic-db-engine-4.0.11/foomatic-fix-xml.1.in	2014-08-28 14:48:37.799189679 +0100
4329f6
@@ -0,0 +1,14 @@
4329f6
+.\" This -*- nroff -*- source file is part of foomatic.
4329f6
+.\"
4329f6
+.TH FOOMATIC-FIX-XML 1 "2014-08-21" "Foomatic Project"
4329f6
+.SH NAME
4329f6
+foomatic-fix-xml \- Remove leading blank lines from Foomatic database
4329f6
+.SH SYNOPSIS
4329f6
+.HP \w'\fBfoomatic-fix-xml\fR\ 'u
4329f6
+\fBfoomatic-fix-xml\fR [\fIDBDIR\fR]
4329f6
+
4329f6
+.SH DESCRIPTION
4329f6
+.PP
4329f6
+Use the \fBfoomatic\-fix\-xml\fR command if you have compiled
4329f6
+foomatic-perl-data against libxml 1.x and you have old database
4329f6
+entries with a leading blank line.
4329f6
diff -up foomatic-db-engine-4.0.11/foomatic-nonumericalids.1.in.manpages foomatic-db-engine-4.0.11/foomatic-nonumericalids.1.in
4329f6
--- foomatic-db-engine-4.0.11/foomatic-nonumericalids.1.in.manpages	2014-08-28 14:48:37.800189684 +0100
4329f6
+++ foomatic-db-engine-4.0.11/foomatic-nonumericalids.1.in	2014-08-28 14:48:37.800189684 +0100
4329f6
@@ -0,0 +1,17 @@
4329f6
+.\" This -*- nroff -*- source file is part of foomatic.
4329f6
+.\"
4329f6
+.TH FOOMATIC-NONUMERICALIDS 1 "2014-08-21" "Foomatic Project"
4329f6
+.SH NAME
4329f6
+foomatic-nonumericalids \- Convert numerical printer IDS to clear-text IDs
4329f6
+.SH SYNOPSIS
4329f6
+.HP \w'\fBfoomatic-nonumericalids\fR\ 'u
4329f6
+\fBfoomatic-nonumericalids\fR
4329f6
+
4329f6
+.SH DESCRIPTION
4329f6
+.PP
4329f6
+This script changes all old cryptic numerical printer IDs from the old
4329f6
+PostGreSQL time to clear-text printer IDs in the installed Foomatic
4329f6
+database.
4329f6
+
4329f6
+.PP
4329f6
+It is very unlikely you need to do this.
4329f6
diff -up foomatic-db-engine-4.0.11/foomatic-ppd-to-xml.1.in.manpages foomatic-db-engine-4.0.11/foomatic-ppd-to-xml.1.in
4329f6
--- foomatic-db-engine-4.0.11/foomatic-ppd-to-xml.1.in.manpages	2014-08-28 14:48:37.800189684 +0100
4329f6
+++ foomatic-db-engine-4.0.11/foomatic-ppd-to-xml.1.in	2014-08-28 14:48:37.800189684 +0100
4329f6
@@ -0,0 +1,104 @@
4329f6
+.\" This -*- nroff -*- source file is part of foomatic.
4329f6
+.\"
4329f6
+.TH FOOMATIC-PPD-TO-XML 1 "2014-08-21" "Foomatic Project"
4329f6
+.SH NAME
4329f6
+foomatic-ppd-to-xml \- Generate Foomatic printer XML from a PPD
4329f6
+.SH SYNOPSIS
4329f6
+.HP \w'\fBfoomatic-ppd-to-xml\fR\ 'u
4329f6
+\fBfoomatic-ppd-to-xml\fR \fIOPTIONS\FR [\fIDRIVER\fR:]\fIPPD\fR [[\fIDRIVER\fR:]\fIPPD\fR ...]
4329f6
+.HP \w'\fBfoomatic-ppd-to-xml\fR\ 'u
4329f6
+\fBfoomatic-ppd-to-xml\fR \-h
4329f6
+
4329f6
+.SH DESCRIPTION
4329f6
+The first form of the
4329f6
+.B foomatic-ppd-to-xml
4329f6
+command creates Foomatic printer XML corresponding to a given PPD
4329f6
+file.
4329f6
+
4329f6
+.PP
4329f6
+If \fIDRIVER\fR is specified, it is the driver to which the PPD file
4329f6
+should get assigned. If not supplied, the first driver in the driver
4329f6
+list supplied via the \fB\-d\fR option is used. Note that the PPD files
4329f6
+have to be supplied to different drivers, so drivers need to be
4329f6
+specified if using more than one PPD.
4329f6
+
4329f6
+.PP
4329f6
+The second form prints a help message and exits.
4329f6
+
4329f6
+.SS Options
4329f6
+.TP 5
4329f6
+\fB\-d\fR \fIDRIVERS\fR
4329f6
+Comma-separated list of drivers with which the printer works. First
4329f6
+driver is the one for which the PPD file is. If not otherwise stated
4329f6
+by the \fB\-r\fR option, this is also the recommended driver. Drivers
4329f6
+already specified together with PPDs do not need to be specified with
4329f6
+this option again. The option is not needed if drivers are specified
4329f6
+for all PPDs.
4329f6
+
4329f6
+.TP 5
4329f6
+\fB\-r\fR \fIDRIVER\fR
4329f6
+Recommended driver.
4329f6
+
4329f6
+.TP 5
4329f6
+\fB\-p\fR \fIPDLS\fR
4329f6
+Comma-separated list of known Page Description Languages (PDLs) which
4329f6
+the printer supports. This will add all suitable drivers to the XML
4329f6
+entry. Currently supported are: Postscript, PCLXL, PCL6, PCL5e, PCL5c,
4329f6
+PCL5, and PCL4.
4329f6
+
4329f6
+.TP 5
4329f6
+\fB\-l\fR
4329f6
+Add a link to the PPD file to the driver entry in the XML file.
4329f6
+
4329f6
+.TP 5
4329f6
+\fB\-b\fR \fIDIRECTORY\fR
4329f6
+Base directory for a relative link to the PPD. If the base directory
4329f6
+is given, the link set via the \fB\-l\fR option is relative to this
4329f6
+directory (and not relative to the current directory). With a base
4329f6
+directory given the \fIPPD\fR can also be given relative to this
4329f6
+directory.
4329f6
+
4329f6
+.TP 5
4329f6
+\fB\-D\fR
4329f6
+Add only the driver requested by \fB\-d\fR and \fB\-r\fR to the driver
4329f6
+list in the XML file, do not add drivers based on PDLs, not even on
4329f6
+the PDLs supplied by the \fB\-p\fR option.
4329f6
+
4329f6
+.TP 5
4329f6
+\fB\-c\fR \fICOMMENT\fR
4329f6
+Add the given comment to the comment field of the XML file. Comments
4329f6
+are in HTML.
4329f6
+
4329f6
+.TP 5
4329f6
+\fB\-C\fR
4329f6
+Suppress any default comments (max paper width, pages per minute,
4329f6
+automatically generated XML, ...). Does not suppress the comment
4329f6
+supplied with \fB\-c\fR.
4329f6
+
4329f6
+.TP 5
4329f6
+\fB\-f\fR \fIDIRECTORY\fR
4329f6
+Directory in which to write the resulting XML file. The name of the
4329f6
+file will be the printer ID with the ".xml" extension.
4329f6
+
4329f6
+.TP 5
4329f6
+\fB\-n\fR
4329f6
+Do not write modified versions of existing XML files, only create XML
4329f6
+files for printers for which there is no XML file yet.
4329f6
+
4329f6
+.TP 5
4329f6
+\fB\-x\fR
4329f6
+Create XML files independent of whether or not there are already XML
4329f6
+files for the printers covered by the PPD. This makes the process
4329f6
+vastly faster if you have PPD files for printers which are definitely
4329f6
+not yet in the Foomatic database.
4329f6
+
4329f6
+.SH EXIT STATUS
4329f6
+\fBfoomatic-ppd-to-xml\fR returns 0 on success, 1 otherwise.
4329f6
+
4329f6
+.SH BUGS
4329f6
+None so far.
4329f6
+
4329f6
+Please post bug reports on
4329f6
+
4329f6
+http://lists.freestandards.org/mailman/listinfo/printing-foomatic
4329f6
+
4329f6
diff -up foomatic-db-engine-4.0.11/foomatic-preferred-driver.8.in.manpages foomatic-db-engine-4.0.11/foomatic-preferred-driver.8.in
4329f6
--- foomatic-db-engine-4.0.11/foomatic-preferred-driver.8.in.manpages	2014-08-28 14:48:59.729304630 +0100
4329f6
+++ foomatic-db-engine-4.0.11/foomatic-preferred-driver.8.in	2014-08-28 15:00:59.291077529 +0100
4329f6
@@ -1,25 +1,16 @@
4329f6
 .\" This -*- nroff -*- source file is part of foomatic.
4329f6
 .\"
4329f6
-.TH FOOMATIC-PREFERRED-DRIVER 8 "2001-05-07" "Foomatic Project"
4329f6
+.TH FOOMATIC-PREFERRED-DRIVER 8 "2014-08-28" "Foomatic Project"
4329f6
 .SH NAME
4329f6
-foomatic-preferred-driver \- <put a short description here>
4329f6
+foomatic-preferred-driver \- set default drivers in Foomatic database
4329f6
 .SH SYNOPSIS
4329f6
 .B foomatic-preferred-driver
4329f6
-.\"[\fIOPTION\fR]...
4329f6
 
4329f6
-[To be edited]
4329f6
-
4329f6
-.SH SEE ALSO
4329f6
-.IR foomatic-XXX (1),
4329f6
-
4329f6
-.SH EXIT STATUS
4329f6
-.B foomatic-preferred-driver
4329f6
-returns ...
4329f6
-
4329f6
-.SH AUTHOR
4329f6
-Manfred Wassmann <\fImanolo@NCC-1701.B.Shuttle.de\fR> for the foomatic
4329f6
-project using output from the associated binary.
4329f6
-
4329f6
-.SH BUGS
4329f6
-This manpage contains no useful information.
4329f6
+.SH DESCRIPTION
4329f6
+.PP
4329f6
+This command reads the printer database overview and puts default
4329f6
+driver entries (<driver>..</driver>) into every printer's XML database
4329f6
+entry.
4329f6
 
4329f6
+.PP
4329f6
+It is very unlikely you need to do this.
4329f6
diff -up foomatic-db-engine-4.0.11/foomatic-printermap-to-gutenprint-xml.1.in.manpages foomatic-db-engine-4.0.11/foomatic-printermap-to-gutenprint-xml.1.in
4329f6
--- foomatic-db-engine-4.0.11/foomatic-printermap-to-gutenprint-xml.1.in.manpages	2014-08-28 14:48:37.800189684 +0100
4329f6
+++ foomatic-db-engine-4.0.11/foomatic-printermap-to-gutenprint-xml.1.in	2014-08-28 14:48:37.800189684 +0100
4329f6
@@ -0,0 +1,18 @@
4329f6
+.\" This -*- nroff -*- source file is part of foomatic.
4329f6
+.\"
4329f6
+.TH FOOMATIC-PRINTERMAP-TO-GUTENPRINT-XML 1 "2014-08-21" "Foomatic Project"
4329f6
+.SH NAME
4329f6
+foomatic-printermap-to-gutenprint-xml \- Updates Gutenprint driver XML file
4329f6
+.SH SYNOPSIS
4329f6
+.HP \w'\fBfoomatic-printermap-to-gutenprint-xml\fR\ 'u
4329f6
+\fBfoomatic-printermap-to-gutenprint-xml\fR
4329f6
+
4329f6
+.SH DESCRIPTION
4329f6
+.PP
4329f6
+This command updates the driver XML file for the Gutenprint driver to
4329f6
+the state of the foomatic-printermap file in the Gutenprint source
4329f6
+tree. Used to update the driver XML file for Gutenprint in the
4329f6
+OpenPrinting database.
4329f6
+
4329f6
+.PP
4329f6
+It is very unlikely you need to do this.
4329f6
diff -up foomatic-db-engine-4.0.11/foomatic-replaceoldprinterids.1.in.manpages foomatic-db-engine-4.0.11/foomatic-replaceoldprinterids.1.in
4329f6
--- foomatic-db-engine-4.0.11/foomatic-replaceoldprinterids.1.in.manpages	2014-08-28 14:48:37.800189684 +0100
4329f6
+++ foomatic-db-engine-4.0.11/foomatic-replaceoldprinterids.1.in	2014-08-28 14:48:37.800189684 +0100
4329f6
@@ -0,0 +1,18 @@
4329f6
+.\" This -*- nroff -*- source file is part of foomatic.
4329f6
+.\"
4329f6
+.TH FOOMATIC-REPLACEOLDPRINTERIDS 1 "2014-08-21" "Foomatic Project"
4329f6
+.SH NAME
4329f6
+foomatic-replaceoldprinterids \- Replace references to old printer IDs
4329f6
+.SH SYNOPSIS
4329f6
+.HP \w'\fBfoomatic-replaceoldprinterids\fR\ 'u
4329f6
+\fBfoomatic-replaceoldprinterids\fR
4329f6
+
4329f6
+.SH DESCRIPTION
4329f6
+.PP
4329f6
+Replaces references to old numerical or otherwise obsolete printer IDs
4329f6
+in arbitrary file. By default it uses the db/oldprinterids file of the
4329f6
+current Foomatic database as translation table, but you can use
4329f6
+arbitrary translation tables.
4329f6
+
4329f6
+.PP
4329f6
+It is very unlikely you need to use this.
4329f6
diff -up foomatic-db-engine-4.0.11/foomatic-searchprinter.1.in.manpages foomatic-db-engine-4.0.11/foomatic-searchprinter.1.in
4329f6
--- foomatic-db-engine-4.0.11/foomatic-searchprinter.1.in.manpages	2014-08-28 14:48:37.800189684 +0100
4329f6
+++ foomatic-db-engine-4.0.11/foomatic-searchprinter.1.in	2014-08-28 14:48:37.800189684 +0100
4329f6
@@ -0,0 +1,82 @@
4329f6
+.\" This -*- nroff -*- source file is part of foomatic.
4329f6
+.\"
4329f6
+.TH FOOMATIC-SEARCHPRINTER 1 "2014-08-21" "Foomatic Project"
4329f6
+.SH NAME
4329f6
+foomatic-searchprinter \- Search Foomatic database
4329f6
+.SH SYNOPSIS
4329f6
+.HP \w'\fBfoomatic-searchprinter\fR\ 'u
4329f6
+\fBfoomatic-searchprinter\fR [\-m\fIM\fR] [\-d\FID\fR] \fISEARCHTERM\fR
4329f6
+.HP \w'\fBfoomatic-searchprinter\fR\ 'u
4329f6
+\fBfoomatic-searchprinter\fR \-h
4329f6
+
4329f6
+.SH DESCRIPTION
4329f6
+This command displays Foomatic database entries matching \fISEARCHTERM\fR.
4329f6
+
4329f6
+.SS Options
4329f6
+.PP
4329f6
+\fB\-m\fR\fIM\fR
4329f6
+.RS 4
4329f6
+Search mode:
4329f6
+.PP
4329f6
+\fIM\fR = 0
4329f6
+.RS 4
4329f6
+Match everything (default)
4329f6
+.RE
4329f6
+.PP
4329f6
+\fIM\fR = 1
4329f6
+.RS 4
4329f6
+No matches on only the manufacturer
4329f6
+.RE
4329f6
+.PP
4329f6
+\fIM\fR = 2
4329f6
+.RS 4
4329f6
+No matches on only the manufacturer or only the model
4329f6
+.RE
4329f6
+.PP
4329f6
+\fIM\fR = 3
4329f6
+.RS 4
4329f6
+Exact matches of device ID, make/model, or Foomatic ID plus matches of
4329f6
+the page description language in the device ID to appropriate
4329f6
+"Generic" printers
4329f6
+.RE
4329f6
+.PP
4329f6
+\fIM\fR = 4
4329f6
+.RS 4
4329f6
+Exact matches of device ID, make/model, or Foomatic ID only
4329f6
+.RE
4329f6
+.RE
4329f6
+
4329f6
+.PP
4329f6
+\fB\-d\fR\fID\fR
4329f6
+.RS 4
4329f6
+Display results:
4329f6
+.PP
4329f6
+\fID\fR = 0
4329f6
+.RS 4
4329f6
+Everything
4329f6
+.RE
4329f6
+.PP
4329f6
+\fID\fR = 1
4329f6
+.RS 4
4329f6
+Only best match class (default)
4329f6
+.RE
4329f6
+.PP
4329f6
+\fID\fR = 2
4329f6
+.RS 4
4329f6
+Only best match
4329f6
+.RE
4329f6
+.RE
4329f6
+
4329f6
+.PP
4329f6
+\fB\-h\fR
4329f6
+.RS 4
4329f6
+Show help message and exit.
4329f6
+.RE
4329f6
+
4329f6
+.SH BUGS
4329f6
+None so far.
4329f6
+
4329f6
+Please post bug reports on
4329f6
+
4329f6
+http://lists.freestandards.org/mailman/listinfo/printing-foomatic
4329f6
+