Subject: CVS commit: pkgsrc/graphics/freeglut
From: =?UTF-8?B?RnLDqWTDqXJpYyBGYXViZXJ0ZWF1?=
Date: 2023-05-03 17:20:41
Message id: 20230503152041.B32C1FA87@cvs.NetBSD.org

Log Message:
freeglut: Update to 3.4.0

pkgsrc changes:
---------------
  * Remove patches which have been merged upstream.
  * Apply recommandations of pkglint for tests on PKG_BUILD_OPTIONS.

upstream changes:
-----------------
	* Add GLUT_ACTIVE_SUPER modifier, and corresponding GLUT_KEY_SUPER_L
		and GLUT_KEY_SUPER_R special keys. These map to Windows/Command keys.
	* Fix RGB mode (GLUT_RGBA) colors on 8bpp displays on windows
	  (construct default RGB332 palette).
	* Fix indexed color context creation on X11 and windows (GLUT_INDEX).
	* Add missing colormap management functions for X11 and windows
	  (glutSetColor, glutGetColor).
	* Fix crash when calling glutTimerFuncUcall.
	* Fix FreeBSD build by essentially disabling the joystick code for
	  newer FreeBSD versions. It will eventually need to be replaced/fixed.
	* Add fallbacks for the old GLX (<1.3) context creation API
		(glXChooseVisual/glXCreateContext), makes us compatible with IRIX 5.x and
    other old UNIX systems.
	* Add fallbacks for OpenGL 1.0 (no vertex arrays/client state).
	* Use nanosleep instead of usleep on UNIX, which is more widely
	  supported on old UNIX systems.
	* Fix build on X11 if GL_SAMPLES is not defined.
	* Fix overly strict context version checking on Android leading to
	  context creation failure in some cases.
	* Fix GLUT_CURSOR_INFO on windows, should be IDC_HAND, not IDC_HELP.
	* Fix mismatched font declarations on X11.
	* Add alternative simple ways to build freeglut with native tools only,
	  without having to use cmake.
	* Fix build on windows with cmake 3.0.0. Explicitly link with gdi32.
	* Fix build on MSVC 2005.
	* Fix build on MacOS X. Link with all the necessary X libraries.
	* Fix build on SGI IRIX.
	* Fix build on Android (mismatched function prototypes and missing
	  glutCreateMenuUcall).
	* Add support for the ninja multi-config generator.
	* Removed spurious dependency on a C++ compiler. One of the demos was
	  being compiled as C++ for no reason.
	* Silence unnecessary warnings when VBOs or GLSL are not available.
	* New demo programs: 3dview, keyboard, joystick.
	* Documentation: added MacOS X build instructions.
	* Made it possible to eventually support building freeglut as a single
	  compilation unit, by avoiding name conflicts on static variables.
	* Other minor fixes.

Files:
RevisionActionfile
1.35modifypkgsrc/graphics/freeglut/Makefile
1.11modifypkgsrc/graphics/freeglut/PLIST
1.18modifypkgsrc/graphics/freeglut/buildlink3.mk
1.19modifypkgsrc/graphics/freeglut/distinfo
1.1removepkgsrc/graphics/freeglut/patches/patch-src_fg__joystick.c
1.4removepkgsrc/graphics/freeglut/patches/patch-src_x11_fg__joystick__x11.c