[sfcgal] 01/04: Add patch to enable OpenSceneGraph support when available.
Sebastiaan Couwenberg
sebastic at moszumanska.debian.org
Sat May 21 16:07:25 UTC 2016
This is an automated email from the git hooks/post-receive script.
sebastic pushed a commit to branch master
in repository sfcgal.
commit f5253a4a36730c9255f6ec4c4da43e119f70b61b
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date: Fri May 20 19:25:32 2016 +0200
Add patch to enable OpenSceneGraph support when available.
---
debian/changelog | 6 ++++++
debian/patches/openscenegraph.patch | 24 ++++++++++++++++++++++++
debian/patches/series | 1 +
3 files changed, 31 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index c181834..dce28d6 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+sfcgal (1.3.0-2) UNRELEASED; urgency=medium
+
+ * Add patch to enable OpenSceneGraph support when available.
+
+ -- Bas Couwenberg <sebastic at debian.org> Fri, 20 May 2016 19:25:11 +0200
+
sfcgal (1.3.0-1) unstable; urgency=medium
* Update symbols for other architectures.
diff --git a/debian/patches/openscenegraph.patch b/debian/patches/openscenegraph.patch
new file mode 100644
index 0000000..c2a4772
--- /dev/null
+++ b/debian/patches/openscenegraph.patch
@@ -0,0 +1,24 @@
+Description: Enable OpenSceneGraph support when available.
+Author: Bas Couwenberg <sebastic at debian.org>
+Forwarded: https://github.com/Oslandia/SFCGAL/pull/126
+
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -106,6 +106,17 @@ if( NOT ${GMP_FOUND} OR NOT ${MPFR_FOUND
+ endif()
+
+
++#-- OpenScenegraph -----------------------------------------
++find_package( OpenSceneGraph COMPONENTS osgDB osgUtil )
++if( ${OPENSCENEGRAPH_FOUND} )
++ message( STATUS "OPENSCENEGRAPH_INCLUDE_DIRS = ${OPENSCENEGRAPH_INCLUDE_DIRS}" )
++ message( STATUS "OPENSCENEGRAPH_LIBRARIES = ${OPENSCENEGRAPH_LIBRARIES}" )
++ set( SFCGAL_WITH_OSG ON )
++
++ include_directories( SYSTEM ${OPENSCENEGRAPH_INCLUDE_DIRS} )
++endif()
++
++
+ #-- find CGAL ---------------------------------------------
+ option( CGAL_USE_AUTOLINK "disable CGAL autolink" OFF )
+ if( ${CGAL_USE_AUTOLINK} )
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..11f2e7b
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+openscenegraph.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/sfcgal.git
More information about the Pkg-grass-devel
mailing list