* Define XPSERVERLIST with /etc/init.d/xprint get_xpserverlist

instead of `/bin/sh /etc/init.d/xprint get_xpserverlist`
	- allows the initscript to set its own different shell under #!
	- allows disabling of XPSERVERLIST by making the script non-executable
* Allow files to be installed by using dist_*_DATA instead of EXTRA_DIST.
  Also, use dist_*_SCRIPTS to install scripts.
* Fix minor typos in man pages.
This commit is contained in:
Drew Parsons 2006-09-10 17:40:37 +10:00 committed by Drew Parsons
parent 86450998da
commit 65256109bb
8 changed files with 18 additions and 15 deletions

View File

@ -1,3 +1,4 @@
xpcdir = @xpconfigdir@/C/print/models/PS2PDFspooldir-GS xpcdir = @xpconfigdir@/C/print/models/PS2PDFspooldir-GS
dist_xpc_DATA = model-config ps2pdf_spooltodir.sh dist_xpc_DATA = model-config
dist_xpc_SCRIPTS = ps2pdf_spooltodir.sh

View File

@ -1,3 +1,4 @@
xpcdir = @xpconfigdir@/C/print/models/PSspooldir xpcdir = @xpconfigdir@/C/print/models/PSspooldir
dist_xpc_DATA = model-config spooltodir.sh dist_xpc_DATA = model-config
dist_xpc_SCRIPTS = spooltodir.sh

View File

@ -709,4 +709,4 @@ install-data-local: remove-links
uninstall-hook: remove-links uninstall-hook: remove-links
EXTRA_DIST = README dist_xpconfig_DATA = README

View File

@ -4,7 +4,7 @@
applications to use devices like printers, FAX or create applications to use devices like printers, FAX or create
documents in formats like PostScript, PCL or PDF. It may be used by documents in formats like PostScript, PCL or PDF. It may be used by
clients such as <span class="application">mozilla</span>. clients such as <span class="application">mozilla</span>.
</p><p>Xprint is a very flexible, extensible, scaleable, client/server </p><p>Xprint is a very flexible, extensible, scalable, client/server
print system based on ISO 10175 (and some other specs) and the X11 print system based on ISO 10175 (and some other specs) and the X11
rendering protocol. rendering protocol.
Using Xprint an application can search, query and use devices like Using Xprint an application can search, query and use devices like
@ -44,11 +44,11 @@
font databases.</p></dd><dt><span class="term"><tt class="option">-pn</tt></span></dt><dd><p>permits the server to continue running if it fails to font databases.</p></dd><dt><span class="term"><tt class="option">-pn</tt></span></dt><dd><p>permits the server to continue running if it fails to
establish all of its well-known sockets (connection establish all of its well-known sockets (connection
points for clients), but establishes at least points for clients), but establishes at least
one.</p></dd><dt><span class="term"><tt class="option">-XpFile <i class="replaceable"><tt>file</tt></i></tt></span></dt><dd><p>Sets an altername Xprinters file (see section FILES).</p></dd><dt><span class="term"><tt class="option">-XpSpoolerType <i class="replaceable"><tt>spoolername</tt></i></tt></span></dt><dd xmlns:ns2=""><p> one.</p></dd><dt><span class="term"><tt class="option">-XpFile <i class="replaceable"><tt>file</tt></i></tt></span></dt><dd><p>Sets an alternate Xprinters file (see section FILES).</p></dd><dt><span class="term"><tt class="option">-XpSpoolerType <i class="replaceable"><tt>spoolername</tt></i></tt></span></dt><dd xmlns:ns2=""><p>
Defines the spooler system to be used for print job spooling. Defines the spooler system to be used for print job spooling.
Supported values in xprint.mozdev.org release 009 are: Supported values in xprint.mozdev.org release 009 are:
</p><table class="simplelist" border="0" summary="Simple list"><tr><td>aix</td></tr><tr><td>aix4</td></tr><tr><td>bsd</td></tr><tr><td>osf</td></tr><tr><td>solaris</td></tr><tr><td>sysv</td></tr><tr><td>uxp</td></tr><tr><td>cups</td></tr><tr><td>lprng</td></tr><tr><td>other</td></tr><tr><td>none</td></tr></table><p> </p><table class="simplelist" border="0" summary="Simple list"><tr><td>aix</td></tr><tr><td>aix4</td></tr><tr><td>bsd</td></tr><tr><td>osf</td></tr><tr><td>solaris</td></tr><tr><td>sysv</td></tr><tr><td>uxp</td></tr><tr><td>cups</td></tr><tr><td>lprng</td></tr><tr><td>other</td></tr><tr><td>none</td></tr></table><p>
(multiple values can be specified, seperated by ':', the first active spooler will be chosen). (multiple values can be specified, separated by ':', the first active spooler will be chosen).
The default value is platform-specific and can be obtained via The default value is platform-specific and can be obtained via
</p><pre class="programlisting">Xprt -h</pre><p>. </p><pre class="programlisting">Xprt -h</pre><p>.
</p></dd></dl></div></div><div xmlns:ns3="" class="refsect1" lang="en"><a name="id2805336"></a><h2>ENVIRONMENT</h2><p> </p></dd></dl></div></div><div xmlns:ns3="" class="refsect1" lang="en"><a name="id2805336"></a><h2>ENVIRONMENT</h2><p>

