Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Jan 2006 00:27:47 +0300
From:      Dmitry Marakasov <amdmi3@mail.ru>
To:        Jean-Yves Lefort <jylefort@FreeBSD.org>
Cc:        gnome@freebsd.org
Subject:   Re: ports/91834: [PATCH] Cleaner use of INSTALLS_OMF with no scrollkeeper installed
Message-ID:  <20060117212747.GA40021@hades.panopticon>
In-Reply-To: <200601152028.k0FKSt1o025497@freefall.freebsd.org>
References:  <200601152028.k0FKSt1o025497@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
* Jean-Yves Lefort (jylefort@FreeBSD.org) wrote:

> Ports which install .omf files should depend on scrollkeeper, so that their
> documentation shows up in the GNOME help browser. If you found ports
> which install .omf files without depending on scrollkeeper, please alert
> the maintainers of these ports.
Got it. But why not make scrollkeeper USE_GNOME thing then?
I think it just belongs there (ports usually have scrollkeeper in both
BUILD_DEPENDS and RUN_DEPENDS, just USE_GNOME=scrollkeeper looks a lot
cleaner). Also, it would be easier to relieve users from useless
dependencies if they're not using GNOME. For example, ports that just
install .omf documentation and don't need any other GNOME parts, have to
at least USE_GNOME=gnomehier and depend on scrollkeeper. It would be
much better to use something like this:

.if ${HAVE_GNOME:Mscrollkeeper}!=""
USE_GNOME+=	scrollkeeper
INSTALLS_OMF=	yes
post-install:
	@{INSTALL_DATA} ${WRKDIR}/foo.omf ...
.endif

That'll be useable, for example, for my graphics/gnash port, which have
to depend on scrollkeeper only because gnash has omf documentation.

PS. Do please add me to CC in replies, as I'm not currently subscribed to
gnome@.

-- 
Best regards,
 Dmitry                          mailto:amdmi3@mail.ru



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