From owner-freebsd-ports@FreeBSD.ORG Tue Mar 25 03:27:23 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 85404106566C; Tue, 25 Mar 2008 03:27:23 +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 F32E68FC12; Tue, 25 Mar 2008 03:27:22 +0000 (UTC) (envelope-from marcus@marcuscom.com) Received: from [192.168.1.20] (roti.marcuscom.com [192.168.1.20]) by creme-brulee.marcuscom.com (8.14.2/8.14.2) with ESMTP id m2P3TGDm087221; Mon, 24 Mar 2008 23:29:16 -0400 (EDT) (envelope-from marcus@marcuscom.com) Message-ID: <47E8711A.7050403@marcuscom.com> Date: Mon, 24 Mar 2008 23:27:22 -0400 From: Joe Marcus Clarke Organization: MarcusCom, Inc. User-Agent: Thunderbird 2.0.0.9 (Macintosh/20071031) MIME-Version: 1.0 To: freebsd-ports@freebsd.org, gnome@freebsd.org References: <20080325024031.GA3807@hades.panopticon> In-Reply-To: <20080325024031.GA3807@hades.panopticon> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: RFC: gnome dependency on devel/gio-fam-backend and gamin X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Mar 2008 03:27:23 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Dmitry Marakasov wrote: | Hi! | | Could anyone comment on why should gnome/gtk apps depend on $subj? Glib 2.16 (with GIO) was designed to support pluggable file monitor backends. Without one such backend, any libgio consumer would be severely handicapped. The only reason gio-fam-backend is broken out as a separate port is that we have one FAM provider that requires glib. If this was not the case, we'd just have glib20 depend on FAM. | | --- bsd.gnome.mk, rev. 1.146 | _glib20_LIB_DEPENDS= glib-2.0.0:${PORTSDIR}/devel/glib20 | _glib20_DETECT= ${LOCALBASE}/libdata/pkgconfig/glib-2.0.pc | _glib20_USE_GNOME_IMPL= gnometarget pkgconfig | | glib20_RUN_DEPENDS= ${LOCALBASE}/lib/gio/modules/libgiofam.so:${PORTSDIR}/devel/gio-fam-backend | glib20_DETECT= ${LOCALBASE}/lib/gio/modules/libgiofam.so | glib20_USE_GNOME_IMPL= _glib20 | --- | | I couldn't figure this out myself, so I've changed bsd.gnome.mk like it | this: | | --- | glib20_LIB_DEPENDS= glib-2.0.0:${PORTSDIR}/devel/glib20 | glib20_DETECT= ${LOCALBASE}/libdata/pkgconfig/glib-2.0.pc | glib20_USE_GNOME_IMPL= gnometarget pkgconfig | --- | | and recompiled everytinh that depends on glib20. Everything is | working fine, so wouldn't it be wiser to move gio-fam-backend to | separate dependency in USE_GNOME, and only set it for ports which | really need it? Recompiling alone is not sufficient. Ports will happily build without this backend, but may not run correctly if they require libgio. The cost of the FAM dependency is minimal (most GNOME apps already had this as part of gnome-vfs), and it just makes things easier for developers not to have to worry about adding the gio-fam-backend dependency. Joe - -- PGP Key : http://www.marcuscom.com/pgp.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFH6HEab2iPiv4Uz4cRAmuFAJ9Fodej6WdqJUtQzHBVOxMjROEQkwCgrXc+ P9P0SWdl5N4Oj81LM8E1vSc= =L9Yl -----END PGP SIGNATURE-----