Subject: CVS commit: pkgsrc/graphics/freeglut
From: Thomas Klausner
Date: 2016-10-01 09:47:04
Message id: 20161001074705.0355CFBD2@cvs.NetBSD.org

Log Message:
Updated freeglut to 3.0.0.

FreeGLUT 3.0.0 is finally available for download.

I'd like to thank everyone who contributed to FreeGLUT and made yet
another release possible.

FreeGLUT 3.0.0 RC3 is available on sourceforge.

Hopefully this will be the last release candidate. Please give it a spin,
and let us know if there are any release-critical bugs with this one.

Here's the list of changes since RC2:
------------------------------------------------------------------------
r1742 | jtsiomb | 2015-01-03 13:55:09 +0200 (Sat, 03 Jan 2015) | 2 lines

pkgconfig files should go to $(PREFIX)/lib, not $(PREFIX)/share. Closing bug #216

------------------------------------------------------------------------
r1743 | jtsiomb | 2015-02-18 02:37:05 +0200 (Wed, 18 Feb 2015) | 5 lines

Applied Daniel Macks' patch to use ${CMAKE_INSTALL_LIBDIR} instead of
hardcoding lib for the installation directory of libraries, with the
additional modification of installing the pkg-config files there too.
closing bug #217

------------------------------------------------------------------------
r1744 | jtsiomb | 2015-02-18 05:59:21 +0200 (Wed, 18 Feb 2015) | 3 lines

added INCLUDE_DIRECTORIES(${X11_INCLUDE_DIR}) to make sure X11 header
files are correctly located, on systems where they are in weird places.
This closes bug: #218

------------------------------------------------------------------------
r1745 | jtsiomb | 2015-02-18 06:59:57 +0200 (Wed, 18 Feb 2015) | 7 lines

- changed the main INCLUDE_DIRECTORIES definition to place the main header
  locations first in the list instead of appending them. This gives priority to
  our freeglut*.h files instead of the old system-wide installed ones.
- removed the Xxf86vm hack from CMakeLists.txt: it seems like it's not needed
  any more in new versions of cmake, and it fails to link on MacOSX.

------------------------------------------------------------------------
r1746 | jtsiomb | 2015-02-18 07:03:16 +0200 (Wed, 18 Feb 2015) | 6 lines

MacOSX doesn't define HOST_NAME_MAX in unistd.h, which made freeglut fail to
build. Now, if the definition is missing, we'll just define it arbitrarilly as
255, which should be a safe value. This is just needed for an obscure X11 WM
protocol.

------------------------------------------------------------------------
r1747 | jtsiomb | 2015-02-18 07:20:50 +0200 (Wed, 18 Feb 2015) | 2 lines

removed the completely outdated FrequentlyAskedQuestions file

Apologies for the long delay between RC1 and RC2. If there are no
critical bugs with this one, we'll be able to release 3.0.0 shortly.

Here's the complete list of changes between RC1 and RC2:
------------------------------------------------------------------------
r1727 | dcnieho | 2014-11-03 06:18:51 +0200 (Mon, 03 Nov 2014) | 1 line

Added missing glutStrokeWidthf and glutStrokeLengthf for mobile support.
------------------------------------------------------------------------
r1728 | dcnieho | 2014-11-03 06:19:10 +0200 (Mon, 03 Nov 2014) | 3 lines

Added support for minimizing window.
Fixed issue where reshape callback would be called multiple times due to
conflicting window size messages on keyboard closure.
Fixed issue where changing orientation with the keyboard open would
cause multiple reshape events.
------------------------------------------------------------------------
r1729 | jtsiomb | 2014-11-04 13:47:27 +0200 (Tue, 04 Nov 2014) | 3 lines

- changed the minor so version for the new release to 3.10.0 (fg2.8.1
  was 3.9.0)
- made the so version numbers more prominent in the cmake file to make
  sure they're not forgotten in future releases

------------------------------------------------------------------------
r1730 | jtsiomb | 2014-12-02 07:22:12 +0200 (Tue, 02 Dec 2014) | 2 lines

include standard UNIX header fcntl.h in fg_joystick_x11.c, since fcntl()
is called conditionally in there (bug #192).

------------------------------------------------------------------------
r1731 | dcnieho | 2014-12-22 18:27:02 +0200 (Mon, 22 Dec 2014) | 3 lines

typofixes - https://github.com/vlajos/misspell_fixer

(cherry picked from commit c85ed83b848379d49d0869b84ab15851e2df8784)
------------------------------------------------------------------------
r1732 | jtsiomb | 2014-12-24 23:23:29 +0200 (Wed, 24 Dec 2014) | 2 lines

brought back the option to build either as "glut" or "freeglut":
FREEGLUT_REPLACE_GLUT

------------------------------------------------------------------------
r1733 | dcnieho | 2014-12-25 16:35:09 +0200 (Thu, 25 Dec 2014) | 1 line

CMake: FREEGLUT_REPLACE_GLUT option should not be visible on windows
------------------------------------------------------------------------
r1734 | dcnieho | 2014-12-25 16:35:17 +0200 (Thu, 25 Dec 2014) | 1 line

updated list of cmake switches in README.cmake

RC1 of the 3.0.0 release has been posted on the sourceforge website,
get it here:

Please do test and let us know of any issues you find.

There have been hundreds of commits over the last year or so, but here
are some important changes since 2.8.1:
- internal cleanup and reorganization, making it easier to add new
platforms while avoiding ifdef hell
- moved to CMake for buildsystem
- added martin newell's teacup and teaspoon to complement the teapot
- shapes now use vertex buffers internally for faster drawing
- shapes can now be drawn in forward compatible contexts, see new
functions glutSetVertexAttribCoord3, glutSetVertexAttribNormal, and
glutSetVertexAttribTexCoord2.
- new GLUT_GEOMETRY_VISUALIZE_NORMALS option to visualize the normals
of the shapes (these are frequently used for educational demos after
all)
- experimental support for Android and BlackBerry 10/BlackBerry
PlayBook mobile platforms, note that so far only a subset of FreeGLUT
is implemented
- can now set font of menu
- menu behavior corrected, multiple bugs fixed
- X11 fullscreen code updated, correctness improved
- time internally now 64 bit, so timers and such wont wrap for humanly
possible timeframes

Files:
RevisionActionfile
1.18modifypkgsrc/graphics/freeglut/Makefile
1.5modifypkgsrc/graphics/freeglut/PLIST
1.7modifypkgsrc/graphics/freeglut/distinfo
1.2modifypkgsrc/graphics/freeglut/patches/patch-src_freeglut__joystick.c
1.1addpkgsrc/graphics/freeglut/patches/patch-src_x11_fg__joystick__x11.c