Browse Source

Don't disable SIGWINCH in ncmpcpp

It makes ncmpcpp resize itself when the window size has changed.
Not sure why this was ever added, but according to @its-pointless it can
be removed
android-5
Oliver Schmidhauser 7 years ago
committed by Fredrik Fornwall
parent
commit
b16c6d3c6d
  1. 2
      packages/ncmpcpp/build.sh
  2. 3
      packages/ncmpcpp/ncmpcpp.cpp.patch

2
packages/ncmpcpp/build.sh

@ -1,7 +1,7 @@
TERMUX_PKG_HOMEPAGE=https://rybczak.net/ncmpcpp/ TERMUX_PKG_HOMEPAGE=https://rybczak.net/ncmpcpp/
TERMUX_PKG_DESCRIPTION="NCurses Music Player Client (Plus Plus)" TERMUX_PKG_DESCRIPTION="NCurses Music Player Client (Plus Plus)"
TERMUX_PKG_VERSION=0.8 TERMUX_PKG_VERSION=0.8
TERMUX_PKG_REVISION=4 TERMUX_PKG_REVISION=5
TERMUX_PKG_SRCURL=https://rybczak.net/ncmpcpp/stable/ncmpcpp-${TERMUX_PKG_VERSION}.tar.bz2 TERMUX_PKG_SRCURL=https://rybczak.net/ncmpcpp/stable/ncmpcpp-${TERMUX_PKG_VERSION}.tar.bz2
TERMUX_PKG_SHA256=2f0f2a1c0816119430880be6932e5eb356b7875dfa140e2453a5a802909f465a TERMUX_PKG_SHA256=2f0f2a1c0816119430880be6932e5eb356b7875dfa140e2453a5a802909f465a
TERMUX_PKG_DEPENDS="fftw, boost, readline, libcurl, libmpdclient" TERMUX_PKG_DEPENDS="fftw, boost, readline, libcurl, libmpdclient"

3
packages/ncmpcpp/ncmpcpp.cpp.patch

@ -5,9 +5,8 @@
std::cerr.rdbuf(errorlog.rdbuf()); std::cerr.rdbuf(errorlog.rdbuf());
- sigignore(SIGPIPE); - sigignore(SIGPIPE);
- signal(SIGWINCH, sighandler);
+ // sigignore(SIGPIPE); + // sigignore(SIGPIPE);
+ // signal(SIGWINCH, sighandler); signal(SIGWINCH, sighandler);
Mpd.setNoidleCallback(Status::update); Mpd.setNoidleCallback(Status::update);

Loading…
Cancel
Save