From owner-freebsd-questions@FreeBSD.ORG Sat Oct 12 11:33:30 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 0CD9BEE1 for ; Sat, 12 Oct 2013 11:33:30 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id BFFAD28BE for ; Sat, 12 Oct 2013 11:33:29 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1VUxRm-0003UZ-P3 for freebsd-questions@freebsd.org; Sat, 12 Oct 2013 13:33:26 +0200 Received: from cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com ([86.21.186.149]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 12 Oct 2013 13:33:26 +0200 Received: from walterhurry by cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 12 Oct 2013 13:33:26 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Walter Hurry Subject: Re: Do I really have to install 80 packages? Date: Sat, 12 Oct 2013 11:33:07 +0000 (UTC) Lines: 59 Message-ID: References: <52587390.3070400@wingfoot.org> < 20131012053156.10e1d6b8.freebsd@edvax.de> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com User-Agent: Pan/0.139 (Sexual Chocolate; GIT bf56508 git://git.gnome.org/pan2) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Oct 2013 11:33:30 -0000 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.