From owner-freebsd-gnome@FreeBSD.ORG Sat Apr 8 03:56:04 2006 Return-Path: X-Original-To: freebsd-gnome@freebsd.org Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D75E216A400; Sat, 8 Apr 2006 03:56:04 +0000 (UTC) (envelope-from mezz7@cox.net) Received: from centrmmtao02.cox.net (centrmmtao02.cox.net [70.168.83.82]) by mx1.FreeBSD.org (Postfix) with ESMTP id 14F3F43D45; Sat, 8 Apr 2006 03:56:03 +0000 (GMT) (envelope-from mezz7@cox.net) Received: from mezz.mezzweb.com ([68.103.32.140]) by centrmmtao02.cox.net (InterMail vM.6.01.05.02 201-2131-123-102-20050715) with ESMTP id <20060408035601.SCGB8484.centrmmtao02.cox.net@mezz.mezzweb.com>; Fri, 7 Apr 2006 23:56:01 -0400 Date: Fri, 07 Apr 2006 22:58:16 -0500 To: "Norikatsu Shigemura" References: <20060408115043.01ccceb9.nork@FreeBSD.org> From: "Jeremy Messenger" Content-Type: text/plain; format=flowed; delsp=yes; charset=us-ascii MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID: In-Reply-To: <20060408115043.01ccceb9.nork@FreeBSD.org> User-Agent: Opera M2/8.54 (Linux, build 1745) Cc: freebsd-gnome@freebsd.org, oliver@freebsd.org Subject: Re: How to install sylpheed.desktop by ports system? X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Apr 2006 03:56:04 -0000 On Fri, 07 Apr 2006 21:50:43 -0500, 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. 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