[otb] 08/14: Add patch to install monteverdi icons along with the application.

Bas Couwenberg sebastic at debian.org
Mon Dec 26 02:51:04 UTC 2016


This is an automated email from the git hooks/post-receive script.

sebastic pushed a commit to branch master
in repository otb.

commit 1b27a1ac843068da5a684e50550727ddf177298e
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Mon Dec 26 00:30:43 2016 +0100

    Add patch to install monteverdi icons along with the application.
---
 debian/changelog                      |  1 +
 debian/patches/monteverdi-icons.patch | 19 +++++++++++++++++++
 debian/patches/series                 |  1 +
 3 files changed, 21 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index df48231..17fc9fc 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,6 +7,7 @@ otb (5.8.0+dfsg-2) UNRELEASED; urgency=medium
   * Add library package for libOTBMonteverdiGUI.
   * Add symbols file for libOTBMonteverdiGUI.
   * Add monteverdi package to include mapla & monteverdi executables.
+  * Add patch to install monteverdi icons along with the application.
 
  -- Bas Couwenberg <sebastic at debian.org>  Sun, 25 Dec 2016 22:25:58 +0100
 
diff --git a/debian/patches/monteverdi-icons.patch b/debian/patches/monteverdi-icons.patch
new file mode 100644
index 0000000..a14eeae
--- /dev/null
+++ b/debian/patches/monteverdi-icons.patch
@@ -0,0 +1,19 @@
+Description: Install monteverdi icons along with the application.
+Author: Bas Couwenberg <sebastic at debian.org>
+Forwarded: https://bugs.orfeo-toolbox.org/view.php?id=1323
+
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -373,6 +373,12 @@ install(FILES "LICENSE" DESTINATION ${OT
+ configure_file(VERSION VERSION @ONLY)
+ install(FILES ${OTB_BINARY_DIR}/VERSION DESTINATION ${OTB_INSTALL_DOC_DIR} COMPONENT Runtime)
+ 
++# Install icons if application module is enabled
++list(FIND _enabled_modules "OTBMonteverdi" _index)
++if(${_index} GREATER -1)
++  add_subdirectory(Utilities/Data)
++endif()
++
+ if(BUILD_TESTING)
+   add_subdirectory(Utilities/InstallTest)
+ endif()
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..36073d5
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+monteverdi-icons.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/otb.git



More information about the Pkg-grass-devel mailing list