<?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>50869</bug_id>
          
          <creation_ts>2004-05-12 11:26 0000</creation_ts>
          <short_desc>alleyoop-0.8.2.ebuild (New Package)</short_desc>
          <delta_ts>2004-05-13 14:09:44 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>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          <bug_file_loc>http://alleyoop.sourceforge.net/</bug_file_loc>
          
          <keywords>EBUILD</keywords>
          <priority>P2</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>sirmorcant@morcant.org</reporter>
          <assigned_to>dragonheart@gentoo.org</assigned_to>
          <cc>sirmorcant@morcant.org</cc>

      

      
          <long_desc isprivate="0">
            <who>sirmorcant@morcant.org</who>
            <bug_when>2004-05-12 11:26:54 0000</bug_when>
            <thetext>Hi

Please find attached alleyoop-0.8.2.ebuild.

Alleyoop is a graphical front-end to the increasingly popular Valgrind memory checker for x86 GNU/Linux using the Gtk+ widget set and other GNOME libraries for the X-Windows environment.

Features include a right-click context menu to intelligently suppress errors or launch an editor on the source file/jumping to the exact line of the error condition. A searchbar at the top of the viewer can be used to limit the viewable errors to those that match the regex criteria entered.

Morgan Collins</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>sirmorcant@morcant.org</who>
            <bug_when>2004-05-12 11:28:19 0000</bug_when>
            <thetext>Created an attachment (id=31284)
Ebuild for Alleyoop, a gtk/gnome frontend to valgrind

Ebuild for Alleyoop, a gtk/gnome frontend to valgrind</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dragonheart@gentoo.org</who>
            <bug_when>2004-05-12 17:13:01 0000</bug_when>
            <thetext>Thanks for the ebuild. Let me know if I was too overzealous in the RDEPENDS
$ ldd /usr/bin/alleyoop | cut -f 3 -d &apos; &apos;  | xargs -n1 qpkg -f | sort -u
and compare results to RDEPEND.

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>sirmorcant@morcant.org</who>
            <bug_when>2004-05-12 17:29:19 0000</bug_when>
            <thetext>I show you proposing to make all of these RDEPENDS:

dev-libs/atk *
dev-libs/expat *
dev-libs/glib *
dev-libs/libxml2 *
dev-libs/openssl *
dev-libs/popt *
gnome-base/ORBit2 *
gnome-base/gconf *
gnome-base/gnome-keyring *
gnome-base/gnome-vfs *
gnome-base/libbonobo *
gnome-base/libbonoboui *
gnome-base/libglade *
gnome-base/libgnome *
gnome-base/libgnomecanvas *
gnome-base/libgnomeui *
media-libs/alsa-lib *
media-libs/audiofile *
media-libs/fontconfig *
media-libs/freetype *
media-libs/jpeg *
media-libs/libart_lgpl *
media-sound/esound *
sys-libs/glibc *
sys-libs/zlib *
x11-base/xorg-x11 *
x11-libs/gtk+ *
x11-libs/pango *

My RDEPENDS were for the immediate dependencies of alleyoop, not the dependencies of it&apos;s immediate dependencies.

By this I mean that alleyoop does not require libxml, but libglade does, which it depends on. If libglade was not compiled with libxml for whatever reason (support was optional for instance), alleyoop would still function correctly.

This is the behaviour I observed in other ebuilds that use gnome packages as dependencies, so this is the behaviour I chose to follow.

However the ebuild should function with the added dependencies, provided some of the extra packages you do not really depend on, but include, are not masked by other installed packages (eg Xorg vs XFree86) and the extra bloat is not needed.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dragonheart@gentoo.org</who>
            <bug_when>2004-05-12 22:06:55 0000</bug_when>
            <thetext>Is there an easy way to determine the first level dependencies? looking at the libraries that are included in the makefile is my best guess so far.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dragonheart@gentoo.org</who>
            <bug_when>2004-05-13 02:27:18 0000</bug_when>
            <thetext>I&apos;ve reduced the list to those included by the compiling command (below). Hopefully it is a bit more accurate.

