pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

simgear: Import simgear-2.8.0 as wip/simgear.



Module Name:	pkgsrc-wip
Committed By:	Mateusz Poszwa <old4%o2.pl@localhost>
Pushed By:	f8l
Date:		Fri Nov 6 21:55:09 2015 +0100
Changeset:	29b9d1a184e87e6f3994464d0e4b6cb8da114b44

Modified Files:
	Makefile
Added Files:
	simgear/DESCR
	simgear/Makefile
	simgear/PLIST
	simgear/buildlink3.mk
	simgear/distinfo
	simgear/patches/patch-simgear_scene_sky_cloud_cxx
	simgear/patches/patch-simgear_sound_sample__group_cxx
	simgear/patches/patch-simgear_timing_timestamp_cxx

Log Message:
simgear: Import simgear-2.8.0 as wip/simgear.

SimGear is a set of open-source libraries designed to be used as building
blocks for quickly assembling 3d simulations, games, and visualization
applications.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=29b9d1a184e87e6f3994464d0e4b6cb8da114b44

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile                                           |   1 +
 simgear/DESCR                                      |   3 +
 simgear/Makefile                                   |  29 +++
 simgear/PLIST                                      | 254 +++++++++++++++++++++
 simgear/buildlink3.mk                              |  18 ++
 simgear/distinfo                                   |   9 +
 simgear/patches/patch-simgear_scene_sky_cloud_cxx  |  24 ++
 .../patches/patch-simgear_sound_sample__group_cxx  |  16 ++
 simgear/patches/patch-simgear_timing_timestamp_cxx |  19 ++
 9 files changed, 373 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 44dbf30..4ee10ff 100644
--- a/Makefile
+++ b/Makefile
@@ -3569,6 +3569,7 @@ SUBDIR+=	silo
 SUBDIR+=	silvertree
 SUBDIR+=	sim-kde
 SUBDIR+=	sim-qt
+SUBDIR+=	simgear
 SUBDIR+=	simpa
 SUBDIR+=	simple-scan
 SUBDIR+=	simplec
