Your message dated Sat, 05 Dec 2020 22:34:14 +0000
with message-id <[email protected]>
and subject line Bug#966143: fixed in dvbstreamer 2.1.0-5.1
has caused the Debian Bug report #966143,
regarding dvbstreamer: Build with libedit
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.)


-- 
966143: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=966143
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: dvbstreamer
Severity: normal
Tags: patch

The dependency readline5 is orphaned (#737301). dvbstreamer cannot
upgrade to the current readline which has an incompatible license.

The patches enclosed build dvbstreamer with libedit instead.
From 5e86d53ca7589f0bd33a151e6980ff2017725a76 Mon Sep 17 00:00:00 2001
From: Bastian Germann <[email protected]>
Date: Thu, 23 Jul 2020 19:32:38 +0200
Subject: [PATCH 1/2] Build with libedit instead of readline

---
 debian/control               |  2 +-
 debian/patches/editline.diff | 94 ++++++++++++++++++++++++++++++++++++
 debian/patches/libedit.diff  | 71 +++++++++++++++++++++++++++
 debian/patches/series        |  2 +
 4 files changed, 168 insertions(+), 1 deletion(-)
 create mode 100644 debian/patches/editline.diff
 create mode 100644 debian/patches/libedit.diff

diff --git a/debian/control b/debian/control
index 908a6eb..bbab827 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Priority: extra
 Maintainer: A Mennucc1 <[email protected]>
 Build-Depends: dpkg-dev (>= 1.14.27), debhelper (>= 7), quilt (>= 0.46-4.1),
  autoconf, autotools-dev, automake, libtool, cdbs, libev-dev,
- libreadline-gplv2-dev, sqlite3, libsqlite3-dev, libyaml-dev, libltdl-dev,
+ libedit-dev, sqlite3, libsqlite3-dev, libyaml-dev, libltdl-dev,
  zlib1g-dev, dh-autoreconf
 Standards-Version: 3.9.3.0
 Section: video
diff --git a/debian/patches/editline.diff b/debian/patches/editline.diff
new file mode 100644
index 0000000..366a55e
--- /dev/null
+++ b/debian/patches/editline.diff
@@ -0,0 +1,94 @@
+From: Bastian Germann <[email protected]>
+Date: Thu, 23 Jul 2020 19:29:40 +0200
+Subject: import editline header
+---
+diff --git a/src/commands.c b/src/commands.c
+index 8600c03..b2fe15d 100644
+--- a/src/commands.c
++++ b/src/commands.c
+@@ -30,8 +30,8 @@ Command Processing and command functions.
+ #include <ctype.h>
+ #include <time.h>
+ #include <errno.h>
+-#include <readline/readline.h>
+-#include <readline/history.h>
++#include <editline/readline.h>
++#include <editline/history.h>
+ 
+ #include "commands.h"
+ #include "multiplexes.h"
+diff --git a/src/commands/cmd_info.c b/src/commands/cmd_info.c
+index 5053a07..a952708 100755
+--- a/src/commands/cmd_info.c
++++ b/src/commands/cmd_info.c
+@@ -30,8 +30,8 @@ Command functions to supply the user with information about the system.
+ #include <ctype.h>
+ #include <time.h>
+ #include <errno.h>
+-#include <readline/readline.h>
+-#include <readline/history.h>
++#include <editline/readline.h>
++#include <editline/history.h>
+ 
+ #include "commands.h"
+ #include "multiplexes.h"
+diff --git a/src/commands/cmd_scanning.c b/src/commands/cmd_scanning.c
+index 8449632..57b326b 100755
+--- a/src/commands/cmd_scanning.c
++++ b/src/commands/cmd_scanning.c
+@@ -30,8 +30,8 @@ Command functions related to scanning multiplex and frequency bands.
+ #include <ctype.h>
+ #include <time.h>
+ #include <errno.h>
+-#include <readline/readline.h>
+-#include <readline/history.h>
++#include <editline/readline.h>
++#include <editline/history.h>
+ #include <linux/dvb/frontend.h>
+ 
+ #include "commands.h"
+diff --git a/src/commands/cmd_servicefilter.c b/src/commands/cmd_servicefilter.c
+index cfe9402..8fc8916 100755
+--- a/src/commands/cmd_servicefilter.c
++++ b/src/commands/cmd_servicefilter.c
+@@ -30,8 +30,8 @@ Command functions for service filter related tasks
+ #include <ctype.h>
+ #include <time.h>
+ #include <errno.h>
+-#include <readline/readline.h>
+-#include <readline/history.h>
++#include <editline/readline.h>
++#include <editline/history.h>
+ 
+ #include "commands.h"
+ #include "multiplexes.h"
+diff --git a/src/dvbctrl.c b/src/dvbctrl.c
+index 9bef66a..2992e38 100644
+--- a/src/dvbctrl.c
++++ b/src/dvbctrl.c
+@@ -35,8 +35,8 @@ Application to control dvbstreamer in daemon mode.
+ #include <sys/types.h>
+ #include <sys/stat.h>
+ #include <linux/dvb/frontend.h>
+-#include <readline/readline.h>
+-#include <readline/history.h>
++#include <editline/readline.h>
++#include <editline/history.h>
+ 
+ #include "types.h"
+ #include "logging.h"
+diff --git a/src/main.c b/src/main.c
+index f57cfd1..89b19eb 100644
+--- a/src/main.c
++++ b/src/main.c
+@@ -33,8 +33,8 @@ Entry point to the application.
+ #include <sys/unistd.h>
+ #include <sys/stat.h>
+ #include <malloc.h>
+-#include <readline/readline.h>
+-#include <readline/history.h>
++#include <editline/readline.h>
++#include <editline/history.h>
+ 
+ 
+ #include "parsezap.h"
diff --git a/debian/patches/libedit.diff b/debian/patches/libedit.diff
new file mode 100644
index 0000000..e2a7836
--- /dev/null
+++ b/debian/patches/libedit.diff
@@ -0,0 +1,71 @@
+From: Bastian Germann <[email protected]>
+Date: Thu, 23 Jul 2020 19:40:56 +0200
+Subject: link with libedit
+
+---
+ src/Makefile.am | 6 +++---
+ src/Makefile.in | 6 +++---
+ 2 files changed, 6 insertions(+), 6 deletions(-)
+
+diff --git a/src/Makefile.am b/src/Makefile.am
+index 82094c9..add59db 100644
+--- a/src/Makefile.am
++++ b/src/Makefile.am
+@@ -75,7 +75,7 @@ dvbstreamer_SOURCES = \
+ dvbstreamer_LDFLAGS = -rdynamic -Wl,-whole-archive -Wl,dvbpsi/libdvbpsi.a -Wl,-no-whole-archive
+ 
+ dvbstreamer_LDADD = \
+-	  -lpthread -lsqlite3 -lreadline -lev -lyaml @GETTIME_LIB@ @ICONV_LIB@ @READLINE_TERMCAP@ -lltdl
++	  -lpthread -lsqlite3 -ledit -lev -lyaml @GETTIME_LIB@ @ICONV_LIB@ @READLINE_TERMCAP@ -lltdl
+ 
+ 
+ if ENABLE_FSTREAMER
+@@ -92,7 +92,7 @@ fdvbstreamer_SOURCES = \
+ fdvbstreamer_LDFLAGS = -rdynamic -Wl,-whole-archive -Wl,dvbpsi/libdvbpsi.a -Wl,-no-whole-archive
+ 
+ fdvbstreamer_LDADD = \
+-	  -lpthread -lsqlite3 -lreadline -lev  -lyaml @GETTIME_LIB@ @ICONV_LIB@ @READLINE_TERMCAP@ -lltdl
++	  -lpthread -lsqlite3 -ledit -lev  -lyaml @GETTIME_LIB@ @ICONV_LIB@ @READLINE_TERMCAP@ -lltdl
+ else
+ fstreamer_app =
+ endif
+@@ -106,7 +106,7 @@ dvbctrl_SOURCES = \
+ 
+ dvbctrl_LDFLAGS =
+ 
+-dvbctrl_LDADD = -lreadline @READLINE_TERMCAP@ 
++dvbctrl_LDADD = -ledit @READLINE_TERMCAP@ 
+ 
+ 
+ #
+diff --git a/src/Makefile.in b/src/Makefile.in
+index 5637e59..97385a9 100644
+--- a/src/Makefile.in
++++ b/src/Makefile.in
+@@ -343,7 +343,7 @@ dvbstreamer_SOURCES = \
+ 
+ dvbstreamer_LDFLAGS = -rdynamic -Wl,-whole-archive -Wl,dvbpsi/libdvbpsi.a -Wl,-no-whole-archive
+ dvbstreamer_LDADD = \
+-	  -lpthread -lsqlite3 -lreadline -lev -lyaml @GETTIME_LIB@ @ICONV_LIB@ @READLINE_TERMCAP@ -lltdl
++	  -lpthread -lsqlite3 -ledit -lev -lyaml @GETTIME_LIB@ @ICONV_LIB@ @READLINE_TERMCAP@ -lltdl
+ 
+ @ENABLE_FSTREAMER_FALSE@fstreamer_app = 
+ @ENABLE_FSTREAMER_TRUE@fstreamer_app = fdvbstreamer
+@@ -358,7 +358,7 @@ dvbstreamer_LDADD = \
+ 
+ @ENABLE_FSTREAMER_TRUE@fdvbstreamer_LDFLAGS = -rdynamic -Wl,-whole-archive -Wl,dvbpsi/libdvbpsi.a -Wl,-no-whole-archive
+ @ENABLE_FSTREAMER_TRUE@fdvbstreamer_LDADD = \
+-@ENABLE_FSTREAMER_TRUE@	  -lpthread -lsqlite3 -lreadline -lev  -lyaml @GETTIME_LIB@ @ICONV_LIB@ @READLINE_TERMCAP@ -lltdl
++@ENABLE_FSTREAMER_TRUE@	  -lpthread -lsqlite3 -ledit -lev  -lyaml @GETTIME_LIB@ @ICONV_LIB@ @READLINE_TERMCAP@ -lltdl
+ 
+ 
+ #
+@@ -369,7 +369,7 @@ dvbctrl_SOURCES = \
+     logging.c
+ 
+ dvbctrl_LDFLAGS = 
+-dvbctrl_LDADD = -lreadline @READLINE_TERMCAP@ 
++dvbctrl_LDADD = -ledit @READLINE_TERMCAP@ 
+ 
+ #
+ # setupdvbstreamer
diff --git a/debian/patches/series b/debian/patches/series
index a6e8bac..e871525 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -5,6 +5,8 @@ usr_share_doc_in.patch
 ##libev.patch
 ##no_ncurses.patch
 pkgincludedir.patch
+editline.diff
+libedit.diff
 
 svn_803.diff
 svn_804.diff
-- 
2.27.0

From db851ed1a4818c14542482ff467eaf2a16dc9259 Mon Sep 17 00:00:00 2001
From: Bastian Germann <[email protected]>
Date: Thu, 23 Jul 2020 19:33:40 +0200
Subject: [PATCH 2/2] Update svn_814 patch to prefer editline

---
 debian/patches/svn_814.diff | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/debian/patches/svn_814.diff b/debian/patches/svn_814.diff
index c7c6897..931b60d 100644
--- a/debian/patches/svn_814.diff
+++ b/debian/patches/svn_814.diff
@@ -2,21 +2,25 @@
 # r814 | charrea6 | 2012-02-19 15:06:29 +0100(dom, 19 feb 2012) | 1 line
 # 
 # Remove requirement on ncurses/termcap
+# Debian addition: Use editline over readline
 # ------------------------------------------------------------------------
 Index: trunk/configure.in
 ===================================================================
 --- trunk/configure.in	(revisione 813)
 +++ trunk/configure.in	(revisione 814)
-@@ -149,11 +149,7 @@
+@@ -147,13 +147,9 @@ LIBS=""
  dnl ---------------------------------------------------------------------------
- AC_CHECK_HEADER([readline/readline.h], [], [AC_MSG_FAILURE([readline header file not found])])
+ dnl Check for libreadline
+ dnl ---------------------------------------------------------------------------
+-AC_CHECK_HEADER([readline/readline.h], [], [AC_MSG_FAILURE([readline header file not found])])
++AC_CHECK_HEADER([editline/readline.h], [], [AC_MSG_FAILURE([readline header file not found])])
  
 -AC_CHECK_LIB([readline], [readline], [READLINE_TERMCAP="-lncurses"],
 -    [AC_CHECK_LIB([readline], [readline], [READLINE_TERMCAP="-ltermcap"],
 -        [AC_MSG_FAILURE([readline not found])],
 -        [-ltermcap])],
 -    [-lncurses])
-+AC_CHECK_LIB([readline], [readline], [], [])
++AC_CHECK_LIB([edit], [edit], [], [])
  
  AC_SUBST(READLINE_TERMCAP)
  
-- 
2.27.0


--- End Message ---
--- Begin Message ---
Source: dvbstreamer
Source-Version: 2.1.0-5.1
Done: Bastian Germann <[email protected]>

We believe that the bug you reported is fixed in the latest version of
dvbstreamer, 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 dvbstreamer 
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: SHA512

Format: 1.8
Date: Sat, 05 Dec 2020 14:21:16 +0100
Source: dvbstreamer
Architecture: source
Version: 2.1.0-5.1
Distribution: unstable
Urgency: medium
Maintainer: A Mennucc1 <[email protected]>
Changed-By: Bastian Germann <[email protected]>
Closes: 966143
Changes:
 dvbstreamer (2.1.0-5.1) unstable; urgency=medium
 .
   * Non-maintainer upload.
   * Build with libedit (Closes: #966143).
Checksums-Sha1:
 8ad4e89cdbd6460e6a0b32b3ef5e5afe6a417e3d 1994 dvbstreamer_2.1.0-5.1.dsc
 915ca1d5be144a43e647ea33c725d7e0365265b3 56996 
dvbstreamer_2.1.0-5.1.debian.tar.xz
 72bfa747032c985ee1efeebca1136672d1d2be6c 6151 
dvbstreamer_2.1.0-5.1_source.buildinfo
Checksums-Sha256:
 04e8be82e3fb68d6537fe8577832932f084f039cfe2e489a7e957dac0b881368 1994 
dvbstreamer_2.1.0-5.1.dsc
 d93610cdaff5aa32b029d0fa59b5381b27c08d0a09f4929420bca046732e17d4 56996 
dvbstreamer_2.1.0-5.1.debian.tar.xz
 5e9680e6d6f8d33c3c2c0267665ce252e4cedb1a0cb60e29e9f7d3112eb2b525 6151 
dvbstreamer_2.1.0-5.1_source.buildinfo
Files:
 bd1fa7686466c7c1287231e6ca2e0ebe 1994 video extra dvbstreamer_2.1.0-5.1.dsc
 0f2e919308d20cebe96cee342c18894d 56996 video extra 
dvbstreamer_2.1.0-5.1.debian.tar.xz
 6f7c5353679aeaaee7fc94959af6aa70 6151 video extra 
dvbstreamer_2.1.0-5.1_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEkjZVexcMh/iCHArDweDZLphvfH4FAl/MBaMACgkQweDZLphv
fH68SA//Ze5o0QjTBF3NdyDTKLY8zdZxJQ98d60tkGoiGPouyKSvcpypg9FCNC1M
t7/OaMVkdVwupOOmDm/DifMV5l6tiKRaJi7yV6NS+PddbQc574RBFfohEg7/k+GW
lj52qZyZCCquR6oZLi8wGDpX3wCpUhOsWV2p7ghRr8PnXje9jKzHnzP/jHW04TRF
RAo/UvFZ0wVOclYn32OBesvZshVQnGRBWaaFa2Qw5qNYrJwCVvO10o6c+8zquKga
qXshsujwUfF/feXi4yL0lnTxLFDYlypR0WsKSZOlxQi92vS67X74VVWMW3HMI571
lgPGYePtrAZp7HIHGA+WE+LhTUnrYQqEZ01wVxrLKPk+Bpr/MxZyLvmLPgnbni70
XMtBaUPTO9sygSDuBSjN+oU6bRG5iyeSobkd4nnBtIBO3V8MJjDQduTpOpUO2+A/
uVkTubgI+RzOFtsF8bdtxc2aR1+flmyoez5NZwaxG2f/+lTZX2GdbrobXooUS6dz
NVdC5CtqGYUHirwjUzpHY6XaA56JWXO9wq1nAd4USIllqFlAWFFFbE+QvIMLtsZN
Fle6FZENdHUMBAOtxd7tX9NSFWgs+uPWa7wjMvsvWXkZSaxmxHlWf4pOfGKSHvxK
MHRMRWKDA2V2dLIB3I+nbLXp+8J7A+6ZVwkVOiRJ1iLnm/zU+Io=
=qEC4
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to