<?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>40552</bug_id>
          
          <creation_ts>2004-02-05 19:07 0000</creation_ts>
          <short_desc>glib-perl-1.012 has some strange DEPEND section</short_desc>
          <delta_ts>2004-02-25 02:23:18 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>Unspecified</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</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>spider@gentoo.org</reporter>
          <assigned_to>perl@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>spider@gentoo.org</who>
            <bug_when>2004-02-05 19:07:23 0000</bug_when>
            <thetext>Trying to find RDEPEND issues here and I stumbled on this gem:

DEPEND=&quot;${DEPEND}
        &gt;=x11-libs/gtk+-2*
        &gt;=dev-libs/glib-2*
        dev-util/pkgconfig
        dev-perl/extutils-depends
        dev-perl/extutils-pkgconfig
        xml? ( dev-perl/XML-Writer
                dev-perl/XML-Parser )&quot;


pkgconfig should probably be a DEPEND only, whereas gtk+ and glib+ seems to be RDEPEND 
so

RDEPEND=&quot;
&gt;=x11-libs/gtk+-2*
&gt;=dev-libs/glib-2
xml? ( dev-perl/XML-Writer
dev-perl/XML-Parser )&quot;

DEPEND=&quot;${RDEPEND}
dev-util/pkgconfig
dev-perl/extutils-depends
dev-perl/extutils-pkgconfig&quot;

if I&apos;ve understood what extutils-depends/pkgconfig does.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mcummings@gentoo.org</who>
            <bug_when>2004-02-21 04:11:22 0000</bug_when>
            <thetext>I think the confusion, at least on my part, is the use/nature of RDEPEND and DEPEND. (yea, I resorted to man 5 for this answer) DEPEND is what is required for the app to build (and they were all valid), and RDEPEND for it to run, defaulting to DEPEND. I guess it was a misconception on my part as to how they differ in actual use, i.e. would the RDEPENDs get emerged properly before the main ebuild (naivete at its best Spider). Will clean this up and keep an eye out for similar mistakes in our outdated broilerplate schemes =:)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>spider@gentoo.org</who>
            <bug_when>2004-02-21 04:34:28 0000</bug_when>
            <thetext>Yeah, thats a good rundown of it.  In the Gnome builds we usually do it like this:

RDEPEND=&quot;gnome-base/libgnome
  gnome-base/libgnomeui&quot;

DEPEND=&quot;${RDEPEND}
   dev-util/pkgconfig
   dev-util/intltool&quot;


To get the representation &quot;right&quot; in between them, but the two may vary widely so it isn&apos;t an absolute rule.

As I don&apos;t really know what this perl package does, I&apos;m not sure what to require here, how it depends on the different parts (pkgconfig fex) does it wrap it, or need it to build (to find other depends) or ... ?    </thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mcummings@gentoo.org</who>
            <bug_when>2004-02-25 02:23:18 0000</bug_when>
            <thetext>Cleaned up in glib-perl and will keep an eye out for this in other ebuilds (too many in dev-perl to do a real housecleaning right now unfortunately). Thanks Spider!

-mike</thetext>
          </long_desc>
      
    </bug>

</bugzilla>