Bug 15026 - docbook-dsssl-stylesheets installs files to bad location?
|
Bug#:
15026
|
Product: Gentoo Linux
|
Version: unspecified
|
Platform: All
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: normal
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: satai@gentoo.org
|
Reported By: jrray@jrray.org
|
|
Component: Ebuilds
|
|
|
URL:
|
|
Summary: docbook-dsssl-stylesheets installs files to bad location?
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2003-02-03 06:28 0000
|
I'm putting together a new ebuild for libgcrypt, it uses docbook stuff to
generate
manuals. It includes a script that searches for the location of stylesheets.
Here is an abridged list of the places it looks:
stylesheet_dirs='
/usr/lib/dsssl/stylesheets/docbook
/usr/share/dsssl/stylesheets/docbook
/usr/lib/sgml/stylesheet/dsssl/docbook/nwalsh
/usr/share/sgml/stylesheet/dsssl/docbook/nwalsh
/usr/lib/sgml/stylesheets/nwalsh-modular
/usr/share/sgml/stylesheets/nwalsh-modular
'
docbook-dsssl-stylesheets-1.77-r1 has put the files it is search for in:
/usr/share/sgml/docbook/dsssl-stylesheets-1.77
I really question the utility of installing these files to a path containing
${PV}, that seems to make them as unfindable as possible.
Then, in my ebuild I have to detect what version of this stylesheet package is
installed and then compute its ${PV}. Could these files be installed into a
more predictable path, ideally one of the aforementioned ones?
Reproducible: Always
Steps to Reproduce:
I was actually under the impression that generating programs used /etc/sgml to
find the
DTDs. Let me look into it, I'll have a solution by the end of the week...
Do the .dsl files have to be placed in one of those dirs, or does it recurse?
Well, anyway, I committed a symlink to get this working, as all the info I
could find led me
to believe we were installing it correctly. Let me know if it recurses,
because if it does I'm
going to change the way the symlink works. It's masked ~ARCH.