From owner-freebsd-ports Wed Feb 16 10:14:15 2000 Delivered-To: freebsd-ports@freebsd.org Received: from builder.freebsd.org (builder.FreeBSD.ORG [204.216.27.24]) by hub.freebsd.org (Postfix) with ESMTP id EB15637B50B for ; Wed, 16 Feb 2000 10:14:10 -0800 (PST) (envelope-from asami@cs.berkeley.edu) Received: from m3.cs.berkeley.edu (m3.CS.Berkeley.EDU [128.32.45.179]) by builder.freebsd.org (Postfix) with ESMTP id 416DE132E7 for ; Wed, 16 Feb 2000 10:13:34 -0800 (PST) Received: from silvia.hip.berkeley.edu (sji-ca6-93.ix.netcom.com [205.186.213.93]) by m3.cs.berkeley.edu (8.9.3/8.9.3) with ESMTP id KAA04708 for ; Wed, 16 Feb 2000 10:13:50 -0800 (PST) (envelope-from asami@cs.berkeley.edu) Received: (from asami@localhost) by silvia.hip.berkeley.edu (8.9.3/8.6.9) id KAA01152; Wed, 16 Feb 2000 10:13:01 -0800 (PST) Date: Wed, 16 Feb 2000 10:13:01 -0800 (PST) Message-Id: <200002161813.KAA01152@silvia.hip.berkeley.edu> X-Authentication-Warning: silvia.hip.berkeley.edu: asami set sender to asami@cs.berkeley.edu using -f To: ports@freebsd.org Subject: anoter OpenGL/Tk interface From: asami@cs.berkeley.edu (Satoshi Asami) Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, I was playing with OpenGL tutorials at http://www.eecs.tulane.edu/www/Terry/OpenGL/Introduction.html and made a port of the Tk interface used in the tutorial. However, I'm not a graphics expert so I'm not sure how useful this thing actually is. There is an OpenGL/Tk interface in graphics/togl already but the API is different. Is this worth putting in the ports tree? It is quite old (timestamp is from '93 of this century), but at least it compiles easily and works fine (I think) with our Mesa3 port. Satoshi ------- # 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: # # gltk # gltk/pkg # gltk/pkg/COMMENT # gltk/pkg/DESCR # gltk/pkg/PLIST # gltk/files # gltk/files/md5 # gltk/Makefile # echo c - gltk mkdir -p gltk > /dev/null 2>&1 echo c - gltk/pkg mkdir -p gltk/pkg > /dev/null 2>&1 echo x - gltk/pkg/COMMENT sed 's/^X//' >gltk/pkg/COMMENT << 'END-of-gltk/pkg/COMMENT' XAn OpenGL/Tk interface END-of-gltk/pkg/COMMENT echo x - gltk/pkg/DESCR sed 's/^X//' >gltk/pkg/DESCR << 'END-of-gltk/pkg/DESCR' XA simple OpenGL and Tk interface used for the OpenGL tutorial in X X http://www.eecs.tulane.edu/www/Terry/OpenGL/Introduction.html X XOther than changing "-lMesatk" to "-lgltk" and "#include " to X"#include ", everything should work as described on that page. X X- Satoshi Xasami@FreeBSD.org END-of-gltk/pkg/DESCR echo x - gltk/pkg/PLIST sed 's/^X//' >gltk/pkg/PLIST << 'END-of-gltk/pkg/PLIST' Xinclude/GL/gltk.h Xlib/libgltk.a Xshare/doc/gltk/README END-of-gltk/pkg/PLIST echo c - gltk/files mkdir -p gltk/files > /dev/null 2>&1 echo x - gltk/files/md5 sed 's/^X//' >gltk/files/md5 << 'END-of-gltk/files/md5' XMD5 (libtk.tar.Z) = 369e0a9c3b6669ebb3a17a286b21c7ab END-of-gltk/files/md5 echo x - gltk/Makefile sed 's/^X//' >gltk/Makefile << 'END-of-gltk/Makefile' X# New ports collection makefile for: gltk X# Version required: 1.0 X# Date created: 2 Feb 2000 X# Whom: asami X# X# $FreeBSD$ X# X XDISTNAME= libtk XPKGNAME= gltk-1.0 XCATEGORIES= graphics XMASTER_SITES= ftp://ftp.sgi.com/opengl/contrib/ \ X ftp://ftp.u-aizu.ac.jp/pub/os/sgi/misc/ftp.sgi.com/pub/opengl/contrib/ XEXTRACT_SUFX= .tar.Z X XMAINTAINER= ports@FreeBSD.org X XLIB_DEPENDS= GL.14:${PORTSDIR}/graphics/Mesa3 X XUSE_IMAKE= yes X Xdo-install: X ${INSTALL_DATA} ${WRKSRC}/libtk.a ${PREFIX}/lib/libgltk.a X ${INSTALL_DATA} ${WRKSRC}/tk.h ${PREFIX}/include/GL/gltk.h X ${MKDIR} ${PREFIX}/share/doc/gltk X ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/gltk X X.include END-of-gltk/Makefile exit To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message