Skip site navigation (1)Skip section navigation (2)
Date:      2 Feb 1999 10:26:09 -0000
From:      kkenn@rebel.net.au
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   ports/9880: New port - x11-toolkits/gtkglarea
Message-ID:  <19990202102609.93968.qmail@morden.rebel.net.au>

next in thread | raw e-mail | index | archive | help

>Number:         9880
>Category:       ports
>Synopsis:       New port - x11-toolkits/gtkglarea
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Feb  2 02:30:01 PST 1999
>Closed-Date:
>Last-Modified:
>Originator:     Kris Kennaway
>Release:        FreeBSD-2.0
>Organization:
FreeBSD
>Environment:
4.0-CURRENT
>Description:
This is a port of gtkglarea, a GTK extension which allows use of OpenGL stuff.
This port uses libtool and is therefore broken out-of-the-box for 4.0-CURRENT.
I've fixed this by pointing the configure script to /usr/local/share/libtool/*
which has the One True FreeBSD Libtool so we don't need yet another copy of
the same patch.
>How-To-Repeat:
>Fix:
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	gtkglarea
#	gtkglarea/pkg
#	gtkglarea/pkg/DESCR
#	gtkglarea/pkg/COMMENT
#	gtkglarea/pkg/PLIST
#	gtkglarea/files
#	gtkglarea/files/md5
#	gtkglarea/patches
#	gtkglarea/patches/patch-aa
#	gtkglarea/Makefile
#
echo c - gtkglarea
mkdir -p gtkglarea > /dev/null 2>&1
echo c - gtkglarea/pkg
mkdir -p gtkglarea/pkg > /dev/null 2>&1
echo x - gtkglarea/pkg/DESCR
sed 's/^X//' >gtkglarea/pkg/DESCR << 'END-of-gtkglarea/pkg/DESCR'
XThis is a GTK extension to use OpenGL widgets.
X
Xhttp://www.student.oulu.fi/~jlof/gtkglarea/
END-of-gtkglarea/pkg/DESCR
echo x - gtkglarea/pkg/COMMENT
sed 's/^X//' >gtkglarea/pkg/COMMENT << 'END-of-gtkglarea/pkg/COMMENT'
XThis is a GTK extension to use OpenGL widgets.
END-of-gtkglarea/pkg/COMMENT
echo x - gtkglarea/pkg/PLIST
sed 's/^X//' >gtkglarea/pkg/PLIST << 'END-of-gtkglarea/pkg/PLIST'
Xinclude/gtkgl/gdkgl.h
Xinclude/gtkgl/gtkglarea.h
Xlib/libgtkgl.so.3
Xlib/libgtkgl.la
Xlib/libgtkgl.a
Xshare/doc/gtkgl/HOWTO.txt
Xshare/doc/gtkgl/gdkgl.txt
Xshare/doc/gtkgl/gtkglarea.txt
X@dirrm include/gtkgl/
X@dirrm share/doc/gtkgl/
END-of-gtkglarea/pkg/PLIST
echo c - gtkglarea/files
mkdir -p gtkglarea/files > /dev/null 2>&1
echo x - gtkglarea/files/md5
sed 's/^X//' >gtkglarea/files/md5 << 'END-of-gtkglarea/files/md5'
XMD5 (gtkglarea-1.2.tar.gz) = 3fea860e663e0716b56b8ca2545bc1d2
END-of-gtkglarea/files/md5
echo c - gtkglarea/patches
mkdir -p gtkglarea/patches > /dev/null 2>&1
echo x - gtkglarea/patches/patch-aa
sed 's/^X//' >gtkglarea/patches/patch-aa << 'END-of-gtkglarea/patches/patch-aa'
X*** configure	Thu Jan 28 00:28:55 1999
X--- configure~	Tue Feb  2 20:30:38 1999
X***************
X*** 1262,1269 ****
X  # Actually configure libtool.  ac_aux_dir is where install-sh is found.
X  CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
X  LD="$LD" NM="$NM" RANLIB="$RANLIB" LN_S="$LN_S" \
X! ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig \
X! $libtool_flags --no-verify $ac_aux_dir/ltmain.sh $host \
X  || { echo "configure: error: libtool configure failed" 1>&2; exit 1; }
X  
X  echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
X--- 1262,1269 ----
X  # Actually configure libtool.  ac_aux_dir is where install-sh is found.
X  CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
X  LD="$LD" NM="$NM" RANLIB="$RANLIB" LN_S="$LN_S" \
X! ${CONFIG_SHELL-/bin/sh} ${LOCALBASE}/share/libtool/ltconfig \
X! $libtool_flags --no-verify ${LOCALBASE}/share/libtool/ltmain.sh $host \
X  || { echo "configure: error: libtool configure failed" 1>&2; exit 1; }
X  
X  echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
END-of-gtkglarea/patches/patch-aa
echo x - gtkglarea/Makefile
sed 's/^X//' >gtkglarea/Makefile << 'END-of-gtkglarea/Makefile'
X# New ports collection makefile for:   gtkglarea
X# Version required:    1.2
X# Date created:        2 February 1999
X# Whom:                Kris Kennaway <kkennawa@physics.adelaide.edu.au>
X#
X# $Id$
X#
X
XDISTNAME=	gtkglarea-1.2
XCATEGORIES=	x11-toolkits
XMASTER_SITES=	http://www.student.oulu.fi/~jlof/gtkglarea/download/ \
X		ftp://ftp.infodrom.north.de/pub/unix/gtkbuffet/libs/gtkglarea/
X
XMAINTAINER=	kkennawa@physics.adelaide.edu.au
X
XLIB_DEPENDS=	gtk11d.1:${PORTSDIR}/x11-toolkits/gtk11-devel/ \
X		GL.14:${PORTSDIR}/graphics/Mesa3/
XBUILD_DEPENDS=	${LOCALBASE}/share/libtool/ltconfig:${PORTSDIR}/devel/libtool/
X
XGNU_CONFIGURE=	yes
XCONFIGURE_ENV=	LOCALBASE=${LOCALBASE} \
X		GTK_CONFIG=${X11BASE}/bin/gtk11d-config
X
Xpre-install:
X.if !defined(NOPORTDOCS)
X	${MKDIR} ${PREFIX}/share/doc/gtkgl/
X	${INSTALL_DATA} ${WRKSRC}/docs/*.txt ${PREFIX}/share/doc/gtkgl/
X.endif
X
X.include <bsd.port.mk>
END-of-gtkglarea/Makefile
exit

>Release-Note:
>Audit-Trail:
>Unformatted:

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



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