<?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>180996</bug_id>
          
          <creation_ts>2007-06-05 19:57 0000</creation_ts>
          <short_desc>app-text/ghostscript-gnu: font search path not correctly set</short_desc>
          <delta_ts>2007-06-05 20:06:25 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>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>plasm@roo.me.uk</reporter>
          <assigned_to>bug-wranglers@gentoo.org</assigned_to>
          <cc>genstef@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>plasm@roo.me.uk</who>
            <bug_when>2007-06-05 19:57:21 0000</bug_when>
            <thetext>There is a bug in the sed call in the ebuild, it does not modify the correct Makefile and so Ghostscript is built with the wrong font search path: /usr/share/ghostscript/fonts instead of /usr/share/fonts/default/ghostscript. So documents without embedded fonts fail processing.

It should be noted that initially Makefile.in is symlinked to src/Makefile.in. However, the behaviour of sed if --follow-symlinks is not specified is to break the link when -i is also used.

Attached patch resolves this issue. This probably affects ghostscript-gpl too but I have not confirmed this.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>plasm@roo.me.uk</who>
            <bug_when>2007-06-05 19:57:35 0000</bug_when>
            <thetext>Created an attachment (id=121270)
Patch

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>genstef@gentoo.org</who>
            <bug_when>2007-06-05 20:06:25 0000</bug_when>
            <thetext>thank you, fixed</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>121270</attachid>
            <date>2007-06-05 19:57 0000</date>
            <desc>Patch</desc>
            <filename>fix-ghostscript-search-path.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIGdob3N0c2NyaXB0LWdudS04LjU1LmVidWlsZAkyMDA3LTA2LTA1IDIwOjQ4OjQxLjAwMDAw
MDAwMCArMDEwMAorKysgZ2hvc3RzY3JpcHQtZ251LTguNTUuZWJ1aWxkLnBsYXNtYXJvbwkyMDA3
LTA2LTA1IDIwOjQ5OjAxLjAwMDAwMDAwMCArMDEwMApAQCAtODcsNyArODcsNyBAQAogCQktZSAi
czpleGRpcj0uKjpleGRpcj0vdXNyL3NoYXJlL2RvYy8ke1BGfS9leGFtcGxlczoiIFwKIAkJLWUg
InM6ZG9jZGlyPS4qOmRvY2Rpcj0vdXNyL3NoYXJlL2RvYy8ke1BGfS9odG1sOiIgXAogCQktZSAi
czpHU19ET0NESVI9Lio6R1NfRE9DRElSPS91c3Ivc2hhcmUvZG9jLyR7UEZ9L2h0bWw6IiBcCi0J
CXNyYy9NYWtlZmlsZS5pbiBzcmMvKi5tYWsgfHwgZGllICJzZWQgZmFpbGVkIgorCQlNYWtlZmls
ZS5pbiBzcmMvTWFrZWZpbGUuaW4gc3JjLyoubWFrIHx8IGRpZSAic2VkIGZhaWxlZCIKIH0KIAog
c3JjX2NvbXBpbGUoKSB7Cg==
</data>        

          </attachment>
    </bug>

</bugzilla>