system/bicon: New maintainer.

Signed-off-by: B. Watson <yalhcru@gmail.com>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
B. Watson 2022-01-10 17:38:58 -05:00 committed by Willy Sudiarto Raharjo
parent 21b2d5a933
commit d6b7156847
No known key found for this signature in database
GPG key ID: 3F617144D7238786
5 changed files with 36 additions and 64 deletions

View file

@ -1,21 +1,16 @@
BiCon: a Bidirectional Console BiCon: a Bidirectional Console
BiCon can be used under Linux console, or terminal emulators with BiCon can be used under the Linux console, or terminal emulators with
basic Unicode rendering (UTF-8). basic Unicode rendering (UTF-8).
Run "bicon" to get a console supporting Arabic or Persian according Run "bicon" to get a console supporting Arabic or Persian according to
to LANG or specify the country on the command line, for instance: LANG or specify the country on the command line, for instance:
bicon ir # for Persian (Iran) bicon ir # for Persian (Iran)
Keymaps and fonts for Arabic and Persian are included. Keymaps and fonts for Arabic and Persian are included.
Use alt+shift to switch keyboard layouts in a graphical environment. Use alt+shift to switch keyboard layouts in a graphical environment.
To know more: For more information: "man bicon" and "man bicon.bin".
"man bicon"
and
"man bicon.bin"
See also /usr/doc/bicon-<VERSION>/README.Slackware for BiCon's usage. See also /usr/doc/bicon-<VERSION>/README.Slackware for BiCon's usage.
BiCon is maintained by Behdad Esfahbod.

View file

@ -14,31 +14,31 @@ depends whether the "bicon" command is given or not an argument.
1) If started as "bicon" from the console. 1) If started as "bicon" from the console.
If a two characters country code is given as argument it is considered If a two character country code is given as argument it is considered
to choose the keymap, else the country (or "territory" to be accurate) to choose the keymap, else the country (or "territory" to be accurate)
part of LANG is used. part of LANG is used.
_ If the country (converted to lowercase letters) is found in this list: - If the country (converted to lowercase letters) is found in this list:
ae dz eg iq jo ko kw lb ly ma om qa sa sd sy tn ye ae dz eg iq jo ko kw lb ly ma om qa sa sd sy tn ye
then the keymap "arabic" is chosen. then the keymap "arabic" is chosen.
_ If the country is "IR" or "ir" then the keymap "ir" is chosen. - If the country is "IR" or "ir" then the keymap "ir" is chosen.
The font bicon-8x16-512 is always used with its Unicode map. The font bicon-8x16-512 is always used with its Unicode map.
IMPORTANT. You won't be able to use the "setfont" command after having IMPORTANT. You won't be able to use the "setfont" command after having
started bicon as a regular user. You will have to tentatively become root started bicon as a regular user. You will have to temporarily become root
with "su" to change the font if you want. with "su" to change the font if you want.
2) If started as "bicon" from an X terminal. 2) If started as "bicon" from an X terminal.
You will need to use an UTF-8 able or enabled terminal. You will need to use an UTF-8 capable or enabled terminal.
A switchable keyboard layout (us + the language that correspond to the A switchable keyboard layout (US + the language that corresponds to the
country set by the user or found in LANG) is set. country set by the user or found in LANG) is set.
IMPORTANT: IMPORTANT:
_ BiCon doesn't set the font. You'll have to do that yourself. Be careful - BiCon doesn't set the font. You'll have to do that yourself. Be careful
to use a font including the needed glyphs. to use a font including the needed glyphs.
_ BiCon sets the "option" for the X server to: - BiCon sets the "option" for the X server to:
"grp:alt_shift_toggle,grp_led:scroll" "grp:alt_shift_toggle,grp_led:scroll"
and the "layout" to: and the "layout" to:
"us,<ir or (country code)>" "us,<ir or (country code)>"
@ -55,14 +55,14 @@ one (after having started BiCon, of course):
-print | \ -print | \
xkbcomp -w 2 - "$DISPLAY" xkbcomp -w 2 - "$DISPLAY"
3) If started as bicon.bin, BiCon doesn't load any font or keyboard. 3) If started as bicon.bin, BiCon doesn't load any font or keymap.
You might prefer it that way if you want to keep your own settings. You might prefer it that way if you want to keep your own settings.
Reference: file bin/bicon.in in the source archive. Reference: file bin/bicon.in in the source archive.
See also: See also:
_ man bicon - man bicon
_ man bicon.bin - man bicon.bin
_ documents in /usr/doc/bicon-<version> - documents in /usr/doc/bicon-<version>
Didier Spaier <didier at slint dot fr>, 27/07/2015 Didier Spaier <didier at slint dot fr>, 27/07/2015

