[SCM] libindi packaging branch, master, updated. debian/0.9.7-1-8-g220c762

Maximiliano Curia maxy at moszumanska.debian.org
Tue Apr 1 15:55:44 UTC 2014


Gitweb-URL: http://git.debian.org/?p=pkg-kde/krap/libindi.git;a=commitdiff;h=220c762

The following commit has been merged in the master branch:
commit 220c7621878bfeba4856a54d4aad31b4415bd536
Author: Maximiliano Curia <maxy at debian.org>
Date:   Tue Apr 1 17:44:37 2014 +0200

    Install binary plugins in another package.
---
 debian/changelog               |  1 +
 debian/control                 | 17 ++++++++++++++++-
 debian/libindi-plugins.install |  1 +
 debian/rules                   |  3 ++-
 4 files changed, 20 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 6ea00ac..cdf152e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -10,6 +10,7 @@ libindi (0.9.8.1-1) UNRELEASED; urgency=medium
   * Bump libindidriver soversion.
   * Update symbols.
   * New lib package libindialignmentdriver0.
+  * Install binary plugins in an arch-dependant dir.
 
  -- Maximiliano Curia <maxy at debian.org>  Tue, 01 Apr 2014 11:27:40 +0200
 
diff --git a/debian/control b/debian/control
index be6931c..2f88e22 100644
--- a/debian/control
+++ b/debian/control
@@ -78,6 +78,21 @@ Description: Instrument-Neutral Device Interface library -- alignment driver lib
  .
  This package contains the alignment driver shared library.
 
+Package: libindi-plugins
+Section: libs
+Architecture: any
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Pre-Depends: ${misc:Pre-Depends}
+Multi-Arch: same
+Description: Instrument-Neutral Device Interface library -- plugins
+ INDI (Instrument-Neutral Device Interface) is a distributed XML-based
+ control protocol designed to operate astronomical instrumentation.
+ INDI is small, flexible, easy to parse, scalable, and stateless.
+ It supports common DCS functions such as remote control, data acquisition,
+ monitoring, and a lot more.
+ .
+ This package contains binary plugins.
+
 Package: libindi-dev
 Section: libdevel
 Architecture: any
@@ -99,7 +114,7 @@ Description: Instrument-Neutral Device Interface library -- development files
 
 Package: libindi-data
 Architecture: all
-Depends: ${misc:Depends}
+Depends: ${misc:Depends}, libindi-plugins (>= ${source:Version})
 Multi-Arch: foreign
 Description: Instrument-Neutral Device Interface library -- shared data
  INDI (Instrument-Neutral Device Interface) is a distributed XML-based
diff --git a/debian/libindi-plugins.install b/debian/libindi-plugins.install
new file mode 100644
index 0000000..5cdc8a8
--- /dev/null
+++ b/debian/libindi-plugins.install
@@ -0,0 +1 @@
+usr/lib/*/indi/
diff --git a/debian/rules b/debian/rules
index 6b4be94..cd1acd6 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,7 +10,8 @@ export LDFLAGS := $(shell dpkg-buildflags --get LDFLAGS)
 	dh $@ --parallel
 
 override_dh_auto_configure:
-	dh_auto_configure -- -DLIB_DESTINATION=/usr/lib/$(DEB_HOST_MULTIARCH)
+	dh_auto_configure -- -DLIB_DESTINATION=/usr/lib/$(DEB_HOST_MULTIARCH) \
+	    -DINDI_MATH_PLUGINS_DIRECTORY=/usr/lib/$(DEB_HOST_MULTIARCH)/indi/MathPlugins/
 
 override_dh_strip:
 	dh_strip --dbg-package=indi-dbg

-- 
libindi packaging



More information about the pkg-kde-commits mailing list