diff options
author | xtraeme <xtraeme@pkgsrc.org> | 2003-09-22 12:27:28 +0000 |
---|---|---|
committer | xtraeme <xtraeme@pkgsrc.org> | 2003-09-22 12:27:28 +0000 |
commit | e77becce798e8770f3bfbb9c8d3ed8ddbc8eea4d (patch) | |
tree | c6c32bc3dd9434ad9354a1d56f450e6461d39fd3 /games | |
parent | 44b65e0b1eaeba6bacdaacd5e246f7dbc725de17 (diff) | |
download | pkgsrc-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')
-rw-r--r-- | games/plib/Makefile | 7 | ||||
-rw-r--r-- | games/plib/PLIST | 38 | ||||
-rw-r--r-- | games/plib/buildlink2.mk | 27 | ||||
-rw-r--r-- | games/plib/distinfo | 9 | ||||
-rw-r--r-- | games/plib/patches/patch-aa | 16 | ||||
-rw-r--r-- | games/plib/patches/patch-ab | 28 | ||||
-rw-r--r-- | games/plib/patches/patch-ac | 13 |
7 files changed, 121 insertions, 17 deletions
diff --git a/games/plib/Makefile b/games/plib/Makefile index cd4d0edd257..1dbd6457a56 100644 --- a/games/plib/Makefile +++ b/games/plib/Makefile @@ -1,8 +1,7 @@ -# $NetBSD: Makefile,v 1.9 2003/07/21 16:49:59 martti Exp $ +# $NetBSD: Makefile,v 1.10 2003/09/22 12:27:28 xtraeme Exp $ # -DISTNAME= plib-1.2.0 -PKGREVISION= 1 +DISTNAME= plib-1.6.0 CATEGORIES= games x11 MASTER_SITES= http://plib.sourceforge.net/dist/ @@ -16,4 +15,6 @@ GNU_CONFIGURE= YES CPPFLAGS+= -Dunix=1 .include "../../graphics/Mesa/buildlink2.mk" + +.include "../../mk/ossaudio.buildlink2.mk" .include "../../mk/bsd.pkg.mk" diff --git a/games/plib/PLIST b/games/plib/PLIST index 8d67e762afd..f8037200815 100644 --- a/games/plib/PLIST +++ b/games/plib/PLIST @@ -1,21 +1,37 @@ -@comment $NetBSD: PLIST,v 1.1 2001/11/01 00:54:57 zuntum Exp $ -include/plib/ul.h +@comment $NetBSD: PLIST,v 1.2 2003/09/22 12:27:28 xtraeme Exp $ +include/plib/fnt.h include/plib/js.h +include/plib/netBuffer.h +include/plib/netChannel.h +include/plib/netChat.h +include/plib/netMessage.h +include/plib/netMonitor.h +include/plib/netSocket.h +include/plib/pu.h +include/plib/sg.h include/plib/sl.h include/plib/slPortability.h include/plib/sm.h -include/plib/slMODPrivate.h -include/plib/slMODfile.h -include/plib/pu.h -include/plib/sg.h include/plib/ssg.h +include/plib/ssgAux.h include/plib/ssgKeyFlier.h -include/plib/fnt.h -include/plib/fntLocal.h -lib/libplibsl.a -lib/libplibsm.a +include/plib/ssgMSFSPalette.h +include/plib/ssgaFire.h +include/plib/ssgaLensFlare.h +include/plib/ssgaParticleSystem.h +include/plib/ssgaShapes.h +include/plib/ssgaWaveSystem.h +include/plib/ssgconf.h +include/plib/ul.h +include/plib/ulRTTI.h +lib/libplibfnt.a +lib/libplibjs.a +lib/libplibnet.a lib/libplibpu.a lib/libplibsg.a +lib/libplibsl.a +lib/libplibsm.a lib/libplibssg.a -lib/libplibfnt.a +lib/libplibssgaux.a +lib/libplibul.a @dirrm include/plib diff --git a/games/plib/buildlink2.mk b/games/plib/buildlink2.mk new file mode 100644 index 00000000000..07c3a994643 --- /dev/null +++ b/games/plib/buildlink2.mk @@ -0,0 +1,27 @@ +# $NetBSD: buildlink2.mk,v 1.1 2003/09/22 12:27:28 xtraeme Exp $ +# +# This Makefile fragment is included by packages that use plib. +# +# This file was created automatically using createbuildlink 2.6. +# + +.if !defined(PLIB_BUILDLINK2_MK) +PLIB_BUILDLINK2_MK= # defined + +BUILDLINK_PACKAGES+= plib +BUILDLINK_DEPENDS.plib?= plib>=1.6.0 +BUILDLINK_PKGSRCDIR.plib?= ../../games/plib + +EVAL_PREFIX+= BUILDLINK_PREFIX.plib=plib +BUILDLINK_PREFIX.plib_DEFAULT= ${LOCALBASE} +BUILDLINK_FILES.plib+= include/plib/*.h +BUILDLINK_FILES.plib+= lib/libplib* +BUILDLINK_DEPMETHOD.plib= build + +.include "../../graphics/Mesa/buildlink2.mk" + +BUILDLINK_TARGETS+= plib-buildlink + +plib-buildlink: _BUILDLINK_USE + +.endif # PLIB_BUILDLINK2_MK diff --git a/games/plib/distinfo b/games/plib/distinfo index 9649fe9e816..27fcb681dc3 100644 --- a/games/plib/distinfo +++ b/games/plib/distinfo @@ -1,4 +1,7 @@ -$NetBSD: distinfo,v 1.2 2001/04/21 02:08:34 wiz Exp $ +$NetBSD: distinfo,v 1.3 2003/09/22 12:27:28 xtraeme Exp $ -SHA1 (plib-1.2.0.tar.gz) = 7e94d9f6729aa3bc585772e9274b2ccb518608f7 -Size (plib-1.2.0.tar.gz) = 260989 bytes +SHA1 (plib-1.6.0.tar.gz) = f2c0c8ba909e7df12850fafba9bb57152cb96976 +Size (plib-1.6.0.tar.gz) = 523897 bytes +SHA1 (patch-aa) = 3c3adf01bd2107b1b91cac98410081a3f25f7b47 +SHA1 (patch-ab) = a4f82828a88e6d6605c3627e73f769ae8e0fcade +SHA1 (patch-ac) = 167ddbc8de4448d94644cce8ac28d77aa70a2704 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 + |