diff options
-rw-r--r-- | devel/ogre/DESCR | 6 | ||||
-rw-r--r-- | devel/ogre/Makefile | 31 | ||||
-rw-r--r-- | devel/ogre/PLIST | 204 | ||||
-rw-r--r-- | devel/ogre/buildlink2.mk | 32 | ||||
-rw-r--r-- | devel/ogre/distinfo | 6 | ||||
-rw-r--r-- | devel/ogre/patches/patch-aa | 150 | ||||
-rw-r--r-- | devel/ogre/patches/patch-ab | 22 |
7 files changed, 451 insertions, 0 deletions
diff --git a/devel/ogre/DESCR b/devel/ogre/DESCR new file mode 100644 index 00000000000..d71eea384a9 --- /dev/null +++ b/devel/ogre/DESCR @@ -0,0 +1,6 @@ +OGRE (Object-Oriented Graphics Rendering Engine) is a scene-oriented, +flexible 3D engine written in C++ designed to make it easier and more +intuitive for developers to produce games and demos utilising 3D hardware. +The class library abstracts all the details of using the underlying system +libraries like Direct3D and OpenGL and provides an interface based on world +objects and other intuitive classes. diff --git a/devel/ogre/Makefile b/devel/ogre/Makefile new file mode 100644 index 00000000000..e89f6321d5a --- /dev/null +++ b/devel/ogre/Makefile @@ -0,0 +1,31 @@ +# $NetBSD: Makefile,v 1.1.1.1 2003/12/03 19:01:46 xtraeme Exp $ +# + +DISTNAME= ogre-v0-12-1 +PKGNAME= ogre-0.12.1 +WRKSRC= ${WRKDIR}/ogrenew +CATEGORIES= devel +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ogre/} +EXTRACT_SUFX= .tar.bz2 + +MAINTAINER= xtraeme@NetBSD.org +HOMEPAGE= http://ogre.sourceforge.net/ +COMMENT= Object-Oriented Graphics Rendering Engine + +GNU_CONFIGURE= yes +USE_BUILDLINK2= yes +USE_GMAKE= yes +USE_LIBTOOL= yes +USE_X11= yes + +CONFIGURE_ARGS+= --with-platform=SDL + +LIBTOOL_OVERRIDE= ${WRKSRC}/libtool +PKGCONFIG_OVERRIDE+= ${WRKSRC}/OGRE.pc.in + +.include "../../devel/SDL/buildlink2.mk" +.include "../../devel/pkgconfig/buildlink2.mk" +.include "../../devel/zlib/buildlink2.mk" +.include "../../graphics/freetype2/buildlink2.mk" +.include "../../wip/devIL/buildlink2.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/devel/ogre/PLIST b/devel/ogre/PLIST new file mode 100644 index 00000000000..3fbafd86648 --- /dev/null +++ b/devel/ogre/PLIST @@ -0,0 +1,204 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2003/12/03 19:01:46 xtraeme Exp $ +bin/MeshUpgrader +bin/OgreXMLConverter +include/OGRE/Ogre.h +include/OGRE/OgreActionEvent.h +include/OGRE/OgreActionTarget.h +include/OGRE/OgreAnimation.h +include/OGRE/OgreAnimationState.h +include/OGRE/OgreAnimationTrack.h +include/OGRE/OgreArchiveEx.h +include/OGRE/OgreArchiveFactory.h +include/OGRE/OgreArchiveManager.h +include/OGRE/OgreAxisAlignedBox.h +include/OGRE/OgreBillboard.h +include/OGRE/OgreBillboardSet.h +include/OGRE/OgreBitwise.h +include/OGRE/OgreBlendMode.h +include/OGRE/OgreBone.h +include/OGRE/OgreBorderButtonGuiElement.h +include/OGRE/OgreBorderPanelGuiElement.h +include/OGRE/OgreButtonGuiElement.h +include/OGRE/OgreCamera.h +include/OGRE/OgreCodec.h +include/OGRE/OgreColourValue.h +include/OGRE/OgreCommon.h +include/OGRE/OgreConfig.h +include/OGRE/OgreConfigDialog.h +include/OGRE/OgreConfigFile.h +include/OGRE/OgreConfigOptionMap.h +include/OGRE/OgreController.h +include/OGRE/OgreControllerManager.h +include/OGRE/OgreCursor.h +include/OGRE/OgreCursorGuiElement.h +include/OGRE/OgreDataChunk.h +include/OGRE/OgreDefaultHardwareBufferManager.h +include/OGRE/OgreDynLib.h +include/OGRE/OgreDynLibManager.h +include/OGRE/OgreEntity.h +include/OGRE/OgreErrorDialog.h +include/OGRE/OgreEventDispatcher.h +include/OGRE/OgreEventListeners.h +include/OGRE/OgreEventMulticaster.h +include/OGRE/OgreEventProcessor.h +include/OGRE/OgreEventQueue.h +include/OGRE/OgreEventTarget.h +include/OGRE/OgreException.h +include/OGRE/OgreFactoryObj.h +include/OGRE/OgreFont.h +include/OGRE/OgreFontManager.h +include/OGRE/OgreFrameListener.h +include/OGRE/OgreGuiContainer.h +include/OGRE/OgreGuiControl.h +include/OGRE/OgreGuiElement.h +include/OGRE/OgreGuiElementCommands.h +include/OGRE/OgreGuiElementFactories.h +include/OGRE/OgreGuiElementFactory.h +include/OGRE/OgreGuiElementPrerequisites.h +include/OGRE/OgreGuiManager.h +include/OGRE/OgreGuiPressable.h +include/OGRE/OgreHardwareBuffer.h +include/OGRE/OgreHardwareBufferManager.h +include/OGRE/OgreHardwareIndexBuffer.h +include/OGRE/OgreHardwareVertexBuffer.h +include/OGRE/OgreImage.h +include/OGRE/OgreImageCodec.h +include/OGRE/OgreInput.h +include/OGRE/OgreInputEvent.h +include/OGRE/OgreIteratorWrappers.h +include/OGRE/OgreJPEGCodec.h +include/OGRE/OgreKeyEvent.h +include/OGRE/OgreKeyFrame.h +include/OGRE/OgreKeyTarget.h +include/OGRE/OgreLight.h +include/OGRE/OgreListChanger.h +include/OGRE/OgreListGuiElement.h +include/OGRE/OgreListSelectionEvent.h +include/OGRE/OgreListSelectionTarget.h +include/OGRE/OgreLog.h +include/OGRE/OgreLogManager.h +include/OGRE/OgreMaterial.h +include/OGRE/OgreMaterialManager.h +include/OGRE/OgreMaterialSerializer.h +include/OGRE/OgreMath.h +include/OGRE/OgreMatrix3.h +include/OGRE/OgreMatrix4.h +include/OGRE/OgreMemoryMacros.h +include/OGRE/OgreMemoryManager.h +include/OGRE/OgreMesh.h +include/OGRE/OgreMeshFileFormat.h +include/OGRE/OgreMeshManager.h +include/OGRE/OgreMeshSerializer.h +include/OGRE/OgreMeshSerializerImpl.h +include/OGRE/OgreMouseEvent.h +include/OGRE/OgreMouseMotionTarget.h +include/OGRE/OgreMouseTarget.h +include/OGRE/OgreMovableObject.h +include/OGRE/OgreNoMemoryMacros.h +include/OGRE/OgreNode.h +include/OGRE/OgreOverlay.h +include/OGRE/OgreOverlayManager.h +include/OGRE/OgrePNGCodec.h +include/OGRE/OgrePanelGuiElement.h +include/OGRE/OgreParticle.h +include/OGRE/OgreParticleAffector.h +include/OGRE/OgreParticleAffectorFactory.h +include/OGRE/OgreParticleEmitter.h +include/OGRE/OgreParticleEmitterCommands.h +include/OGRE/OgreParticleEmitterFactory.h +include/OGRE/OgreParticleIterator.h +include/OGRE/OgreParticleSystem.h +include/OGRE/OgreParticleSystemManager.h +include/OGRE/OgrePatchMesh.h +include/OGRE/OgrePatchSurface.h +include/OGRE/OgrePlane.h +include/OGRE/OgrePlatform.h +include/OGRE/OgrePlatformManager.h +include/OGRE/OgrePopupMenuGuiElement.h +include/OGRE/OgrePositionTarget.h +include/OGRE/OgrePredefinedControllers.h +include/OGRE/OgrePrerequisites.h +include/OGRE/OgreProfiler.h +include/OGRE/OgreProgressiveMesh.h +include/OGRE/OgreQuaternion.h +include/OGRE/OgreRay.h +include/OGRE/OgreRenderOperation.h +include/OGRE/OgreRenderQueue.h +include/OGRE/OgreRenderQueueListener.h +include/OGRE/OgreRenderQueueSortingGrouping.h +include/OGRE/OgreRenderSystem.h +include/OGRE/OgreRenderSystemCapabilities.h +include/OGRE/OgreRenderTarget.h +include/OGRE/OgreRenderTargetListener.h +include/OGRE/OgreRenderTexture.h +include/OGRE/OgreRenderWindow.h +include/OGRE/OgreRenderable.h +include/OGRE/OgreResource.h +include/OGRE/OgreResourceManager.h +include/OGRE/OgreResourceMap.h +include/OGRE/OgreRoot.h +include/OGRE/OgreRotationalSpline.h +include/OGRE/OgreSDDataChunk.h +include/OGRE/OgreSceneManager.h +include/OGRE/OgreSceneManagerEnumerator.h +include/OGRE/OgreSceneNode.h +include/OGRE/OgreSceneQuery.h +include/OGRE/OgreScrollBarGuiElement.h +include/OGRE/OgreScrollEvent.h +include/OGRE/OgreScrollTarget.h +include/OGRE/OgreSerializer.h +include/OGRE/OgreSharedPtr.h +include/OGRE/OgreSimpleRenderable.h +include/OGRE/OgreSimpleSpline.h +include/OGRE/OgreSingleton.h +include/OGRE/OgreSkeleton.h +include/OGRE/OgreSkeletonFileFormat.h +include/OGRE/OgreSkeletonManager.h +include/OGRE/OgreSkeletonSerializer.h +include/OGRE/OgreSphere.h +include/OGRE/OgreStaticFaceGroup.h +include/OGRE/OgreStdHeaders.h +include/OGRE/OgreString.h +include/OGRE/OgreStringConverter.h +include/OGRE/OgreStringInterface.h +include/OGRE/OgreStringResource.h +include/OGRE/OgreStringVector.h +include/OGRE/OgreSubEntity.h +include/OGRE/OgreSubMesh.h +include/OGRE/OgreTGACodec.h +include/OGRE/OgreTTYGuiElement.h +include/OGRE/OgreTagPoint.h +include/OGRE/OgreTargetManager.h +include/OGRE/OgreTextAreaGuiElement.h +include/OGRE/OgreTextBoxGuiElement.h +include/OGRE/OgreTexture.h +include/OGRE/OgreTextureManager.h +include/OGRE/OgreTimer.h +include/OGRE/OgreUserDefinedObject.h +include/OGRE/OgreVector3.h +include/OGRE/OgreVertexBoneAssignment.h +include/OGRE/OgreVertexIndexData.h +include/OGRE/OgreViewport.h +include/OGRE/OgreWireBoundingBox.h +include/OGRE/OgreZip.h +include/OGRE/OgreZipArchiveFactory.h +include/OGRE/asm_math.h +include/OGRE/unzip.h +lib/OGRE/Plugin_BSPSceneManager.so +lib/OGRE/Plugin_FileSystem.so +lib/OGRE/Plugin_GuiElements.so +lib/OGRE/Plugin_NatureSceneManager.so +lib/OGRE/Plugin_OctreeSceneManager.so +lib/OGRE/Plugin_ParticleFX.so +lib/OGRE/RenderSystem_GL.so +lib/libOgreMain.a +lib/libOgreMain.la +lib/libOgreMain.so +lib/libOgreMain.so.1 +lib/libOgreMain.so.1.0 +lib/libOgrePlatform.so +lib/pkgconfig/OGRE.pc +share/OGRE/ogre-config.glade +@dirrm share/OGRE +@dirrm lib/OGRE +@dirrm include/OGRE diff --git a/devel/ogre/buildlink2.mk b/devel/ogre/buildlink2.mk new file mode 100644 index 00000000000..991ba3a7535 --- /dev/null +++ b/devel/ogre/buildlink2.mk @@ -0,0 +1,32 @@ +# $NetBSD: buildlink2.mk,v 1.1.1.1 2003/12/03 19:01:47 xtraeme Exp $ +# +# This Makefile fragment is included by packages that use ogre. +# +# This file was created automatically using createbuildlink 2.7. +# + +.if !defined(OGRE_BUILDLINK2_MK) +OGRE_BUILDLINK2_MK= # defined + +BUILDLINK_PACKAGES+= ogre +BUILDLINK_DEPENDS.ogre?= ogre>=0.12.0 +BUILDLINK_PKGSRCDIR.ogre?= ../../wip/ogre + +EVAL_PREFIX+= BUILDLINK_PREFIX.ogre=ogre +BUILDLINK_PREFIX.ogre_DEFAULT= ${LOCALBASE} +BUILDLINK_FILES.ogre+= include/OGRE/*.h +BUILDLINK_FILES.ogre+= lib/OGRE/* +BUILDLINK_FILES.ogre+= lib/libOgreMain.* +BUILDLINK_FILES.ogre+= lib/libOgrePlatform.* +BUILDLINK_FILES.ogre+= lib/pkgconfig/OGRE.pc + +.include "../../devel/SDL/buildlink2.mk" +.include "../../devel/zlib/buildlink2.mk" +.include "../../graphics/freetype2/buildlink2.mk" +.include "../../wip/devIL/buildlink2.mk" + +BUILDLINK_TARGETS+= ogre-buildlink + +ogre-buildlink: _BUILDLINK_USE + +.endif # OGRE_BUILDLINK2_MK diff --git a/devel/ogre/distinfo b/devel/ogre/distinfo new file mode 100644 index 00000000000..52d659f650b --- /dev/null +++ b/devel/ogre/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1.1.1 2003/12/03 19:01:46 xtraeme Exp $ + +SHA1 (ogre-v0-12-1.tar.bz2) = ffabeeb66305182ca3c7f2d9ee5a700599afd0db +Size (ogre-v0-12-1.tar.bz2) = 13718569 bytes +SHA1 (patch-aa) = f091507e8f84385a1ce2e78bd811189006fdb449 +SHA1 (patch-ab) = d2d6e3482391d6b5562a9cfdb302adc2911686b2 diff --git a/devel/ogre/patches/patch-aa b/devel/ogre/patches/patch-aa new file mode 100644 index 00000000000..a1a80f59488 --- /dev/null +++ b/devel/ogre/patches/patch-aa @@ -0,0 +1,150 @@ +$NetBSD: patch-aa,v 1.1.1.1 2003/12/03 19:01:47 xtraeme Exp $ + +--- OgreMain/include/unzip.h.orig 2003-10-12 21:19:24.000000000 +0200 ++++ OgreMain/include/unzip.h 2003-10-12 21:22:38.000000000 +0200 +@@ -111,9 +111,9 @@ + tm_unz tmu_date; + } unz_file_info; + +-extern int ZEXPORT unzStringFileNameCompare OF ((const char* fileName1, ++extern int ZEXPORT unzStringFileNameCompare (const char* fileName1, + const char* fileName2, +- int iCaseSensitivity)); ++ int iCaseSensitivity); + /* + Compare two filename (fileName1,fileName2). + If iCaseSenisivity = 1, comparision is case sensitivity (like strcmp) +@@ -124,7 +124,7 @@ + */ + + +-extern unzFile ZEXPORT unzOpen OF((const char *path)); ++extern unzFile ZEXPORT unzOpen (const char *path); + /* + Open a Zip file. path contain the full pathname (by example, + on a Windows NT computer "c:\\zlib\\zlib111.zip" or on an Unix computer +@@ -135,24 +135,24 @@ + of this unzip package. + */ + +-extern int ZEXPORT unzClose OF((unzFile file)); ++extern int ZEXPORT unzClose (unzFile file); + /* + Close a ZipFile opened with unzipOpen. + If there is files inside the .Zip opened with unzOpenCurrentFile (see later), + these files MUST be closed with unzipCloseCurrentFile before call unzipClose. + return UNZ_OK if there is no problem. */ + +-extern int ZEXPORT unzGetGlobalInfo OF((unzFile file, +- unz_global_info *pglobal_info)); ++extern int ZEXPORT unzGetGlobalInfo (unzFile file, ++ unz_global_info *pglobal_info); + /* + Write info about the ZipFile in the *pglobal_info structure. + No preparation of the structure is needed + return UNZ_OK if there is no problem. */ + + +-extern int ZEXPORT unzGetGlobalComment OF((unzFile file, ++extern int ZEXPORT unzGetGlobalComment (unzFile file, + char *szComment, +- uLong uSizeBuf)); ++ uLong uSizeBuf); + /* + Get the global comment string of the ZipFile, in the szComment buffer. + uSizeBuf is the size of the szComment buffer. +@@ -163,22 +163,22 @@ + /***************************************************************************/ + /* Unzip package allow you browse the directory of the zipfile */ + +-extern int ZEXPORT unzGoToFirstFile OF((unzFile file)); ++extern int ZEXPORT unzGoToFirstFile (unzFile file); + /* + Set the current file of the zipfile to the first file. + return UNZ_OK if there is no problem + */ + +-extern int ZEXPORT unzGoToNextFile OF((unzFile file)); ++extern int ZEXPORT unzGoToNextFile (unzFile file); + /* + Set the current file of the zipfile to the next file. + return UNZ_OK if there is no problem + return UNZ_END_OF_LIST_OF_FILE if the actual file was the latest. + */ + +-extern int ZEXPORT unzLocateFile OF((unzFile file, ++extern int ZEXPORT unzLocateFile (unzFile file, + const char *szFileName, +- int iCaseSensitivity)); ++ int iCaseSensitivity); + /* + Try locate the file szFileName in the zipfile. + For the iCaseSensitivity signification, see unzStringFileNameCompare +@@ -189,14 +189,14 @@ + */ + + +-extern int ZEXPORT unzGetCurrentFileInfo OF((unzFile file, ++extern int ZEXPORT unzGetCurrentFileInfo (unzFile file, + unz_file_info *pfile_info, + char *szFileName, + uLong fileNameBufferSize, + void *extraField, + uLong extraFieldBufferSize, + char *szComment, +- uLong commentBufferSize)); ++ uLong commentBufferSize); + /* + Get Info about the current file + if pfile_info!=NULL, the *pfile_info structure will contain somes info about +@@ -215,22 +215,22 @@ + from it, and close it (you can close it before reading all the file) + */ + +-extern int ZEXPORT unzOpenCurrentFile OF((unzFile file)); ++extern int ZEXPORT unzOpenCurrentFile (unzFile file); + /* + Open for reading data the current file in the zipfile. + If there is no error, the return value is UNZ_OK. + */ + +-extern int ZEXPORT unzCloseCurrentFile OF((unzFile file)); ++extern int ZEXPORT unzCloseCurrentFile (unzFile file); + /* + Close the file in zip opened with unzOpenCurrentFile + Return UNZ_CRCERROR if all the file was read but the CRC is not good + */ + + +-extern int ZEXPORT unzReadCurrentFile OF((unzFile file, ++extern int ZEXPORT unzReadCurrentFile (unzFile file, + voidp buf, +- unsigned len)); ++ unsigned len); + /* + Read bytes from the current file (opened by unzOpenCurrentFile) + buf contain buffer where data must be copied +@@ -242,19 +242,19 @@ + (UNZ_ERRNO for IO error, or zLib error for uncompress error) + */ + +-extern z_off_t ZEXPORT unztell OF((unzFile file)); ++extern z_off_t ZEXPORT unztell (unzFile file); + /* + Give the current position in uncompressed data + */ + +-extern int ZEXPORT unzeof OF((unzFile file)); ++extern int ZEXPORT unzeof (unzFile file); + /* + return 1 if the end of file was reached, 0 elsewhere + */ + +-extern int ZEXPORT unzGetLocalExtrafield OF((unzFile file, ++extern int ZEXPORT unzGetLocalExtrafield (unzFile file, + voidp buf, +- unsigned len)); ++ unsigned len); + /* + Read extra field from the current file (opened by unzOpenCurrentFile) + This is the local-header version of the extra field (sometimes, there is diff --git a/devel/ogre/patches/patch-ab b/devel/ogre/patches/patch-ab new file mode 100644 index 00000000000..31067229462 --- /dev/null +++ b/devel/ogre/patches/patch-ab @@ -0,0 +1,22 @@ +$NetBSD: patch-ab,v 1.1.1.1 2003/12/03 19:01:47 xtraeme Exp $ + +--- OgreMain/src/unzip.c.orig 2003-10-12 21:26:06.000000000 +0200 ++++ OgreMain/src/unzip.c 2003-10-12 21:26:36.000000000 +0200 +@@ -493,7 +493,7 @@ + /* + Get Info about the current file in the zipfile, with internal only info + */ +-local int unzlocal_GetCurrentFileInfoInternal OF((unzFile file, ++local int unzlocal_GetCurrentFileInfoInternal (unzFile file, + unz_file_info *pfile_info, + unz_file_info_internal + *pfile_info_internal, +@@ -502,7 +502,7 @@ + void *extraField, + uLong extraFieldBufferSize, + char *szComment, +- uLong commentBufferSize)); ++ uLong commentBufferSize); + + local int unzlocal_GetCurrentFileInfoInternal (file, + pfile_info, |