Date: Fri, 07 Apr 2006 22:58:16 -0500 From: "Jeremy Messenger" <mezz7@cox.net> To: "Norikatsu Shigemura" <nork@freebsd.org> Cc: freebsd-gnome@freebsd.org, oliver@freebsd.org Subject: Re: How to install sylpheed.desktop by ports system? Message-ID: <op.s7n7zekq9aq2h7@mezz.mezzweb.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
On Fri, 07 Apr 2006 21:50:43 -0500, Norikatsu Shigemura <nork@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@cox.net - mezz@FreeBSD.org FreeBSD GNOME Team http://www.FreeBSD.org/gnome/ - gnome@FreeBSD.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?op.s7n7zekq9aq2h7>