Browse Source

byobu: Avoid "locale charmap" call, hardcode UTF-8

android-5
Fredrik Fornwall 7 years ago
parent
commit
ad5c88994b
  1. 1
      packages/byobu/build.sh
  2. 12
      packages/byobu/usr-bin-byobu.in.patch

1
packages/byobu/build.sh

@ -1,6 +1,7 @@
TERMUX_PKG_HOMEPAGE=http://byobu.co/
TERMUX_PKG_DESCRIPTION="Byobu is a GPLv3 open source text-based window manager and terminal multiplexer"
TERMUX_PKG_VERSION=5.122
TERMUX_PKG_REVISION=1
TERMUX_PKG_SRCURL=https://launchpad.net/byobu/trunk/${TERMUX_PKG_VERSION}/+download/byobu_${TERMUX_PKG_VERSION}.orig.tar.gz
TERMUX_PKG_SHA256=0e5f14db8340712cf5b1049002c5b7f2a116ca28e6df418cb7500d3c4fa43234
TERMUX_PKG_DEPENDS="gawk, tmux"

12
packages/byobu/usr-bin-byobu.in.patch

@ -0,0 +1,12 @@
diff -u -r ../byobu-5.122/usr/bin/byobu.in ./usr/bin/byobu.in
--- ../byobu-5.122/usr/bin/byobu.in 2017-08-09 23:53:48.000000000 +0200
+++ ./usr/bin/byobu.in 2017-09-20 01:31:55.576848354 +0200
@@ -46,7 +46,7 @@
. "$HOME/.byoburc"
fi
fi
-export BYOBU_CHARMAP=$(locale charmap)
+export BYOBU_CHARMAP=UTF-8
[ -r "$HOME/.byoburc" ] && . "$HOME/.byoburc"
[ -z "${BYOBU_PREFIX}" ] && export BYOBU_PREFIX="@prefix@" || export BYOBU_PREFIX
. "${BYOBU_PREFIX}/lib/${PKG}/include/common"
Loading…
Cancel
Save