How to install sylpheed.desktop by ports system?

Jeremy Messenger mezz7 at cox.net
Sat Apr 8 03:56:04 UTC 2006


On Fri, 07 Apr 2006 21:50:43 -0500, Norikatsu Shigemura <nork at FreeBSD.org>  
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.

How about just remove the WITH_GNOME, then install those in  
share/applications and share/pixamps rather than in GNOME? That way will  
showing up in more general desktops such as xfce, GNOME, possible even KDE  
if they added X11BASE yet, and other WMs. When you do that, don't forget  
to add this in plist.

@dirrmtry share/applications

I am starting to push on the new ports that I maintain to have install in  
share/applications and share/pixamps. I personal want to see share/gnome  
to go away. However, later I shall change those my ports to install in  
share/applications and share/pixamps.

Cheers,
Mezz

> Index: Makefile
> ===================================================================
> RCS file: /home/ncvs/ports/mail/sylpheed2/Makefile,v
> retrieving revision 1.134
> diff -u -r1.134 Makefile
> --- Makefile	5 Apr 2006 04:14:21 -0000	1.134
> +++ Makefile	8 Apr 2006 02:46:21 -0000
> @@ -22,7 +22,7 @@
>  USE_X_PREFIX=	yes
>  USE_GNOME=	gtk20
>  GNU_CONFIGURE=	yes
> -USE_REINPLACE=	yes
> +WANT_GNOME=	yes
> # Sylpheed needs pthread if GnomeVFS is installed (GtkFileChooser uses  
> it)
>  CONFIGURE_ENV=	CFLAGS="${CFLAGS} ${PTHREAD_CFLAGS}" \
> @@ -89,7 +89,8 @@
>  CONFIGURE_ARGS+=--disable-gtkspell
>  .endif
> -.if defined(WITH_GNOME)
> +.if ${HAVE_GNOME:Mgnomehier} != ""
> +USE_GNOME+=	gnomehier
>  PLIST_FILES=	share/gnome/applications/sylpheed.desktop \
>  		share/gnome/pixmaps/sylpheed.png
>  .endif


-- 
mezz7 at cox.net  -  mezz at FreeBSD.org
FreeBSD GNOME Team
http://www.FreeBSD.org/gnome/  -  gnome at FreeBSD.org


More information about the freebsd-gnome mailing list