RFC: gnome dependency on devel/gio-fam-backend and gamin

Dmitry Marakasov amdmi3 at amdmi3.ru
Mon Mar 24 19:40:17 PDT 2008


Could anyone comment on why should gnome/gtk apps depend on $subj?

--- 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

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?

Dmitry A. Marakasov    | jabber: amdmi3 at jabber.ru
amdmi3 at amdmi3.ru       | http://www.amdmi3.ru

More information about the freebsd-ports mailing list