Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Feb 2008 13:44:38 -0500
From:      Joe Marcus Clarke <marcus@freebsd.org>
To:        Jeremy Messenger <mezz7@cox.net>
Cc:        gnome@freebsd.org, Hiroto Kagotani <hiroto.kagotani@gmail.com>
Subject:   Re: ports/120526: x11-wm/xfce4-desktop, x11-fm/thunar: should depend on graphics/librsvg2
Message-ID:  <47BDC696.8090401@freebsd.org>
In-Reply-To: <op.t6v0lupb9aq2h7@mezz.mezzweb.com>
References:  <200802201825.m1KIP32I045214@freefall.freebsd.org> <ca15a72c0802201522h55e4f764uc5a4d9928bcf2970@mail.gmail.com> <47BDBDD1.2090402@freebsd.org> <op.t6v0lupb9aq2h7@mezz.mezzweb.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Jeremy Messenger wrote:
> On Thu, 21 Feb 2008 12:07:13 -0600, Joe Marcus Clarke 
> <marcus@freebsd.org> wrote:
> 
>> Hiroto Kagotani wrote:
>>> 2008/2/21, marcus@freebsd.org <marcus@freebsd.org>:
>>>>  This cannot happen.  librsvg2 requires gtk20, and thus gtk02 cannot 
>>>> also
>>>>  depend on librsvg2.  It's been a problem discussed on 
>>>> freebsd-gnome@ before,
>>>>  but a good solution has not yet been proposed.  If you find one 
>>>> that does
>>>>  not introduce a dependency loop, then please file a new PR with 
>>>> patches.
>>>  I traced the thread about librsvg2 in freebsd-gnome@ archive.
>>>  I understand adding dependency can not solve this problem.
>>> Is it able to add some scripts in librsvg2 port to add/delete some lines
>>> in etc/gtk-2.0/gdk-pixbuf.loaders on installing/deinstalling?
>>
>> No, this is not possible.  The gtk-engine module that comes with 
>> librsvg2 needs GTK+ libraries and headers.  Therefore, librsvg2 
>> REQUIRES gtk20, and thus gtk20 cannot require librsvg2.
> 
> I think he means by run gdk-pixbuf-query-loaders to update the 
> etc/gtk-2.0/gdk-pixbuf.loaders in the install/deinstall of librsvg2. I 
> think (uncheck) our librsvg2 ports already does it.

Right, but in order for librsvg2 to do that, it needs to depend on 
gtk20.  Even if you write an external script to do the add/remove, the 
actual pixbuf engine requires gtk20 in order to build.  Either way you 
slice it, gtk20 cannot depend on librsvg2.

Joe

-- 
Joe Marcus Clarke
FreeBSD GNOME Team	::	gnome@FreeBSD.org
FreeNode / #freebsd-gnome
http://www.FreeBSD.org/gnome



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47BDC696.8090401>