aboutsummaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2021-08-09 05:49:59 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-10-13 00:51:31 +0700
commit2a6574b8d7e3cefcb85f24c06a650e82fc4b5e3d (patch)
tree51d3f7c030a74ec5ffaa531254237c2e7ad92fd8 /system
parent6fe4e68923c25765c4ad5499a8e24111d17bb67e (diff)
system/yeahconsole: Update man page.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system')
-rw-r--r--system/yeahconsole/52-yeahkeys.patch21
-rw-r--r--system/yeahconsole/yeahconsole.124
-rw-r--r--system/yeahconsole/yeahconsole.SlackBuild20
-rw-r--r--system/yeahconsole/yeahconsole.xml19
4 files changed, 57 insertions, 27 deletions
diff --git a/system/yeahconsole/52-yeahkeys.patch b/system/yeahconsole/52-yeahkeys.patch
new file mode 100644
index 000000000000..78b2d816ceb7
--- /dev/null
+++ b/system/yeahconsole/52-yeahkeys.patch
@@ -0,0 +1,21 @@
+Description: Recognize Shift key, Meta, and Super key names
+Author: Decklin Foster <decklin@red-bean.com>
+Forwarded: mailto:knorke@phrat.de
+Bug-Debian: https://bugs.debian.org/506062
+
+--- a/yeahconsole.c
++++ b/yeahconsole.c
+@@ -294,9 +294,11 @@
+
+ if (strstr(opt, "Control"))
+ modmask = modmask | ControlMask;
+- if (strstr(opt, "Alt"))
++ if (strstr(opt, "Shift"))
++ modmask = modmask | ShiftMask;
++ if (strstr(opt, "Meta") || strstr(opt, "Alt"))
+ modmask = modmask | Mod1Mask;
+- if (strstr(opt, "Win"))
++ if (strstr(opt, "Super") || strstr(opt, "Win"))
+ modmask = modmask | Mod4Mask;
+ if (strstr(opt, "None"))
+ modmask = 0;
diff --git a/system/yeahconsole/yeahconsole.1 b/system/yeahconsole/yeahconsole.1
index a3693e366ae7..ec7bbe7f05b5 100644
--- a/system/yeahconsole/yeahconsole.1
+++ b/system/yeahconsole/yeahconsole.1
@@ -1,13 +1,13 @@
'\" t
.\" Title: YEAHCONSOLE
.\" Author: [see the "AUTHOR" section]
-.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
-.\" Date: April 15, 2006
+.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
+.\" Date: August 9, 2021
.\" Manual: SlackBuilds.org
-.\" Source: yeahconsole
+.\" Source: yeahconsole 0.3.4
.\" Language: English
.\"
-.TH "YEAHCONSOLE" "1" "April 15, 2006" "yeahconsole" "SlackBuilds.org"
+.TH "YEAHCONSOLE" "1" "August 9, 2021" "yeahconsole 0.3.4" "SlackBuilds.org"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
@@ -43,14 +43,14 @@ Debian(TM)
distribution because the original program does not have a manual page\&.
.PP
\fByeahconsole\fR
-is a wrapper for X terminal emulators that provide a drop\-down terminal embedding other terminal emulators
+is a wrapper for X terminal emulators that provides a drop\-down terminal embedding other terminal emulators
.SH "OPTIONS"
.PP
A summary of options is included below\&. Any other argument is passed to the X terminal emulator\&.
.PP
\fB\-h\fR
.RS 4
-Show summary of options and supported xresources\&.
+Show summary of options and supported X resources\&.
.RE
.PP
\fB\-e\fR \fIcommand\fR
@@ -85,7 +85,7 @@ number of lines of the console\&. Default is 10\&.
.PP
\fBxOffset\fR
.RS 4
-x position\&. Default is set to 0\&.
+x position\&. Default is 0\&.
.RE
.PP
\fBaniDelay\fR
@@ -95,7 +95,7 @@ delay for the slide animation\&. Default is 40\&.
.PP
\fBstepSize\fR
.RS 4
-step size in pixels for the animation 0 will disable the animation\&. Default is set 1\&.
+step size in pixels for the animation\&. 0 will disable the animation\&. Default is 1\&.
.RE
.PP
\fBhandleWidth\fR
@@ -133,14 +133,18 @@ xterm (1), rxvt (1)\&.
.SH "AUTHOR"
.PP
This manual page was written by
-DamiánViano<debian@damianv\&.com\&.ar>
+Damián
+Viano
+<debian@damianv\&.com\&.ar>
for the
Debian(TM)
system (but may be used by others)\&. Permission is granted to copy, distribute and/or modify this document under the terms of the
GNU
General Public License, Version 2 any later version published by the Free Software Foundation\&.
.PP
-On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common\-licenses/GPL\&.
+This man page has been modified slightly by B\&. Watson for the SlackBuilds\&.org project\&.
+.PP
+The complete text of the GNU General Public License can be found at https://www\&.gnu\&.org/licenses/old\-licenses/gpl\-2\&.0\&.txt\&.
.SH "COPYRIGHT"
.br
Copyright \(co 2006 Damián Viano
diff --git a/system/yeahconsole/yeahconsole.SlackBuild b/system/yeahconsole/yeahconsole.SlackBuild
index c4e6207ff95d..351744b68a8d 100644
--- a/system/yeahconsole/yeahconsole.SlackBuild
+++ b/system/yeahconsole/yeahconsole.SlackBuild
@@ -24,6 +24,11 @@
# Now maintained by B. Watson <yalhcru@gmail.com>
+# 20210809 bkw:
+# - BUILD=3
+# - add patch for Shift/Meta/Super/Win key names
+# - clean up man page
+
# 20170210 bkw:
# - Take over maintenance
# - BUILD=2
@@ -37,7 +42,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=yeahconsole
VERSION=${VERSION:-0.3.4}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -49,9 +54,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -84,15 +86,15 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
# apply patch from debian, fixes a segfault when DISPLAY isn't set.
patch -p1 < $CWD/50-display.patch
+# another patch from debian, recognize shift/meta/super key names.
+patch -p1 < $CWD/52-yeahkeys.patch
+
make FLAGS="$SLKCFLAGS" LIB_DIRS="-L/usr/lib$LIBDIRSUFFIX"
strip $PRGNAM
mkdir -p $PKG/usr/bin
diff --git a/system/yeahconsole/yeahconsole.xml b/system/yeahconsole/yeahconsole.xml
index 446c7fc01861..f99e68109ba9 100644
--- a/system/yeahconsole/yeahconsole.xml
+++ b/system/yeahconsole/yeahconsole.xml
@@ -5,7 +5,7 @@
<!ENTITY dhfirstname "<firstname>Damián</firstname>">
<!ENTITY dhsurname "<surname>Viano</surname>">
- <!ENTITY dhdate "<date>April 15, 2006</date>">
+ <!ENTITY dhdate "<date>August 9, 2021</date>">
<!ENTITY dhsection "<manvolnum>1</manvolnum>">
<!ENTITY dhemail "<email>debian@damianv.com.ar</email>">
<!ENTITY dhusername "&dhfirstname; &dhsurname;">
@@ -20,7 +20,7 @@
<refentry>
<refentryinfo>
<title>SlackBuilds.org</title>
- <productname>&dhpackage;</productname>
+ <productname>&dhpackage; 0.3.4</productname>
<address>
&dhemail;
</address>
@@ -58,7 +58,7 @@
<para>This manual page was written for the &debian; distribution
because the original program does not have a manual page.</para>
- <para><command>&dhpackage;</command> is a wrapper for X terminal emulators that provide a drop-down terminal embedding other terminal emulators</para>
+ <para><command>&dhpackage;</command> is a wrapper for X terminal emulators that provides a drop-down terminal embedding other terminal emulators</para>
</refsect1>
<refsect1>
@@ -71,7 +71,7 @@
<term><option>-h</option>
</term>
<listitem>
- <para>Show summary of options and supported xresources.</para>
+ <para>Show summary of options and supported X resources.</para>
</listitem>
</varlistentry>
<varlistentry>
@@ -121,7 +121,7 @@
<term><option>xOffset</option>
</term>
<listitem>
- <para>x position. Default is set to 0.</para>
+ <para>x position. Default is 0.</para>
</listitem>
</varlistentry>
<varlistentry>
@@ -135,7 +135,7 @@
<term><option>stepSize</option>
</term>
<listitem>
- <para>step size in pixels for the animation 0 will disable the animation. Default is set 1.</para>
+ <para>step size in pixels for the animation. 0 will disable the animation. Default is 1.</para>
</listitem>
</varlistentry>
<varlistentry>
@@ -197,9 +197,12 @@
the terms of the &gnu; General Public License, Version 2 any
later version published by the Free Software Foundation.
</para>
+ <para>This man page has been modified slightly by B. Watson for
+ the SlackBuilds.org project.
+ </para>
<para>
- On Debian systems, the complete text of the GNU General Public
- License can be found in /usr/share/common-licenses/GPL.
+ The complete text of the GNU General Public
+ License can be found at https://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.
</para>
</refsect1>