summaryrefslogtreecommitdiff
path: root/games/plib/patches
diff options
context:
space:
mode:
authorxtraeme <xtraeme@pkgsrc.org>2003-09-22 12:27:28 +0000
committerxtraeme <xtraeme@pkgsrc.org>2003-09-22 12:27:28 +0000
commite77becce798e8770f3bfbb9c8d3ed8ddbc8eea4d (patch)
treec6c32bc3dd9434ad9354a1d56f450e6461d39fd3 /games/plib/patches
parent44b65e0b1eaeba6bacdaacd5e246f7dbc725de17 (diff)
downloadpkgsrc-e77becce798e8770f3bfbb9c8d3ed8ddbc8eea4d.tar.gz
Updated to 1.6.0. Closes PR pkg/19015 and pkg/22612.
Changes: PLIB v1.6.0 (Sept 2nd 2002) ~~~~~~~~~~~~~~~~~~~~~~~~~~~ * Significant improvements and cleanup throughout PLIB, especially in PUI. * ssgAux library added - includes handy classes for more sophisticated effects layered on top of SSG. + Standard shapes like cubes, spheres, cylinders and teapots. + Water waves. + Fire. + Particle Systems + Lens Flare. * More example programs. * P-Guide GUI builder for PUI. * JS promoted to a full library. PLIB v1.5.1 (July 21st 2001) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * Added ssgTween and ssgTweenController * Added puFileSelector - henceforth puFilePicker is deprecated. * Added ulList * Added VRML loader (this one works!) * Numerous bug fixes in other loaders. * Added TopHat support to JS * Added support for >3 simultaneous sounds in SL. (You have to explicitly enable that though - it's not the default) * Fixed bugs in util's directory handling. * puInput and puListBox now cope better with text that is too big for the widget * puListBox (and hence puFileSelector and puFilePicker) works with both large and small font sizes. * puDial changed to be derived from puSlider - many consequences of that change will be visible in the application. (eg output range is 0..1 and not 0..360) * PUI widgets are now 'sticky' so that if you are dragging a slider along a puSlider and your mouse slips off the edge of it, it'll still have "focus". * Added sgLerpAnglesVec3 to linearly interpolate angles allowing for the nasty wrap-around-360 problem. * Added sgLineSegment3ToLine3, sgDistSquaredToLineVec3 sgDistSquaredToLineSegmentVec3, sgDistToLineVec3 and sgDistToLineSegmentVec3. Also sgLine3 and sgLineSegment3 structures. * Added a 'Gallery' page to the documentation to show potential developers the range of applications that use PLIB - and also to promote things our developers have done. To save download time and CVS space, the actual images are not in the PLIB tarball. PLIB v1.4.2 (July 21st 2001) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * Changes in NET to allow compilation under RedHat 7.1 * Fixed a small bug in ssgaSphere * Fixes a small bug in puFilePicker PLIB v1.4.1 (June 25th 2001) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * Converted MSVC project files to 'BINARY' in the CVS archive because some versions of MSVC don't line UNIX-style line endings. * Many improvements and bug fixes to puFileSelector and puListBox. * Minor fix to NET to accomodate Solaris users. * Fixed puMenuBar so it highlights as you drag the mouse across it. * Fixed ulOpenDir so it returns NULL on error on non-MSVC systems * Changed colour of text on buttons in documentation to make them easier to read by colour-blind users. PLIB v1.5.0 (June 20th 2001) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * Just a 'place holder' - actually identical to 1.4.0. PLIB v1.4.0 (June 20th 2001) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * Fixed example programs so they don't use the obsolete _SSG_TYPE tags. * Removed multiplie <HEAD> tags on web pages. * Updated 'AUTHORS' file. * Added 'demos' to the CVS repository. PLIB v1.3.3 (June 18th 2001) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * Various warnings cleaned up under MSVC. * Fixed function prototypes for the Quaternion functions in SG * Fixed bug in sgEulerToQuat where the angles were not being converted from degrees to radians. * Changed PUI to make sliders and dial widgets grab a hold of the mouse focus and not release it until the button is released. This is a subtle but important behavioural change. * puDial's are now derived from puSlider's - one side-effect of that is that they now return 0..1 rather than 0..360 and no longer support the maximum and minimum range functions. PLIB v1.3.2 (June 13th 2001) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * This CHANGES file has regrettably not been well maintained, hence there a numerous changes not listed here. * File loaders now require app to pass 'ssgLoaderOptions' rather than other ad-hoc callback function hooks. * Added Active Widget Implementation (pui) * Added puFilePicker * Added Ref Counting to ssgState * Added puBiSlider and puTriSlider * Added some missing 'AUTHORS' entries. * puDial widget (was actually in 1.3.1 but got missed in the 'CHANGES' file) * Fixed a problem in the configure.in that prevented ssgAux from building. * Moved the 'name' and 'user_data' (with associated set/get member functions) from ssgEntity down into ssgBase so that these functions will work with ssgState and ssgTexture objects. This is needed for PrettyPoly. PLIB v1.3.1 (Sept 15th 2000) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * PLIB examples' data files consolidated into a single 'examples/data' directory. * Added 'SSGAUX' library - include <plib/ssgAux.h> and link to /usr/lib/libplibssgaux.a * Aux library has 'ssga' classes to add high level shapes such as cylinders, cubes and spheres (two different kinds). * Lots of new example programs. + New PUI 'complex' uses multiple windows. + Cute 'waving flag' demo + Working Quaternions versus Eulers demo + Model viewer (this is actually a useful program - as well as a demo). PLIB v1.3.0 (July 1st 2000) ~~~~~~~~~~~~~~~~~~~~~~~~~~~ * Unstable version of 1.2.0, no significant code changes.
Diffstat (limited to 'games/plib/patches')
-rw-r--r--games/plib/patches/patch-aa16
-rw-r--r--games/plib/patches/patch-ab28
-rw-r--r--games/plib/patches/patch-ac13
3 files changed, 57 insertions, 0 deletions
diff --git a/games/plib/patches/patch-aa b/games/plib/patches/patch-aa
new file mode 100644
index 00000000000..d1aa9f79cd8
--- /dev/null
+++ b/games/plib/patches/patch-aa
@@ -0,0 +1,16 @@
+$NetBSD: patch-aa,v 1.3 2003/09/22 12:27:29 xtraeme Exp $
+
+--- src/sl/slPortability.h.orig Mon Sep 22 06:08:29 2003
++++ src/sl/slPortability.h Mon Sep 22 06:09:02 2003
+@@ -78,7 +78,11 @@
+ # if defined(__linux__)
+ # include <linux/soundcard.h>
+ # elif defined(__FreeBSD__)
++# if __FreeBSD_version >= 500000
++# include <sys/soundcard.h>
++# else
+ # include <machine/soundcard.h>
++# endif
+ # else
+ /*
+ Tom thinks this file may be <sys/soundcard.h> under some
diff --git a/games/plib/patches/patch-ab b/games/plib/patches/patch-ab
new file mode 100644
index 00000000000..d30c3bcea2c
--- /dev/null
+++ b/games/plib/patches/patch-ab
@@ -0,0 +1,28 @@
+$NetBSD: patch-ab,v 1.4 2003/09/22 12:27:29 xtraeme Exp $
+
+--- src/js/js.h.orig Mon Sep 22 06:05:53 2003
++++ src/js/js.h Mon Sep 22 06:06:47 2003
+@@ -63,7 +63,11 @@
+ # include <fcntl.h>
+
+ # if defined(__FreeBSD__) || defined(__NetBSD__)
++# if __FreeBSD_version >= 500000
++# include <sys/joystick.h>
++# else
+ # include <machine/joystick.h>
++# endif
+ # define JS_DATA_TYPE joystick
+ # define JS_RETURN (sizeof(struct JS_DATA_TYPE))
+ # elif defined(__linux__)
+@@ -132,9 +136,9 @@
+
+
+
+-/*#if defined(__FreeBSD__) || defined(__NetBSD__)
++#if defined(__FreeBSD__) || defined(__NetBSD__)
+ int id ;
+-#endif*/
++#endif
+ #ifdef WIN32
+ JOYINFOEX js ;
+ UINT js_id ;
diff --git a/games/plib/patches/patch-ac b/games/plib/patches/patch-ac
new file mode 100644
index 00000000000..96b26a7244f
--- /dev/null
+++ b/games/plib/patches/patch-ac
@@ -0,0 +1,13 @@
+$NetBSD: patch-ac,v 1.3 2003/09/22 12:27:29 xtraeme Exp $
+
+--- src/net/netSocket.cxx.orig Mon Sep 22 06:03:03 2003
++++ src/net/netSocket.cxx Mon Sep 22 06:03:29 2003
+@@ -25,7 +25,7 @@
+
+ #if defined(__CYGWIN__) || !defined (WIN32)
+
+-#if defined(__APPLE__)
++#if defined(__APPLE__) || defined (__FreeBSD__)
+ # include <netinet/in.h>
+ #endif
+