Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 07 Apr 2006 23:54:03 -0400
From:      Joe Marcus Clarke <marcus@marcuscom.com>
To:        Norikatsu Shigemura <nork@freebsd.org>
Cc:        oliver@freebsd.org, freebsd-gnome@freebsd.org
Subject:   Re: How to install sylpheed.desktop by ports system?
Message-ID:  <1144468443.30655.14.camel@shumai.marcuscom.com>
In-Reply-To: <20060408115043.01ccceb9.nork@FreeBSD.org>
References:  <20060408115043.01ccceb9.nork@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-/u249vYqL+nSJLZvKViK
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Sat, 2006-04-08 at 11:50 +0900, Norikatsu Shigemura wrote:
> Hi gnome ports maintainers!
>=20
> 	I have a problem about mail/sylpheed2 (based mail/sylpheed2-devel).
> 	It's a WITH_GNOME knob.  I didn't know how to install sylpheed.desktop
> 	if GNOME is installed.  But I noticed how to fix it.  However, :-),
> 	I don't know that following patch is good or bad.
>=20
> 	So please review it.

This is good, but really, gnomehier should not be used directly by
non-Desktop modules.  I think you want gnomeprefix.  So:

.if ${HAVE_GNOME:Mgnomehier}!=3D""
USE_GNOME+=3D	gnomeprefix
...

gnomeprefix does other magical things to ensure DATADIR is properly set.
That said, you can certainly add desktop files to share/applications,
and GNOME (and KDE) will pick them up.  In that case, you don't need any
fnacy GNOME detection at all.  Just be sure to conditionally remove
share/applications.

Joe

--=20
PGP Key : http://www.marcuscom.com/pgp.asc

--=-/u249vYqL+nSJLZvKViK
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (FreeBSD)

iD8DBQBENzPbb2iPiv4Uz4cRAjL/AKCsaNVKJavvaMzQt2NtAvedTOUfvgCfUeW4
3TIrRotz+lFycBkQvuEsQuY=
=W77K
-----END PGP SIGNATURE-----

--=-/u249vYqL+nSJLZvKViK--




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