Skip site navigation (1)Skip section navigation (2)
Date:      21 Aug 2002 15:00:17 -0400
From:      Joe Marcus Clarke <marcus@marcuscom.com>
To:        Franz Klammer <klammer@webonaut.com>
Cc:        gnome@FreeBSD.ORG
Subject:   Re: USE_GNOMENG or GNOME1_ONLY?
Message-ID:  <1029956418.469.30.camel@gyros.marcuscom.com>
In-Reply-To: <1029954180.52954.59.camel@ncc-1701.webonaut.com>
References:  <1029954180.52954.59.camel@ncc-1701.webonaut.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 2002-08-21 at 14:23, Franz Klammer wrote:
> while changing the file_menu_applet to USE_GNOMENG i've seen
> the this port works with gnome1 only.
> 
> should i add a gnome2-check (eg. if gnomepanel resp. gnomecore is
> installed) or is a GNOME[1|2]_ONLY knob planned?
> 
> 
> i hope this is correct:
> USE_GNOME=      gnomeprefix gnomehack gnomelibs libpanel
> 
> attached a adapted version from the gnome2/pkg-install - script
> and the Makefile i plan use.

Funny you should bring this up.  I've just committed the new FreeBSD
GNOME porting guide with GNOMENG support.  Until the web site is
updated, you can get it from http://www.marcuscom.com/gnome.

I was thinking about this kind of thing this morning for gaim, and I
thought of checking to see if
${X11BASE}/libdata/pkgconfig/libpanelapplet-2.0.pc exists.  If it does,
disable GNOME support.  Since your port requires GNOME 1 panel support,
something similar to what you're doing is probably a good idea.  Except,
you may not want to check for gnomecore as there is a chance it may not
be installed when your port is built (you only need libpanel after all).

As for above, libpanel implies gnomelibs.  You don't need both.

Joe

> 
> 
> franz
> 
> 
> 
> -- 
> WEBONAUT.com
> http://webonaut.com
> mailto:klammer@webonaut.com
> ----
> 

> # New ports collection makefile for:	file_menu_applet
> # Date created:				4 May 2002
> # Whom:					Franz Klammer <klammer@webonaut.com>
> #
> # $FreeBSD: ports/x11-fm/file_menu_applet/Makefile,v 1.2 2002/06/15 19:19:26 marcus Exp $
> #
> 
> PORTNAME=	file_menu_applet
> PORTVERSION=	0.5
> CATEGORIES=	x11-fm gnome
> MASTER_SITES=	http://www.zoned.net:8000/~xkahn/file_menu_applet/
> 
> MAINTAINER=	klammer@webonaut.com
> 
> USE_X_PREFIX=	yes
> USE_GMAKE=	yes
> USE_GNOMENG=	yes
> USE_GNOME=	gnomeprefix gnomehack gnomelibs libpanel
> #USE_GNOME=	gnomeprefix gnomehack gnomelibs
> GNU_CONFIGURE=	yes
> 
> pre-everything:
> 	@${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
> 
> .include <bsd.port.mk>
> ----
> 

> #!/bin/sh
> 
> if [ -n "${PACKAGE_BUILDING}" ]; then
>     exit 0
> fi
> 
> PATH=/bin:/usr/bin:/sbin:/usr/sbin:${PATH}
> export PATH
> 
> if [ "$2" = "PRE-INSTALL" ]; then
>      GNOME_ONE_DESKTOP="gnomecore"
>      for package in ${GNOME_ONE_DESKTOP}; do
>          if pkg_info | grep "^${package}-[0-9]" >/dev/null 2>&1; then
> 	    exit 0
> 	 fi
>      done
> 
>      echo "======================================="
>      echo ""
>      echo "This package works only with GNOME 1.x."
>      echo ""
>      echo "======================================="
>      false
> fi
-- 
PGP Key : http://www.marcuscom.com/pgp.asc


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-gnome" in the body of the message




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