<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>15026</bug_id>
          
          <creation_ts>2003-02-03 06:28 0000</creation_ts>
          <short_desc>docbook-dsssl-stylesheets installs files to bad location?</short_desc>
          <delta_ts>2003-02-07 22:10:37 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Ebuilds</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>14938</blocked>
          
          <everconfirmed>1</everconfirmed>
          <reporter>jrray@jrray.org</reporter>
          <assigned_to>satai@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>jrray@jrray.org</who>
            <bug_when>2003-02-03 06:28:36 0000</bug_when>
            <thetext>I&apos;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=&apos;
/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
&apos;

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:</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>satai@gentoo.org</who>
            <bug_when>2003-02-05 03:41:08 0000</bug_when>
            <thetext>I was actually under the impression that generating programs used /etc/sgml to find the 
DTDs.  Let me look into it, I&apos;ll have a solution by the end of the week... </thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>satai@gentoo.org</who>
            <bug_when>2003-02-07 19:33:50 0000</bug_when>
            <thetext>Do the .dsl files have to be placed in one of those dirs, or does it recurse? </thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>satai@gentoo.org</who>
            <bug_when>2003-02-07 22:10:37 0000</bug_when>
            <thetext>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&apos;m 
going to change the way the symlink works.  It&apos;s masked ~ARCH. </thetext>
          </long_desc>
      
    </bug>

</bugzilla>