This is an automated email from the git hooks/post-receive script. sebastic pushed a commit to branch master in repository otb.
commit 00561603c98c457e1b6e33293649188034198c52 Author: Bas Couwenberg <[email protected]> Date: Wed Feb 1 18:37:35 2017 +0100 Add patch to set OTB_APPLICATION_PATH environment variable for monteverdi executable. --- debian/changelog | 8 ++++ debian/patches/desktop-otb-application-path.patch | 51 +++++++++++++++++++++++ debian/patches/series | 1 + 3 files changed, 60 insertions(+) diff --git a/debian/changelog b/debian/changelog index 0cb7b65..d1d77be 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,11 @@ +otb (5.8.0+dfsg-4) UNRELEASED; urgency=medium + + * Team upload. + * Add patch to set OTB_APPLICATION_PATH environment variable for + monteverdi executable. + + -- Bas Couwenberg <[email protected]> Wed, 01 Feb 2017 18:37:15 +0100 + otb (5.8.0+dfsg-3) unstable; urgency=medium * Team upload. diff --git a/debian/patches/desktop-otb-application-path.patch b/debian/patches/desktop-otb-application-path.patch new file mode 100644 index 0000000..3b09597 --- /dev/null +++ b/debian/patches/desktop-otb-application-path.patch @@ -0,0 +1,51 @@ +Description: Set OTB_APPLICATION_PATH environment variable for monteverdi executable. + See: https://lists.osgeo.org/pipermail/live-demo/2017-February/011786.html +Author: Bas Couwenberg <[email protected]> + +--- a/Utilities/Data/monteverdi.desktop ++++ /dev/null +@@ -1,14 +0,0 @@ +-[Desktop Entry] +-Type=Application +-Name=Monteverdi +-Name[fr_FR]=Monteverdi +-GenericName=Image processing +-Comment=Remote sensing image processing application based on OrfeoToolbox +-TryExec=/usr/bin/monteverdi +-Exec=/usr/bin/monteverdi %F +-Terminal=false +-StartupNotify=false +-Icon=monteverdi +-Categories=Education;Science;ImageProcessing;Geography;Qt; +-MimeType=image/tiff;image/jpeg;image/jp2;application/x-esri-shape; +-Keywords=otb;orfeo;toolbox;osgeo; +--- /dev/null ++++ b/Utilities/Data/monteverdi.desktop.in +@@ -0,0 +1,14 @@ ++[Desktop Entry] ++Type=Application ++Name=Monteverdi ++Name[fr_FR]=Monteverdi ++GenericName=Image processing ++Comment=Remote sensing image processing application based on OrfeoToolbox ++TryExec=@CMAKE_INSTALL_PREFIX@/bin/monteverdi ++Exec=env OTB_APPLICATION_PATH=@CMAKE_INSTALL_PREFIX@/@OTB_INSTALL_APP_DIR@ @CMAKE_INSTALL_PREFIX@/bin/monteverdi %F ++Terminal=false ++StartupNotify=false ++Icon=monteverdi ++Categories=Education;Science;ImageProcessing;Geography;Qt; ++MimeType=image/tiff;image/jpeg;image/jp2;application/x-esri-shape; ++Keywords=otb;orfeo;toolbox;osgeo; +--- a/Utilities/Data/CMakeLists.txt ++++ b/Utilities/Data/CMakeLists.txt +@@ -36,7 +36,9 @@ install(FILES Icons/monteverdi-32x32.xpm + # ------------------------- + # Install freedesktop entry + +-install(FILES monteverdi.desktop ++configure_file(monteverdi.desktop.in ${CMAKE_BINARY_DIR}/monteverdi.desktop) ++ ++install(FILES ${CMAKE_BINARY_DIR}/monteverdi.desktop + DESTINATION share/applications + COMPONENT Resources) + diff --git a/debian/patches/series b/debian/patches/series index e9507bc..050b1f5 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1,2 +1,3 @@ monteverdi-icons.patch desktop-entry-lacks-keywords-entry.patch +desktop-otb-application-path.patch -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/otb.git _______________________________________________ Pkg-grass-devel mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel

