Blame SOURCES/foomatic-manpages.patch

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