summaryrefslogtreecommitdiffstats
path: root/source/x/xterm/xterm.SlackBuild
diff options
context:
space:
mode:
author Patrick J Volkerding <volkerdi@slackware.com>2018-12-31 21:33:54 +0000
committer Eric Hameleers <alien@slackware.com>2019-01-01 08:59:45 +0100
commit9b2263c35d22d77dc913ca980014efc8390305db (patch)
tree429725e1a1423cb829bd2f448d04a4ca371d2ce2 /source/x/xterm/xterm.SlackBuild
parent8e734711287e3db171361903b19d2a758f325bfc (diff)
downloadcurrent-9b2263c35d22d77dc913ca980014efc8390305db.tar.gz
current-9b2263c35d22d77dc913ca980014efc8390305db.tar.xz
Mon Dec 31 21:33:54 UTC 201820181231213354
a/efibootmgr-17-x86_64-1.txz: Upgraded. a/efivar-37-x86_64-1.txz: Upgraded. d/cmake-3.13.2-x86_64-2.txz: Rebuilt. Work around build failures with recent doxygen. d/ruby-2.6.0-x86_64-1.txz: Upgraded. Shared library .so-version bump. d/subversion-1.11.0-x86_64-2.txz: Rebuilt. Recompiled against ruby-2.6.0. kde/korundum-4.14.3-x86_64-7.txz: Rebuilt. Recompiled against ruby-2.6.0. kde/qtruby-4.14.3-x86_64-9.txz: Rebuilt. Recompiled against ruby-2.6.0. l/gobject-introspection-1.58.3-x86_64-1.txz: Upgraded. l/imagemagick-6.9.10_22-x86_64-1.txz: Upgraded. l/libssh-0.8.6-x86_64-1.txz: Upgraded. n/epic5-2.0.1-x86_64-8.txz: Rebuilt. Recompiled against ruby-2.6.0. n/tin-2.4.3-x86_64-1.txz: Upgraded. n/wireless_tools-30.pre9-x86_64-1.txz: Upgraded. x/xterm-341-x86_64-2.txz: Rebuilt. Install xterm app-defaults that resemble the Linux console. Thanks to GazL.
Diffstat (limited to '')
-rwxr-xr-xsource/x/xterm/xterm.SlackBuild9
1 files changed, 8 insertions, 1 deletions
diff --git a/source/x/xterm/xterm.SlackBuild b/source/x/xterm/xterm.SlackBuild
index 9085c7f9f..75eb0642c 100755
--- a/source/x/xterm/xterm.SlackBuild
+++ b/source/x/xterm/xterm.SlackBuild
@@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=xterm
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
@@ -111,6 +111,13 @@ make install DESTDIR=$PKG || exit 1
mkdir -p $PKG/usr/share/applications
cp xterm.desktop uxterm.desktop $PKG/usr/share/applications
+# Install a default XTerm app-defaults that looks like the Linux console.
+# Thanks to GazL.
+mv $PKG/etc/X11/app-defaults/XTerm $PKG/etc/X11/app-defaults/XTerm.upstream.default
+cp -a $CWD/linux-console-xterm.ad $PKG/etc/X11/app-defaults/XTerm
+chown root:root $PKG/etc/X11/app-defaults/XTerm
+chmod 644 $PKG/etc/X11/app-defaults/XTerm
+
# Strip binaries:
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null