Hello,

apparently the character string generated in jack_cursesmodule that is
passed to ncurses is invalid. I can't figure why this happen but I
suspect an issue in the python binding in jack_cursesmodule.

Hopefully you can bypass jack_cursesmodule to use the built-in ncurses
python binding. 
It fixes the issue, and a patch is attached to this message.

I think it's a viable solution because according to the documentation
in the cursesmodule folder [1], the jack_cursesmodule is an old binding
of ncurses: version 1.5b1 from before the release of python 2.0 [2]
(see the version number at the beginning of jack_cursesmodule.c [3]).
So, using the official binding from python is a much more reliable
solution.

In addition, I can provide a non-maintainer upload for this package and
eventually maintain the package.

Best Regards,
François

[1] 
https://sources.debian.org/src/jack/3.1.1+cvs20050801-29.2/cursesmodule/README.cursesmodule/
[2] https://invisible-island.net/ncurses/ncurses-python.html
[3] 
https://sources.debian.org/src/jack/3.1.1+cvs20050801-29.2/cursesmodule/jack_cursesmodule.c/


Author: Francois Mazen <franc...@mzf.fr>
Description: remove jack_cursesmodule, an obsolete curses binding
Bug-Debian: https://bugs.debian.org/898075

--- a/setup.py
+++ b/setup.py
@@ -13,11 +13,6 @@
     url = "http://www.home.unix-ag.org/arne/jack/";,
 
     # Description of the modules and packages in the distribution
-    ext_modules = [ Extension('jack_cursesmodule',
-    ['cursesmodule/jack_cursesmodule.c'], libraries=["ncursesw"],
-    include_dirs=["/usr/include/ncursesw"],
-    extra_compile_args=["-Wno-strict-prototypes"]) ],
-
     py_modules = [ 'jack_CDTime', 'jack_TOC', 'jack_TOCentry', 'jack_argv',
     'jack_checkopts', 'jack_children', 'jack_config', 'jack_constants',
     'jack_display', 'jack_encstuff', 'jack_freedb', 'jack_functions',

Reply via email to