<?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>123103</bug_id>
          
          <creation_ts>2006-02-16 16:11 0000</creation_ts>
          <short_desc>app-crypt/dirmngr has gettext as RDEPEND</short_desc>
          <delta_ts>2006-02-16 16:52:40 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>flameeyes@gentoo.org</reporter>
          <assigned_to>crypto@gentoo.org</assigned_to>
          <cc>alt@gentoo.org</cc>
    
    <cc>qa@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>flameeyes@gentoo.org</who>
            <bug_when>2006-02-16 16:11:06 0000</bug_when>
            <thetext>The ebuild in summary has a runtime dependency over gettext.

gettext is normally used only as build-time dependency to create the po files in nls-enabled packages.
A part from development tools, the only case when gettext is needed as runtime dependency is when the system c library does not provide intl functions.
For this reason the right way to state the dependencies for nls-enabled packages is:

RDEPEND=&quot;nls? ( virtual/libintl )
   ....&quot;

DEPEND=&quot;${RDEPEND}
   nls? ( sys-devel/gettext )&quot;

this way libintl takes care of adding the dependency when needed and gettext is required only at build time.

Note: although usually packages using gettext and autotools are supposed to honour --disable-nls at configure time, that might not always be true, so gettext and libintl might be an hard dependency. Also, gettext (but not libintl) might be an hard dependency if the sources needs to be bootstrapped for autotools from scratch (and thus autopoint has to be run).

Thanks,
Diego</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vanquirius@gentoo.org</who>
            <bug_when>2006-02-16 16:19:16 0000</bug_when>
            <thetext>Created an attachment (id=79975)
dirmngr-0.9.2.ebuild.diff

Does this look OK?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vanquirius@gentoo.org</who>
            <bug_when>2006-02-16 16:52:40 0000</bug_when>
            <thetext>Thanks, fixed in cvs.</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>79975</attachid>
            <date>2006-02-16 16:19 0000</date>
            <desc>dirmngr-0.9.2.ebuild.diff</desc>
            <filename>dirmngr-0.9.2.ebuild.diff</filename>
            <type>text/plain</type>
            <data encoding="base64">SW5kZXg6IGRpcm1uZ3ItMC45LjIuZWJ1aWxkCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KUkNTIGZpbGU6IC92YXIvY3Zz
cm9vdC9nZW50b28teDg2L2FwcC1jcnlwdC9kaXJtbmdyL2Rpcm1uZ3ItMC45LjIuZWJ1aWxkLHYK
cmV0cmlldmluZyByZXZpc2lvbiAxLjIKZGlmZiAtdSAtYiAtQiAtcjEuMiBkaXJtbmdyLTAuOS4y
LmVidWlsZAotLS0gZGlybW5nci0wLjkuMi5lYnVpbGQJMTkgU2VwIDIwMDUgMjA6NTM6MDQgLTAw
MDAJMS4yCisrKyBkaXJtbmdyLTAuOS4yLmVidWlsZAkxNyBGZWIgMjAwNiAwMDoxODo0OCAtMDAw
MApAQCAtMTEsMTMgKzExLDE2IEBACiBLRVlXT1JEUz0ifng4NiB+cHBjIgogSVVTRT0ibmxzIgog
Ci1ERVBFTkQ9Ij49bmV0LW5kcy9vcGVubGRhcC0yLjEuMjYKK1JERVBFTkQ9Ij49bmV0LW5kcy9v
cGVubGRhcC0yLjEuMjYKIAk+PWRldi1saWJzL2xpYmdwZy1lcnJvci0wLjcKI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