View File

@ -20,7 +20,7 @@ applications to use devices like printers, FAX or create
documents in formats like PostScript, PCL or PDF. It may be used by documents in formats like PostScript, PCL or PDF. It may be used by
clients such as mozilla. clients such as mozilla.
.PP .PP
Xprint is a very flexible, extensible, scaleable, client/server Xprint is a very flexible, extensible, scalable, client/server
print system based on ISO 10175 (and some other specs) and the X11 print system based on ISO 10175 (and some other specs) and the X11
rendering protocol. rendering protocol.
Using Xprint an application can search, query and use devices like Using Xprint an application can search, query and use devices like
@ -85,7 +85,7 @@ points for clients), but establishes at least
one. one.
.TP .TP
\fB\-XpFile \fIfile\fB\fR \fB\-XpFile \fIfile\fB\fR
Sets an altername Xprinters file (see section FILES). Sets an alternate Xprinters file (see section FILES).
.TP .TP
\fB\-XpSpoolerType \fIspoolername\fB\fR \fB\-XpSpoolerType \fIspoolername\fB\fR
Defines the spooler system to be used for print job spooling. Defines the spooler system to be used for print job spooling.
@ -113,7 +113,7 @@ other
none none
(multiple values can be specified, seperated by ':', the first active spooler will be chosen). (multiple values can be specified, separated by ':', the first active spooler will be chosen).
The default value is platform-specific and can be obtained via The default value is platform-specific and can be obtained via
.nf .nf

View File

@ -55,7 +55,7 @@ HTML generation can be done like this:
clients such as <application>mozilla</application>. clients such as <application>mozilla</application>.
</para> </para>
<para>Xprint is a very flexible, extensible, scaleable, client/server <para>Xprint is a very flexible, extensible, scalable, client/server
print system based on ISO 10175 (and some other specs) and the X11 print system based on ISO 10175 (and some other specs) and the X11
rendering protocol. rendering protocol.
Using Xprint an application can search, query and use devices like Using Xprint an application can search, query and use devices like
@ -155,7 +155,7 @@ HTML generation can be done like this:
<term><option>-XpFile <replaceable>file</replaceable></option> <term><option>-XpFile <replaceable>file</replaceable></option>
</term> </term>
<listitem> <listitem>
<para>Sets an altername Xprinters file (see section FILES).</para> <para>Sets an alternate Xprinters file (see section FILES).</para>
</listitem> </listitem>
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
@ -178,7 +178,7 @@ HTML generation can be done like this:
<member>other</member> <member>other</member>
<member>none</member> <member>none</member>
</simplelist> </simplelist>
(multiple values can be specified, seperated by ':', the first active spooler will be chosen). (multiple values can be specified, separated by ':', the first active spooler will be chosen).
The default value is platform-specific and can be obtained via The default value is platform-specific and can be obtained via
<programlisting>Xprt -h</programlisting>. <programlisting>Xprt -h</programlisting>.
</para> </para>

View File

@ -1 +1,2 @@
EXTRA_DIST = cde_xsessiond_xprint.sh xpcdir = /etc/X11/Xsession.d
dist_xpc_DATA = cde_xsessiond_xprint.sh

View File

@ -22,8 +22,8 @@
# Obtain list of Xprint servers # Obtain list of Xprint servers
# #
if [ -f "/etc/init.d/xprint" ] ; then if [ -x "/etc/init.d/xprint" ] ; then
XPSERVERLIST="`/bin/sh /etc/init.d/xprint get_xpserverlist`" XPSERVERLIST="`/etc/init.d/xprint get_xpserverlist`"
export XPSERVERLIST export XPSERVERLIST
fi fi