From owner-freebsd-gnome Wed Aug 21 12: 0:29 2002 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 318C937B401 for ; Wed, 21 Aug 2002 12:00:23 -0700 (PDT) Received: from creme-brulee.marcuscom.com (rdu57-17-158.nc.rr.com [66.57.17.158]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2586A43E81 for ; Wed, 21 Aug 2002 12:00:22 -0700 (PDT) (envelope-from marcus@marcuscom.com) Received: from [10.2.1.0] (vpn-client-0.marcuscom.com [10.2.1.0]) by creme-brulee.marcuscom.com (8.12.5/8.12.5) with ESMTP id g7LJ0Dix040324; Wed, 21 Aug 2002 15:00:14 -0400 (EDT) (envelope-from marcus@marcuscom.com) Subject: Re: USE_GNOMENG or GNOME1_ONLY? From: Joe Marcus Clarke To: Franz Klammer Cc: gnome@FreeBSD.ORG In-Reply-To: <1029954180.52954.59.camel@ncc-1701.webonaut.com> References: <1029954180.52954.59.camel@ncc-1701.webonaut.com> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.8 Date: 21 Aug 2002 15:00:17 -0400 Message-Id: <1029956418.469.30.camel@gyros.marcuscom.com> Mime-Version: 1.0 Sender: owner-freebsd-gnome@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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 > # > # $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 > ---- > > #!/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