[otb] 11/14: Add otb-i18n package for translation files.

Bas Couwenberg sebastic at debian.org
Mon Dec 26 02:51:05 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 8230cc8e1cdbbf059cbe1e8b86ccf151895a6a42
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Mon Dec 26 02:12:10 2016 +0100

    Add otb-i18n package for translation files.
---
 debian/changelog        |  1 +
 debian/control          | 15 ++++++++++++++-
 debian/control.in       | 15 ++++++++++++++-
 debian/otb-i18n.install |  1 +
 debian/rules            |  1 -
 5 files changed, 30 insertions(+), 3 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 1cf197c..74510d3 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -10,6 +10,7 @@ otb (5.8.0+dfsg-2) UNRELEASED; urgency=medium
   * Add patch to install monteverdi icons along with the application.
   * Include icons and desktop file in monteverdi package.
   * Add patch to add Keywords entry to monteverdi desktop file.
+  * Add otb-i18n package for translation files.
 
  -- Bas Couwenberg <sebastic at debian.org>  Sun, 25 Dec 2016 22:25:58 +0100
 
diff --git a/debian/control b/debian/control
index f580c10..e80eca7 100644
--- a/debian/control
+++ b/debian/control
@@ -576,7 +576,8 @@ Description: ORFEO Toolbox library - OTBMetadata
 Package: libotbmonteverdicore-5.8-1
 Architecture: any
 Section: libs
-Depends: ${shlibs:Depends},
+Depends: otb-i18n (>= ${source:Version}),
+         ${shlibs:Depends},
          ${misc:Depends}
 Pre-Depends: ${misc:Pre-Depends}
 Description: ORFEO Toolbox library - OTBMonteverdiCore
@@ -858,6 +859,18 @@ Description: ORFEO Toolbox graphical user interface applications
  This package contains the GUI launcher that can run any OTB application
  provided by libotb-apps package.
 
+Package: otb-i18n
+Architecture: all
+Section: misc
+Depends: ${misc:Depends}
+Description: ORFEO Toolbox translations
+ ORFEO Toolbox (OTB) is distributed as an open source library of image
+ processing algorithms. OTB is based on the medical image processing library
+ ITK and offers particular functionalities for remote sensing image processing
+ in general and for high spatial resolution images in particular.
+ .
+ This package contains the translations for OTB applications and libraries.
+
 Package: python-otb
 Architecture: any
 Section: python
diff --git a/debian/control.in b/debian/control.in
index 3e272d2..f098cc5 100644
--- a/debian/control.in
+++ b/debian/control.in
@@ -576,7 +576,8 @@ Description: ORFEO Toolbox library - OTBMetadata
 Package: libotbmonteverdicore- at SOVERSION@
 Architecture: any
 Section: libs
-Depends: ${shlibs:Depends},
+Depends: otb-i18n (>= ${source:Version}),
+         ${shlibs:Depends},
          ${misc:Depends}
 Pre-Depends: ${misc:Pre-Depends}
 Description: ORFEO Toolbox library - OTBMonteverdiCore
@@ -858,6 +859,18 @@ Description: ORFEO Toolbox graphical user interface applications
  This package contains the GUI launcher that can run any OTB application
  provided by libotb-apps package.
 
+Package: otb-i18n
+Architecture: all
+Section: misc
+Depends: ${misc:Depends}
+Description: ORFEO Toolbox translations
+ ORFEO Toolbox (OTB) is distributed as an open source library of image
+ processing algorithms. OTB is based on the medical image processing library
+ ITK and offers particular functionalities for remote sensing image processing
+ in general and for high spatial resolution images in particular.
+ .
+ This package contains the translations for OTB applications and libraries.
+
 Package: python-otb
 Architecture: any
 Section: python
diff --git a/debian/otb-i18n.install b/debian/otb-i18n.install
new file mode 100644
index 0000000..d0ae0a5
--- /dev/null
+++ b/debian/otb-i18n.install
@@ -0,0 +1 @@
+usr/share/OTB-*/i18n
diff --git a/debian/rules b/debian/rules
index e01e8ab..02ae6fa 100755
--- a/debian/rules
+++ b/debian/rules
@@ -92,7 +92,6 @@ override_dh_shlibdeps:
 override_dh_install:
 	rm -f $(CURDIR)/debian/tmp/usr/share/doc/OTB-$(OTB_VERSION_SONAME)/LICENSE
 	rm -f $(CURDIR)/debian/tmp/usr/share/doc/OTB-$(OTB_VERSION_SONAME)/VERSION
-	rm -fr $(CURDIR)/debian/tmp/usr/share/OTB-$(OTB_VERSION_SONAME)/i18n
 	rm -f $(CURDIR)/debian/tmp/usr/lib/otb/python/otbApplication.pyc
 	dh_install --list-missing
 	rm -f $(CURDIR)/debian/$(pkglib)/usr/lib/$(DEB_HOST_MULTIARCH)/libOTBWrapper*

-- 
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