diff options
author | Martin Dummer <martin.dummer@gmx.net> | 2017-02-18 15:42:40 +0100 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2017-03-10 12:07:59 +0100 |
commit | 646f4349916b798eae254248d85ece070f66ef25 (patch) | |
tree | 85e83bc2c22412ced189b3456447ba6a9f7d3bbf /media-sound/jack/files/jack-3.1.1-setup-and-cursesmodule.patch | |
parent | 9884a9d4d07cf561dc1b947f638114731367534b (diff) | |
download | gentoo-646f4349916b798eae254248d85ece070f66ef25.tar.gz gentoo-646f4349916b798eae254248d85ece070f66ef25.tar.xz |
media-sound/jack: fix #298850, new EAPI and eclass
- EAPI 6
- replace eclass distutils with distutils-r1
- fix ebuild python module dependencies
- add proxy maintaintership
- add functional enhancement: add cddb server freedb.musicbrainz.org
Bug: https://bugs.gentoo.org/show_bug.cgi?id=298850
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Closes: https://github.com/gentoo/gentoo/pull/4156
Diffstat (limited to 'media-sound/jack/files/jack-3.1.1-setup-and-cursesmodule.patch')
-rw-r--r-- | media-sound/jack/files/jack-3.1.1-setup-and-cursesmodule.patch | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/media-sound/jack/files/jack-3.1.1-setup-and-cursesmodule.patch b/media-sound/jack/files/jack-3.1.1-setup-and-cursesmodule.patch new file mode 100644 index 00000000000..d3e016289a8 --- /dev/null +++ b/media-sound/jack/files/jack-3.1.1-setup-and-cursesmodule.patch @@ -0,0 +1,47 @@ +--- a/jack_t_curses.py ++++ b/jack_t_curses.py +@@ -35,11 +35,9 @@ + try: + from jack_curses import endwin, resizeterm, A_REVERSE, newwin, newpad, initscr, noecho, cbreak, echo, nocbreak + except ImportError: +- warning("jack_curses module not found, trying normal curses...") ++ info("jack_curses module not found, using normal curses...") + try: +- from curses import endwin, A_REVERSE, newwin, newpad, initscr, noecho, cbreak, echo, nocbreak +- def resizeterm(y, x): +- pass ++ from curses import endwin, resizeterm, A_REVERSE, newwin, newpad, initscr, noecho, cbreak, echo, nocbreak + except ImportError: + print "curses module not found or too old, please install it (see README)" + +--- a/setup.py ++++ b/setup.py +@@ -2,7 +2,7 @@ + + """Setup script for the jack module distribution.""" + +-from distutils.core import setup, Extension ++from distutils.core import setup + + setup( # Distribution meta-data + name = "jack", +@@ -11,11 +11,7 @@ + author = "Arne Zellentin", + author_email = "zarne@users.sf.net", + 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=["ncurses"], +- extra_compile_args=["-Wno-strict-prototypes"]) ], ++ scripts=['jack'], + + py_modules = [ 'jack_CDTime', 'jack_TOC', 'jack_TOCentry', 'jack_argv', + 'jack_checkopts', 'jack_children', 'jack_config', 'jack_constants', +@@ -26,6 +22,3 @@ + 'jack_ripstuff', 'jack_status', 'jack_t_curses', 'jack_t_dumb', 'jack_tag', + 'jack_targets', 'jack_term', 'jack_utils', 'jack_version', 'jack_workers'] + ) +- +-print "If you have installed the modules, copy jack to some place in your $PATH," +-print "like /usr/local/bin/." |