[cups.development] [RFE] STR #3578: Better default for 'configure --with-docdir': datadir/cups/webcontent

jsmeix.suse jsmeix at suse.de
Thu May 6 06:20:47 PDT 2010


DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

The current docdir and DocumentRoot default is
a RPM documentation directory /usr/share/doc/cups
where the program (i.e. CUPS) must work as well
without having files in the documentation directory
installed.

Actually the CUPS web content files are no documentation
but an integral required part of the CUPS web server,
even the web content files in the "help" sub-directory.

Therefore all web content files should be installed
by default into a non-documentation directory.

Several of the help files are tweaked based on what
is passed to configure just as the man pages reflect
what is passed to configure where the man pages are
already installed by default under /usr/share/man/

As far as I understand the FHS regarding
"/usr/share : Architecture-independent data"
I think that /usr/share/ is the right place
because the CUPS web content files and the man pages
are shareable between machines which may differ only
regarding hardware architecture (e.g. 32-bit versus 64-bit)
but must be the same regarding the installed CUPS
(FHS reads "a given OS").

The attached cups-1.4.3-default-webcontent-path.patch
changes the default path whereto the web content is
installed to /usr/share/cups/webcontent and enhances
the "configure --help" output to show what --with-docdir
actually means.

Link: http://www.cups.org/str.php?L3578
Version:  -feature
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cups-1.4.3-default-webcontent-path.patch
URL: <https://lists.cups.org/pipermail/cups/attachments/20100506/fe1d2b3c/attachment.ksh>


More information about the cups mailing list