* Re: [Printing-architecture] [lsb-discuss] Agreement on directory structure for printing
[not found] <1B47D24854C7BC4FA8DA28BEBB59B0BA4176AE@orsmsx419.amr.corp.intel.com>
@ 2006-08-07 15:52 ` Till Kamppeter
2006-08-08 23:58 ` Wendy Phillips
0 siblings, 1 reply; 9+ messages in thread
From: Till Kamppeter @ 2006-08-07 15:52 UTC (permalink / raw)
To: Bastian, Waldo; +Cc: lsb-discuss, printing-architecture, Printing-Sc (E-mail)
Thank you for this, i have not seen that Wendy suggested something
completely different for /usr/local/. What I mean is this:
---------------------------------------------------------------------
3. Files created, downloaded, or modified by a system administrator.
a. Installation path for PPD files
/usr/local/share/ppd/<supplier>/<manufacturer>
b. Installation path for print drivers
/usr/local/lib/printdriver/<supplier>
---------------------------------------------------------------------
This way it is the very same structure as in /usr/ and/opt/.
Till
Bastian, Waldo wrote:
> Given these directories:
> /usr/share/ppd/<supplier>/<manufacturer>/
> /usr/lib/printdriver/<supplier>
> Is there any particular reason for using
> /usr/local/print/ppd/<supplier>/<manufacturer>
> /usr/local/print/driver/<supplier>
> Instead of
> /usr/local/share/ppd/<supplier>/<manufacturer>
> /usr/local/lib/printdriver/<supplier>
> ??
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [Printing-architecture] [lsb-discuss] Agreement on directory structure for printing
2006-08-07 15:52 ` Till Kamppeter
@ 2006-08-08 23:58 ` Wendy Phillips
0 siblings, 0 replies; 9+ messages in thread
From: Wendy Phillips @ 2006-08-08 23:58 UTC (permalink / raw)
To: Till Kamppeter
Cc: Bastian, Waldo, lsb-discuss, printing-architecture,
Printing-Sc (E-mail)
Here is a copy of Till's summary with the changes requested by Waldo.
I notice that the links in /opt are not listed as mandatory. This makes
the task of searching for all PPD files difficult as /opt/<vendor> is
non-specific.
Is the intent to make the symlinks MUST rather than SHOULD?
-Wendy
1. Distro supplied files
The filesystem layout as utilized by the distibutions when the
ppd files and print drivers are initially installed on the
system. It is presumed that this will also be used for patches
and updates created and delivered by the distro.
a. Installation path for ppd files
/usr/share/ppd/<supplier>/<manufacturer>/
b. Installation path for print drivers
/usr/lib/printdriver/<supplier>
2. Third Party Vendor supplied files
The filesystem layout to be utilized by third party vendors
for delivery of ppd files, print drivers and other vendor
supplied files.
a. Installation path for PPD files
/opt/<supplier>/<internal structure non specified>
with symlink(s) to let the PPD files appear in
/opt/share/ppd/<supplier>/<manufacturer>
b. Installation path for print drivers
/opt/<supplier>/<internal structure non specified>
with symlink(s) to let the driver files appear in
/opt/lib/printdriver/<supplier>/
As the symlink paths are not (yet) registered with LANANA it
should be taken care of not overwriting anything existing with
them. Post-install script should not simply overwrite
files/directories. In reality a permission of the sys admin
would be needed, but in practice this is not always possible as
post-install scripts called from a package installation need to
be non-interactive.
3. Files created, downloaded, or modified by a system administrator.
a. Installation path for PPD files
/usr/local/share/ppd/<supplier>/<manufacturer>
b. Installation path for print drivers
/usr/local/lib/printdriver/<supplier>
4. Common features
These features apply to each of the three supplier categories,
distro, third party vendor, and administrator.
a. PPD file naming convention
<MFGString>-<MDLString>-<driver>-<language>.ppd
b. The contents of the driver directories are entirely
determined by the supplier. The path to a driver is found
by using an absolute path in the ppd file.
c. Install scripts must be written in Bourne Shell without
any extensions.
5. Precedence Rules
Highest precedence is given to the system administrator which
allows for system by system modfications as determined by
support personel.
PPD files
Admin : /usr/local/print/ppd Highest
Third Party Vendor : /opt/<supplier>
Distro : /usr/share/ppd Lowest
Drivers
Admin : /usr/local/print/driver Highest
Third Party Vendor : /opt/<supplier>
Distro : /usr/lib/printdriver Lowest
Till Kamppeter wrote:
> Thank you for this, i have not seen that Wendy suggested something
> completely different for /usr/local/. What I mean is this:
>
> ---------------------------------------------------------------------
> 3. Files created, downloaded, or modified by a system administrator.
>
> a. Installation path for PPD files
> /usr/local/share/ppd/<supplier>/<manufacturer>
>
> b. Installation path for print drivers
> /usr/local/lib/printdriver/<supplier>
> ---------------------------------------------------------------------
>
> This way it is the very same structure as in /usr/ and/opt/.
>
> Till
>
> Bastian, Waldo wrote:
>> Given these directories:
>> /usr/share/ppd/<supplier>/<manufacturer>/
>> /usr/lib/printdriver/<supplier>
>> Is there any particular reason for using
>> /usr/local/print/ppd/<supplier>/<manufacturer>
>> /usr/local/print/driver/<supplier>
>> Instead of
>> /usr/local/share/ppd/<supplier>/<manufacturer>
>> /usr/local/lib/printdriver/<supplier>
>> ??
>
> _______________________________________________
> Printing-architecture mailing list
> Printing-architecture@lists.freestandards.org
> http://lists.freestandards.org/mailman/listinfo/printing-architecture
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [Printing-architecture] [lsb-discuss] Agreement on directory structure for printing
[not found] <1B47D24854C7BC4FA8DA28BEBB59B0BA463262@orsmsx419.amr.corp.intel.com>
@ 2006-08-09 16:52 ` Till Kamppeter
[not found] ` <m3fyg4pmm8.fsf@gromit.moeb>
0 siblings, 1 reply; 9+ messages in thread
From: Till Kamppeter @ 2006-08-09 16:52 UTC (permalink / raw)
To: Bastian, Waldo
Cc: Printing-Sc (E-mail), lsb-discuss, Andreas Jaeger,
printing-architecture, Wendy Phillips
Bastian, Waldo wrote:
> The admin paths in section 5 still needs adjustment.
Below is the version with everything corrected.
What about 64-bit systems (x86-64, ppc64, and s390x) which have a
/usr/lib64/ directory for dynamic/shared libraries?
We could go with
{/usr,/usr/local,/opt}/lib/printdriver
only if the drivers do not ship any shared libraries which provide
functionality for other drivers. If a supplier wants to ship a library
for both 32- and 64-bit only for its own use, he has the total liberty
of directory structure under ../printdriver/<supplier>/ and could
theoretically have lib/ and lib64/ directories there.
Till
-------------------------------------------------------------------------
1. Distro supplied files
The filesystem layout as utilized by the distibutions when the
ppd files and print drivers are initially installed on the
system. It is presumed that this will also be used for patches
and updates created and delivered by the distro.
a. Installation path for ppd files
/usr/share/ppd/<supplier>/<manufacturer>/
b. Installation path for print drivers
/usr/lib/printdriver/<supplier>
2. Third Party Vendor supplied files
The filesystem layout to be utilized by third party vendors
for delivery of ppd files, print drivers and other vendor
supplied files.
a. Installation path for PPD files
/opt/<supplier>/<internal structure non specified>
with symlink(s) to let the PPD files appear in
/opt/share/ppd/<supplier>/<manufacturer>
b. Installation path for print drivers
/opt/<supplier>/<internal structure non specified>
with symlink(s) to let the driver files appear in
/opt/lib/printdriver/<supplier>/
As the symlink paths are not (yet) registered with LANANA it
should be taken care of not overwriting anything existing with
them. Post-install script should not simply overwrite
files/directories. In reality a permission of the sys admin
would be needed, but in practice this is not always possible as
post-install scripts called from a package installation need to
be non-interactive.
3. Files created, downloaded, or modified by a system administrator.
a. Installation path for PPD files
/usr/local/share/ppd/<supplier>/<manufacturer>
b. Installation path for print drivers
/usr/local/lib/printdriver/<supplier>
4. Common features
These features apply to each of the three supplier categories,
distro, third party vendor, and administrator.
a. PPD file naming convention
<MFGString>-<MDLString>-<driver>-<language>.ppd
b. The contents of the driver directories are entirely
determined by the supplier. The path to a driver is found
by using an absolute path in the ppd file.
c. Install scripts must be written in Bourne Shell without
any extensions.
5. Precedence Rules
Highest precedence is given to the system administrator which
allows for system by system modfications as determined by
support personel.
PPD files
Admin : /usr/local/share/ppd Highest
Third Party Vendor : /opt/<supplier>
Distro : /usr/share/ppd Lowest
Drivers
Admin : /usr/local/lib/printdriver Highest
Third Party Vendor : /opt/<supplier>
Distro : /usr/lib/printdriver Lowest
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [Printing-architecture] [lsb-discuss] Agreement on directory structure for printing
[not found] ` <m3fyg4pmm8.fsf@gromit.moeb>
@ 2006-08-11 1:30 ` Christopher Yeoh
2006-08-11 2:06 ` Michael Sweet
0 siblings, 1 reply; 9+ messages in thread
From: Christopher Yeoh @ 2006-08-11 1:30 UTC (permalink / raw)
To: Andreas Jaeger
Cc: Wendy Phillips, Printing-Sc (E-mail), lsb-discuss,
printing-architecture, Till Kamppeter
At 2006/8/10 18:43+0200 Andreas Jaeger writes:
>
> On x86-64, ppc64 and s390x I suggest:
> {/usr,/usr/local,/opt}/lib/printdriver for 32-bit x86, ppc, s390 libraries
> {/usr,/usr/local,/opt}/lib64/printdriver for 64-bit x86-64, ppc64,s390x
> libraries
>
> Just don't hardcode lib but add a footnote that on lib64 systems,
> lib64 is used,
Yes, that would keep it consistent with the rest of the FHS.
Chris
--
cyeoh@au.ibm.com
IBM OzLabs Linux Development Group
Canberra, Australia
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [Printing-architecture] [lsb-discuss] Agreement on directory structure for printing
2006-08-11 1:30 ` Christopher Yeoh
@ 2006-08-11 2:06 ` Michael Sweet
2006-08-14 17:10 ` Till Kamppeter
0 siblings, 1 reply; 9+ messages in thread
From: Michael Sweet @ 2006-08-11 2:06 UTC (permalink / raw)
To: Christopher Yeoh
Cc: Andreas Jaeger, Printing-Sc (E-mail), printing-architecture,
Till Kamppeter, lsb-discuss, Wendy Phillips
Christopher Yeoh wrote:
> At 2006/8/10 18:43+0200 Andreas Jaeger writes:
>> On x86-64, ppc64 and s390x I suggest:
>> {/usr,/usr/local,/opt}/lib/printdriver for 32-bit x86, ppc, s390 libraries
>> {/usr,/usr/local,/opt}/lib64/printdriver for 64-bit x86-64, ppc64,s390x
>> libraries
>>
>> Just don't hardcode lib but add a footnote that on lib64 systems,
>> lib64 is used,
>
> Yes, that would keep it consistent with the rest of the FHS.
Actually, I'd expect both 32-bit and 64-bit drivers to be supported
on a 64-bit system, and the default path we use in CUPS will include
both the 32-bit and 64-bit paths when CUPS is configured for multiple
architectures...
--
______________________________________________________________________
Michael Sweet, Easy Software Products mike at easysw dot com
Internet Printing and Document Software http://www.easysw.com
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [Printing-architecture] [lsb-discuss] Agreement on directory structure for printing
2006-08-11 2:06 ` Michael Sweet
@ 2006-08-14 17:10 ` Till Kamppeter
2006-08-17 15:56 ` Till Kamppeter
0 siblings, 1 reply; 9+ messages in thread
From: Till Kamppeter @ 2006-08-14 17:10 UTC (permalink / raw)
To: Michael Sweet
Cc: Andreas Jaeger, Printing-Sc (E-mail), printing-architecture,
lsb-discuss, Wendy Phillips
I think we should agree on the version described below (including
lib64). The version with lib64 allows to provide both 32-bit and 64-bit
dynamic libraries for the case that the driver is interfaced by dynamic
library linking (as OpenPrinting vector without IPC). In a version
without lib64 every program dynamicxally linking drivers would need to
be of either 32-bit or 64-bit, not one of 32-bit and another of 64-bit,
as we can provide only one bit-width of the library. For executables
like IJS drivers or CUPS drivers it is enough to put them always in
../lib/.., as they do not need to be the same bit-width as the caller,
therefore only 64-bit libraries go into ../lib64/..
Till
-----------------------------------------------------------------------
0. If we have ../lib/.. paths and as 64-bit system (with backward
compatibility to a 32-bit system), 64-bit-only libraries go into the
appropriate ../lib64/.. path and 32-bit libraries and all (32-bit and
64-bit) executables into the ../lib/.. path.
1. Distro supplied files
The filesystem layout as utilized by the distibutions when the
ppd files and print drivers are initially installed on the
system. It is presumed that this will also be used for patches
and updates created and delivered by the distro.
a. Installation path for ppd files
/usr/share/ppd/<supplier>/<manufacturer>/
b. Installation path for print drivers
/usr/lib/printdriver/<supplier>
(/usr/lib64/printdriver/<supplier>)
2. Third Party Vendor supplied files
The filesystem layout to be utilized by third party vendors
for delivery of ppd files, print drivers and other vendor
supplied files.
a. Installation path for PPD files
/opt/<supplier>/<internal structure non specified>
with symlink(s) to let the PPD files appear in
/opt/share/ppd/<supplier>/<manufacturer>
b. Installation path for print drivers
/opt/<supplier>/<internal structure non specified>
with symlink(s) to let the driver files appear in
/opt/lib/printdriver/<supplier>/
(/opt/lib64/printdriver/<supplier>/)
As the symlink paths are not (yet) registered with LANANA it
should be taken care of not overwriting anything existing with
them. Post-install script should not simply overwrite
files/directories. In reality a permission of the sys admin
would be needed, but in practice this is not always possible as
post-install scripts called from a package installation need to
be non-interactive.
3. Files created, downloaded, or modified by a system administrator.
a. Installation path for PPD files
/usr/local/share/ppd/<supplier>/<manufacturer>
b. Installation path for print drivers
/usr/local/lib/printdriver/<supplier>
(/usr/local/lib64/printdriver/<supplier>)
4. Common features
These features apply to each of the three supplier categories,
distro, third party vendor, and administrator.
a. PPD file naming convention
<MFGString>-<MDLString>-<driver>-<language>.ppd
b. The contents of the driver directories are entirely
determined by the supplier. The path to a driver is found
by using an absolute path in the ppd file.
c. Install scripts must be written in Bourne Shell without
any extensions.
5. Precedence Rules
Highest precedence is given to the system administrator which
allows for system by system modfications as determined by
support personel.
PPD files
Admin : /usr/local/share/ppd Highest
Third Party Vendor : /opt/<supplier>
Distro : /usr/share/ppd Lowest
Drivers
Admin : /usr/local/lib(64)/printdriver Highest
Third Party Vendor : /opt/<supplier>
Distro : /usr/lib(64)/printdriver Lowest
-----------------------------------------------------------------------
Michael Sweet wrote:
> Christopher Yeoh wrote:
>
>> At 2006/8/10 18:43+0200 Andreas Jaeger writes:
>>
>>> On x86-64, ppc64 and s390x I suggest:
>>> {/usr,/usr/local,/opt}/lib/printdriver for 32-bit x86, ppc, s390
>>> libraries
>>> {/usr,/usr/local,/opt}/lib64/printdriver for 64-bit x86-64, ppc64,s390x
>>> libraries
>>>
>>> Just don't hardcode lib but add a footnote that on lib64 systems,
>>> lib64 is used,
>>
>>
>> Yes, that would keep it consistent with the rest of the FHS.
>
>
> Actually, I'd expect both 32-bit and 64-bit drivers to be supported
> on a 64-bit system, and the default path we use in CUPS will include
> both the 32-bit and 64-bit paths when CUPS is configured for multiple
> architectures...
>
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [Printing-architecture] [lsb-discuss] Agreement on directory structure for printing
[not found] <3F62CBEE02D6404E98C65934617EB58268B93F@fmsmsx414.amr.corp.intel.com>
@ 2006-08-14 17:30 ` Till Kamppeter
0 siblings, 0 replies; 9+ messages in thread
From: Till Kamppeter @ 2006-08-14 17:30 UTC (permalink / raw)
To: Wichmann, Mats D
Cc: Wendy Phillips, lsb-discuss, Michael Sweet, printing-architecture,
Printing-Sc (E-mail)
Or should we say that on 64-bit systems with backward compatibility to a
32-bit system there should simply be a ../lib64/.. patch corresponding
to each ../lib/.. path but we do not specify for what the ../lib64/..
path is.
In general if an absolute ../lib/.. path is given in a PPD a 64-bit
system has to use ../lib64/.. instead if needed.
Or can we do away with ../lib64/.. completely and make the driver
supplier responsible for supplying a 64-bit version of their driver
which works on the LSB-compliant 64-bit distros. 64-bit experts: Does
this work without having ../lib64/.. paths in the printer driver
directory structure?
Till
Wichmann, Mats D wrote:
>
> you're getting into tricky space here, is all I can say.
> Some 64-bit distros are 32-bit plus 64-bit runtime support,
> while others are 64-bit plus 32-bit runtime support.
> I'm not sure there's a universal answer for either
> LSB architecture, either - e.g. I think some ppc64's
> are one way, some the other.
>
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [Printing-architecture] [lsb-discuss] Agreement on directory structure for printing
2006-08-14 17:10 ` Till Kamppeter
@ 2006-08-17 15:56 ` Till Kamppeter
0 siblings, 0 replies; 9+ messages in thread
From: Till Kamppeter @ 2006-08-17 15:56 UTC (permalink / raw)
To: 'McDonald, Ira'
Cc: Andreas Jaeger, Printing-Sc (E-mail), Michael Sweet,
printing-architecture, lsb-discuss, Wendy Phillips
Anything still to change? Or, Ira, when will you write doen the spec for
this that we can finally submit the directory structure?
Till
Till Kamppeter wrote:
> I think we should agree on the version described below (including
> lib64). The version with lib64 allows to provide both 32-bit and 64-bit
> dynamic libraries for the case that the driver is interfaced by dynamic
> library linking (as OpenPrinting vector without IPC). In a version
> without lib64 every program dynamicxally linking drivers would need to
> be of either 32-bit or 64-bit, not one of 32-bit and another of 64-bit,
> as we can provide only one bit-width of the library. For executables
> like IJS drivers or CUPS drivers it is enough to put them always in
> ../lib/.., as they do not need to be the same bit-width as the caller,
> therefore only 64-bit libraries go into ../lib64/..
>
> Till
>
> -----------------------------------------------------------------------
>
> 0. If we have ../lib/.. paths and as 64-bit system (with backward
> compatibility to a 32-bit system), 64-bit-only libraries go into the
> appropriate ../lib64/.. path and 32-bit libraries and all (32-bit and
> 64-bit) executables into the ../lib/.. path.
>
> 1. Distro supplied files
>
> The filesystem layout as utilized by the distibutions when the
> ppd files and print drivers are initially installed on the
> system. It is presumed that this will also be used for patches
> and updates created and delivered by the distro.
>
> a. Installation path for ppd files
> /usr/share/ppd/<supplier>/<manufacturer>/
>
> b. Installation path for print drivers
> /usr/lib/printdriver/<supplier>
> (/usr/lib64/printdriver/<supplier>)
>
> 2. Third Party Vendor supplied files
>
> The filesystem layout to be utilized by third party vendors
> for delivery of ppd files, print drivers and other vendor
> supplied files.
>
> a. Installation path for PPD files
> /opt/<supplier>/<internal structure non specified>
> with symlink(s) to let the PPD files appear in
> /opt/share/ppd/<supplier>/<manufacturer>
>
> b. Installation path for print drivers
> /opt/<supplier>/<internal structure non specified>
> with symlink(s) to let the driver files appear in
> /opt/lib/printdriver/<supplier>/
> (/opt/lib64/printdriver/<supplier>/)
>
> As the symlink paths are not (yet) registered with LANANA it
> should be taken care of not overwriting anything existing with
> them. Post-install script should not simply overwrite
> files/directories. In reality a permission of the sys admin
> would be needed, but in practice this is not always possible as
> post-install scripts called from a package installation need to
> be non-interactive.
>
> 3. Files created, downloaded, or modified by a system administrator.
>
> a. Installation path for PPD files
> /usr/local/share/ppd/<supplier>/<manufacturer>
>
> b. Installation path for print drivers
> /usr/local/lib/printdriver/<supplier>
> (/usr/local/lib64/printdriver/<supplier>)
>
> 4. Common features
> These features apply to each of the three supplier categories,
> distro, third party vendor, and administrator.
>
> a. PPD file naming convention
> <MFGString>-<MDLString>-<driver>-<language>.ppd
>
> b. The contents of the driver directories are entirely
> determined by the supplier. The path to a driver is found
> by using an absolute path in the ppd file.
>
> c. Install scripts must be written in Bourne Shell without
> any extensions.
>
> 5. Precedence Rules
> Highest precedence is given to the system administrator which
> allows for system by system modfications as determined by
> support personel.
>
> PPD files
> Admin : /usr/local/share/ppd Highest
> Third Party Vendor : /opt/<supplier>
> Distro : /usr/share/ppd Lowest
>
> Drivers
> Admin : /usr/local/lib(64)/printdriver Highest
> Third Party Vendor : /opt/<supplier>
> Distro : /usr/lib(64)/printdriver Lowest
>
>
> -----------------------------------------------------------------------
>
>
> Michael Sweet wrote:
>
>>Christopher Yeoh wrote:
>>
>>
>>>At 2006/8/10 18:43+0200 Andreas Jaeger writes:
>>>
>>>
>>>>On x86-64, ppc64 and s390x I suggest:
>>>>{/usr,/usr/local,/opt}/lib/printdriver for 32-bit x86, ppc, s390
>>>>libraries
>>>>{/usr,/usr/local,/opt}/lib64/printdriver for 64-bit x86-64, ppc64,s390x
>>>>libraries
>>>>
>>>>Just don't hardcode lib but add a footnote that on lib64 systems,
>>>>lib64 is used,
>>>
>>>
>>>Yes, that would keep it consistent with the rest of the FHS.
>>
>>
>>Actually, I'd expect both 32-bit and 64-bit drivers to be supported
>>on a 64-bit system, and the default path we use in CUPS will include
>>both the 32-bit and 64-bit paths when CUPS is configured for multiple
>>architectures...
>>
>
>
>
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [Printing-architecture] [lsb-discuss] Agreement on directory structure for printing
@ 2006-08-17 17:45 McDonald, Ira
0 siblings, 0 replies; 9+ messages in thread
From: McDonald, Ira @ 2006-08-17 17:45 UTC (permalink / raw)
To: 'Till Kamppeter'
Cc: Andreas Jaeger, Printing-Sc (E-mail), Michael Sweet,
printing-architecture, lsb-discuss, Wendy Phillips
Hi Till,
My schedule is very busy for at least the next month. I'll
start trying to write up directory structure spec, BUT...
The addition of this set of paths to the FHS and LSB should
be in _parallel_. Because the FSG Open Printing standards
process will take months to execute (even after we have an
agreed 'final' draft).
Cheers,
- Ira
Ira McDonald (Musician / Software Architect)
Blue Roof Music / High North Inc
PO Box 221 Grand Marais, MI 49839
phone: +1-906-494-2434
email: imcdonald@sharplabs.com
> -----Original Message-----
> From: Till Kamppeter [mailto:till.kamppeter@gmail.com]
> Sent: Thursday, August 17, 2006 11:57 AM
> To: McDonald, Ira
> Cc: Michael Sweet; Christopher Yeoh; Andreas Jaeger; Wendy Phillips;
> Printing-Sc (E-mail); lsb-discuss; printing-architecture
> Subject: Re: [Printing-architecture] [lsb-discuss] Agreement on
> directory structure for printing
>
>
> Anything still to change? Or, Ira, when will you write doen
> the spec for
> this that we can finally submit the directory structure?
>
> Till
>
>
>
> Till Kamppeter wrote:
> > I think we should agree on the version described below (including
> > lib64). The version with lib64 allows to provide both
> 32-bit and 64-bit
> > dynamic libraries for the case that the driver is
> interfaced by dynamic
> > library linking (as OpenPrinting vector without IPC). In a version
> > without lib64 every program dynamicxally linking drivers
> would need to
> > be of either 32-bit or 64-bit, not one of 32-bit and
> another of 64-bit,
> > as we can provide only one bit-width of the library. For executables
> > like IJS drivers or CUPS drivers it is enough to put them always in
> > ../lib/.., as they do not need to be the same bit-width as
> the caller,
> > therefore only 64-bit libraries go into ../lib64/..
> >
> > Till
> >
> >
> --------------------------------------------------------------
> ---------
> >
> > 0. If we have ../lib/.. paths and as 64-bit system (with backward
> > compatibility to a 32-bit system), 64-bit-only libraries
> go into the
> > appropriate ../lib64/.. path and 32-bit libraries and
> all (32-bit and
> > 64-bit) executables into the ../lib/.. path.
> >
> > 1. Distro supplied files
> >
> > The filesystem layout as utilized by the
> distibutions when the
> > ppd files and print drivers are initially installed on the
> > system. It is presumed that this will also be used
> for patches
> > and updates created and delivered by the distro.
> >
> > a. Installation path for ppd files
> > /usr/share/ppd/<supplier>/<manufacturer>/
> >
> > b. Installation path for print drivers
> > /usr/lib/printdriver/<supplier>
> > (/usr/lib64/printdriver/<supplier>)
> >
> > 2. Third Party Vendor supplied files
> >
> > The filesystem layout to be utilized by third party vendors
> > for delivery of ppd files, print drivers and other vendor
> > supplied files.
> >
> > a. Installation path for PPD files
> > /opt/<supplier>/<internal structure non specified>
> > with symlink(s) to let the PPD files appear in
> > /opt/share/ppd/<supplier>/<manufacturer>
> >
> > b. Installation path for print drivers
> > /opt/<supplier>/<internal structure non specified>
> > with symlink(s) to let the driver files appear in
> > /opt/lib/printdriver/<supplier>/
> > (/opt/lib64/printdriver/<supplier>/)
> >
> > As the symlink paths are not (yet) registered with
> LANANA it
> > should be taken care of not overwriting anything
> existing with
> > them. Post-install script should not simply overwrite
> > files/directories. In reality a permission of the sys admin
> > would be needed, but in practice this is not
> always possible as
> > post-install scripts called from a package
> installation need to
> > be non-interactive.
> >
> > 3. Files created, downloaded, or modified by a system administrator.
> >
> > a. Installation path for PPD files
> > /usr/local/share/ppd/<supplier>/<manufacturer>
> >
> > b. Installation path for print drivers
> > /usr/local/lib/printdriver/<supplier>
> > (/usr/local/lib64/printdriver/<supplier>)
> >
> > 4. Common features
> > These features apply to each of the three supplier
> categories,
> > distro, third party vendor, and administrator.
> >
> > a. PPD file naming convention
> > <MFGString>-<MDLString>-<driver>-<language>.ppd
> >
> > b. The contents of the driver directories are entirely
> > determined by the supplier. The path to a driver is found
> > by using an absolute path in the ppd file.
> >
> > c. Install scripts must be written in Bourne Shell without
> > any extensions.
> >
> > 5. Precedence Rules
> > Highest precedence is given to the system
> administrator which
> > allows for system by system modfications as determined by
> > support personel.
> >
> > PPD files
> > Admin : /usr/local/share/ppd
> Highest
> > Third Party Vendor : /opt/<supplier>
> > Distro : /usr/share/ppd
> Lowest
> >
> > Drivers
> > Admin :
> /usr/local/lib(64)/printdriver Highest
> > Third Party Vendor : /opt/<supplier>
> > Distro : /usr/lib(64)/printdriver
> Lowest
> >
> >
> >
> --------------------------------------------------------------
> ---------
> >
> >
> > Michael Sweet wrote:
> >
> >>Christopher Yeoh wrote:
> >>
> >>
> >>>At 2006/8/10 18:43+0200 Andreas Jaeger writes:
> >>>
> >>>
> >>>>On x86-64, ppc64 and s390x I suggest:
> >>>>{/usr,/usr/local,/opt}/lib/printdriver for 32-bit x86, ppc, s390
> >>>>libraries
> >>>>{/usr,/usr/local,/opt}/lib64/printdriver for 64-bit
> x86-64, ppc64,s390x
> >>>>libraries
> >>>>
> >>>>Just don't hardcode lib but add a footnote that on lib64 systems,
> >>>>lib64 is used,
> >>>
> >>>
> >>>Yes, that would keep it consistent with the rest of the FHS.
> >>
> >>
> >>Actually, I'd expect both 32-bit and 64-bit drivers to be supported
> >>on a 64-bit system, and the default path we use in CUPS will include
> >>both the 32-bit and 64-bit paths when CUPS is configured
> for multiple
> >>architectures...
> >>
> >
> >
> >
>
--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.11.1/421 - Release Date: 8/16/2006
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2006-08-17 17:45 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <1B47D24854C7BC4FA8DA28BEBB59B0BA463262@orsmsx419.amr.corp.intel.com>
2006-08-09 16:52 ` [Printing-architecture] [lsb-discuss] Agreement on directory structure for printing Till Kamppeter
[not found] ` <m3fyg4pmm8.fsf@gromit.moeb>
2006-08-11 1:30 ` Christopher Yeoh
2006-08-11 2:06 ` Michael Sweet
2006-08-14 17:10 ` Till Kamppeter
2006-08-17 15:56 ` Till Kamppeter
2006-08-17 17:45 McDonald, Ira
[not found] <3F62CBEE02D6404E98C65934617EB58268B93F@fmsmsx414.amr.corp.intel.com>
2006-08-14 17:30 ` Till Kamppeter
[not found] <1B47D24854C7BC4FA8DA28BEBB59B0BA4176AE@orsmsx419.amr.corp.intel.com>
2006-08-07 15:52 ` Till Kamppeter
2006-08-08 23:58 ` Wendy Phillips
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.