gcc  -march=pentium3 -O2   -o alleyoop  alleyoop.o ldd.o legolas.o list.o menu-utils.o parser.o prefs.o process.o symtab.o vgcachegrindprefs.o vgdefaultview.o vgerror.o vggeneralprefs.o vghelgrindprefs.o vgio.o vgmarshal.o vgmemcheckprefs.o vgrule.o vgrule-editor.o vgrule-list.o vgrulepattern.o vgsearchbar.o vgskinprefs.o vgskinview.o vgstrpool.o main.o -Wl,--export-dynamic -pthread -L/usr/X11R6/lib -lglade-2.0 -lgnomeui-2 -lSM -lICE -lbonoboui-2 -lxml2 -lpthread -lz -lgnomecanvas-2 -lgnome-2 -lpopt -lart_lgpl_2 -lpangoft2-1.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lbonobo-2 -lgnomevfs-2 -lbonobo-activation -lgconf-2 -lORBit-2 -lgobject-2.0 -lgthread-2.0 -lm -lgmodule-2.0 -ldl -lglib-2.0    -Wl,-Bstatic -lbfd -liberty -Wl,-Bdynamic
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>sirmorcant@morcant.org</who>
            <bug_when>2004-05-13 09:09:53 0000</bug_when>
            <thetext>Take a look at gst-editor:

RDEPEND=&quot;&gt;=media-libs/gstreamer-0.6
    &gt;=x11-libs/gtk+-2
    &gt;=gnome-base/libgnomeui-2
    &gt;=gnome-base/libbonoboui-2
    &gt;=gnome-base/libglade-2
    app-text/scrollkeeper&quot;
                                                                                
DEPEND=&quot;${RDEPEND}                                                      
    &gt;=dev-util/pkgconfig-0.9&quot;

There is no point in including a runtime dependency for libxml for instance, because libglade has the dependancy not gst-editor. 

You can determine the first level dependencies by looking at configure.in and see what the program actually uses and then look at Makefile and see what gets added.  Often times configure.in will include libbonoboui or the like, which in turns depends on libgnome-vfs, so libgnome-vfs gets into the Makefile, but it is not depended on. At some point libbonoboui could not require libgnome-vfs, or gnome-vfs could become obsolete and something else could replace it, at that point if gnome-vfs is masked, your ebuild is broke. It is best to only include first level dependencies, which my original ebuild covered.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dragonheart@gentoo.org</who>
            <bug_when>2004-05-13 14:09:44 0000</bug_when>
            <thetext>Thankyou for teaching me this.</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>31284</attachid>
            <date>2004-05-12 11:28 0000</date>
            <desc>alleyoop-0.8.2.ebuild</desc>
            <filename>alleyoop-0.8.2.ebuild</filename>
            <type>text/plain</type>
            <data encoding="base64">IyBDb3B5cmlnaHQgMTk5OS0yMDA0IEdlbnRvbyBUZWNobm9sb2dpZXMsIEluYy4KIyBEaXN0cmli
dXRlZCB1bmRlciB0aGUgdGVybXMgb2YgdGhlIEdOVSBHZW5lcmFsIFB1YmxpYyBMaWNlbnNlIHYy
CiMgJEhlYWRlcjogJAoKaW5oZXJpdCBnbm9tZTIKCkRFU0NSSVBUSU9OPSJBIEd0aysgZnJvbnQt
ZW5kIHRvIHRoZSBWYWxncmluZCBtZW1vcnkgY2hlY2tlciBmb3IgeDg2IEdOVS8gTGludXguIgpI
T01FUEFHRT0iaHR0cDovL2FsbGV5b29wLnNvdXJjZWZvcmdlLm5ldC8iClNSQ19VUkk9Im1pcnJv
cjovL3NvdXJjZWZvcmdlL2FsbGV5b29wLyR7UH0udGFyLmd6IgoKTElDRU5TRT0iR1BMLTIiClNM
T1Q9IjAiCktFWVdPUkRTPSJ+eDg2IC1zcGFyYyAtcHBjIC1hbHBoYSIKSVVTRT0iIgoKUkRFUEVO
RD0iPj1kZXYtbGlicy9nbGliLTIuMgoJPj14MTEtbGlicy9ndGsrLTIuMgoJPj1nbm9tZS1iYXNl
L2djb25mLTIuMgoJPj1nbm9tZS1iYXNlL2xpYmdub21ldWktMi4yCgk+PWdub21lLWJhc2UvbGli
Z2xhZGUtMi4yCglzeXMtZGV2ZWwvYmludXRpbHMKCWRldi11dGlsL3ZhbGdyaW5kIgoJCkRFUEVO
RD0iJHtSREVQRU5EfQoJZGV2LXV0aWwvcGtnY29uZmlnIgoKRE9DUz0iQVVUSE9SUyBDT1BZSU5H
IENoYW5nZUxvZyBJTlNUQUxMIE5FV1MgUkVBRE1FIgkK
</data>        

          </attachment>
    </bug>

</bugzilla>