Your message dated Fri, 18 Dec 2020 22:00:08 +0000
with message-id <[email protected]>
and subject line Bug#977664: fixed in libedit 3.1-20191231-2
has caused the Debian Bug report #977664,
regarding libedit: Add a shim readline development library
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
977664: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=977664
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: libedit
Severity: wishlist
Tags: patch
Hi,
This is a proposal to introduce one additional development library to
libedit. It is the go-to package to compile readline-enabled software
that cannot use readline since its license change to GPL-3. With
#737301, the last GPL-2 readline version was orphaned and is not
maintained for 4.5 years. Only two packages still depend on it: lvm2 and
xfsprogs.
However, there are a lot of packages which have patches on them to link
with libedit instead of readline. Also, there is software in the archive
that depends on libreadline8 even though their licenses are
incompatible, e.g., see bible-kjv issue #977639.
For both the existing patched software and the license incompatible
software, a development library that provides the libreadline-dev file
names but resolves them to libedit-dev files would reduce (for some
packages even eliminate) the effort that is involved in porting a
package to use libedit over readline.
A patch with such a shim package called libeditreadline-dev is included.
It only contains symbolic links. I tested it with bible-kjv, lvm2, and
xfsprogs. The only change that was needed to build them with libedit
instead of readline was replacing libreadline-dev with
libeditreadline-dev in their Build-Dependencies.
Regards,
Bastian
From: Bastian Germann <[email protected]>
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/compat | 1 -
debian/control | 18 +++++++++++++++++-
debian/libeditreadline-dev.links | 5 +++++
debian/not-installed | 1 +
4 files changed, 23 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/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 <[email protected]>,
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
--- End Message ---
--- Begin Message ---
Source: libedit
Source-Version: 3.1-20191231-2
Done: Bastian Germann <[email protected]>
We believe that the bug you reported is fixed in the latest version of
libedit, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Bastian Germann <[email protected]> (supplier of updated libedit
package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Fri, 18 Dec 2020 15:52:09 +0100
Source: libedit
Binary: libedit-dev libedit2 libedit2-dbgsym libeditreadline-dev
Architecture: source amd64
Version: 3.1-20191231-2
Distribution: unstable
Urgency: medium
Maintainer: LLVM Packaging Team <[email protected]>
Changed-By: Bastian Germann <[email protected]>
Description:
libedit-dev - BSD editline and history libraries (development files)
libedit2 - BSD editline and history libraries
libeditreadline-dev - BSD editline and history libraries (shim development
files)
Closes: 977664
Changes:
libedit (3.1-20191231-2) unstable; urgency=medium
.
* Update debhelper compat to v13
* Add a shim readline development library (Closes: #977664)
Checksums-Sha1:
98ec3336cd4487100c75f6ad1a9da82faf2500d4 2208 libedit_3.1-20191231-2.dsc
46ba596a9917a532976fb213656e3acd2daac0c4 14576
libedit_3.1-20191231-2.debian.tar.xz
44006d20af939b6e41dffe7ba5d56bf4b5cf1551 116516
libedit-dev_3.1-20191231-2_amd64.deb
20f3650a7943ef9725a2e89bb697fa52a0c4de04 186296
libedit2-dbgsym_3.1-20191231-2_amd64.deb
dbed96af0dcae1924a98c116b63ec572da1d44cb 96308
libedit2_3.1-20191231-2_amd64.deb
c9638f166a90c5eb288963ebb0150cee050dc518 7147
libedit_3.1-20191231-2_amd64.buildinfo
149ec1901f91f88df1fb5d0f82c9498a8d98db59 12680
libeditreadline-dev_3.1-20191231-2_amd64.deb
Checksums-Sha256:
422c4cab3b047b62142eef4f77995fd1cd0f424c52ffeae953935e241d3aaa81 2208
libedit_3.1-20191231-2.dsc
afb4656959bfa61817d0bc1982f2628373e84b251a148edb7da3e3c10645366c 14576
libedit_3.1-20191231-2.debian.tar.xz
e3b3e12e7b739529c9988dc11bb9a80b1da182cb0fe01f4c2d2a063515d2a012 116516
libedit-dev_3.1-20191231-2_amd64.deb
903b0cfebb3a13972a721eeed12ca31d281ccc769cfb0a8fd27bd34c4ec6a6f9 186296
libedit2-dbgsym_3.1-20191231-2_amd64.deb
96f030a6370f28781d3bf2905abf86253377b1f426cd9b75d0c53945cfa2d116 96308
libedit2_3.1-20191231-2_amd64.deb
6082ac13ef1f189f532b988bf675b3c41425536473536d8f4d1cd7570eff600b 7147
libedit_3.1-20191231-2_amd64.buildinfo
a399c7350f0a37fe397f60fa8483ac48d5a815e5b6dddf6d5442930cae50054e 12680
libeditreadline-dev_3.1-20191231-2_amd64.deb
Files:
da76268c3d561d0049c70bc434f2d258 2208 libs optional libedit_3.1-20191231-2.dsc
105340107dc3550405ce4f830de06f50 14576 libs optional
libedit_3.1-20191231-2.debian.tar.xz
6178a0a74cfa6c1d44a4157743b49ffb 116516 libdevel optional
libedit-dev_3.1-20191231-2_amd64.deb
0e77bd41b5aa3e8cb7d5ca7115462608 186296 debug optional
libedit2-dbgsym_3.1-20191231-2_amd64.deb
adeb172c2ae6fed74f5c06152fdcb40d 96308 libs optional
libedit2_3.1-20191231-2_amd64.deb
4f112916362d306905878dc40435666a 7147 libs optional
libedit_3.1-20191231-2_amd64.buildinfo
9e27c0c8111f7bd387171ffb47553bd0 12680 libdevel optional
libeditreadline-dev_3.1-20191231-2_amd64.deb
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEEtg21mU05vsTRqVzPfmUo2nUvG+EFAl/c0rAACgkQfmUo2nUv
G+GfBQ/7BehT1iRdiUVadUJQOixN5MKf1U2WlCmx7w2rkKpOU6jIpiWHqDfa6KZo
KN1JrOfYGhpGZJcNeVT8fpvI2MU0y8PWnkCD1F1+RRU7ySKvmyGVLUxTRKhHF3DE
2kVVtXc1RwHV13haIT70WGYy9Mmtpu+rW0hiZkPBCncuY2/eyOlPFK8nXI6S1YTA
OPOqs2mrdR6M6u1zwRCjnudGekgRPhwfnezyB73KWFc3jwqYmXBQf2upCXds9zjL
hlSO5PyZCRkilsD5ulcV5uKmo+DA9TFGr9cvYMhb06gbpujs9A/E+mzqLRjhU61R
MsTsWJvfY9xU0xR6zzLGu4F/TAw7PqUKiBRdKLKkdBbgJ4f428s15ENm4I/fiueW
UmpRfCCOUQd+1BdlX24ObczYT4pOf32x/kk81MAJ3UFv0sAjxehpF+iM0hhk8Nd6
SadDcxSUpf99FAPtq3FC7NR/dAIZa4cjoCRIfHUYfkFFN+UL5K7OhIPvwJBCH5FR
++tsONWkz7mHmNzW8oAlA9cnT/Eix7Mdj2hIAEwRCDhQlC8+pydD+ctw+bb4Lb1O
kMjcENHhUYqNgagX5TJstVopm3BfktgXiFOMioWOVe3WZ4u4rvcSHnVlFqH/uLNT
Np4xO4sieeSpkPsf5084r7volvupsvu3xRE/gmVuL+uCVmtcVp4=
=Cmdr
-----END PGP SIGNATURE-----
--- End Message ---