View file

@ -2,31 +2,22 @@
# Slackware build script for bicon # Slackware build script for bicon
# Copyright 2015 Didier Spaier Paris, France # Originally written by Didier Spaier Paris, France
# All rights reserved. # Now maintained by B. Watson (yalhcru@gmail.com)
#
# Redistribution and use of this script, with or without modification, is # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
# permitted provided that the following conditions are met:
# # 20220110 bkw:
# 1. Redistributions of this script must retain the above copyright # - take over maintenance.
# notice, this list of conditions and the following disclaimer. # - relicense as WTFPL.
# # - simplify build.
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED # - slight grammar/typo fixes.
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
cd $(dirname $0) ; CWD=$(pwd) cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=bicon PRGNAM=bicon
VERSION=${VERSION:-0.5} VERSION=${VERSION:-0.5}
BUILD=${BUILD:-1} BUILD=${BUILD:-2}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz} PKGTYPE=${PKGTYPE:-tgz}
@ -38,9 +29,6 @@ if [ -z "$ARCH" ]; then
esac esac
fi 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 if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0 exit 0
@ -73,13 +61,8 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION cd $PRGNAM-$VERSION
chown -R root:root . chown -R root:root .
find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
find -L . \ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
\( -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 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
./autogen.sh ./autogen.sh
CFLAGS="$SLKCFLAGS" \ CFLAGS="$SLKCFLAGS" \
@ -94,19 +77,13 @@ CFLAGS="$SLKCFLAGS" \
--build=$ARCH-slackware-linux --build=$ARCH-slackware-linux
make make
make install DESTDIR=$PKG make install-strip DESTDIR=$PKG
gzip -9 $PKG/usr/man/man*/*
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS NEWS README THANKS TODO COPYING $PKG/usr/doc/$PRGNAM-$VERSION cp -a AUTHORS NEWS README THANKS TODO COPYING $PKG/usr/doc/$PRGNAM-$VERSION
# The file HISTORY is missing in the source tarball but can be of interest # This is missing in the source tarball but could be of interest to some:
# to some.
cp $CWD/HISTORY $PKG/usr/doc/$PRGNAM-$VERSION cp $CWD/HISTORY $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild

View file

@ -6,5 +6,5 @@ MD5SUM="862972ed260f9e74277b8eeb7c81e126"
DOWNLOAD_x86_64="" DOWNLOAD_x86_64=""
MD5SUM_x86_64="" MD5SUM_x86_64=""
REQUIRES="" REQUIRES=""
MAINTAINER="Didier Spaier" MAINTAINER="B. Watson"
EMAIL="didier at slint dot fr" EMAIL="yalhcru@gmail.com"

View file

@ -8,7 +8,7 @@
|-----handy-ruler------------------------------------------------------| |-----handy-ruler------------------------------------------------------|
bicon: bicon (a Bidirectional Console) bicon: bicon (a Bidirectional Console)
bicon: bicon:
bicon: BiCon can be used under Linux console, or terminal emulators with bicon: BiCon can be used under the Linux console, or terminal emulators with
bicon: basic Unicode rendering (UTF-8). bicon: basic Unicode rendering (UTF-8).
bicon: bicon:
bicon: Run "bicon" to get a console supporting Arabic or Persian according bicon: Run "bicon" to get a console supporting Arabic or Persian according