From owner-freebsd-gnome@FreeBSD.ORG Wed Dec 26 22:46:01 2007 Return-Path: Delivered-To: gnome@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6937D16A468; Wed, 26 Dec 2007 22:46:01 +0000 (UTC) (envelope-from marcus@marcuscom.com) Received: from creme-brulee.marcuscom.com (marcuscom-pt.tunnel.tserv1.fmt.ipv6.he.net [IPv6:2001:470:1f00:ffff::1279]) by mx1.freebsd.org (Postfix) with ESMTP id 0ACF513C45A; Wed, 26 Dec 2007 22:46:00 +0000 (UTC) (envelope-from marcus@marcuscom.com) Received: from [IPv6:2001:470:1f00:2464::4] (shumai.marcuscom.com [IPv6:2001:470:1f00:2464::4]) by creme-brulee.marcuscom.com (8.14.2/8.14.2) with ESMTP id lBQMkVbd013206; Wed, 26 Dec 2007 17:46:31 -0500 (EST) (envelope-from marcus@marcuscom.com) From: Joe Marcus Clarke To: Doug Barton In-Reply-To: <4772C814.6000302@FreeBSD.org> References: <4772C814.6000302@FreeBSD.org> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-3VtUH6BlbUO4RYbP3aHT" Organization: MarcusCom, Inc. Date: Wed, 26 Dec 2007 17:46:02 -0500 Message-Id: <1198709162.11242.8.camel@shumai.marcuscom.com> Mime-Version: 1.0 X-Mailer: Evolution 2.12.2 FreeBSD GNOME Team Port X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,NO_RELAYS autolearn=ham version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on creme-brulee.marcuscom.com Cc: gnome@freebsd.org Subject: Re: In cairo, implicit depenencies on librsvg2 and/or poppler? X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Dec 2007 22:46:01 -0000 --=-3VtUH6BlbUO4RYbP3aHT Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Wed, 2007-12-26 at 13:31 -0800, Doug Barton wrote: > I was doing some stale ports cleanup recently and deleted a bunch of > stuff that didn't seem to be needed, including librsvg2 and poppler. > Deleting the former caused several of my applications to no longer be > able to display svg images. I tracked the problem down to the missing > librsvg2 of course, but only after carefully watching the configure > output of cairo and noticing that it gave a "can't use svg 'cuz you > don't have librsvg2" type message. It gives a similar message for > poppler, but AFAIK I don't actually need that. >=20 > So, short version is that you might want to add OPTIONS for those two > libs, and related explicit dependencies for them in the cairo Makefile. Actually, it's not so simple. I assume the apps that could no longer display SVG images were GTK+ apps. If so, they get the ability to render SVG images from the SVG GDK image loader installed by librsvg2 (/usr/local/lib/gtk-2.0/2.10.0/loaders/svg_loader.so). This is a dlopen'd library, and thus is not really a hard dependency. It's more along the lines of, "if you want this functionality, install this port." Neither gtk20 or cairo can depend on librsvg2, though, or we'd have a circular dependency (as librsvg2 needs gtk20 and gtk20 needs cairo). Joe --=20 PGP Key : http://www.marcuscom.com/pgp.asc --=-3VtUH6BlbUO4RYbP3aHT Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQBHctmpb2iPiv4Uz4cRArtBAJ9Jsb5F7ZiKTZD+C7zg4UCpatXbrQCeO0Gc 8Z6yuMgWlo5sWGbZcOb2RzE= =sZ/e -----END PGP SIGNATURE----- --=-3VtUH6BlbUO4RYbP3aHT--