Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Oct 2013 11:33:07 +0000 (UTC)
From:      Walter Hurry <walterhurry@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Do I really have to install 80 packages?
Message-ID:  <l3bc1j$3e5$1@ger.gmane.org>
References:  <l39r5a$ha5$1@ger.gmane.org> <52587390.3070400@wingfoot.org> < 20131012053156.10e1d6b8.freebsd@edvax.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 12 Oct 2013 05:31:56 +0200, Polytropon wrote:

> On Fri, 11 Oct 2013 17:54:24 -0400, Glenn Sieb wrote:
>> On 10/11/13 5:38 PM, Walter Hurry wrote:
>> > FreeBSD 9.1
>> > 
>> > I want ONE shared lib; i.e. rsvg.so, which is provided by
>> > x11-toolkits/py-gnome-desktop.
>> > 
>> > Unfortunately, it seems that going the normal route I shall have to
>> > install 80! ports to get it. Is there an easier way?
>> 
>> Actually I think you want x11-toolkits/gtk20..? Would pkg_add work for
>> you?
> 
> Maybe graphics/librsvg2 is better suited (even though it's version 2 of
> the library). The problem initially mentions will remain: lots of
> installation dependencies. Sadly, that seems to be normal today as
> "modern software" tends to rely on layers of libraries of abstraction of
> tools of utilities of stuff of layers of layers of other abstractions.
> :-)
> 
> As you see: "gnome-desktop" and "gtk20". That should bring your warning
> lights up: lots of dependencies ahead!
> 
> When you try to install a "simple desktop environment", you'll be
> confronted with hundreds of packages to be installed, some of them
> you've probably never had thought of in regards of what you "need" to
> install a desktop, such as two or more different databases, LaTeX,
> translators, and other surprising stuff. This will probably apply to
> most complex components and parts of desktop environments or X11
> toolkits (as mentioned above).
> 
> As I mentioned, the librsvg2 port will install lib/librsvg-2.so.
> It might require you to re-install your target application to link
> against that library.
> 
> A library libsvg.so (without version number) doesn't seem to be in the
> ports tree by that name.
> 
> My lazy man's method of searching what port might contain the library:
> Midnight Commander, go to /usr/ports, Meta-?, seach in "pkg-plist",
> search for text "librsvg" and examine the results with PF3. This method
> relies on approaches that might be wrong... :-)
> 
> Note that my (locally installed) ports tree is not up to date anymore so
> you should consider performing a search on a recent tree to make sure I
> didn't miss anything.

Thanks Polytropon, but the one I needed was this:

x11-toolkits/py-gnome-desktop/pkg-plist:%%PYTHON_SITELIBDIR%%/gtk-2.0/
rsvg.so

I have given in, let it install all 80 ports, saved the one shlib I need 
and deleted the ports again. All is now well.

By the way, I needed it for the 'screenlets' Python applications; in 
particular ClockScreenlet.py.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?l3bc1j$3e5$1>