Date: Wed, 16 Feb 2000 10:13:01 -0800 (PST) From: asami@cs.berkeley.edu (Satoshi Asami) To: ports@freebsd.org Subject: anoter OpenGL/Tk interface Message-ID: <200002161813.KAA01152@silvia.hip.berkeley.edu>
next in thread | raw e-mail | index | archive | help
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 <gltk.h>" to X"#include <GL/gltk.h>", 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 <bsd.port.mk> END-of-gltk/Makefile exit 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?200002161813.KAA01152>