|
View:
New views
16 Messages
—
Rating Filter:
Alert me
|
|
|
Release candidate 2?Hello everyone,
could I persuade you to create a 2.6.0-rc2 tarball from current SVN and put it up on freeglut.sf.net? I'm in the process of creating a package for my Linux distro and rc1 is already quite outdated again.. Thanks, Yours, Florian ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Freeglut-developer mailing list Freeglut-developer@... https://lists.sourceforge.net/lists/listinfo/freeglut-developer |
|
|
Re: Release candidate 2?Florian,
Please remind me again how to do this. I have cygwin on my system at home and should be able to get to it in a couple of days. John F. Fay Technical Fellow Jacobs Technology TEAS Group 850-883-1294 -----Original Message----- From: Florian Echtler [mailto:floe@...] Sent: Wednesday, October 07, 2009 4:11 AM To: freeglut-developer@... Subject: [Freeglut-developer] Release candidate 2? Hello everyone, could I persuade you to create a 2.6.0-rc2 tarball from current SVN and put it up on freeglut.sf.net? I'm in the process of creating a package for my Linux distro and rc1 is already quite outdated again.. Thanks, Yours, Florian ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Freeglut-developer mailing list Freeglut-developer@... https://lists.sourceforge.net/lists/listinfo/freeglut-developer |
|
|
Re: Release candidate 2?> Please remind me again how to do this. I have cygwin on my > system at home and should be able to get to it in a couple of days. Hello John, I think that "svn copy https://freeglut.svn.sourceforge.net/svnroot/freeglut/trunk/freeglut/freeglut https://freeglut.svn.sourceforge.net/svnroot/freeglut/tags/FG_2_6_0_RC2" should be sufficient. The advantage is that using the link http://freeglut.svn.sourceforge.net/viewvc/freeglut/tags/FG_2_6_0_RC2.tar.gz will then automatically generate a tar.gz file for you. Only thing to do manually would be to generate a Zip file for Windows. Yours, Florian P.S. Just wanted to mention that I've built the current SVN version on Windows 7 with VS2008 without any problems at all. ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Freeglut-developer mailing list Freeglut-developer@... https://lists.sourceforge.net/lists/listinfo/freeglut-developer |
|
|
Re: Release candidate 2?Florian,
Thank you very much. As you can tell from the SVN message, I started a bit of work this morning on putting in some recently-requested changes. John F. Fay Technical Fellow Jacobs Technology TEAS Group 850-883-1294 -----Original Message----- From: Florian Echtler [mailto:floe@...] Sent: Friday, October 30, 2009 5:35 AM To: FreeGLUT developers list Subject: Re: [Freeglut-developer] Release candidate 2? > Please remind me again how to do this. I have cygwin on my system at > home and should be able to get to it in a couple of days. Hello John, I think that "svn copy https://freeglut.svn.sourceforge.net/svnroot/freeglut/trunk/freeglut/fre eglut https://freeglut.svn.sourceforge.net/svnroot/freeglut/tags/FG_2_6_0_RC2" should be sufficient. The advantage is that using the link http://freeglut.svn.sourceforge.net/viewvc/freeglut/tags/FG_2_6_0_RC2.ta r.gz will then automatically generate a tar.gz file for you. Only thing to do manually would be to generate a Zip file for Windows. Yours, Florian P.S. Just wanted to mention that I've built the current SVN version on Windows 7 with VS2008 without any problems at all. ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Freeglut-developer mailing list Freeglut-developer@... https://lists.sourceforge.net/lists/listinfo/freeglut-developer |
|
|
Re: Release candidate 2?Folks,
I have put several changes into the SVN tree in the last few days and they need testing. Also, are there any other changes that need to go in that I have missed? - John At 03:10 AM 10/7/2009, you wrote: >Hello everyone, > >could I persuade you to create a 2.6.0-rc2 tarball from current SVN and >put it up on freeglut.sf.net? I'm in the process of creating a package >for my Linux distro and rc1 is already quite outdated again.. > >Thanks, Yours, Florian > > >------------------------------------------------------------------------------ >Come build with us! The BlackBerry(R) Developer Conference in SF, CA >is the only developer event you need to attend this year. Jumpstart your >developing skills, take BlackBerry mobile applications to market and stay >ahead of the curve. Join us from November 9 - 12, 2009. Register now! >http://p.sf.net/sfu/devconference >_______________________________________________ >Freeglut-developer mailing list >Freeglut-developer@... >https://lists.sourceforge.net/lists/listinfo/freeglut-developer ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Freeglut-developer mailing list Freeglut-developer@... https://lists.sourceforge.net/lists/listinfo/freeglut-developer |
|
|
Release Candidate 2! (was Re: Release candidate 2?)Gentlemen,
I am pleased to announce the "freeglut" 2.6.0, Release Candidate 2 has just been created. Would it be appropriate to remove some of the very early release candidates (I mean from previous versions of "freeglut") to reduce the overall size of the tree? - John At 04:35 AM 10/30/2009, you wrote: > > Please remind me again how to do this. I have cygwin on my > > system at home and should be able to get to it in a couple of days. > >Hello John, > >I think that "svn copy >https://freeglut.svn.sourceforge.net/svnroot/freeglut/trunk/freeglut/freeglut >https://freeglut.svn.sourceforge.net/svnroot/freeglut/tags/FG_2_6_0_RC2" > >should be sufficient. The advantage is that using the link >http://freeglut.svn.sourceforge.net/viewvc/freeglut/tags/FG_2_6_0_RC2.tar.gz >will then automatically generate a tar.gz file for you. Only thing to do >manually would be to generate a Zip file for Windows. > >Yours, Florian > >P.S. Just wanted to mention that I've built the current SVN version on >Windows 7 with VS2008 without any problems at all. > > > >------------------------------------------------------------------------------ >Come build with us! The BlackBerry(R) Developer Conference in SF, CA >is the only developer event you need to attend this year. Jumpstart your >developing skills, take BlackBerry mobile applications to market and stay >ahead of the curve. Join us from November 9 - 12, 2009. Register now! >http://p.sf.net/sfu/devconference >_______________________________________________ >Freeglut-developer mailing list >Freeglut-developer@... >https://lists.sourceforge.net/lists/listinfo/freeglut-developer ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Freeglut-developer mailing list Freeglut-developer@... https://lists.sourceforge.net/lists/listinfo/freeglut-developer |
|
|
Announcing Release Candidate 3Gentlemen,
I am pleased to report that "freeglut" 2.6.0 Release Candidate 3 has just been created in the SVN tree. I used the command $ svn copy https://freeglut.svn.sourceforge.net/svnroot/freeglut/trunk/freeglut https://freeglut.svn.sourceforge.net/svnroot/freeglut/tags/FG_2_6_0_RC3 -m "Creating freeglut 2.6.0 Release Candidate 3" Please note that there's a "freeglut" directory level in the release candidate. I invite you to download it and put it through its paces. Barring calamity, I expect this to be the last candidate before the actual release. Let me repeat my request for somebody with knowledge of how to create a release tarball. - John ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Freeglut-developer mailing list Freeglut-developer@... https://lists.sourceforge.net/lists/listinfo/freeglut-developer |
|
|
Re: Announcing Release Candidate 3Gentlemen,
I am pleased also to report that RC3 works as expected on Windows XP with MSVC 6.0: - the libraries build without warnings or errors - the demo programs build without warnings or errors - smooth_opengl3 terminates with an error - spaceball displays a red square that just sits there (I don't have a spaceball attached to my computer) - the other demo programs work properly - John At 10:34 PM 11/19/2009, you wrote: >Gentlemen, > > I am pleased to report that "freeglut" 2.6.0 Release Candidate 3 has >just been created in the SVN tree. I used the command > >$ svn copy >https://freeglut.svn.sourceforge.net/svnroot/freeglut/trunk/freeglut >https://freeglut.svn.sourceforge.net/svnroot/freeglut/tags/FG_2_6_0_RC3 >-m "Creating freeglut 2.6.0 Release Candidate 3" > >Please note that there's a "freeglut" directory level in the release >candidate. I invite you to download it and put it through its >paces. Barring calamity, I expect this to be the last candidate >before the actual release. > > Let me repeat my request for somebody with knowledge of how to >create a release tarball. > > - John > > >------------------------------------------------------------------------------ >Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day >trial. Simplify your report design, integration and deployment - and focus on >what you do best, core application coding. Discover what's new with >Crystal Reports now. http://p.sf.net/sfu/bobj-july >_______________________________________________ >Freeglut-developer mailing list >Freeglut-developer@... >https://lists.sourceforge.net/lists/listinfo/freeglut-developer ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Freeglut-developer mailing list Freeglut-developer@... https://lists.sourceforge.net/lists/listinfo/freeglut-developer |
|
|
Re: Announcing Release Candidate 3On Thu, Nov 19, 2009 at 10:34:50PM -0600, John F. Fay wrote:
> > Please note that there's a "freeglut" directory level in the release > candidate. I invite you to download it and put it through its > paces. Barring calamity, I expect this to be the last candidate > before the actual release. Seems to work fine here (GNU/Linux). > Let me repeat my request for somebody with knowledge of how to > create a release tarball. Not quite sure what you mean to tell you the truth ... you just pack it up and release it, not much to it really. Just make sure the directory name matches the filename for consistency, and you've ran ./autogen.sh to create the configure script so that the user won't need the autotools to build it. Oh and you do an svn export first of course, to get rid of the .svn dirs. So to wrap it up ... $ svn export https://freeglut.svn.sourceforge.net/svnroot/freeglut/tags/FG_2_6_0_RC3/freeglut freeglut-2.6.0 $ cd freeglut-2.6.0 $ ./autogen.sh $ cd .. $ tar czvf freeglut-2.6.0.tar.gz freeglut-2.6.0 I can do it for you if you like and send you the tarball. -- John Tsiombikas http://nuclear.sdf-eu.org/ ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Freeglut-developer mailing list Freeglut-developer@... https://lists.sourceforge.net/lists/listinfo/freeglut-developer |
|
|
Re: Announcing Release Candidate 3John,
Thanks for the update and for the info on making a tarball. I knew there was something in there about running "autogen" because general systems don't always have it. I'll be in touch concerning your offer. - John At 12:30 AM 11/20/2009, you wrote: >On Thu, Nov 19, 2009 at 10:34:50PM -0600, John F. Fay wrote: > > > > Please note that there's a "freeglut" directory level in the release > > candidate. I invite you to download it and put it through its > > paces. Barring calamity, I expect this to be the last candidate > > before the actual release. > >Seems to work fine here (GNU/Linux). > > > Let me repeat my request for somebody with knowledge of how to > > create a release tarball. > >Not quite sure what you mean to tell you the truth ... you just pack it >up and release it, not much to it really. Just make sure the directory >name matches the filename for consistency, and you've ran ./autogen.sh >to create the configure script so that the user won't need the autotools >to build it. Oh and you do an svn export first of course, to get rid of >the .svn dirs. > >So to wrap it up ... >$ svn export > >https://freeglut.svn.sourceforge.net/svnroot/freeglut/tags/FG_2_6_0_RC3/freeglut > freeglut-2.6.0 >$ cd freeglut-2.6.0 >$ ./autogen.sh >$ cd .. >$ tar czvf freeglut-2.6.0.tar.gz freeglut-2.6.0 > >I can do it for you if you like and send you the tarball. > >-- >John Tsiombikas >http://nuclear.sdf-eu.org/ > >------------------------------------------------------------------------------ >Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day >trial. Simplify your report design, integration and deployment - and focus on >what you do best, core application coding. Discover what's new with >Crystal Reports now. http://p.sf.net/sfu/bobj-july >_______________________________________________ >Freeglut-developer mailing list >Freeglut-developer@... >https://lists.sourceforge.net/lists/listinfo/freeglut-developer ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Freeglut-developer mailing list Freeglut-developer@... https://lists.sourceforge.net/lists/listinfo/freeglut-developer |
|
|
Concerning Release Candidate 3Gentlemen,
It appears that calamity has occurred. An e-mail with a major patch for the OSX build was caught in my spam filter and I only just now got it. I am attaching it here for your attention. It makes several changes that also affect the Linux build and I do not know what effect these will have. I would deeply appreciate it if somebody with a native Linux system could implement the patches and let me know what happens. I would also greatly appreciate some feedback over putting the patch into SVN and bringing out Release Candidate 4 this weekend. - John Index: src/freeglut_input_devices.c =================================================================== --- src/freeglut_input_devices.c (revision 851) +++ src/freeglut_input_devices.c (working copy) @@ -36,19 +36,15 @@ #include "freeglut_internal.h" #if TARGET_HOST_POSIX_X11 -#if HAVE_ERRNO +#ifdef HAVE_ERRNO_H #include <errno.h> #endif #include <sys/ioctl.h> -#include <sys/time.h> -#include <time.h> #include <stdio.h> #include <stdlib.h> -#include <unistd.h> #include <string.h> #include <termios.h> #include <fcntl.h> -#include <sys/types.h> typedef struct { int fd; Index: src/freeglut_init.c =================================================================== --- src/freeglut_init.c (revision 851) +++ src/freeglut_init.c (working copy) @@ -29,6 +29,10 @@ #include <GL/freeglut.h> #include "freeglut_internal.h" +#ifdef HAVE_ERRNO_H +# include <errno.h> +#endif + #if TARGET_HOST_POSIX_X11 #include <limits.h> /* LONG_MAX */ #endif @@ -683,7 +687,7 @@ /* will return true for VC8 (VC2005) and higher */ #if TARGET_HOST_MS_WINDOWS && ( _MSC_VER >= 1400 ) size_t sLen; -#if HAVE_ERRNO +#ifdef HAVE_ERRNO_H errno_t err; #endif #endif @@ -708,7 +712,7 @@ #ifndef _WIN32_WCE { /* will return true for VC8 (VC2005) and higher */ -#if TARGET_HOST_MS_WINDOWS && ( _MSC_VER >= 1400 ) && HAVE_ERRNO +#if TARGET_HOST_MS_WINDOWS && ( _MSC_VER >= 1400 ) && HAVE_ERRNO_H char* fps = NULL; err = _dupenv_s( &fps, &sLen, "GLUT_FPS" ); if (err) @@ -727,13 +731,13 @@ fgState.FPSInterval = interval; } /* will return true for VC8 (VC2005) and higher */ -#if TARGET_HOST_MS_WINDOWS && ( _MSC_VER >= 1400 ) && HAVE_ERRNO +#if TARGET_HOST_MS_WINDOWS && ( _MSC_VER >= 1400 ) && HAVE_ERRNO_H free ( fps ); fps = NULL; /* dupenv_s allocates a string that we must free */ #endif } /* will return true for VC8 (VC2005) and higher */ -#if TARGET_HOST_MS_WINDOWS && ( _MSC_VER >= 1400 ) && HAVE_ERRNO +#if TARGET_HOST_MS_WINDOWS && ( _MSC_VER >= 1400 ) && HAVE_ERRNO_H err = _dupenv_s( &displayName, &sLen, "DISPLAY" ); if (err) fgError("Error getting DISPLAY environment variable"); @@ -825,7 +829,7 @@ */ fghInitialize( displayName ); /* will return true for VC8 (VC2005) and higher */ -#if TARGET_HOST_MS_WINDOWS && ( _MSC_VER >= 1400 ) && HAVE_ERRNO +#if TARGET_HOST_MS_WINDOWS && ( _MSC_VER >= 1400 ) && HAVE_ERRNO_H free ( displayName ); displayName = NULL; /* dupenv_s allocates a string that we must free */ #endif Index: src/freeglut_internal.h =================================================================== --- src/freeglut_internal.h (revision 851) +++ src/freeglut_internal.h (working copy) @@ -28,7 +28,7 @@ #ifndef FREEGLUT_INTERNAL_H #define FREEGLUT_INTERNAL_H -#if HAVE_CONFIG_H +#ifdef HAVE_CONFIG_H # include "config.h" #endif @@ -41,6 +41,7 @@ /* XXX: Don't all MS-Windows compilers (except Cygwin) have _WIN32 defined? * XXX: If so, remove the first set of defined()'s below. */ +#if !defined(TARGET_HOST_POSIX_X11) && !defined(TARGET_HOST_MS_WINDOWS) && !defined(TARGET_HOST_MAC_OSX) #if defined(_MSC_VER) || defined(__WATCOMC__) || defined(__MINGW32__) \ || defined(_WIN32) || defined(_WIN32_WCE) \ || ( defined(__CYGWIN__) && defined(X_DISPLAY_MISSING) ) @@ -58,6 +59,7 @@ # error "Unrecognized target host!" */ #endif +#endif /* Detect both SunPro and gcc compilers on Sun Solaris */ #if defined (__SVR4) && defined (__sun) @@ -109,7 +111,7 @@ # include <X11/Xatom.h> # include <X11/keysym.h> # include <X11/extensions/XInput.h> -# ifdef HAVE_X11_EXTENSIONS_XF86VMODE_H +# ifdef HAVE_XXF86VM # include <X11/extensions/xf86vmode.h> # endif /* If GLX is too old, we will fail during runtime when multisampling @@ -130,16 +132,16 @@ #include <stdlib.h> /* These are included based on autoconf directives. */ -#if HAVE_SYS_TYPES_H +#ifdef HAVE_SYS_TYPES_H # include <sys/types.h> #endif -#if HAVE_UNISTD_H +#ifdef HAVE_UNISTD_H # include <unistd.h> #endif -#if TIME_WITH_SYS_TIME +#ifdef TIME_WITH_SYS_TIME # include <sys/time.h> # include <time.h> -#elif HAVE_SYS_TIME_H +#elif defined(HAVE_SYS_TIME_H) # include <sys/time.h> #else # include <time.h> @@ -159,15 +161,6 @@ # endif #endif -#if TARGET_HOST_MS_WINDOWS -# define HAVE_VPRINTF 1 -#endif - -#if !defined(HAVE_VPRINTF) && !defined(HAVE_DOPRNT) -/* XXX warning directive here? */ -# define HAVE_VPRINTF 1 -#endif - /* MinGW may lack a prototype for ChangeDisplaySettingsEx() (depending on the version?) */ #if TARGET_HOST_MS_WINDOWS && !defined(ChangeDisplaySettingsEx) LONG WINAPI ChangeDisplaySettingsExA(LPCSTR,LPDEVMODEA,HWND,DWORD,LPVOID); @@ -189,14 +182,23 @@ # define M_PI 3.14159265358979323846 #endif -#ifndef TRUE -# define TRUE 1 +#ifdef HAVE_STDBOOL_H +# include <stdbool.h> +# ifndef TRUE +# define TRUE true +# endif +# ifndef FALSE +# define FALSE false +# endif +#else +# ifndef TRUE +# define TRUE 1 +# endif +# ifndef FALSE +# define FALSE 0 +# endif #endif -#ifndef FALSE -# define FALSE 0 -#endif - /* General defines */ #define INVALID_MODIFIERS 0xffffffff Index: src/freeglut_main.c =================================================================== --- src/freeglut_main.c (revision 851) +++ src/freeglut_main.c (working copy) @@ -27,13 +27,13 @@ #include <GL/freeglut.h> #include "freeglut_internal.h" -#if HAVE_ERRNO +#ifdef HAVE_ERRNO_H # include <errno.h> #endif #include <stdarg.h> -#if HAVE_VPRINTF +#ifdef HAVE_VFPRINTF # define VFPRINTF(s,f,a) vfprintf((s),(f),(a)) -#elif HAVE_DOPRNT +#elif defined(HAVE__DOPRNT) # define VFPRINTF(s,f,a) _doprnt((f),(a),(s)) #else # define VFPRINTF(s,f,a) @@ -59,7 +59,7 @@ * Try to get the maximum value allowed for ints, falling back to the minimum * guaranteed by ISO C99 if there is no suitable header. */ -#if HAVE_LIMITS_H +#ifdef HAVE_LIMITS_H # include <limits.h> #endif #ifndef INT_MAX @@ -473,7 +473,7 @@ wait.tv_usec = (msec % 1000) * 1000; err = select( socket+1, &fdset, NULL, NULL, &wait ); -#if HAVE_ERRNO +#ifdef HAVE_ERRNO_H if( ( -1 == err ) && ( errno != EINTR ) ) fgWarning ( "freeglut select() error: %d", errno ); #endif Index: src/Makefile.am =================================================================== --- src/Makefile.am (revision 851) +++ src/Makefile.am (working copy) @@ -43,9 +43,9 @@ # # Additional linker flags # -lib@LIBRARY@_la_LIBADD = $(LIBM) $(X_LIBS) $(GL_LIBS) $(LIBXXF86VM) $(LIBXI) +lib@LIBRARY@_la_LIBADD = $(GL_LIBS) $(X_LIBS) $(LIBM) lib@LIBRARY@_la_LDFLAGS = $(VERSION_INFO) -no-undefined -lib@LIBRARY@_la_CFLAGS = $(X_CFLAGS) $(EXPORT_FLAGS) +lib@LIBRARY@_la_CFLAGS = $(GL_FLAGS) $(X_CFLAGS) $(EXPORT_FLAGS) lib@LIBRARY@_la_CPPFLAGS= -I$(top_srcdir)/include # Index: src/freeglut_joystick.c =================================================================== --- src/freeglut_joystick.c (revision 851) +++ src/freeglut_joystick.c (working copy) @@ -33,7 +33,7 @@ #include <GL/freeglut.h> #include "freeglut_internal.h" -#if HAVE_SYS_PARAM_H +#ifdef HAVE_SYS_PARAM_H # include <sys/param.h> #endif @@ -69,14 +69,15 @@ #if TARGET_HOST_POSIX_X11 # define _JS_MAX_AXES 16 -# if HAVE_SYS_IOCTL_H +# ifdef HAVE_SYS_IOCTL_H # include <sys/ioctl.h> # endif -# if HAVE_FCNTL_H +# ifdef HAVE_FCNTL_H # include <fcntl.h> # endif -# if HAVE_ERRNO +# ifdef HAVE_ERRNO_H # include <errno.h> +# include <string.h> # endif # if defined(__FreeBSD__) || defined(__NetBSD__) /* XXX The below hack is done until freeglut's autoconf is updated. */ @@ -240,7 +241,7 @@ if (cp) return 1; } -#if HAVE_ERRNO +#ifdef HAVE_ERRNO_H else if (errno == EACCES) { if (!protection_warned) { fgWarning ( "Can't open %s for read!", buf ); @@ -265,7 +266,7 @@ if ( ( rd = hid_get_report_desc( os->fd ) ) == 0 ) { -#if HAVE_ERRNO +#ifdef HAVE_ERRNO_H fgWarning ( "error: %s: %s", os->fname, strerror( errno ) ); #else fgWarning ( "error: %s", os->fname ); @@ -279,7 +280,7 @@ if( ioctl( os->fd, USB_GET_REPORT_ID, &report_id ) < 0) { /*** XXX {report_id} may not be the right variable? ***/ -#if HAVE_ERRNO +#ifdef HAVE_ERRNO_H fgWarning ( "error: %s%d: %s", UHIDDEV, report_id, strerror( errno ) ); #else fgWarning ( "error: %s%d", UHIDDEV, report_id ); @@ -676,7 +677,7 @@ } } } -#if HAVE_ERRNO +#ifdef HAVE_ERRNO_H if ( len < 0 && errno != EAGAIN ) #else if ( len < 0 ) @@ -699,7 +700,7 @@ if ( status != sizeof( struct js_event ) ) { -#if HAVE_ERRNO +#ifdef HAVE_ERRNO_H if ( errno == EAGAIN ) { /* Use the old values */ @@ -1317,7 +1318,7 @@ joy->os->fd = open( joy->os->fname, O_RDONLY | O_NONBLOCK); -#if HAVE_ERRNO +#ifdef HAVE_ERRNO_H if( joy->os->fd < 0 && errno == EACCES ) fgWarning ( "%s exists but is not readable by you", joy->os->fname ); #endif Index: configure.ac =================================================================== --- configure.ac (revision 851) +++ configure.ac (working copy) @@ -1,63 +1,70 @@ # Process this file with autoconf to produce a configure script. -AC_INIT([freeglut library], [2.6.0], [freeglut-bugs@...], [freeglut]) -AM_INIT_AUTOMAKE -AC_PREREQ([2.56]) +AC_INIT([freeglut library],[2.6.0],[freeglut-bugs@...],[freeglut]) +AM_INIT_AUTOMAKE([dist-bzip2 foreign]) +AC_PREREQ(2.64) AC_CONFIG_SRCDIR([AUTHORS]) AC_CONFIG_HEADERS([config.h]) # Compatibility hack for older autoconf versions -m4_ifdef([AS_HELP_STRING], [], [AC_DEFUN([AS_HELP_STRING], [AC_HELP_STRING($][@)])]) +m4_ifdef([AS_HELP_STRING], [], [AC_DEFUN([AS_HELP_STRING], [AS_HELP_STRING([$@])])]) # Checks for programs. AC_PROG_CC AM_PROG_CC_C_O AC_C_CONST AC_EXEEXT -AC_LIBTOOL_DLOPEN -AC_PROG_LIBTOOL +PKG_PROG_PKG_CONFIG + +LT_INIT([dlopen]) AC_SUBST([LIBTOOL_DEPS]) -# Checks for libraries. -AC_PATH_XTRA +case $host_os in + cygwin*) + GL_LIBS="-lopengl32 -lgdi32 -lwinmm" + VERSION_INFO= + EXPORT_FLAGS="-DFREEGLUT_EXPORTS" + AC_DEFINE(TARGET_HOST_MS_WINDOWS, 1, [Building for an MS Windows environment]) + ;; + *) + PKG_CHECK_MODULES(GL, gl) + PKG_CHECK_MODULES(X, xext x11 xi) + PKG_CHECK_MODULES(XXF86VM, xxf86vm, + AC_DEFINE(HAVE_XXF86VM, 1, [xxf86vm extension is available]), + []]) + AC_DEFINE(TARGET_HOST_POSIX_X11, 1, [Building for an X11 environment]) + VERSION_INFO="-version-info 12:0:9" + EXPORT_FLAGS= + ;; +esac -if test x"$no_x" = xyes; then - GL_LIBS="-lopengl32 -lgdi32 -lwinmm" - LIBXXF86VM= - LIBXI= - VERSION_INFO= - EXPORT_FLAGS="-DFREEGLUT_EXPORTS" -else - GL_LIBS="-lGL -lXext -lX11" - AC_CHECK_LIB([Xxf86vm], [XF86VidModeSwitchToMode], - [LIBXXF86VM=-lXxf86vm], [LIBXXF86VM=], - [$X_LIBS -lXext -lX11]) - LIBXI=-lXi - VERSION_INFO="-version-info 12:0:9" - EXPORT_FLAGS= -fi +# ?? +#case $host_os in +# *solaris*) +# AC_DEFINE(TARGET_HOST_SOLARIS, 1, [Building for a Solaris environment]) +# AC_DEFINE(TARGET_HOST_POSIX_X11, 1, [Building for an X11 environment]) +# ;; +#esac + +AC_SUBST([GL_CFLAGS]) AC_SUBST([GL_LIBS]) -AC_SUBST([LIBXXF86VM]) -AC_SUBST([LIBXI]) +AC_SUBST([X_CFLAGS]) +AC_SUBST([X_LIBS]) +AC_SUBST([XXF86VM_CFLAGS]) +AC_SUBST([XXF86VM_LIBS]) AC_SUBST([VERSION_INFO]) AC_SUBST([EXPORT_FLAGS]) # Checks for header files. AC_HEADER_STDC -save_CPPFLAGS="$CPPFLAGS" -CPPFLAGS="$CPPFLAGS $X_CFLAGS" -AC_CHECK_HEADERS([GL/gl.h GL/glu.h GL/glx.h fcntl.h limits.h sys/ioctl.h sys/param.h sys/time.h]) +AC_CHECK_HEADERS([errno.h fcntl.h limits.h stdbool.h sys/ioctl.h sys/param.h sys/time.h usbhid.h]) AC_HEADER_TIME -AC_CHECK_HEADERS([X11/extensions/xf86vmode.h], [], [], [#include <X11/Xlib.h>]) -AC_CHECK_HEADERS([X11/extensions/XI.h X11/extensions/XInput.h]) -CPPFLAGS="$save_CPPFLAGS" # Checks for library functions. AC_PROG_GCC_TRADITIONAL -AC_FUNC_VPRINTF -AC_CHECK_LIBM +LT_LIB_M AC_SUBST([LIBM]) -AC_CHECK_FUNCS([gettimeofday]) +AC_CHECK_FUNCS([gettimeofday vfprintf _doprnt]) # Build time configuration. AC_ARG_ENABLE([replace-glut], ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Freeglut-developer mailing list Freeglut-developer@... https://lists.sourceforge.net/lists/listinfo/freeglut-developer |
|
|
Re: Announcing Release Candidate 3I tested with VS2008 and all is well. Compile warnings about 'fopen'
being unsafe, as expected with VS2008. I'll try the patch for OS X on my Mac over the weekend. Paul Martz Skew Matrix Software LLC _http://www.skew-matrix.com_ <http://www.skew-matrix.com/> +1 303 859 9466 John F. Fay wrote: > Gentlemen, > > I am pleased also to report that RC3 works as expected on > Windows XP with MSVC 6.0: > > - the libraries build without warnings or errors > - the demo programs build without warnings or errors > - smooth_opengl3 terminates with an error > - spaceball displays a red square that just sits > there (I don't have a spaceball attached to my computer) > - the other demo programs work properly > > - John > > > At 10:34 PM 11/19/2009, you wrote: > >> Gentlemen, >> >> I am pleased to report that "freeglut" 2.6.0 Release Candidate 3 has >> just been created in the SVN tree. I used the command >> >> $ svn copy >> https://freeglut.svn.sourceforge.net/svnroot/freeglut/trunk/freeglut >> https://freeglut.svn.sourceforge.net/svnroot/freeglut/tags/FG_2_6_0_RC3 >> -m "Creating freeglut 2.6.0 Release Candidate 3" >> >> Please note that there's a "freeglut" directory level in the release >> candidate. I invite you to download it and put it through its >> paces. Barring calamity, I expect this to be the last candidate >> before the actual release. >> >> Let me repeat my request for somebody with knowledge of how to >> create a release tarball. >> >> - John >> >> >> ------------------------------------------------------------------------------ >> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day >> trial. Simplify your report design, integration and deployment - and focus on >> what you do best, core application coding. Discover what's new with >> Crystal Reports now. http://p.sf.net/sfu/bobj-july >> _______________________________________________ >> Freeglut-developer mailing list >> Freeglut-developer@... >> https://lists.sourceforge.net/lists/listinfo/freeglut-developer > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Freeglut-developer mailing list > Freeglut-developer@... > https://lists.sourceforge.net/lists/listinfo/freeglut-developer > > ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Freeglut-developer mailing list Freeglut-developer@... https://lists.sourceforge.net/lists/listinfo/freeglut-developer |
|
|
Re: Concerning Release Candidate 3On Fri, Nov 20, 2009 at 07:43:26AM -0600, John F. Fay wrote:
> Gentlemen, > > It appears that calamity has occurred. An e-mail with a major > patch for the OSX build was caught in my spam filter and I only just > now got it. I am attaching it here for your attention. It makes > several changes that also affect the Linux build and I do not know > what effect these will have. I would deeply appreciate it if > somebody with a native Linux system could implement the patches and > let me know what happens. > > I would also greatly appreciate some feedback over putting the > patch into SVN and bringing out Release Candidate 4 this weekend. That's no good for me, can't really test it. This patch raises the required autoconf version to 2.64 which is not even in Debian unstable at the moment. >From inspection of the patch I can't see what's relevant to the mac os x build. It seems to focus on fixing some ifdef blocks checking things such as the presence of errno.h and various standard UNIX headers. I'm not very familliar with the autotools as I prefer to write straight makefiles and sometimes hand-crafted configure scripts for my projects, so I can't tell what's in there that requires the newest autoconf version. Could you ask the author what is he fixing exactly with this patch, and could he change it to work with older autoconf versions? I'm just curious because I can't see any real code changes (that might fix the SIGBUS issue for instance on mac os x) and reports said that the code used to compile as it was anyway. Again, I might have missed something. -- John Tsiombikas http://nuclear.sdf-eu.org/ ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Freeglut-developer mailing list Freeglut-developer@... https://lists.sourceforge.net/lists/listinfo/freeglut-developer |
|
|
Re: Concerning Release Candidate 3If it raises a minimum version of a needed tool beyond your system's
capabilities, that means it just flunked the test. John F. Fay Technical Fellow Jacobs Technology TEAS Group 850-883-1294 -----Original Message----- From: John Tsiombikas [mailto:nuclear@...] Sent: Friday, November 20, 2009 9:42 AM To: freeglut-developer@... Subject: Re: [Freeglut-developer] Concerning Release Candidate 3 On Fri, Nov 20, 2009 at 07:43:26AM -0600, John F. Fay wrote: > Gentlemen, > > It appears that calamity has occurred. An e-mail with a major > patch for the OSX build was caught in my spam filter and I only just > now got it. I am attaching it here for your attention. It makes > several changes that also affect the Linux build and I do not know > what effect these will have. I would deeply appreciate it if > somebody with a native Linux system could implement the patches and > let me know what happens. > > I would also greatly appreciate some feedback over putting the > patch into SVN and bringing out Release Candidate 4 this weekend. That's no good for me, can't really test it. This patch raises the required autoconf version to 2.64 which is not even in Debian unstable at the moment. >From inspection of the patch I can't see what's relevant to the mac os x build. It seems to focus on fixing some ifdef blocks checking things such as the presence of errno.h and various standard UNIX headers. I'm not very familliar with the autotools as I prefer to write straight makefiles and sometimes hand-crafted configure scripts for my projects, so I can't tell what's in there that requires the newest autoconf version. Could you ask the author what is he fixing exactly with this patch, and could he change it to work with older autoconf versions? I'm just curious because I can't see any real code changes (that might fix the SIGBUS issue for instance on mac os x) and reports said that the code used to compile as it was anyway. Again, I might have missed something. -- John Tsiombikas http://nuclear.sdf-eu.org/ ------------------------------------------------------------------------ ------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Freeglut-developer mailing list Freeglut-developer@... https://lists.sourceforge.net/lists/listinfo/freeglut-developer ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Freeglut-developer mailing list Freeglut-developer@... https://lists.sourceforge.net/lists/listinfo/freeglut-developer |
|
|
Re: Concerning Release Candidate 3Hi John, all,
John Tsiombikas wrote: > That's no good for me, can't really test it. This patch raises the > required autoconf version to 2.64 which is not even in Debian unstable > at the moment. > > >From inspection of the patch I can't see what's relevant > to the mac os x build. It seems to focus on fixing some ifdef blocks > checking things such as the presence of errno.h and various standard > UNIX headers. Yep, same for me. I had to modify the "autoconfigure.ac" to build it successfully on Fedora 11 (x64 version), but I couldn't really see what the patch fixes. I did test your full screen fix at the same time though, and confirm that full screen under Gnome is now truly full screen. I have also just noted a problem with the errno.h ifdef blocks under Windows. When compiling under VS 2008, I'm getting a warning about an unused variable: Warning 9 warning C4101: 'sLen' : unreferenced local variable c:\Users\mpayne\Documents\Visual Studio 2008\Projects\freeglut Trunk\freeglut\freeglut\src\freeglut_init.c 689 freeglut The problem is that "HAVE_ERRNO" is not defined when building under VS 2008, so the code that uses the variable is conditionally not compiled. The patch changes some of these ifdef blocks (not all of them) to check "HAVE_ERRNO_H" instead of "HAVE_ERRNO", but still that is not something which is defined when building under VS 2008. My understanding was that this was put in place to avoid errors when building for WinCE (see http://sourceforge.net/mailarchive/forum.php?thread_name=4af805db3dd89fa490675f1edd6dc613%40mail.smartmobili.com&forum_name=freeglut-developer). Is there something better we can replace this with, so the code compiles under Windows, but not WinCE? Regards, Martin ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Freeglut-developer mailing list Freeglut-developer@... https://lists.sourceforge.net/lists/listinfo/freeglut-developer |
|
|
Re: Concerning Release Candidate 3Martin,
While there may be a way to fix it, I don't think I would like to hold up the release for it. As General Patton was fond of saying, "a good plan today is better than a perfect plan tomorrow." I would like to get a release out the door--it's about two years overdue as it is--and deal with the more complicated issues later. I plan to start making noises about 2.8.0 some time around the next equinox. John F. Fay Technical Fellow Jacobs Technology TEAS Group 850-883-1294 -----Original Message----- From: Martin Payne [mailto:lists@...] Sent: Saturday, November 21, 2009 2:18 PM To: FreeGLUT developers list Subject: Re: [Freeglut-developer] Concerning Release Candidate 3 Hi John, all, John Tsiombikas wrote: > That's no good for me, can't really test it. This patch raises the > required autoconf version to 2.64 which is not even in Debian unstable > at the moment. > > >From inspection of the patch I can't see what's relevant > to the mac os x build. It seems to focus on fixing some ifdef blocks > checking things such as the presence of errno.h and various standard > UNIX headers. Yep, same for me. I had to modify the "autoconfigure.ac" to build it successfully on Fedora 11 (x64 version), but I couldn't really see what the patch fixes. I did test your full screen fix at the same time though, and confirm that full screen under Gnome is now truly full screen. I have also just noted a problem with the errno.h ifdef blocks under Windows. When compiling under VS 2008, I'm getting a warning about an unused variable: Warning 9 warning C4101: 'sLen' : unreferenced local variable c:\Users\mpayne\Documents\Visual Studio 2008\Projects\freeglut Trunk\freeglut\freeglut\src\freeglut_init.c 689 freeglut The problem is that "HAVE_ERRNO" is not defined when building under VS 2008, so the code that uses the variable is conditionally not compiled. The patch changes some of these ifdef blocks (not all of them) to check "HAVE_ERRNO_H" instead of "HAVE_ERRNO", but still that is not something which is defined when building under VS 2008. My understanding was that this was put in place to avoid errors when building for WinCE (see http://sourceforge.net/mailarchive/forum.php?thread_name=4af805db3dd89fa 490675f1edd6dc613%40mail.smartmobili.com&forum_name=freeglut-developer). Is there something better we can replace this with, so the code compiles under Windows, but not WinCE? Regards, Martin ------------------------------------------------------------------------ ------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Freeglut-developer mailing list Freeglut-developer@... https://lists.sourceforge.net/lists/listinfo/freeglut-developer ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Freeglut-developer mailing list Freeglut-developer@... https://lists.sourceforge.net/lists/listinfo/freeglut-developer |
| Free embeddable forum powered by Nabble | Forum Help |