From owner-freebsd-questions Mon May 4 00:20:21 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA06518 for freebsd-questions-outgoing; Mon, 4 May 1998 00:20:21 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from cyclone.degnet.baynet.de (www.degnet.baynet.de [194.95.214.129]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id AAA06512 for ; Mon, 4 May 1998 00:20:17 -0700 (PDT) (envelope-from malte@webmore.com) Received: from neuron.webmore.com (unverified [194.95.214.187]) by cyclone.degnet.baynet.de (EMWAC SMTPRS 0.83) with SMTP id ; Mon, 04 May 1998 09:17:53 +0200 Received: from neuron.webmore.de (malte@webmore.com) by neuron.webmore.com (8.8.8/8.8.8) with ESMTP id JAA00384; Mon, 4 May 1998 09:19:06 +0200 (CEST) Message-ID: X-Mailer: XFMail 1.2 [p0] on FreeBSD X-Priority: 3 (Normal) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="_=XFMail.1.2.p0.FreeBSD:980504091906:262=_" In-Reply-To: Date: Mon, 04 May 1998 09:19:06 +0200 (CEST) Reply-To: malte@webmore.com From: Malte Lance To: "Jason C. Wells" Subject: Re: Is anyone porting GLUT? Cc: FreeBSD-questions Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This message is in MIME format --_=XFMail.1.2.p0.FreeBSD:980504091906:262=_ Content-Type: text/plain; charset=us-ascii On 03-May-98 Jason C. Wells wrote: > On Sun, 3 May 1998, Malte Lance wrote: > >>The bundled version of Mesa/glut includes just the lib for glut. >>The demos and examples are missing. Also the documentation for glut >>is not bundled with Mesa. >>A separate port of glut is ok (IMHO). > > DOH. I just deleted email and patches that someone sent to me. I was > thinking that porting GLUT was unneeded. > > Could that person kindly resend the GLUT patches? It was me. Patches attached. Malte > > Thank you, | Try some of this. It will show you where you're at. > Jason Wells | http://www.freebsd.org/ ---------------------------------- E-Mail: Malte Lance Date: 04-May-98 Time: 08:52:36 ---------------------------------- --_=XFMail.1.2.p0.FreeBSD:980504091906:262=_ Content-Disposition: attachment; filename="patch-ad" Content-Transfer-Encoding: none Content-Description: patch-ad Content-Type: text/plain; charset=us-ascii; name=patch-ad; SizeOnDisk=278 --- progs/examples/glpuzzle.c.orig Sun Oct 12 10:08:53 1997 +++ progs/examples/glpuzzle.c Sat May 2 14:26:44 1998 @@ -5,7 +5,6 @@ #include #include #include -#include #include #include #include --_=XFMail.1.2.p0.FreeBSD:980504091906:262=_ Content-Disposition: attachment; filename="patch-ac" Content-Transfer-Encoding: none Content-Description: patch-ac Content-Type: text/plain; charset=us-ascii; name=patch-ac; SizeOnDisk=303 --- lib/gle/segment.c.orig Mon Nov 10 10:39:54 1997 +++ lib/gle/segment.c Sat May 2 14:24:19 1998 @@ -14,7 +14,6 @@ * consoldated from other modules, Linas Vepstas, March 1993 */ -#include #include #include #include /* for the memcpy() subroutine */ --_=XFMail.1.2.p0.FreeBSD:980504091906:262=_ Content-Disposition: attachment; filename="patch-ab" Content-Transfer-Encoding: none Content-Description: patch-ab Content-Type: text/plain; charset=us-ascii; name=patch-ab; SizeOnDisk=246 --- lib/gle/round_cap.c.orig Mon Nov 3 10:34:47 1997 +++ lib/gle/round_cap.c Sat May 2 14:22:15 1998 @@ -12,7 +12,6 @@ */ -#include #include #include #include /* for the memcpy() subroutine */ --_=XFMail.1.2.p0.FreeBSD:980504091906:262=_ Content-Disposition: attachment; filename="patch-aa" Content-Transfer-Encoding: none Content-Description: patch-aa Content-Type: text/plain; charset=us-ascii; name=patch-aa; SizeOnDisk=3159 --- mkmkfiles.imake.orig Fri Oct 3 22:50:37 1997 +++ mkmkfiles.imake Sat May 2 15:06:25 1998 @@ -11,37 +11,47 @@ # generated if your system is non-standard. The following tries its best # to generate the Makefiles for you... # -if ( -d /usr/lib/X11/config) then - if ( -x /usr/bin/X11/imake ) then - # Things are in standard places - /usr/bin/X11/imake -DUseInstalled -I/usr/lib/X11/config -DTOPDIR=. +if ( -d /usr/X11R6/lib/X11/config) then + if ( -x /usr/X11R6/bin/imake ) then + # Things are in standard places for XFree86 + /usr/X11R6/bin/imake -DUseInstalled -I/usr/X11R6/lib/X11/config -DTOPDIR=. else # Hope imake is on your path! - imake -DUseInstalled -I/usr/lib/X11/config -DTOPDIR=. + imake -DUseInstalled -I/usr/X11R6/lib/X11/config -DTOPDIR=. endif -else # Try non-standard places vendor locations - # Look for IBM's non-standard placement of imake - if ( -d /usr/lpp/X11/Xamples/config) then - if ( -x /usr/lpp/X11/Xamples/config/imake ) then - # Things are in non-standard IBM AIX places - /usr/lpp/X11/Xamples/config/imake -DUseInstalled -I/usr/lpp/X11/Xamples/c onfig -DTOPDIR=. +else + if ( -d /usr/lib/X11/config) then + if ( -x /usr/bin/X11/imake ) then + # Things are in standard places + /usr/bin/X11/imake -DUseInstalled -I/usr/lib/X11/config -DTOPDIR=. else # Hope imake is on your path! - imake -DUseInstalled -I/usr/lpp/X11/Xamples/config -DTOPDIR=. + imake -DUseInstalled -I/usr/lib/X11/config -DTOPDIR=. endif - else - # Look for Sun's non-standard placement of imake and xmkmf - if ( -x /usr/openwin/bin/xmkmf ) then - # Make sure that /usr/openwin/bin is at the front of your - # path so that you pick up /usr/openwin/bin/imake when - # you run /usr/openwin/bin/xmkmf instead of some other - # imake potentially mismatched with the /usr/openwin/lib/config - # config files. - set path = ( /usr/openwin/bin $path ) - /usr/openwin/bin/xmkmf + else # Try non-standard places vendor locations + # Look for IBM's non-standard placement of imake + if ( -d /usr/lpp/X11/Xamples/config) then + if ( -x /usr/lpp/X11/Xamples/config/imake ) then + # Things are in non-standard IBM AIX places + /usr/lpp/X11/Xamples/config/imake -DUseInstalled -I/usr/lpp/X11/Xamples /config -DTOPDIR=. + else + # Hope imake is on your path! + imake -DUseInstalled -I/usr/lpp/X11/Xamples/config -DTOPDIR=. + endif else - # Hope xmkmf is on your path! - xmkmf + # Look for Sun's non-standard placement of imake and xmkmf + if ( -x /usr/openwin/bin/xmkmf ) then + # Make sure that /usr/openwin/bin is at the front of your + # path so that you pick up /usr/openwin/bin/imake when + # you run /usr/openwin/bin/xmkmf instead of some other + # imake potentially mismatched with the /usr/openwin/lib/config + # config files. + set path = ( /usr/openwin/bin $path ) + /usr/openwin/bin/xmkmf + else + # Hope xmkmf is on your path! + xmkmf + endif endif endif endif --_=XFMail.1.2.p0.FreeBSD:980504091906:262=_-- End of MIME message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message