On Fri, 18 Dec 2020 14:08:16 +0100 Sylvestre Ledru
<sylves...@debian.org> wrote:>
Do you want this for bullseye?
That would be great. As it needs to pass through NEW, it should be
uploaded soon then.
Also, could you please update the patch to include the description of the
change in the changelog?
Enclosed.
Thanks
S
Thanks for the very quick response.
From: Bastian Germann <bastiangerm...@fishpost.de>
Date: Fri, 18 Dec 2020 13:15:25 +0100
Subject: Add a shim readline development library
With DEB_HOST_MULTIARCH in the .links file, debhelper-compat 13 is needed.
This implies ignoring the libedit.la file.
---
debian/changelog | 7 +++++++
debian/compat | 1 -
debian/control | 18 +++++++++++++++++-
debian/libeditreadline-dev.links | 5 +++++
debian/not-installed | 1 +
5 files changed, 30 insertions(+), 2 deletions(-)
delete mode 100644 debian/compat
create mode 100644 debian/libeditreadline-dev.links
create mode 100644 debian/not-installed
diff --git a/debian/changelog b/debian/changelog
index 363920b..0e5afbf 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+libedit (3.1-20191231-2) UNRELEASED; urgency=medium
+
+ * Update debhelper compat to v13
+ * Add a shim readline development library (Closes: #977664)
+
+ -- Bastian Germann <bastiangerm...@fishpost.de> Fri, 18 Dec 2020 15:52:09 +0100
+
libedit (3.1-20191231-1) unstable; urgency=medium
* New upstream release
diff --git a/debian/compat b/debian/compat
deleted file mode 100644
index b4de394..0000000
--- a/debian/compat
+++ /dev/null
@@ -1 +0,0 @@
-11
diff --git a/debian/control b/debian/control
index cdce9cc..ca8232c 100644
--- a/debian/control
+++ b/debian/control
@@ -7,7 +7,7 @@ Uploaders:
Sylvestre Ledru <sylves...@debian.org>,
Rules-Requires-Root: no
Build-Depends:
- debhelper (>= 11),
+ debhelper-compat (= 13),
pkg-config,
groff-base,
libbsd-dev (>= 0.1.3),
@@ -50,3 +50,19 @@ Description: BSD editline and history libraries (development files)
history, and tokenization functions.
.
It slightly resembles GNU readline.
+
+Package: libeditreadline-dev
+Section: libdevel
+Architecture: any
+Multi-Arch: same
+Depends:
+ ${misc:Depends},
+ libedit-dev
+Conflicts: libreadline-dev, libreadline5-dev, libreadline-gplv2-dev
+Description: BSD editline and history libraries (shim development files)
+ GNU readline changed its license from GPL-2 to GPL-3 with version 6,
+ which excludes GPL-2-only programs from using current readline versions.
+ editline resembles readline functionally and with regards to its API.
+ .
+ This is a development shim library that can be used to link a GPL-2-only
+ program that depends on readline with editline.
diff --git a/debian/libeditreadline-dev.links b/debian/libeditreadline-dev.links
new file mode 100644
index 0000000..ebb9fb7
--- /dev/null
+++ b/debian/libeditreadline-dev.links
@@ -0,0 +1,5 @@
+usr/include/editline usr/include/readline
+usr/lib/${DEB_HOST_MULTIARCH}/libedit.a usr/lib/${DEB_HOST_MULTIARCH}/libhistory.a
+usr/lib/${DEB_HOST_MULTIARCH}/libedit.so usr/lib/${DEB_HOST_MULTIARCH}/libhistory.so
+usr/lib/${DEB_HOST_MULTIARCH}/libedit.a usr/lib/${DEB_HOST_MULTIARCH}/libreadline.a
+usr/lib/${DEB_HOST_MULTIARCH}/libedit.so usr/lib/${DEB_HOST_MULTIARCH}/libreadline.so
diff --git a/debian/not-installed b/debian/not-installed
new file mode 100644
index 0000000..1737e93
--- /dev/null
+++ b/debian/not-installed
@@ -0,0 +1 @@
+usr/lib/*/libedit.la