add OpenSceneGraph
This commit is contained in:
@@ -0,0 +1,24 @@
|
|||||||
|
#!/usr/bin/python
|
||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
#
|
||||||
|
# Licensed under the GNU General Public License, version 3.
|
||||||
|
# See the file http://www.gnu.org/licenses/gpl.txt
|
||||||
|
|
||||||
|
from pisi.actionsapi import shelltools
|
||||||
|
from pisi.actionsapi import cmaketools
|
||||||
|
from pisi.actionsapi import pisitools
|
||||||
|
from pisi.actionsapi import get
|
||||||
|
|
||||||
|
shelltools.export("CXXFLAGS", "%s -D__STDC_CONSTANT_MACROS" % get.CXXFLAGS())
|
||||||
|
|
||||||
|
def setup():
|
||||||
|
cmaketools.configure('-DLIB_POSTFIX="" \
|
||||||
|
-DCMAKE_RELWITHDEBINFO_POSTFIX=""')
|
||||||
|
|
||||||
|
def build():
|
||||||
|
cmaketools.make()
|
||||||
|
|
||||||
|
def install():
|
||||||
|
cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||||
|
|
||||||
|
pisitools.dodoc("AUTHORS.txt", "ChangeLog", "LICENSE.txt", "NEWS.txt", "README.txt")
|
||||||
@@ -0,0 +1,76 @@
|
|||||||
|
From a496de4b577ca127498e25284e5d9b8736c6dc37 Mon Sep 17 00:00:00 2001
|
||||||
|
From: =?UTF-8?q?Ralf=20Cors=C3=A9pius?= <corsepiu@fedoraproject.org>
|
||||||
|
Date: Wed, 14 Aug 2013 12:30:03 +0200
|
||||||
|
Subject: [PATCH 1/3] Cmake fixes.
|
||||||
|
|
||||||
|
---
|
||||||
|
CMakeLists.txt | 4 ++--
|
||||||
|
CMakeModules/FindFLTK.cmake | 2 +-
|
||||||
|
CMakeModules/OsgMacroUtils.cmake | 2 +-
|
||||||
|
examples/osgviewerSDL/CMakeLists.txt | 2 +-
|
||||||
|
4 files changed, 5 insertions(+), 5 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||||
|
index be8f2b4..95b322b 100644
|
||||||
|
--- a/CMakeLists.txt
|
||||||
|
+++ b/CMakeLists.txt
|
||||||
|
@@ -988,7 +988,7 @@ IF(BUILD_DOCUMENTATION)
|
||||||
|
${PROJECT_BINARY_DIR}/doc/OpenSceneGraphReferenceDocs/osg32-32.png COPYONLY
|
||||||
|
)
|
||||||
|
#INSTALL(FILES ${PROJECT_BINARY_DIR}/doc/${PROJECT_NAME}ReferenceDocs-${OPENSCENEGRAPH_VERSION}.chm DESTINATION doc OPTIONAL COMPONENT openscenegraph-doc)
|
||||||
|
- INSTALL(DIRECTORY ${PROJECT_BINARY_DIR}/doc/OpenSceneGraphReferenceDocs DESTINATION doc COMPONENT openscenegraph-doc)
|
||||||
|
+ #INSTALL(DIRECTORY ${PROJECT_BINARY_DIR}/doc/OpenSceneGraphReferenceDocs DESTINATION doc COMPONENT openscenegraph-doc)
|
||||||
|
|
||||||
|
# now set up openthreads documentation generation
|
||||||
|
IF(BUILD_REF_DOCS_TAGFILE)
|
||||||
|
@@ -1004,7 +1004,7 @@ IF(BUILD_DOCUMENTATION)
|
||||||
|
${PROJECT_BINARY_DIR}/doc/OpenThreadsReferenceDocs/osg32-32.png COPYONLY
|
||||||
|
)
|
||||||
|
#INSTALL(FILES ${PROJECT_BINARY_DIR}/doc/${PROJECT_NAME}ReferenceDocs-${OPENSCENEGRAPH_VERSION}.chm DESTINATION doc OPTIONAL COMPONENT openscenegraph-doc)
|
||||||
|
- INSTALL(DIRECTORY ${PROJECT_BINARY_DIR}/doc/OpenThreadsReferenceDocs DESTINATION doc COMPONENT openthreads-doc)
|
||||||
|
+ #INSTALL(DIRECTORY ${PROJECT_BINARY_DIR}/doc/OpenThreadsReferenceDocs DESTINATION doc COMPONENT openthreads-doc)
|
||||||
|
|
||||||
|
# Process our other doxyfiles but don't create targets for these
|
||||||
|
CONFIGURE_FILE(${PROJECT_SOURCE_DIR}/doc/Doxyfiles/all_Doxyfile
|
||||||
|
diff --git a/CMakeModules/FindFLTK.cmake b/CMakeModules/FindFLTK.cmake
|
||||||
|
index e376b78..9162109 100644
|
||||||
|
--- a/CMakeModules/FindFLTK.cmake
|
||||||
|
+++ b/CMakeModules/FindFLTK.cmake
|
||||||
|
@@ -9,7 +9,7 @@
|
||||||
|
#
|
||||||
|
# Created by Robert Osfield.
|
||||||
|
|
||||||
|
-FIND_PATH(FLTK_INCLUDE_DIR Fl/Fl.H Fl/Fl.h
|
||||||
|
+FIND_PATH(FLTK_INCLUDE_DIR FL/Fl.H FL/Fl.h
|
||||||
|
$ENV{FLTK_DIR}/include
|
||||||
|
$ENV{FLTK_DIR}
|
||||||
|
~/Library/Frameworks
|
||||||
|
diff --git a/CMakeModules/OsgMacroUtils.cmake b/CMakeModules/OsgMacroUtils.cmake
|
||||||
|
index aa607fa..36df873 100644
|
||||||
|
--- a/CMakeModules/OsgMacroUtils.cmake
|
||||||
|
+++ b/CMakeModules/OsgMacroUtils.cmake
|
||||||
|
@@ -447,7 +447,7 @@ MACRO(SETUP_EXAMPLE EXAMPLE_NAME)
|
||||||
|
IF(APPLE)
|
||||||
|
INSTALL(TARGETS ${TARGET_TARGETNAME} RUNTIME DESTINATION share/OpenSceneGraph/bin BUNDLE DESTINATION share/OpenSceneGraph/bin )
|
||||||
|
ELSE(APPLE)
|
||||||
|
- INSTALL(TARGETS ${TARGET_TARGETNAME} RUNTIME DESTINATION share/OpenSceneGraph/bin COMPONENT openscenegraph-examples )
|
||||||
|
+ INSTALL(TARGETS ${TARGET_TARGETNAME} RUNTIME DESTINATION bin COMPONENT openscenegraph-examples )
|
||||||
|
ENDIF(APPLE)
|
||||||
|
|
||||||
|
ENDMACRO(SETUP_EXAMPLE)
|
||||||
|
diff --git a/examples/osgviewerSDL/CMakeLists.txt b/examples/osgviewerSDL/CMakeLists.txt
|
||||||
|
index 8498958..c66420f 100644
|
||||||
|
--- a/examples/osgviewerSDL/CMakeLists.txt
|
||||||
|
+++ b/examples/osgviewerSDL/CMakeLists.txt
|
||||||
|
@@ -13,7 +13,7 @@ ELSE()
|
||||||
|
# Depending on platform (or SDL version),
|
||||||
|
# this may or may not link successfully.
|
||||||
|
SET(TARGET_SRC osgviewerSDL.cpp)
|
||||||
|
- SET(TARGET_EXTERNAL_LIBRARIES ${SDLMAIN_LIBRARY} ${TARGET_EXTERNAL_LIBRARIES} )
|
||||||
|
+ SET(TARGET_EXTERNAL_LIBRARIES ${SDL_LIBRARY} ${TARGET_EXTERNAL_LIBRARIES} )
|
||||||
|
ENDIF()
|
||||||
|
ENDIF()
|
||||||
|
|
||||||
|
--
|
||||||
|
1.8.3.1
|
||||||
|
|
||||||
@@ -0,0 +1,25 @@
|
|||||||
|
From eeac1c0f80572a6fbecb53f7f3c0c43b0e37e58e Mon Sep 17 00:00:00 2001
|
||||||
|
From: =?UTF-8?q?Ralf=20Cors=C3=A9pius?= <corsepiu@fedoraproject.org>
|
||||||
|
Date: Wed, 14 Aug 2013 12:31:47 +0200
|
||||||
|
Subject: [PATCH 2/3] Fix invalid char.
|
||||||
|
|
||||||
|
---
|
||||||
|
AUTHORS.txt | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/AUTHORS.txt b/AUTHORS.txt
|
||||||
|
index a4f2b2b..3368f0f 100644
|
||||||
|
--- a/AUTHORS.txt
|
||||||
|
+++ b/AUTHORS.txt
|
||||||
|
@@ -377,7 +377,7 @@ Nicolas Brodu
|
||||||
|
Nick Black
|
||||||
|
Mojtaba Fathi
|
||||||
|
Mirko Viviani
|
||||||
|
-Mikkel Gjøl
|
||||||
|
+Mikkel Gj�l
|
||||||
|
Mike Garrity
|
||||||
|
Miha Ravsel
|
||||||
|
Michael Polak
|
||||||
|
--
|
||||||
|
1.8.3.1
|
||||||
|
|
||||||
@@ -0,0 +1,30 @@
|
|||||||
|
From fd9157fc6f7258d14b8dee753184c410d3c90293 Mon Sep 17 00:00:00 2001
|
||||||
|
From: =?UTF-8?q?Ralf=20Cors=C3=A9pius?= <corsepiu@fedoraproject.org>
|
||||||
|
Date: Wed, 14 Aug 2013 12:36:32 +0200
|
||||||
|
Subject: [PATCH 3/3] Activate osgviewerWX.
|
||||||
|
|
||||||
|
---
|
||||||
|
examples/CMakeLists.txt | 6 ++----
|
||||||
|
1 file changed, 2 insertions(+), 4 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt
|
||||||
|
index 22b58b7..dffc586 100644
|
||||||
|
--- a/examples/CMakeLists.txt
|
||||||
|
+++ b/examples/CMakeLists.txt
|
||||||
|
@@ -200,11 +200,9 @@ IF(DYNAMIC_OPENSCENEGRAPH)
|
||||||
|
ADD_SUBDIRECTORY(osgviewerFOX)
|
||||||
|
ENDIF(FOX_FOUND)
|
||||||
|
|
||||||
|
- IF (wxWidgets_FOUND AND CMAKE_BUILD_TYPE)
|
||||||
|
- IF (${CMAKE_BUILD_TYPE} STREQUAL "Release")
|
||||||
|
+ IF (wxWidgets_FOUND)
|
||||||
|
ADD_SUBDIRECTORY(osgviewerWX)
|
||||||
|
- ENDIF()
|
||||||
|
- ENDIF()
|
||||||
|
+ ENDIF(wxWidgets_FOUND)
|
||||||
|
|
||||||
|
IF ( (QT4_FOUND OR Qt5Widgets_FOUND) AND NOT OSG_GLES1_AVAILABLE AND NOT OSG_GLES2_AVAILABLE AND NOT OSG_GL3_AVAILABLE)
|
||||||
|
|
||||||
|
--
|
||||||
|
1.8.3.1
|
||||||
|
|
||||||
@@ -0,0 +1,81 @@
|
|||||||
|
<?xml version="1.0" ?>
|
||||||
|
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||||
|
<PISI>
|
||||||
|
<Source>
|
||||||
|
<Name>OpenSceneGraph</Name>
|
||||||
|
<Homepage>http://www.openscenegraph.org</Homepage>
|
||||||
|
<Packager>
|
||||||
|
<Name>PisiLinux Community</Name>
|
||||||
|
<Email>admins@pisilinux.org</Email>
|
||||||
|
</Packager>
|
||||||
|
<License>OSGPLv0.0</License>
|
||||||
|
<License>wxWinLL-3</License>
|
||||||
|
<License>LGPLv2</License>
|
||||||
|
<IsA>app:gui</IsA>
|
||||||
|
<IsA>library</IsA>
|
||||||
|
<Summary>A C++ scene graph API on OpenGL for real time graphics</Summary>
|
||||||
|
<Description>The Open Scene Graph is a cross-platform C++/OpenGL library for the real-time visualization. Uses range from visual simulation, scientific modeling, virtual reality through to games.</Description>
|
||||||
|
<Archive sha1sum="faf1be035df90b9ca7a02bb8c3f6a34a1eb46672" type="zip">https://github.com/openscenegraph/OpenSceneGraph/archive/OpenSceneGraph-3.6.5.zip</Archive>
|
||||||
|
<BuildDependencies>
|
||||||
|
|
||||||
|
<Dependency>xine-lib-devel</Dependency>
|
||||||
|
<Dependency>jasper-devel</Dependency>
|
||||||
|
<Dependency>librsvg-devel</Dependency>
|
||||||
|
<Dependency>curl-devel</Dependency>
|
||||||
|
<Dependency>giflib-devel</Dependency>
|
||||||
|
<Dependency>libvncserver-devel</Dependency>
|
||||||
|
<Dependency>cmake</Dependency>
|
||||||
|
</BuildDependencies>
|
||||||
|
<Patches>
|
||||||
|
<Patch level="1">0003-Activate-osgviewerWX.patch</Patch>
|
||||||
|
</Patches>
|
||||||
|
</Source>
|
||||||
|
|
||||||
|
<Package>
|
||||||
|
<Name>OpenSceneGraph</Name>
|
||||||
|
<RuntimeDependencies>
|
||||||
|
<Dependency>curl</Dependency>
|
||||||
|
<Dependency>zlib</Dependency>
|
||||||
|
<Dependency>libgcc</Dependency>
|
||||||
|
<Dependency>libX11</Dependency>
|
||||||
|
<Dependency>libgcc</Dependency>
|
||||||
|
<Dependency>libpng</Dependency>
|
||||||
|
<Dependency>freetype</Dependency>
|
||||||
|
<Dependency>giflib</Dependency>
|
||||||
|
<Dependency>jasper</Dependency>
|
||||||
|
<Dependency>cairo</Dependency>
|
||||||
|
<Dependency>librsvg</Dependency>
|
||||||
|
<Dependency>xine-lib</Dependency>
|
||||||
|
<Dependency>libvncserver</Dependency>
|
||||||
|
<Dependency>libjpeg-turbo</Dependency>
|
||||||
|
<Dependency>mesa</Dependency>
|
||||||
|
</RuntimeDependencies>
|
||||||
|
<Files>
|
||||||
|
<Path fileType="executable">/usr/bin</Path>
|
||||||
|
<Path fileType="library">/usr/lib</Path>
|
||||||
|
<Path fileType="doc">/usr/share/doc</Path>
|
||||||
|
</Files>
|
||||||
|
</Package>
|
||||||
|
|
||||||
|
<Package>
|
||||||
|
<Name>OpenSceneGraph-devel</Name>
|
||||||
|
<Summary>development files for OpenSceneGraph</Summary>
|
||||||
|
<RuntimeDependencies>
|
||||||
|
<Dependency release="current">OpenSceneGraph</Dependency>
|
||||||
|
</RuntimeDependencies>
|
||||||
|
<Files>
|
||||||
|
<Path fileType="header">/usr/include</Path>
|
||||||
|
<Path fileType="data">/usr/lib/pkgconfig</Path>
|
||||||
|
</Files>
|
||||||
|
</Package>
|
||||||
|
|
||||||
|
<History>
|
||||||
|
<Update release="1">
|
||||||
|
<Date>2020-06-22</Date>
|
||||||
|
<Version>3.6.5</Version>
|
||||||
|
<Comment>New Release</Comment>
|
||||||
|
<Name>PisiLinux Community</Name>
|
||||||
|
<Email>admins@pisilinux.org</Email>
|
||||||
|
</Update>
|
||||||
|
</History>
|
||||||
|
</PISI>
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
<?xml version="1.0" ?>
|
||||||
|
<PISI>
|
||||||
|
<Source>
|
||||||
|
<Name>OpenSceneGraph</Name>
|
||||||
|
<Summary xml:lang="tr">OpenGL üzerinde gerçek zamanlı grafikler oluşturmak için C++ manzara grafik API'si</Summary>
|
||||||
|
<Description xml:lang="tr">Open Scene Graph, gerçek zamanlı görüntüleme için C++/OpenGL kiatplığıdır. Görsel simülasyon, bilimsel modelleme ve sanal gerçeklikten oyunlara kadar geniş bir alanda kullanılır.</Description>
|
||||||
|
</Source>
|
||||||
|
|
||||||
|
<Package>
|
||||||
|
<Name>OpenSceneGraph-devel</Name>
|
||||||
|
<Summary xml:lang="tr">OpenSceneGraph için geliştirme dosyaları</Summary>
|
||||||
|
</Package>
|
||||||
|
</PISI>
|
||||||
Reference in New Issue
Block a user