How to install sylpheed.desktop by ports system?
Joe Marcus Clarke
marcus at marcuscom.com
Sat Apr 8 03:54:07 UTC 2006
On Sat, 2006-04-08 at 11:50 +0900, Norikatsu Shigemura wrote:
> Hi gnome ports maintainers!
>
> 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.
>
> 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}!=""
USE_GNOME+= 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
--
PGP Key : http://www.marcuscom.com/pgp.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-gnome/attachments/20060408/a961571c/attachment.pgp
More information about the freebsd-gnome
mailing list