Subject: Re: Find out what buildlinks (or dependencies) are needed?
To: Frederick Bruckman <fredb@immanent.net>
From: Jeremy C. Reed <reed@reedmedia.net>
List: tech-pkg
Date: 05/24/2002 17:54:35
> > > (I am not sure why it has libaudiofile and esound, since not needed for a
> > > unzipping.)
> >
> > gnome-libs depends on esound which depends on libaudiofile.  You can
> > compact the above into just:
> >
> > .include "../../x11/gnome-libs/buildlink.mk"
> > .include "../../mk/x11.buildlink.mk"
> > .include "../../mk/bsd.pkg.mk"

Okay.

On Fri, 24 May 2002, Frederick Bruckman wrote:

> I believe what he's asking is "Why?", since not everything that needs
> gnome-libs really needs the audio support. So while including
> buildlink.mk's in other buildlink.mk's saves typing for pkgsrc
> developers, it results in erroneous dependencies in the binary packages.

I built the package without any buildlinks or dependencies at first. But
it still was built linked to a few audio libraries. So I really don't know
how to build without them since I never asked for them in the first place.

I guess that is due to the bloat of gnome, gtk and family. I see that the
configure/makefile used:
 /usr/X11R6/bin/gnome-config --libs-only-l gnome

Which gives:

-lgnome -lgnomesupport -lesd -lossaudio -laudiofile -lm -lglib -lintl

I don't know this gnome-config. I am guessing that it can be used (and
built) without the "-lesd -lossaudio -laudiofile"

Any examples I should look at?

Thanks,

   Jeremy C. Reed
   http://www.reedmedia.net/