Dear maintainer,

I've prepared a NMU for gr-fcdproplus, to deal with the libstdc++ transition,
and will shortly upload it to the 1-day delayed queue.  Please find the
debdiff below.

Cheers,
Julien

>From 580f893d84f1c87b40b74c23d980d647508be3a6 Mon Sep 17 00:00:00 2001
From: Julien Cristau <[email protected]>
Date: Sun, 16 Aug 2015 17:35:52 +0200
Subject: [PATCH] Rename library packages for g++5 ABI transition (closes:
 791060).

---
 debian/changelog                          |  7 +++++++
 debian/control                            |  6 ++++--
 debian/libgnuradio-fcdproplus0.install    |  2 --
 debian/libgnuradio-fcdproplus0.postinst   | 29 -----------------------------
 debian/libgnuradio-fcdproplus0v5.install  |  2 ++
 debian/libgnuradio-fcdproplus0v5.postinst | 29 +++++++++++++++++++++++++++++
 6 files changed, 42 insertions(+), 33 deletions(-)
 delete mode 100644 debian/libgnuradio-fcdproplus0.install
 delete mode 100644 debian/libgnuradio-fcdproplus0.postinst
 create mode 100644 debian/libgnuradio-fcdproplus0v5.install
 create mode 100644 debian/libgnuradio-fcdproplus0v5.postinst

diff --git a/debian/changelog b/debian/changelog
index 6402e23..e210f88 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+gr-fcdproplus (3.7.24.cf5db38-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename library packages for g++5 ABI transition (closes: 791060).
+
+ -- Julien Cristau <[email protected]>  Sun, 16 Aug 2015 17:35:52 +0200
+
 gr-fcdproplus (3.7.24.cf5db38-1) unstable; urgency=low
 
   * New upstream with_hidapi-10-gcf5db38
diff --git a/debian/control b/debian/control
index 0ded8eb..5229d25 100644
--- a/debian/control
+++ b/debian/control
@@ -13,7 +13,7 @@ Vcs-Browser: 
http://anonscm.debian.org/cgit/users/bottoms/pkg-gr-fcdproplus.git/
 
 Package: gr-fcdproplus
 Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}, libgnuradio-fcdproplus0 
(=${binary:Version})
+Depends: ${shlibs:Depends}, ${misc:Depends}, libgnuradio-fcdproplus0v5 
(=${binary:Version})
 Recommends: gnuradio, gr-osmosdr, udev
 Description: Funcube Dongle Pro Plus controller for GNU Radio
  Support hardware for software radio using the fcdproplus
@@ -27,11 +27,13 @@ Description: Funcube Dongle Pro Plus controller for GNU 
Radio
  This package provides a python library as well as
  a gnuradio companion source object.
 
-Package: libgnuradio-fcdproplus0
+Package: libgnuradio-fcdproplus0v5
 Architecture: any
 Pre-Depends: multiarch-support
 Depends: ${shlibs:Depends}, ${misc:Depends}
 Recommends: gr-fcdproplus
+Conflicts: libgnuradio-fcdproplus0
+Replaces: libgnuradio-fcdproplus0
 Description: Funcube Dongle Pro Plus controller for GNU Radio
  Support hardware for software radio using the fcdproplus
  which provides sampled RF IQ data as a USB audio stereo
diff --git a/debian/libgnuradio-fcdproplus0.install 
b/debian/libgnuradio-fcdproplus0.install
deleted file mode 100644
index 7667008..0000000
--- a/debian/libgnuradio-fcdproplus0.install
+++ /dev/null
@@ -1,2 +0,0 @@
-/usr/lib/*/pkgconfig/gnuradio-fcdproplus.pc
-/usr/lib/*/libgnuradio-fcdproplus.so.*
diff --git a/debian/libgnuradio-fcdproplus0.postinst 
b/debian/libgnuradio-fcdproplus0.postinst
deleted file mode 100644
index b9350ef..0000000
--- a/debian/libgnuradio-fcdproplus0.postinst
+++ /dev/null
@@ -1,29 +0,0 @@
-#! /bin/sh
-
-set -e
-
-#DEBHELPER#
-
-if [ "$1" = "configure" ]; then
-        ldconfig
-fi
-
-# same test as udev postinst...
-chrooted() {
-  if [ "$(stat -c %d/%i /)" = "$(stat -Lc %d/%i /proc/1/root 2>/dev/null)" ];
-  then
-    # the devicenumber/inode pair of / is the same as that of /sbin/init's
-    # root, so we're *not* in a chroot and hence return false.
-    return 1
-  fi
-  return 0
-}
-
-if [ "$1" = "configure" ]; then
-  if ! chrooted ; then
-    # try to update udev now
-    udevadm control --reload-rules || true ;
-  fi
-fi
-
-exit 0
diff --git a/debian/libgnuradio-fcdproplus0v5.install 
b/debian/libgnuradio-fcdproplus0v5.install
new file mode 100644
index 0000000..7667008
--- /dev/null
+++ b/debian/libgnuradio-fcdproplus0v5.install
@@ -0,0 +1,2 @@
+/usr/lib/*/pkgconfig/gnuradio-fcdproplus.pc
+/usr/lib/*/libgnuradio-fcdproplus.so.*
diff --git a/debian/libgnuradio-fcdproplus0v5.postinst 
b/debian/libgnuradio-fcdproplus0v5.postinst
new file mode 100644
index 0000000..b9350ef
--- /dev/null
+++ b/debian/libgnuradio-fcdproplus0v5.postinst
@@ -0,0 +1,29 @@
+#! /bin/sh
+
+set -e
+
+#DEBHELPER#
+
+if [ "$1" = "configure" ]; then
+        ldconfig
+fi
+
+# same test as udev postinst...
+chrooted() {
+  if [ "$(stat -c %d/%i /)" = "$(stat -Lc %d/%i /proc/1/root 2>/dev/null)" ];
+  then
+    # the devicenumber/inode pair of / is the same as that of /sbin/init's
+    # root, so we're *not* in a chroot and hence return false.
+    return 1
+  fi
+  return 0
+}
+
+if [ "$1" = "configure" ]; then
+  if ! chrooted ; then
+    # try to update udev now
+    udevadm control --reload-rules || true ;
+  fi
+fi
+
+exit 0
-- 
2.5.0

Reply via email to