diff --git a/simgear/DESCR b/simgear/DESCR
new file mode 100644
index 0000000..f566461
--- /dev/null
+++ b/simgear/DESCR
@@ -0,0 +1,3 @@
+SimGear is a set of open-source libraries designed to be used as building
+blocks for quickly assembling 3d simulations, games, and visualization
+applications.
diff --git a/simgear/Makefile b/simgear/Makefile
new file mode 100644
index 0000000..27aa2d1
--- /dev/null
+++ b/simgear/Makefile
@@ -0,0 +1,29 @@
+# $NetBSD: Makefile,v 1.50 2015/06/30 09:57:36 ryoon Exp $
+
+DISTNAME=	simgear-2.8.0
+PKGREVISION=	24
+CATEGORIES=	games devel
+MASTER_SITES=	ftp://mirrors.ibiblio.org/pub/mirrors/simgear/ftp/Source/ \
+		ftp://ftp.goflyflightgear.com/simgear/
+EXTRACT_SUFX=	.tar.bz2
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	http://simgear.sourceforge.net/
+COMMENT=	Simulator Construction Tools
+LICENSE=	gnu-lgpl-v2
+
+USE_LANGUAGES=		c c++
+USE_PKGLOCALEDIR=	yes
+USE_CMAKE=		yes
+
+BUILDLINK_API_DEPENDS.plib+= plib>=1.8.5
+
+.include "../../audio/freealut/buildlink3.mk"
+.include "../../audio/openal/buildlink3.mk"
+.include "../../devel/boost-headers/buildlink3.mk"
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../games/plib/buildlink3.mk"
+.include "../../mk/jpeg.buildlink3.mk"
+.include "../../graphics/osg/buildlink3.mk"
+.include "../../mk/pthread.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/simgear/PLIST b/simgear/PLIST
new file mode 100644
index 0000000..08a2fa2
--- /dev/null
+++ b/simgear/PLIST
@@ -0,0 +1,254 @@
+@comment $NetBSD: PLIST,v 1.5 2012/09/30 01:50:15 dholland Exp $
+include/simgear/bucket/newbucket.hxx
+include/simgear/compiler.h
+include/simgear/constants.h
+include/simgear/debug/debug_types.h
+include/simgear/debug/logstream.hxx
+include/simgear/environment/metar.hxx
+include/simgear/environment/precipitation.hxx
+include/simgear/ephemeris/celestialBody.hxx
+include/simgear/ephemeris/ephemeris.hxx
+include/simgear/ephemeris/jupiter.hxx
+include/simgear/ephemeris/mars.hxx
+include/simgear/ephemeris/mercury.hxx
+include/simgear/ephemeris/moonpos.hxx
+include/simgear/ephemeris/neptune.hxx
+include/simgear/ephemeris/pluto.hxx
+include/simgear/ephemeris/saturn.hxx
+include/simgear/ephemeris/star.hxx
+include/simgear/ephemeris/stardata.hxx
+include/simgear/ephemeris/uranus.hxx
+include/simgear/ephemeris/venus.hxx
+include/simgear/io/HTTPClient.hxx
+include/simgear/io/HTTPRequest.hxx
+include/simgear/io/iochannel.hxx
+include/simgear/io/lowlevel.hxx
+include/simgear/io/raw_socket.hxx
+include/simgear/io/sg_binobj.hxx
+include/simgear/io/sg_file.hxx
+include/simgear/io/sg_netBuffer.hxx
+include/simgear/io/sg_netChannel.hxx
+include/simgear/io/sg_netChat.hxx
+include/simgear/io/sg_serial.hxx
+include/simgear/io/sg_socket.hxx
+include/simgear/io/sg_socket_udp.hxx
+include/simgear/magvar/coremag.hxx
+include/simgear/magvar/magvar.hxx
+include/simgear/math/SGBox.hxx
+include/simgear/math/SGCMath.hxx
+include/simgear/math/SGGeoc.hxx
+include/simgear/math/SGGeod.hxx
+include/simgear/math/SGGeodesy.hxx
+include/simgear/math/SGGeometry.hxx
+include/simgear/math/SGGeometryFwd.hxx
+include/simgear/math/SGIntersect.hxx
+include/simgear/math/SGLimits.hxx
+include/simgear/math/SGLineSegment.hxx
+include/simgear/math/SGMath.hxx
+include/simgear/math/SGMathFwd.hxx
+include/simgear/math/SGMatrix.hxx
+include/simgear/math/SGMisc.hxx
+include/simgear/math/SGPlane.hxx
+include/simgear/math/SGQuat.hxx
+include/simgear/math/SGRay.hxx
+include/simgear/math/SGSphere.hxx
+include/simgear/math/SGTriangle.hxx
+include/simgear/math/SGVec2.hxx
+include/simgear/math/SGVec3.hxx
+include/simgear/math/SGVec4.hxx
+include/simgear/math/beziercurve.hxx
+include/simgear/math/interpolater.hxx
+include/simgear/math/leastsqs.hxx
+include/simgear/math/sg_geodesy.hxx
+include/simgear/math/sg_random.h
+include/simgear/math/sg_types.hxx
+include/simgear/misc/ResourceManager.hxx
+include/simgear/misc/interpolator.hxx
+include/simgear/misc/sg_dir.hxx
+include/simgear/misc/sg_path.hxx
+include/simgear/misc/sgstream.hxx
+include/simgear/misc/stdint.hxx
+include/simgear/misc/stopwatch.hxx
+include/simgear/misc/strutils.hxx
+include/simgear/misc/tabbed_values.hxx
+include/simgear/misc/texcoord.hxx
+include/simgear/misc/zfstream.hxx
+include/simgear/nasal/naref.h
+include/simgear/nasal/nasal.h
+include/simgear/props/AtomicChangeListener.hxx
+include/simgear/props/ExtendedPropertyAdapter.hxx
+include/simgear/props/condition.hxx
+include/simgear/props/propertyObject.hxx
+include/simgear/props/props.hxx
+include/simgear/props/props_io.hxx
+include/simgear/props/propsfwd.hxx
+include/simgear/props/tiedpropertylist.hxx
+include/simgear/props/vectorPropTemplates.hxx
+include/simgear/scene/bvh/BVHBoundingBoxVisitor.hxx
+include/simgear/scene/bvh/BVHDebugCollectVisitor.hxx
+include/simgear/scene/bvh/BVHGroup.hxx
+include/simgear/scene/bvh/BVHLineGeometry.hxx
+include/simgear/scene/bvh/BVHLineSegmentVisitor.hxx
+include/simgear/scene/bvh/BVHMotionTransform.hxx
+include/simgear/scene/bvh/BVHNearestPointVisitor.hxx
+include/simgear/scene/bvh/BVHNode.hxx
+include/simgear/scene/bvh/BVHStaticBinary.hxx
+include/simgear/scene/bvh/BVHStaticData.hxx
+include/simgear/scene/bvh/BVHStaticGeometry.hxx
+include/simgear/scene/bvh/BVHStaticGeometryBuilder.hxx
+include/simgear/scene/bvh/BVHStaticLeaf.hxx
+include/simgear/scene/bvh/BVHStaticNode.hxx
+include/simgear/scene/bvh/BVHStaticTriangle.hxx
+include/simgear/scene/bvh/BVHSubTreeCollector.hxx
+include/simgear/scene/bvh/BVHTransform.hxx
+include/simgear/scene/bvh/BVHVisitor.hxx
+include/simgear/scene/material/Effect.hxx
+include/simgear/scene/material/EffectBuilder.hxx
+include/simgear/scene/material/EffectCullVisitor.hxx
+include/simgear/scene/material/EffectGeode.hxx
+include/simgear/scene/material/GLPredicate.hxx
+include/simgear/scene/material/Pass.hxx
+include/simgear/scene/material/Technique.hxx
+include/simgear/scene/material/TextureBuilder.hxx
+include/simgear/scene/material/mat.hxx
+include/simgear/scene/material/matlib.hxx
+include/simgear/scene/material/matmodel.hxx
+include/simgear/scene/material/mipmap.hxx
+include/simgear/scene/model/BoundingVolumeBuildVisitor.hxx
+include/simgear/scene/model/CheckSceneryVisitor.hxx
+include/simgear/scene/model/ConditionNode.hxx
+include/simgear/scene/model/ModelRegistry.hxx
+include/simgear/scene/model/SGClipGroup.hxx
+include/simgear/scene/model/SGInteractionAnimation.hxx
+include/simgear/scene/model/SGMaterialAnimation.hxx
+include/simgear/scene/model/SGOffsetTransform.hxx
+include/simgear/scene/model/SGReaderWriterXML.hxx
+include/simgear/scene/model/SGRotateTransform.hxx
+include/simgear/scene/model/SGScaleTransform.hxx
+include/simgear/scene/model/SGText.hxx
+include/simgear/scene/model/SGTranslateTransform.hxx
+include/simgear/scene/model/animation.hxx
+include/simgear/scene/model/model.hxx
+include/simgear/scene/model/modellib.hxx
+include/simgear/scene/model/particles.hxx
+include/simgear/scene/model/persparam.hxx
+include/simgear/scene/model/placement.hxx
+include/simgear/scene/sky/CloudShaderGeometry.hxx
+include/simgear/scene/sky/cloud.hxx
+include/simgear/scene/sky/cloudfield.hxx
+include/simgear/scene/sky/dome.hxx
+include/simgear/scene/sky/moon.hxx
+include/simgear/scene/sky/newcloud.hxx
+include/simgear/scene/sky/oursun.hxx
+include/simgear/scene/sky/sky.hxx
+include/simgear/scene/sky/sphere.hxx
+include/simgear/scene/sky/stars.hxx
+include/simgear/scene/tgdb/GroundLightManager.hxx
+include/simgear/scene/tgdb/ReaderWriterSPT.hxx
+include/simgear/scene/tgdb/ReaderWriterSTG.hxx
+include/simgear/scene/tgdb/SGBuildingBin.hxx
+include/simgear/scene/tgdb/SGDirectionalLightBin.hxx
+include/simgear/scene/tgdb/SGLightBin.hxx
+include/simgear/scene/tgdb/SGModelBin.hxx
+include/simgear/scene/tgdb/SGOceanTile.hxx
+include/simgear/scene/tgdb/SGReaderWriterBTG.hxx
+include/simgear/scene/tgdb/SGTexturedTriangleBin.hxx
+include/simgear/scene/tgdb/SGTriangleBin.hxx
+include/simgear/scene/tgdb/SGVasiDrawable.hxx
+include/simgear/scene/tgdb/SGVertexArrayBin.hxx
+include/simgear/scene/tgdb/ShaderGeometry.hxx
+include/simgear/scene/tgdb/TreeBin.hxx
+include/simgear/scene/tgdb/apt_signs.hxx
+include/simgear/scene/tgdb/obj.hxx
+include/simgear/scene/tgdb/pt_lights.hxx
+include/simgear/scene/tgdb/userdata.hxx
+include/simgear/scene/tsync/terrasync.hxx
+include/simgear/scene/util/CopyOp.hxx
+include/simgear/scene/util/NodeAndDrawableVisitor.hxx
+include/simgear/scene/util/Noise.hxx
+include/simgear/scene/util/OsgMath.hxx
+include/simgear/scene/util/OsgSingleton.hxx
+include/simgear/scene/util/PrimitiveUtils.hxx
+include/simgear/scene/util/QuadTreeBuilder.hxx
+include/simgear/scene/util/RenderConstants.hxx
+include/simgear/scene/util/SGDebugDrawCallback.hxx
+include/simgear/scene/util/SGEnlargeBoundingBox.hxx
+include/simgear/scene/util/SGNodeMasks.hxx
+include/simgear/scene/util/SGPickCallback.hxx
+include/simgear/scene/util/SGReaderWriterOptions.hxx
+include/simgear/scene/util/SGSceneFeatures.hxx
+include/simgear/scene/util/SGSceneUserData.hxx
+include/simgear/scene/util/SGStateAttributeVisitor.hxx
+include/simgear/scene/util/SGTextureStateAttributeVisitor.hxx
+include/simgear/scene/util/SGUpdateVisitor.hxx
+include/simgear/scene/util/SplicingVisitor.hxx
+include/simgear/scene/util/StateAttributeFactory.hxx
+include/simgear/scene/util/UpdateOnceCallback.hxx
+include/simgear/scene/util/VectorArrayAdapter.hxx
+include/simgear/scene/util/project.hxx
+include/simgear/screen/colors.hxx
+include/simgear/screen/extensions.hxx
+include/simgear/screen/screen-dump.hxx
+include/simgear/screen/tr.h
+include/simgear/serial/serial.hxx
+include/simgear/sg_inlines.h
+include/simgear/simgear_config.h
+include/simgear/sound/sample_group.hxx
+include/simgear/sound/sample_openal.hxx
+include/simgear/sound/sample_queue.hxx
+include/simgear/sound/soundmgr_openal.hxx
+include/simgear/sound/xmlsound.hxx
+include/simgear/structure/OSGUtils.hxx
+include/simgear/structure/OSGVersion.hxx
+include/simgear/structure/SGAtomic.hxx
+include/simgear/structure/SGBinding.hxx
+include/simgear/structure/SGExpression.hxx
+include/simgear/structure/SGPerfMon.hxx
+include/simgear/structure/SGReferenced.hxx
+include/simgear/structure/SGSharedPtr.hxx
+include/simgear/structure/SGSmplhist.hxx
+include/simgear/structure/SGSmplstat.hxx
+include/simgear/structure/SGWeakPtr.hxx
+include/simgear/structure/SGWeakReferenced.hxx
+include/simgear/structure/Singleton.hxx
+include/simgear/structure/StringTable.hxx
+include/simgear/structure/callback.hxx
+include/simgear/structure/commands.hxx
+include/simgear/structure/event_mgr.hxx
+include/simgear/structure/exception.hxx
+include/simgear/structure/intern.hxx
+include/simgear/structure/singleton.hpp
+include/simgear/structure/subsystem_mgr.hxx
+include/simgear/threads/SGGuard.hxx
+include/simgear/threads/SGQueue.hxx
+include/simgear/threads/SGThread.hxx
+include/simgear/timing/lowleveltime.h
+include/simgear/timing/sg_time.hxx
+include/simgear/timing/timestamp.hxx
+include/simgear/timing/timezone.h
+include/simgear/version.h
+include/simgear/xml/easyxml.hxx
+lib/libsgbucket.a
+lib/libsgbvh.a
+lib/libsgdebug.a
+lib/libsgenvironment.a
+lib/libsgephem.a
+lib/libsgio.a
+lib/libsgmagvar.a
+lib/libsgmaterial.a
+lib/libsgmath.a
+lib/libsgmisc.a
+lib/libsgmodel.a
+lib/libsgnasal.a
+lib/libsgprops.a
+lib/libsgscreen.a
+lib/libsgserial.a
+lib/libsgsky.a
+lib/libsgsound.a
+lib/libsgstructure.a
+lib/libsgtgdb.a
+lib/libsgthreads.a
+lib/libsgtiming.a
+lib/libsgtsync.a
+lib/libsgutil.a
+lib/libsgxml.a
diff --git a/simgear/buildlink3.mk b/simgear/buildlink3.mk
new file mode 100644
index 0000000..a8d9081
--- /dev/null
+++ b/simgear/buildlink3.mk
@@ -0,0 +1,18 @@
+# $NetBSD: buildlink3.mk,v 1.12 2015/04/25 14:23:03 tnn Exp $
+
+BUILDLINK_TREE+=	simgear
+
+.if !defined(SIMGEAR_BUILDLINK3_MK)
+SIMGEAR_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.simgear+=	simgear>=2.0.0nb6
+BUILDLINK_ABI_DEPENDS.simgear+=	simgear>=2.8.0nb23
+BUILDLINK_PKGSRCDIR.simgear?=	../../games/simgear
+BUILDLINK_DEPMETHOD.simgear?=	build
+
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../games/plib/buildlink3.mk"
+.include "../../mk/jpeg.buildlink3.mk"
+.endif # SIMGEAR_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-simgear
diff --git a/simgear/distinfo b/simgear/distinfo
new file mode 100644
index 0000000..2d7c3af
--- /dev/null
+++ b/simgear/distinfo
@@ -0,0 +1,9 @@
+$NetBSD: distinfo,v 1.6 2015/11/03 20:57:04 agc Exp $
+
+SHA1 (simgear-2.8.0.tar.bz2) = 63f030e4969a014326eb9835d33e3da6b26d2900
+RMD160 (simgear-2.8.0.tar.bz2) = 1d3f832d88abc85e2e253ba99fc1946e1a5ff746
+SHA512 (simgear-2.8.0.tar.bz2) = ead06fd394b10a7ae3c98422cc469b3c97450162f6994c40c7cb4818f88e0d25cf0b5dc9c39a10e2b9c0fd849dd322451df93e4febcbacf2fc23fe1860917064
+Size (simgear-2.8.0.tar.bz2) = 766340 bytes
+SHA1 (patch-simgear_scene_sky_cloud_cxx) = 670c1b2470c449545382040ccba75365d642f72a
+SHA1 (patch-simgear_sound_sample__group_cxx) = ef4dd3534aa902ed1d3945f5879bfe3ef20d31ca
+SHA1 (patch-simgear_timing_timestamp_cxx) = 20101dd1802c9d18a6680c9b4868efd5c937f973
diff --git a/simgear/patches/patch-simgear_scene_sky_cloud_cxx b/simgear/patches/patch-simgear_scene_sky_cloud_cxx
new file mode 100644
index 0000000..2040087
--- /dev/null
+++ b/simgear/patches/patch-simgear_scene_sky_cloud_cxx
@@ -0,0 +1,24 @@
+$NetBSD: patch-simgear_scene_sky_cloud_cxx,v 1.1 2012/09/30 01:50:16 dholland Exp $
+
+Fix build failure on NetBSD.
+
+--- simgear/scene/sky/cloud.cxx.orig	2012-08-16 14:20:29.000000000 +0000
++++ simgear/scene/sky/cloud.cxx
+@@ -27,7 +27,7 @@
+ 
+ #include <sstream>
+ 
+-#include <math.h>
++#include <cmath>
+ 
+ #include <simgear/structure/OSGVersion.hxx>
+ #include <osg/AlphaFunc>
+@@ -733,7 +733,7 @@ bool SGCloudLayer::reposition( const SGV
+             // this happens, lets just use the last known good course.
+             // This is a hack, and it would probably be better to make
+             // calc_gc_course_dist() more robust.
+-            if ( isnan(course) ) {
++            if ( std::isnan(course) ) {
+                 course = last_course;
+             } else {
+                 last_course = course;
diff --git a/simgear/patches/patch-simgear_sound_sample__group_cxx b/simgear/patches/patch-simgear_sound_sample__group_cxx
new file mode 100644
index 0000000..a9a61fb
--- /dev/null
+++ b/simgear/patches/patch-simgear_sound_sample__group_cxx
@@ -0,0 +1,16 @@
+$NetBSD: patch-simgear_sound_sample__group_cxx,v 1.1 2012/09/30 01:50:16 dholland Exp $
+
+Fix build failure on NetBSD.
+
+--- simgear/sound/sample_group.cxx~	2012-08-16 14:20:28.000000000 +0000
++++ simgear/sound/sample_group.cxx
+@@ -22,2 +22,4 @@
+ 
++#include <cmath>
++
+ #ifdef HAVE_CONFIG_H
+@@ -32,3 +34,3 @@
+ bool isNaN(float *v) {
+-   return (isnan(v[0]) || isnan(v[1]) || isnan(v[2]));
++   return (std::isnan(v[0]) || std::isnan(v[1]) || std::isnan(v[2]));
+ }
diff --git a/simgear/patches/patch-simgear_timing_timestamp_cxx b/simgear/patches/patch-simgear_timing_timestamp_cxx
new file mode 100644
index 0000000..07ef4f9
--- /dev/null
+++ b/simgear/patches/patch-simgear_timing_timestamp_cxx
@@ -0,0 +1,19 @@
+$NetBSD: patch-simgear_timing_timestamp_cxx,v 1.1 2012/09/30 01:50:16 dholland Exp $
+
+NetBSD does not have clock_nanosleep() so we can't use the
+POSIX_TIMERS code.
+
+--- simgear/timing/timestamp.cxx~	2012-08-16 14:20:29.000000000 +0000
++++ simgear/timing/timestamp.cxx
+@@ -47,6 +47,11 @@
+ #  include <time.h>
+ #endif
+ 
++#ifdef __NetBSD__
++/* XXX netbsd doesn't have clock_nanosleep */
++#undef _POSIX_TIMERS
++#endif
++
+ #ifdef WIN32
+ #  include <windows.h>
+ #  if defined( __CYGWIN__ ) || defined( __CYGWIN32__ )


Home | Main Index | Thread Index | Old Index