Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Mar 2008 23:27:22 -0400
From:      Joe Marcus Clarke <marcus@marcuscom.com>
To:        freebsd-ports@freebsd.org, gnome@freebsd.org
Subject:   Re: RFC: gnome dependency on devel/gio-fam-backend and gamin
Message-ID:  <47E8711A.7050403@marcuscom.com>
In-Reply-To: <20080325024031.GA3807@hades.panopticon>
References:  <20080325024031.GA3807@hades.panopticon>

next in thread | previous in thread | raw e-mail | index | archive | help
-----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-----



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