summaryrefslogtreecommitdiff
path: root/source/x
diff options
context:
space:
mode:
Diffstat (limited to 'source/x')
-rwxr-xr-xsource/x/anthy-unicode/anthy-unicode.SlackBuild (renamed from source/x/anthy/anthy.SlackBuild)35
-rw-r--r--source/x/anthy-unicode/anthy-unicode.url1
-rw-r--r--source/x/anthy-unicode/doinst.sh15
-rw-r--r--source/x/anthy-unicode/slack-desc19
-rw-r--r--source/x/anthy/slack-desc19
-rwxr-xr-xsource/x/fcitx-configtool/fcitx-configtool.SlackBuild110
-rw-r--r--source/x/fcitx-configtool/fcitx-configtool.url1
-rw-r--r--source/x/fcitx-configtool/slack-desc19
-rwxr-xr-xsource/x/fcitx-libpinyin/fcitx-libpinyin.SlackBuild121
-rw-r--r--source/x/fcitx-libpinyin/slack-desc19
-rwxr-xr-xsource/x/fcitx-sayura/fcitx-sayura.SlackBuild108
-rw-r--r--source/x/fcitx-sayura/slack-desc18
-rw-r--r--source/x/fcitx-table-extra/slack-desc19
-rwxr-xr-xsource/x/fcitx-table-other/fcitx-table-other.SlackBuild105
-rw-r--r--source/x/fcitx-table-other/slack-desc19
-rwxr-xr-xsource/x/fcitx-unikey/fcitx-unikey.SlackBuild108
-rw-r--r--source/x/fcitx-unikey/slack-desc18
-rw-r--r--source/x/fcitx/fcitx-autostart.patch30
-rw-r--r--source/x/fcitx/slack-desc19
-rwxr-xr-xsource/x/fcitx5-anthy/fcitx5-anthy.SlackBuild (renamed from source/x/fcitx-anthy/fcitx-anthy.SlackBuild)16
-rw-r--r--source/x/fcitx5-anthy/fcitx5-anthy.url1
-rw-r--r--source/x/fcitx5-anthy/slack-desc (renamed from source/x/fcitx-hangul/slack-desc)20
-rwxr-xr-xsource/x/fcitx5-chinese-addons/fcitx5-chinese-addons.SlackBuild106
-rw-r--r--source/x/fcitx5-chinese-addons/fcitx5-chinese-addons.url1
-rw-r--r--source/x/fcitx5-chinese-addons/slack-desc19
-rw-r--r--source/x/fcitx5-gtk/doinst.sh4
-rwxr-xr-xsource/x/fcitx5-gtk/fcitx5-gtk.SlackBuild107
-rw-r--r--source/x/fcitx5-gtk/fcitx5-gtk.url1
-rw-r--r--source/x/fcitx5-gtk/slack-desc (renamed from source/x/fcitx-m17n/slack-desc)21
-rwxr-xr-xsource/x/fcitx5-hangul/fcitx5-hangul.SlackBuild (renamed from source/x/fcitx-qt5/fcitx-qt5.SlackBuild)16
-rw-r--r--source/x/fcitx5-hangul/fcitx5-hangul.url1
-rw-r--r--source/x/fcitx5-hangul/slack-desc18
-rwxr-xr-xsource/x/fcitx5-kkc/fcitx5-kkc.SlackBuild (renamed from source/x/fcitx-kkc/fcitx-kkc.SlackBuild)18
-rw-r--r--source/x/fcitx5-kkc/fcitx5-kkc.url1
-rw-r--r--source/x/fcitx5-kkc/slack-desc19
-rwxr-xr-xsource/x/fcitx5-m17n/fcitx5-m17n.SlackBuild (renamed from source/x/fcitx-m17n/fcitx-m17n.SlackBuild)18
-rw-r--r--source/x/fcitx5-m17n/fcitx5-m17n.url1
-rw-r--r--source/x/fcitx5-m17n/slack-desc (renamed from source/x/fcitx-anthy/slack-desc)20
-rwxr-xr-xsource/x/fcitx5-qt/fcitx5-qt.SlackBuild (renamed from source/x/fcitx-hangul/fcitx-hangul.SlackBuild)19
-rw-r--r--source/x/fcitx5-qt/fcitx5-qt.url1
-rw-r--r--source/x/fcitx5-qt/slack-desc (renamed from source/x/fcitx-qt5/slack-desc)22
-rwxr-xr-xsource/x/fcitx5-sayura/fcitx5-sayura.SlackBuild106
-rw-r--r--source/x/fcitx5-sayura/fcitx5-sayura.url1
-rw-r--r--source/x/fcitx5-sayura/slack-desc18
-rwxr-xr-xsource/x/fcitx5-table-extra/fcitx5-table-extra.SlackBuild (renamed from source/x/fcitx-table-extra/fcitx-table-extra.SlackBuild)18
-rw-r--r--source/x/fcitx5-table-extra/fcitx5-table-extra.url1
-rw-r--r--source/x/fcitx5-table-extra/slack-desc19
-rwxr-xr-xsource/x/fcitx5-table-other/fcitx5-table-other.SlackBuild106
-rw-r--r--source/x/fcitx5-table-other/fcitx5-table-other.url1
-rw-r--r--source/x/fcitx5-table-other/slack-desc19
-rwxr-xr-xsource/x/fcitx5-unikey/fcitx5-unikey.SlackBuild106
-rw-r--r--source/x/fcitx5-unikey/fcitx5-unikey.url1
-rw-r--r--source/x/fcitx5-unikey/slack-desc (renamed from source/x/fcitx-kkc/slack-desc)23
-rw-r--r--source/x/fcitx5/doinst.sh (renamed from source/x/fcitx/doinst.sh)4
-rwxr-xr-xsource/x/fcitx5/fcitx5-autostart36
-rwxr-xr-xsource/x/fcitx5/fcitx5.SlackBuild (renamed from source/x/fcitx/fcitx.SlackBuild)42
-rw-r--r--source/x/fcitx5/fcitx5.url1
-rw-r--r--source/x/fcitx5/slack-desc19
-rwxr-xr-xsource/x/ibus-anthy/ibus-anthy.SlackBuild2
-rw-r--r--source/x/ibus/ibus-autostart2
-rwxr-xr-xsource/x/ibus/ibus.SlackBuild4
-rwxr-xr-xsource/x/libime/libime.SlackBuild109
-rw-r--r--source/x/libime/libime.url1
-rw-r--r--source/x/libime/slack-desc19
-rwxr-xr-xsource/x/m17n-lib/m17n-lib.SlackBuild2
-rwxr-xr-xsource/x/skkdic/skkdic.SlackBuild24
-rw-r--r--source/x/skkdic/skkdic.url2
-rw-r--r--source/x/x11-skel/manpages/imconfig.125
-rw-r--r--source/x/x11-skel/scripts/imconfig146
-rwxr-xr-xsource/x/x11-skel/x11-skel.SlackBuild4
-rw-r--r--source/x/xcb-imdkit/slack-desc19
-rwxr-xr-xsource/x/xcb-imdkit/xcb-imdkit.SlackBuild111
-rw-r--r--source/x/xcb-imdkit/xcb-imdkit.url1
73 files changed, 1324 insertions, 921 deletions
diff --git a/source/x/anthy/anthy.SlackBuild b/source/x/anthy-unicode/anthy-unicode.SlackBuild
index 9ba974ff..af7fa15f 100755
--- a/source/x/anthy/anthy.SlackBuild
+++ b/source/x/anthy-unicode/anthy-unicode.SlackBuild
@@ -21,22 +21,12 @@
# 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.
-# -----------------------------------------------------------------------------
-#
-# Slackware SlackBuild script
-# ===========================
-# By: Eric Hameleers <alien@slackware.com>
-# For: anthy
-# Descr: a system for Japanese input method
-# URL: http://anthy.sourceforge.jp/
-#
-# -----------------------------------------------------------------------------
cd $(dirname $0) ; CWD=$(pwd)
-PKGNAM=anthy
+PKGNAM=anthy-unicode
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-4}
+BUILD=${BUILD:-1}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
@@ -109,6 +99,9 @@ make DESTDIR=$PKG install || exit 1
# Don't ship .la files:
rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+# Don't clobber config files
+mv $PKG/etc/anthy-unicode.conf $PKG/etc/anthy-unicode.conf.new
+
# Add documentation:
mkdir -p $PKG/usr/doc/$PKGNAM-$VERSION
cp -a \
@@ -116,30 +109,14 @@ cp -a \
$PKG/usr/doc/$PKGNAM-$VERSION
find $PKG/usr/doc -type f -exec chmod 644 {} \+
-# If there's a ChangeLog, installing at least part of the recent history
-# is useful, but don't let it get totally out of control:
-if [ -r ChangeLog ]; then
- DOCSDIR=$(echo $PKG/usr/doc/${PKGNAM}-$VERSION)
- cat ChangeLog | head -n 1000 > $DOCSDIR/ChangeLog
- touch -r ChangeLog $DOCSDIR/ChangeLog
-fi
-
-# Compress the man page(s):
-if [ -d $PKG/usr/man ]; then
- find $PKG/usr/man -type f -name "*.?" -exec gzip -9f {} \+
- for i in $(find $PKG/usr/man -type l -name "*.?") ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-fi
-
# 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
# Add a package description:
mkdir -p $PKG/install
+zcat $CWD/doinst.sh.gz > $PKG/install/doinst.sh
cat $CWD/slack-desc > $PKG/install/slack-desc
-if [ -f $CWD/doinst.sh ]; then
- cat $CWD/doinst.sh >> $PKG/install/doinst.sh
-fi
# Build the package:
cd $PKG
diff --git a/source/x/anthy-unicode/anthy-unicode.url b/source/x/anthy-unicode/anthy-unicode.url
new file mode 100644
index 00000000..633181be
--- /dev/null
+++ b/source/x/anthy-unicode/anthy-unicode.url
@@ -0,0 +1 @@
+https://github.com/fujiwarat/anthy-unicode/releases
diff --git a/source/x/anthy-unicode/doinst.sh b/source/x/anthy-unicode/doinst.sh
new file mode 100644
index 00000000..cc7172da
--- /dev/null
+++ b/source/x/anthy-unicode/doinst.sh
@@ -0,0 +1,15 @@
+#!/bin/sh
+config() {
+ NEW="$1"
+ OLD="`dirname $NEW`/`basename $NEW .new`"
+ # If there's no config file by that name, mv it over:
+ if [ ! -r $OLD ]; then
+ mv $NEW $OLD
+ elif [ "`cat $OLD | md5sum`" = "`cat $NEW | md5sum`" ]; then # toss the redundant copy
+ rm $NEW
+ fi
+ # Otherwise, we leave the .new copy for the admin to consider...
+}
+
+config etc/anthy-unicode.conf.new
+
diff --git a/source/x/anthy-unicode/slack-desc b/source/x/anthy-unicode/slack-desc
new file mode 100644
index 00000000..d6e0741b
--- /dev/null
+++ b/source/x/anthy-unicode/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description. Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in. You must
+# make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':'.
+
+ |-----handy-ruler------------------------------------------------------|
+anthy-unicode: anthy-unicode (A library for Japanese text input)
+anthy-unicode:
+anthy-unicode: Anthy is a library for Japanese text input. It converts Hiragana text
+anthy-unicode: to Kana Kanji mixed text.
+anthy-unicode:
+anthy-unicode: Homepage: https://github.com/fujiwarat/anthy-unicode
+anthy-unicode:
+anthy-unicode:
+anthy-unicode:
+anthy-unicode:
+anthy-unicode:
diff --git a/source/x/anthy/slack-desc b/source/x/anthy/slack-desc
deleted file mode 100644
index 1de00da2..00000000
--- a/source/x/anthy/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description. Line
-# up the first '|' above the ':' following the base package name, and the '|'
-# on the right side marks the last column you can put a character in. You must
-# make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':'.
-
- |-----handy-ruler------------------------------------------------------|
-anthy: anthy (a system for Japanese input method)
-anthy:
-anthy: Anthy is a library for Japanese text input. It converts Hiragana text
-anthy: to Kana Kanji mixed text.
-anthy:
-anthy: anthy home: http://anthy.sourceforge.jp/
-anthy:
-anthy:
-anthy:
-anthy:
-anthy:
diff --git a/source/x/fcitx-configtool/fcitx-configtool.SlackBuild b/source/x/fcitx-configtool/fcitx-configtool.SlackBuild
deleted file mode 100755
index afbc128a..00000000
--- a/source/x/fcitx-configtool/fcitx-configtool.SlackBuild
+++ /dev/null
@@ -1,110 +0,0 @@
-#!/bin/bash
-
-# Slackware build script for fcitx.
-
-# Copyright 2017 Heinz Wiesinger, Amsterdam, The Netherlands
-# Copyright 2017, 2020 Patrick J. Volkerding, Sebeka, MN, USA
-#
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
-# 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)
-
-PKGNAM=fcitx-configtool
-VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | cut -f 2- -d _ | rev)}
-BUILD=${BUILD:-3}
-
-NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
-
-# Automatically determine the architecture we're building on:
-MARCH=$( uname -m )
-if [ -z "$ARCH" ]; then
- case "$MARCH" in
- i?86) export ARCH=i586 ;;
- armv7hl) export ARCH=$MARCH ;;
- arm*) export ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
- *) export ARCH=$MARCH ;;
- esac
-fi
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "s390" ]; then
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX="64"
-elif [ "$ARCH" = "armv7hl" ]; then
- SLKCFLAGS="-O2 -march=armv7-a -mfpu=vfpv3-d16"
- LIBDIRSUFFIX=""
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-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 "$PKGNAM-$VERSION-$ARCH-$BUILD.txz"
- exit 0
-fi
-
-TMP=${TMP:-/tmp}
-PKG=$TMP/package-fcitx
-
-rm -rf $PKG
-mkdir -p $TMP $PKG
-cd $TMP
-rm -rf fcitx-configtool-$VERSION
-tar xvf $CWD/fcitx-configtool-${VERSION}.tar.?z || exit 1
-cd fcitx-configtool-$VERSION || exit 1
-
-chown -R root:root .
-find . \
- \( -perm 777 -o -perm 775 -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 {} \+
-
-mkdir build
-cd build
- cmake \
- -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON \
- -DCMAKE_C_FLAGS:STRING="${SLKCFLAGS}" \
- -DCMAKE_CXX_FLAGS:STRING="${SLKCFLAGS}" \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DLIB_INSTALL_DIR=/usr/lib${LIBDIRSUFFIX} \
- ..
- make $NUMJOBS || make || exit 1
- make install/strip DESTDIR=$PKG || exit 1
-cd ..
-
-mkdir -p $PKG/usr/doc/$PKGNAM-$VERSION
-cp -a COPYING INSTALL README \
- $PKG/usr/doc/$PKGNAM-$VERSION
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-
-cd $PKG
-/sbin/makepkg -l y -c n $TMP/$PKGNAM-$VERSION-$ARCH-$BUILD.txz
diff --git a/source/x/fcitx-configtool/fcitx-configtool.url b/source/x/fcitx-configtool/fcitx-configtool.url
deleted file mode 100644
index 34012df2..00000000
--- a/source/x/fcitx-configtool/fcitx-configtool.url
+++ /dev/null
@@ -1 +0,0 @@
-https://download.fcitx-im.org/fcitx-configtool
diff --git a/source/x/fcitx-configtool/slack-desc b/source/x/fcitx-configtool/slack-desc
deleted file mode 100644
index 88e431f6..00000000
--- a/source/x/fcitx-configtool/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-fcitx-configtool: fcitx-configtool (GTK based config tool for Fcitx)
-fcitx-configtool:
-fcitx-configtool: fcitx-configtool is a GTK3 based configuration tool for Fcitx.
-fcitx-configtool:
-fcitx-configtool: Homepage: https://fcitx-im.org/wiki/Fcitx
-fcitx-configtool:
-fcitx-configtool:
-fcitx-configtool:
-fcitx-configtool:
-fcitx-configtool:
-fcitx-configtool:
diff --git a/source/x/fcitx-libpinyin/fcitx-libpinyin.SlackBuild b/source/x/fcitx-libpinyin/fcitx-libpinyin.SlackBuild
deleted file mode 100755
index 88a02b5d..00000000
--- a/source/x/fcitx-libpinyin/fcitx-libpinyin.SlackBuild
+++ /dev/null
@@ -1,121 +0,0 @@
-#!/bin/bash
-
-# Slackware build script for fcitx-libpinyin
-
-# Copyright 2017 Heinz Wiesinger, Amsterdam, The Netherlands
-# Copyright 2017, 2020, 2021 Patrick J. Volkerding, Sebeka, MN, USA
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
-# 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)
-
-PKGNAM=fcitx-libpinyin
-VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d- | rev)}
-BUILD=${BUILD:-2}
-
-NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
-
-# Automatically determine the architecture we're building on:
-MARCH=$( uname -m )
-if [ -z "$ARCH" ]; then
- case "$MARCH" in
- i?86) export ARCH=i586 ;;
- armv7hl) export ARCH=$MARCH ;;
- arm*) export ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
- *) export ARCH=$MARCH ;;
- esac
-fi
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "s390" ]; then
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-elif [ "$ARCH" = "armv7hl" ]; then
- SLKCFLAGS="-O3 -march=armv7-a -mfpu=vfpv3-d16"
- LIBDIRSUFFIX=""
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-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 "$PKGNAM-$VERSION-$ARCH-$BUILD.txz"
- exit 0
-fi
-
-TMP=${TMP:-/tmp}
-PKG=$TMP/package-fcitx-libpinyin
-
-rm -rf $PKG
-mkdir -p $TMP $PKG
-cd $TMP
-rm -rf fcitx-libpinyin-$VERSION
-tar xvf $CWD/fcitx-libpinyin-$VERSION.tar.?z* || exit 1
-cd fcitx-libpinyin-$VERSION || exit 1
-
-chown -R root:root .
-find . \
- \( -perm 777 -o -perm 775 -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 {} \+
-
-# Extract model.text.* from the dict tarball:
-( cd $TMP
- tar xf $CWD/dict/*.tar.* $(tar tf $CWD/dict/*.tar.* | grep model.text)
-)
-
-mkdir cmake-build
-cd cmake-build
- cmake \
- -DCMAKE_CXX_FLAGS="${SLKCFLAGS}" \
- -DCMAKE_C_FLAGS="${SLKCFLAGS}" \
- -DCMAKE_INSTALL_PREFIX="/usr" \
- -DLIBPINYIN_PKGDATADIR=/usr/share/fcitx/libpinyin/zhuyin_data \
- -DLIB_SUFFIX=${LIBDIRSUFFIX} \
- -DENABLE_QT=OFF \
- ..
-
- make $NUMJOBS || make || exit 1
- make install DESTDIR=$PKG || exit 1
-cd ..
-
-# 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
-
-mkdir -p $PKG/usr/doc/$PKGNAM-$VERSION
-cp -a COPYING $PKG/usr/doc/$PKGNAM-$VERSION
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-
-cd $PKG
-/sbin/makepkg -l y -c n $TMP/$PKGNAM-$VERSION-$ARCH-$BUILD.txz
diff --git a/source/x/fcitx-libpinyin/slack-desc b/source/x/fcitx-libpinyin/slack-desc
deleted file mode 100644
index 6f55e6de..00000000
--- a/source/x/fcitx-libpinyin/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-fcitx-libpinyin: fcitx-libpinyin (libpinyin wrapper for Fcitx)
-fcitx-libpinyin:
-fcitx-libpinyin: libpinyin wrapper for Fcitx.
-fcitx-libpinyin:
-fcitx-libpinyin: Homepage: https://fcitx-im.org/wiki/Fcitx
-fcitx-libpinyin:
-fcitx-libpinyin:
-fcitx-libpinyin:
-fcitx-libpinyin:
-fcitx-libpinyin:
-fcitx-libpinyin:
diff --git a/source/x/fcitx-sayura/fcitx-sayura.SlackBuild b/source/x/fcitx-sayura/fcitx-sayura.SlackBuild
deleted file mode 100755
index 687785c3..00000000
--- a/source/x/fcitx-sayura/fcitx-sayura.SlackBuild
+++ /dev/null
@@ -1,108 +0,0 @@
-#!/bin/bash
-
-# Slackware build script for fcitx-sayura
-
-# Copyright 2016 Heinz Wiesinger, Amsterdam, The Netherlands
-# Copyright 2016, 2020 Patrick J. Volkerding, Sebeka, MN, USA
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
-# 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)
-
-PKGNAM=fcitx-sayura
-VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d- | rev)}
-BUILD=${BUILD:-3}
-
-NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
-
-# Automatically determine the architecture we're building on:
-MARCH=$( uname -m )
-if [ -z "$ARCH" ]; then
- case "$MARCH" in
- i?86) export ARCH=i586 ;;
- armv7hl) export ARCH=$MARCH ;;
- arm*) export ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
- *) export ARCH=$MARCH ;;
- esac
-fi
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "s390" ]; then
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-elif [ "$ARCH" = "armv7hl" ]; then
- SLKCFLAGS="-O2 -march=armv7-a -mfpu=vfpv3-d16"
- LIBDIRSUFFIX=""
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-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 "$PKGNAM-$VERSION-$ARCH-$BUILD.txz"
- exit 0
-fi
-
-TMP=${TMP:-/tmp}
-PKG=$TMP/package-fcitx-sayura
-
-rm -rf $PKG
-mkdir -p $TMP $PKG
-cd $TMP
-rm -rf fcitx-sayura-$VERSION
-tar xvf $CWD/fcitx-sayura-$VERSION.tar.?z || exit 1
-cd fcitx-sayura-$VERSION || exit 1
-chown -R root:root .
-
-find . \
- \( -perm 777 -o -perm 775 -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 {} \+
-
-mkdir build
-cd build
- cmake \
- -DCMAKE_CXX_FLAGS="${SLKCFLAGS}" \
- -DCMAKE_C_FLAGS="${SLKCFLAGS}" \
- -DCMAKE_INSTALL_PREFIX="/usr" \
- -DLIB_SUFFIX=${LIBDIRSUFFIX} \
- ..
-
- make $NUMJOBS || make || exit 1
- make install/strip DESTDIR=$PKG || exit 1
-cd ..
-
-mkdir -p $PKG/usr/doc/$PKGNAM-$VERSION
-cp -a README.md $PKG/usr/doc/$PKGNAM-$VERSION
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-
-cd $PKG
-/sbin/makepkg -l y -c n $TMP/$PKGNAM-$VERSION-$ARCH-$BUILD.txz
diff --git a/source/x/fcitx-sayura/slack-desc b/source/x/fcitx-sayura/slack-desc
deleted file mode 100644
index 5a277c9a..00000000
--- a/source/x/fcitx-sayura/slack-desc
+++ /dev/null
@@ -1,18 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-fcitx-sayura: fcitx-sayura (Sinhala input method for fcitx)
-fcitx-sayura:
-fcitx-sayura: Fcitx-Sayura is a Sinhala input method for Fcitx.
-fcitx-sayura:
-fcitx-sayura: Homepage: https://fcitx-im.org/wiki/Fcitx
-fcitx-sayura:
-fcitx-sayura:
-fcitx-sayura:
-fcitx-sayura:
-fcitx-sayura:
diff --git a/source/x/fcitx-table-extra/slack-desc b/source/x/fcitx-table-extra/slack-desc
deleted file mode 100644
index a7dcf89f..00000000
--- a/source/x/fcitx-table-extra/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-fcitx-table-extra: fcitx-table-extra (extra tables for fcitx)
-fcitx-table-extra:
-fcitx-table-extra: fcitx-table-extra provides extra tables for Fcitx, including Boshiamy,
-fcitx-table-extra: Zhengma, Cangjie, and Quick.
-fcitx-table-extra:
-fcitx-table-extra: Homepage: https://fcitx-im.org/wiki/Fcitx
-fcitx-table-extra:
-fcitx-table-extra:
-fcitx-table-extra:
-fcitx-table-extra:
-fcitx-table-extra:
diff --git a/source/x/fcitx-table-other/fcitx-table-other.SlackBuild b/source/x/fcitx-table-other/fcitx-table-other.SlackBuild
deleted file mode 100755
index 03e90bc4..00000000
--- a/source/x/fcitx-table-other/fcitx-table-other.SlackBuild
+++ /dev/null
@@ -1,105 +0,0 @@
-#!/bin/bash
-
-# Slackware build script for fcitx-table-other
-
-# Copyright 2016 Heinz Wiesinger, Amsterdam, The Netherlands
-# Copyright 2016, 2020 Patrick J. Volkerding, Sebeka, MN, USA
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
-# 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)
-
-PKGNAM=fcitx-table-other
-VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d- | rev)}
-BUILD=${BUILD:-3}
-
-NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
-
-# Automatically determine the architecture we're building on:
-MARCH=$( uname -m )
-if [ -z "$ARCH" ]; then
- case "$MARCH" in
- i?86) export ARCH=i586 ;;
- armv7hl) export ARCH=$MARCH ;;
- arm*) export ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
- *) export ARCH=$MARCH ;;
- esac
-fi
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "s390" ]; then
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-elif [ "$ARCH" = "armv7hl" ]; then
- SLKCFLAGS="-O2 -march=armv7-a -mfpu=vfpv3-d16"
- LIBDIRSUFFIX=""
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-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 "$PKGNAM-$VERSION-$ARCH-$BUILD.txz"
- exit 0
-fi
-
-TMP=${TMP:-/tmp}
-PKG=$TMP/package-fcitx-table-other
-
-rm -rf $PKG
-mkdir -p $TMP $PKG
-cd $TMP
-rm -rf fcitx-table-other-$VERSION
-tar xvf $CWD/fcitx-table-other-$VERSION.tar.?z || exit 1
-cd fcitx-table-other-$VERSION || exit 1
-
-chown -R root:root .
-find . \
- \( -perm 777 -o -perm 775 -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 {} \+
-
-cmake \
- -DCMAKE_CXX_FLAGS="${SLKCFLAGS}" \
- -DCMAKE_C_FLAGS="${SLKCFLAGS}" \
- -DCMAKE_INSTALL_PREFIX="/usr" \
- -DLIB_SUFFIX=${LIBDIRSUFFIX} \
- .
-
-make $NUMJOBS || make || exit 1
-make install DESTDIR=$PKG || exit 1
-
-mkdir -p $PKG/usr/doc/$PKGNAM-$VERSION
-cp -a COPYING $PKG/usr/doc/$PKGNAM-$VERSION
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-
-cd $PKG
-/sbin/makepkg -l y -c n $TMP/$PKGNAM-$VERSION-$ARCH-$BUILD.txz
diff --git a/source/x/fcitx-table-other/slack-desc b/source/x/fcitx-table-other/slack-desc
deleted file mode 100644
index 3c50ceab..00000000
--- a/source/x/fcitx-table-other/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-fcitx-table-other: fcitx-table-other (other tables for fcitx)
-fcitx-table-other:
-fcitx-table-other: fcitx-table-other provides some other tables for Fcitx, forked from
-fcitx-table-other: ibus-table-others and scim-tables.
-fcitx-table-other:
-fcitx-table-other: Homepage: https://fcitx-im.org/wiki/Fcitx
-fcitx-table-other:
-fcitx-table-other:
-fcitx-table-other:
-fcitx-table-other:
-fcitx-table-other:
diff --git a/source/x/fcitx-unikey/fcitx-unikey.SlackBuild b/source/x/fcitx-unikey/fcitx-unikey.SlackBuild
deleted file mode 100755
index b212a4f1..00000000
--- a/source/x/fcitx-unikey/fcitx-unikey.SlackBuild
+++ /dev/null
@@ -1,108 +0,0 @@
-#!/bin/bash
-
-# Slackware build script for fcitx-unikey
-
-# Copyright 2016 Heinz Wiesinger, Amsterdam, The Netherlands
-# Copyright 2016, 2020 Patrick J. Volkerding, Sebeka, MN, USA
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
-# 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)
-
-PKGNAM=fcitx-unikey
-VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d- | rev)}
-BUILD=${BUILD:-3}
-
-NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
-
-# Automatically determine the architecture we're building on:
-MARCH=$( uname -m )
-if [ -z "$ARCH" ]; then
- case "$MARCH" in
- i?86) export ARCH=i586 ;;
- armv7hl) export ARCH=$MARCH ;;
- arm*) export ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
- *) export ARCH=$MARCH ;;
- esac
-fi
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "s390" ]; then
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-elif [ "$ARCH" = "armv7hl" ]; then
- SLKCFLAGS="-O2 -march=armv7-a -mfpu=vfpv3-d16"
- LIBDIRSUFFIX=""
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-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 "$PKGNAM-$VERSION-$ARCH-$BUILD.txz"
- exit 0
-fi
-
-TMP=${TMP:-/tmp}
-PKG=$TMP/package-fcitx-unikey
-
-rm -rf $PKG
-mkdir -p $TMP $PKG
-cd $TMP
-rm -rf fcitx-unikey-$VERSION
-tar xvf $CWD/fcitx-unikey-$VERSION.tar.?z || exit 1
-cd fcitx-unikey-$VERSION || exit 1
-
-chown -R root:root .
-find . \
- \( -perm 777 -o -perm 775 -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 {} \+
-
-mkdir build
-cd build
- cmake \
- -DCMAKE_CXX_FLAGS="${SLKCFLAGS}" \
- -DCMAKE_C_FLAGS="${SLKCFLAGS}" \
- -DCMAKE_INSTALL_PREFIX="/usr" \
- -DLIB_SUFFIX=${LIBDIRSUFFIX} \
- ..
-
- make $NUMJOBS || make || exit 1
- make install/strip DESTDIR=$PKG || exit 1
-cd ..
-
-mkdir -p $PKG/usr/doc/$PKGNAM-$VERSION
-cp -a COPYING $PKG/usr/doc/$PKGNAM-$VERSION
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-
-cd $PKG
-/sbin/makepkg -l y -c n $TMP/$PKGNAM-$VERSION-$ARCH-$BUILD.txz
diff --git a/source/x/fcitx-unikey/slack-desc b/source/x/fcitx-unikey/slack-desc
deleted file mode 100644
index 9a805566..00000000
--- a/source/x/fcitx-unikey/slack-desc
+++ /dev/null
@@ -1,18 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-fcitx-unikey: fcitx-unikey (Vietnamese input support for fcitx)
-fcitx-unikey:
-fcitx-unikey: Unikey (Vietnamese Input Method) engine support for Fcitx.
-fcitx-unikey:
-fcitx-unikey: Homepage: https://fcitx-im.org/wiki/Fcitx
-fcitx-unikey:
-fcitx-unikey:
-fcitx-unikey:
-fcitx-unikey:
-fcitx-unikey:
diff --git a/source/x/fcitx/fcitx-autostart.patch b/source/x/fcitx/fcitx-autostart.patch
deleted file mode 100644
index 10924fbe..00000000
--- a/source/x/fcitx/fcitx-autostart.patch
+++ /dev/null
@@ -1,30 +0,0 @@
---- fcitx-autostart.orig 2017-03-26 17:58:45.586105103 +0200
-+++ fcitx-autostart 2017-03-26 17:59:09.693105345 +0200
-@@ -1,4 +1,26 @@
--#!/bin/sh
-+#!/bin/bash
-+
-+START="no"
-+
-+if [ "$XIM" = "fcitx" ]; then
-+ START="yes"
-+fi
-+
-+if [ "$XIM_PROGRAM" = "fcitx" ]; then
-+ START="yes"
-+fi
-+
-+if [ "$GTK_IM_MODULE" = "fcitx" ]; then
-+ START="yes"
-+fi
-+
-+if [ "$QT_IM_MODULE" = "fcitx" ]; then
-+ START="yes"
-+fi
-+
-+if [ "$START" = "no" ]; then
-+ exit 0
-+fi
-
- # sleep for a little while to avoid duplicate startup
- sleep 2
diff --git a/source/x/fcitx/slack-desc b/source/x/fcitx/slack-desc
deleted file mode 100644
index c64bd1b5..00000000
--- a/source/x/fcitx/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-fcitx: fcitx (Input Method Framework)
-fcitx:
-fcitx: Fcitx is an input method framework with extension support. Currently
-fcitx: it supports Linux and Unix systems like freebsd. It has three built-
-fcitx: in Input Method Engine, Pinyin, QuWei and Table-based input methods.
-fcitx: Fcitx tries to provide a native feeling under all desktop as well as
-fcitx: a light weight core. You can easily customize it to fit your
-fcitx: requirements.
-fcitx:
-fcitx: Homepage: https://fcitx-im.org/wiki/Fcitx
-fcitx:
diff --git a/source/x/fcitx-anthy/fcitx-anthy.SlackBuild b/source/x/fcitx5-anthy/fcitx5-anthy.SlackBuild
index 6c60c204..9e8815dc 100755
--- a/source/x/fcitx-anthy/fcitx-anthy.SlackBuild
+++ b/source/x/fcitx5-anthy/fcitx5-anthy.SlackBuild
@@ -1,7 +1,5 @@
#!/bin/bash
-# Slackware build script for fcitx-anthy
-
# Copyright 2016 Heinz Wiesinger, Amsterdam, The Netherlands
# Copyright 2016, 2020 Patrick J. Volkerding, Sebeka, MN, USA
# All rights reserved.
@@ -25,7 +23,7 @@
cd $(dirname $0) ; CWD=$(pwd)
-PKGNAM=fcitx-anthy
+PKGNAM=fcitx5-anthy
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d- | rev)}
BUILD=${BUILD:-1}
@@ -69,14 +67,14 @@ if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
fi
TMP=${TMP:-/tmp}
-PKG=$TMP/package-fcitx-anthy
+PKG=$TMP/package-fcitx5-anthy
rm -rf $PKG
mkdir -p $TMP $PKG
cd $TMP
-rm -rf fcitx-anthy-$VERSION
-tar xvf $CWD/fcitx-anthy-$VERSION.tar.?z || exit 1
-cd fcitx-anthy-$VERSION || exit 1
+rm -rf fcitx5-anthy-$VERSION
+tar xvf $CWD/fcitx5-anthy-$VERSION.tar.?z || exit 1
+cd fcitx5-anthy-$VERSION || exit 1
chown -R root:root .
find . \
@@ -91,7 +89,7 @@ cd build
-DCMAKE_CXX_FLAGS="${SLKCFLAGS}" \
-DCMAKE_C_FLAGS="${SLKCFLAGS}" \
-DCMAKE_INSTALL_PREFIX="/usr" \
- -DLIB_SUFFIX=${LIBDIRSUFFIX} \
+ -DCMAKE_INSTALL_LIBDIR=lib${LIBDIRSUFFIX} \
..
make $NUMJOBS || make || exit 1
@@ -99,7 +97,7 @@ cd build
cd ..
mkdir -p $PKG/usr/doc/$PKGNAM-$VERSION
-cp -a COPYING $PKG/usr/doc/$PKGNAM-$VERSION
+cp -a LICENSES/* README* $PKG/usr/doc/$PKGNAM-$VERSION
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
diff --git a/source/x/fcitx5-anthy/fcitx5-anthy.url b/source/x/fcitx5-anthy/fcitx5-anthy.url
new file mode 100644
index 00000000..40e9a274
--- /dev/null
+++ b/source/x/fcitx5-anthy/fcitx5-anthy.url
@@ -0,0 +1 @@
+https://download.fcitx-im.org/fcitx5/fcitx5-anthy/
diff --git a/source/x/fcitx-hangul/slack-desc b/source/x/fcitx5-anthy/slack-desc
index 8ad9742b..227b4d7b 100644
--- a/source/x/fcitx-hangul/slack-desc
+++ b/source/x/fcitx5-anthy/slack-desc
@@ -6,13 +6,13 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
-fcitx-hangul: fcitx-hangul (Hangul wrapper for fcitx)
-fcitx-hangul:
-fcitx-hangul: Hangul Wrapper for Fcitx.
-fcitx-hangul:
-fcitx-hangul: Homepage: https://fcitx-im.org/wiki/Fcitx
-fcitx-hangul:
-fcitx-hangul:
-fcitx-hangul:
-fcitx-hangul:
-fcitx-hangul:
+fcitx5-anthy: fcitx5-anthy (Anthy wrapper for fcitx5)
+fcitx5-anthy:
+fcitx5-anthy: Anthy Wrapper for Fcitx5.
+fcitx5-anthy:
+fcitx5-anthy: Homepage: https://fcitx-im.org/wiki/Fcitx_5
+fcitx5-anthy:
+fcitx5-anthy:
+fcitx5-anthy:
+fcitx5-anthy:
+fcitx5-anthy:
diff --git a/source/x/fcitx5-chinese-addons/fcitx5-chinese-addons.SlackBuild b/source/x/fcitx5-chinese-addons/fcitx5-chinese-addons.SlackBuild
new file mode 100755
index 00000000..1580fca7
--- /dev/null
+++ b/source/x/fcitx5-chinese-addons/fcitx5-chinese-addons.SlackBuild
@@ -0,0 +1,106 @@
+#!/bin/bash
+
+# Copyright 2022 Heinz Wiesinger, Amsterdam, The Netherlands
+# Copyright 2022 Patrick J. Volkerding, Sebeka, MN, USA
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
+# 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)
+
+PKGNAM=fcitx5-chinese-addons
+VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d- | cut -f 2- -d _ | rev)}
+BUILD=${BUILD:-1}
+
+NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
+
+# Automatically determine the architecture we're building on:
+MARCH=$( uname -m )
+if [ -z "$ARCH" ]; then
+ case "$MARCH" in
+ i?86) export ARCH=i586 ;;
+ armv7hl) export ARCH=$MARCH ;;
+ arm*) export ARCH=arm ;;
+ # Unless $ARCH is already set, use uname -m for all other archs:
+ *) export ARCH=$MARCH ;;
+ esac
+fi
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "s390" ]; then
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+elif [ "$ARCH" = "armv7hl" ]; then
+ SLKCFLAGS="-O2 -march=armv7-a -mfpu=vfpv3-d16"
+ LIBDIRSUFFIX=""
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+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 "$PKGNAM-$VERSION-$ARCH-$BUILD.txz"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp}
+PKG=$TMP/package-fcitx5-chinese-addons
+
+rm -rf $PKG
+mkdir -p $TMP $PKG
+cd $TMP
+rm -rf fcitx5-chinese-addons-$VERSION
+tar xvf $CWD/fcitx5-chinese-addons-${VERSION}_dict.tar.?z || exit 1
+cd fcitx5-chinese-addons-$VERSION || exit 1
+
+chown -R root:root .
+find . \
+ \( -perm 777 -o -perm 775 -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 {} \+
+
+mkdir build
+cd build
+ cmake \
+ -DCMAKE_CXX_FLAGS="${SLKCFLAGS}" \
+ -DCMAKE_C_FLAGS="${SLKCFLAGS}" \
+ -DCMAKE_INSTALL_PREFIX="/usr" \
+ -DCMAKE_INSTALL_LIBDIR=lib${LIBDIRSUFFIX} \
+ ..
+
+ make $NUMJOBS || make || exit 1
+ make install/strip DESTDIR=$PKG || exit 1
+cd ..
+
+mkdir -p $PKG/usr/doc/$PKGNAM-$VERSION
+cp -a LICENSES/* README* $PKG/usr/doc/$PKGNAM-$VERSION
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $TMP/$PKGNAM-$VERSION-$ARCH-$BUILD.txz
diff --git a/source/x/fcitx5-chinese-addons/fcitx5-chinese-addons.url b/source/x/fcitx5-chinese-addons/fcitx5-chinese-addons.url
new file mode 100644
index 00000000..7107fba1
--- /dev/null
+++ b/source/x/fcitx5-chinese-addons/fcitx5-chinese-addons.url
@@ -0,0 +1 @@
+https://download.fcitx-im.org/fcitx5/fcitx5-chinese-addons/
diff --git a/source/x/fcitx5-chinese-addons/slack-desc b/source/x/fcitx5-chinese-addons/slack-desc
new file mode 100644
index 00000000..ad83f8c6
--- /dev/null
+++ b/source/x/fcitx5-chinese-addons/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+fcitx5-chinese-addons: fcitx5-chinese-addons (Chinese related addon for fcitx5)
+fcitx5-chinese-addons:
+fcitx5-chinese-addons: This provides pinyin and table input method support for fcitx5.
+fcitx5-chinese-addons:
+fcitx5-chinese-addons: Homepage: https://fcitx-im.org/wiki/Fcitx_5
+fcitx5-chinese-addons:
+fcitx5-chinese-addons:
+fcitx5-chinese-addons:
+fcitx5-chinese-addons:
+fcitx5-chinese-addons:
+fcitx5-chinese-addons:
diff --git a/source/x/fcitx5-gtk/doinst.sh b/source/x/fcitx5-gtk/doinst.sh
new file mode 100644
index 00000000..0e140996
--- /dev/null
+++ b/source/x/fcitx5-gtk/doinst.sh
@@ -0,0 +1,4 @@
+if [ -x usr/bin/update-gtk-immodules ]; then
+ chroot . /usr/bin/update-gtk-immodules --verbose 1>/dev/null
+fi
+
diff --git a/source/x/fcitx5-gtk/fcitx5-gtk.SlackBuild b/source/x/fcitx5-gtk/fcitx5-gtk.SlackBuild
new file mode 100755
index 00000000..a9c83b56
--- /dev/null
+++ b/source/x/fcitx5-gtk/fcitx5-gtk.SlackBuild
@@ -0,0 +1,107 @@
+#!/bin/bash
+
+# Copyright 2022 Heinz Wiesinger, Amsterdam, The Netherlands
+# Copyright 2022 Patrick J. Volkerding, Sebeka, MN, USA
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
+# 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)
+
+PKGNAM=fcitx5-gtk
+VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d- | rev)}
+BUILD=${BUILD:-1}
+
+NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
+
+# Automatically determine the architecture we're building on:
+MARCH=$( uname -m )
+if [ -z "$ARCH" ]; then
+ case "$MARCH" in
+ i?86) export ARCH=i586 ;;
+ armv7hl) export ARCH=$MARCH ;;
+ arm*) export ARCH=arm ;;
+ # Unless $ARCH is already set, use uname -m for all other archs:
+ *) export ARCH=$MARCH ;;
+ esac
+fi
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "s390" ]; then
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+elif [ "$ARCH" = "armv7hl" ]; then
+ SLKCFLAGS="-O2 -march=armv7-a -mfpu=vfpv3-d16"
+ LIBDIRSUFFIX=""
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+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 "$PKGNAM-$VERSION-$ARCH-$BUILD.txz"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp}
+PKG=$TMP/package-fcitx5-gtk
+
+rm -rf $PKG
+mkdir -p $TMP $PKG
+cd $TMP
+rm -rf fcitx5-gtk-$VERSION
+tar xvf $CWD/fcitx5-gtk-$VERSION.tar.?z || exit 1
+cd fcitx5-gtk-$VERSION || exit 1
+
+chown -R root:root .
+find . \
+ \( -perm 777 -o -perm 775 -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 {} \+
+
+mkdir build
+cd build
+ cmake \
+ -DCMAKE_CXX_FLAGS="${SLKCFLAGS}" \
+ -DCMAKE_C_FLAGS="${SLKCFLAGS}" \
+ -DCMAKE_INSTALL_PREFIX="/usr" \
+ -DCMAKE_INSTALL_LIBDIR=lib${LIBDIRSUFFIX} \
+ ..
+
+ make $NUMJOBS || make || exit 1
+ make install/strip DESTDIR=$PKG || exit 1
+cd ..
+
+mkdir -p $PKG/usr/doc/$PKGNAM-$VERSION
+cp -a LICENSES/* README* $PKG/usr/doc/$PKGNAM-$VERSION
+
+mkdir -p $PKG/install
+zcat $CWD/doinst.sh.gz > $PKG/install/doinst.sh
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $TMP/$PKGNAM-$VERSION-$ARCH-$BUILD.txz
diff --git a/source/x/fcitx5-gtk/fcitx5-gtk.url b/source/x/fcitx5-gtk/fcitx5-gtk.url
new file mode 100644
index 00000000..6f7fa1f1
--- /dev/null
+++ b/source/x/fcitx5-gtk/fcitx5-gtk.url
@@ -0,0 +1 @@
+https://download.fcitx-im.org/fcitx5/fcitx5-gtk/
diff --git a/source/x/fcitx-m17n/slack-desc b/source/x/fcitx5-gtk/slack-desc
index 0a362c7f..8d3ae561 100644
--- a/source/x/fcitx-m17n/slack-desc
+++ b/source/x/fcitx5-gtk/slack-desc
@@ -6,13 +6,14 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
-fcitx-m17n: fcitx-m17n (m17n input method engine wrapper for fcitx)
-fcitx-m17n:
-fcitx-m17n: Fcitx wrapper for the m17n input method engine.
-fcitx-m17n:
-fcitx-m17n: Homepage: https://fcitx-im.org/wiki/Fcitx
-fcitx-m17n:
-fcitx-m17n:
-fcitx-m17n:
-fcitx-m17n:
-fcitx-m17n:
+fcitx5-gtk: fcitx5-gtk (Gtk IM Module for Fcitx5)
+fcitx5-gtk:
+fcitx5-gtk: Gtk IM module for fcitx5 and glib based dbus client library.
+fcitx5-gtk:
+fcitx5-gtk: Homepage: https://fcitx-im.org/wiki/Fcitx_5
+fcitx5-gtk:
+fcitx5-gtk:
+fcitx5-gtk:
+fcitx5-gtk:
+fcitx5-gtk:
+fcitx5-gtk:
diff --git a/source/x/fcitx-qt5/fcitx-qt5.SlackBuild b/source/x/fcitx5-hangul/fcitx5-hangul.SlackBuild
index 90aa739a..5e920bd2 100755
--- a/source/x/fcitx-qt5/fcitx-qt5.SlackBuild
+++ b/source/x/fcitx5-hangul/fcitx5-hangul.SlackBuild
@@ -1,7 +1,5 @@
#!/bin/bash
-# Slackware build script for fcitx-qt5
-
# Copyright 2016 Heinz Wiesinger, Amsterdam, The Netherlands
# Copyright 2016, 2020 Patrick J. Volkerding, Sebeka, MN, USA
# All rights reserved.
@@ -25,7 +23,7 @@
cd $(dirname $0) ; CWD=$(pwd)
-PKGNAM=fcitx-qt5
+PKGNAM=fcitx5-hangul
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d- | rev)}
BUILD=${BUILD:-1}
@@ -69,14 +67,14 @@ if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
fi
TMP=${TMP:-/tmp}
-PKG=$TMP/package-fcitx-qt5
+PKG=$TMP/package-fcitx5-hangul
rm -rf $PKG
mkdir -p $TMP $PKG
cd $TMP
-rm -rf fcitx-qt5-$VERSION
-tar xvf $CWD/fcitx-qt5-$VERSION.tar.?z || exit 1
-cd fcitx-qt5-$VERSION || exit 1
+rm -rf fcitx5-hangul-$VERSION
+tar xvf $CWD/fcitx5-hangul-$VERSION.tar.?z || exit 1
+cd fcitx5-hangul-$VERSION || exit 1
chown -R root:root .
find . \
@@ -91,7 +89,7 @@ cd build
-DCMAKE_CXX_FLAGS="${SLKCFLAGS}" \
-DCMAKE_C_FLAGS="${SLKCFLAGS}" \
-DCMAKE_INSTALL_PREFIX="/usr" \
- -DLIB_INSTALL_DIR=/usr/lib${LIBDIRSUFFIX} \
+ -DCMAKE_INSTALL_LIBDIR=lib${LIBDIRSUFFIX} \
..
make $NUMJOBS || make || exit 1
@@ -99,7 +97,7 @@ cd build
cd ..
mkdir -p $PKG/usr/doc/$PKGNAM-$VERSION
-cp -a COPYING README $PKG/usr/doc/$PKGNAM-$VERSION
+cp -a LICENSES/* README* $PKG/usr/doc/$PKGNAM-$VERSION
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
diff --git a/source/x/fcitx5-hangul/fcitx5-hangul.url b/source/x/fcitx5-hangul/fcitx5-hangul.url
new file mode 100644
index 00000000..9a03e340
--- /dev/null
+++ b/source/x/fcitx5-hangul/fcitx5-hangul.url
@@ -0,0 +1 @@
+https://download.fcitx-im.org/fcitx5/fcitx5-hangul/
diff --git a/source/x/fcitx5-hangul/slack-desc b/source/x/fcitx5-hangul/slack-desc
new file mode 100644
index 00000000..d03dc299
--- /dev/null
+++ b/source/x/fcitx5-hangul/slack-desc
@@ -0,0 +1,18 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+fcitx5-hangul: fcitx5-hangul (Hangul wrapper for fcitx5)
+fcitx5-hangul:
+fcitx5-hangul: Hangul Wrapper for Fcitx.
+fcitx5-hangul:
+fcitx5-hangul: Homepage: https://fcitx-im.org/wiki/Fcitx_5
+fcitx5-hangul:
+fcitx5-hangul:
+fcitx5-hangul:
+fcitx5-hangul:
+fcitx5-hangul:
diff --git a/source/x/fcitx-kkc/fcitx-kkc.SlackBuild b/source/x/fcitx5-kkc/fcitx5-kkc.SlackBuild
index f317e391..072f4692 100755
--- a/source/x/fcitx-kkc/fcitx-kkc.SlackBuild
+++ b/source/x/fcitx5-kkc/fcitx5-kkc.SlackBuild
@@ -1,7 +1,5 @@
#!/bin/bash
-# Slackware build script for fcitx-kkc
-
# Copyright 2015-2016 Heinz Wiesinger, Amsterdam, The Netherlands
# Copyright 2016, 2020 Patrick J. Volkerding, Sebeka, MN, USA
# All rights reserved.
@@ -25,9 +23,9 @@
cd $(dirname $0) ; CWD=$(pwd)
-PKGNAM=fcitx-kkc
+PKGNAM=fcitx5-kkc
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d- | rev)}
-BUILD=${BUILD:-3}
+BUILD=${BUILD:-1}
NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
@@ -69,14 +67,14 @@ if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
fi
TMP=${TMP:-/tmp}
-PKG=$TMP/package-fcitx-kkc
+PKG=$TMP/package-fcitx5-kkc
rm -rf $PKG
mkdir -p $TMP $PKG
cd $TMP
-rm -rf fcitx-kkc-$VERSION
-tar xvf $CWD/fcitx-kkc-$VERSION.tar.?z || exit 1
-cd fcitx-kkc-$VERSION || exit 1
+rm -rf fcitx5-kkc-$VERSION
+tar xvf $CWD/fcitx5-kkc-$VERSION.tar.?z || exit 1
+cd fcitx5-kkc-$VERSION || exit 1
chown -R root:root .
find . \
@@ -91,7 +89,7 @@ cd build
-DCMAKE_CXX_FLAGS="${SLKCFLAGS}" \
-DCMAKE_C_FLAGS="${SLKCFLAGS}" \
-DCMAKE_INSTALL_PREFIX="/usr" \
- -DLIB_SUFFIX=${LIBDIRSUFFIX} \
+ -DCMAKE_INSTALL_LIBDIR=lib${LIBDIRSUFFIX} \
..
make $NUMJOBS || make || exit 1
@@ -99,7 +97,7 @@ cd build
cd ..
mkdir -p $PKG/usr/doc/$PKGNAM-$VERSION
-cp -a COPYING $PKG/usr/doc/$PKGNAM-$VERSION
+cp -a LICENSES/* README* $PKG/usr/doc/$PKGNAM-$VERSION
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
diff --git a/source/x/fcitx5-kkc/fcitx5-kkc.url b/source/x/fcitx5-kkc/fcitx5-kkc.url
new file mode 100644
index 00000000..0cbf46e1
--- /dev/null
+++ b/source/x/fcitx5-kkc/fcitx5-kkc.url
@@ -0,0 +1 @@
+https://download.fcitx-im.org/fcitx5/fcitx5-kkc/
diff --git a/source/x/fcitx5-kkc/slack-desc b/source/x/fcitx5-kkc/slack-desc
new file mode 100644
index 00000000..abe90ce0
--- /dev/null
+++ b/source/x/fcitx5-kkc/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+fcitx5-kkc: fcitx5-kkc (Japanese Kana Kanji Engine for Fcitx5)
+fcitx5-kkc:
+fcitx5-kkc: Fcitx-kkc is a Kana Kanji engine for Fcitx. It provides Japanese
+fcitx5-kkc: input method using libkkc.
+fcitx5-kkc:
+fcitx5-kkc: Homepage: https://fcitx-im.org/wiki/Fcitx_5
+fcitx5-kkc:
+fcitx5-kkc:
+fcitx5-kkc:
+fcitx5-kkc:
+fcitx5-kkc:
diff --git a/source/x/fcitx-m17n/fcitx-m17n.SlackBuild b/source/x/fcitx5-m17n/fcitx5-m17n.SlackBuild
index 78f838e1..4f27987b 100755
--- a/source/x/fcitx-m17n/fcitx-m17n.SlackBuild
+++ b/source/x/fcitx5-m17n/fcitx5-m17n.SlackBuild
@@ -1,7 +1,5 @@
#!/bin/bash
-# Slackware build script for fcitx-m17n
-
# Copyright 2016 Heinz Wiesinger, Amsterdam, The Netherlands
# Copyright 2016, 2020 Patrick J. Volkerding, Sebeka, MN, USA
# All rights reserved.
@@ -25,9 +23,9 @@
cd $(dirname $0) ; CWD=$(pwd)
-PKGNAM=fcitx-m17n
+PKGNAM=fcitx5-m17n
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d- | rev)}
-BUILD=${BUILD:-3}
+BUILD=${BUILD:-1}
NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
@@ -69,14 +67,14 @@ if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
fi
TMP=${TMP:-/tmp}
-PKG=$TMP/package-fcitx-m17n
+PKG=$TMP/package-fcitx5-m17n
rm -rf $PKG
mkdir -p $TMP $PKG
cd $TMP
-rm -rf fcitx-m17n-$VERSION
-tar xvf $CWD/fcitx-m17n-$VERSION.tar.?z || exit 1
-cd fcitx-m17n-$VERSION || exit 1
+rm -rf fcitx5-m17n-$VERSION
+tar xvf $CWD/fcitx5-m17n-$VERSION.tar.?z || exit 1
+cd fcitx5-m17n-$VERSION || exit 1
chown -R root:root .
find . \
@@ -91,7 +89,7 @@ cd build
-DCMAKE_CXX_FLAGS="${SLKCFLAGS}" \
-DCMAKE_C_FLAGS="${SLKCFLAGS}" \
-DCMAKE_INSTALL_PREFIX="/usr" \
- -DLIB_SUFFIX=${LIBDIRSUFFIX} \
+ -DCMAKE_INSTALL_LIBDIR=lib${LIBDIRSUFFIX} \
..
make $NUMJOBS || make || exit 1
@@ -99,7 +97,7 @@ cd build
cd ..
mkdir -p $PKG/usr/doc/$PKGNAM-$VERSION
-cp -a COPYING $PKG/usr/doc/$PKGNAM-$VERSION
+cp -a LICENSES/* README* $PKG/usr/doc/$PKGNAM-$VERSION
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
diff --git a/source/x/fcitx5-m17n/fcitx5-m17n.url b/source/x/fcitx5-m17n/fcitx5-m17n.url
new file mode 100644
index 00000000..cb69b0b7
--- /dev/null
+++ b/source/x/fcitx5-m17n/fcitx5-m17n.url
@@ -0,0 +1 @@
+https://download.fcitx-im.org/fcitx5/fcitx5-m17n/
diff --git a/source/x/fcitx-anthy/slack-desc b/source/x/fcitx5-m17n/slack-desc
index 3bce3190..b727059e 100644
--- a/source/x/fcitx-anthy/slack-desc
+++ b/source/x/fcitx5-m17n/slack-desc
@@ -6,13 +6,13 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
-fcitx-anthy: fcitx-anthy (Anthy wrapper for fcitx)
-fcitx-anthy:
-fcitx-anthy: Anthy Wrapper for Fcitx.
-fcitx-anthy:
-fcitx-anthy: Homepage: https://fcitx-im.org/wiki/Fcitx
-fcitx-anthy:
-fcitx-anthy:
-fcitx-anthy:
-fcitx-anthy:
-fcitx-anthy:
+fcitx5-m17n: fcitx5-m17n (m17n input method engine wrapper for fcitx5)
+fcitx5-m17n:
+fcitx5-m17n: Fcitx wrapper for the m17n input method engine.
+fcitx5-m17n:
+fcitx5-m17n: Homepage: https://fcitx-im.org/wiki/Fcitx_5
+fcitx5-m17n:
+fcitx5-m17n:
+fcitx5-m17n:
+fcitx5-m17n:
+fcitx5-m17n:
diff --git a/source/x/fcitx-hangul/fcitx-hangul.SlackBuild b/source/x/fcitx5-qt/fcitx5-qt.SlackBuild
index 0c1ec73b..6770179f 100755
--- a/source/x/fcitx-hangul/fcitx-hangul.SlackBuild
+++ b/source/x/fcitx5-qt/fcitx5-qt.SlackBuild
@@ -1,7 +1,5 @@
#!/bin/bash
-# Slackware build script for fcitx-hangul
-
# Copyright 2016 Heinz Wiesinger, Amsterdam, The Netherlands
# Copyright 2016, 2020 Patrick J. Volkerding, Sebeka, MN, USA
# All rights reserved.
@@ -25,9 +23,9 @@
cd $(dirname $0) ; CWD=$(pwd)
-PKGNAM=fcitx-hangul
+PKGNAM=fcitx5-qt
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d- | rev)}
-BUILD=${BUILD:-3}
+BUILD=${BUILD:-1}
NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
@@ -69,14 +67,14 @@ if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
fi
TMP=${TMP:-/tmp}
-PKG=$TMP/package-fcitx-hangul
+PKG=$TMP/package-fcitx5-qt
rm -rf $PKG
mkdir -p $TMP $PKG
cd $TMP
-rm -rf fcitx-hangul-$VERSION
-tar xvf $CWD/fcitx-hangul-$VERSION.tar.?z || exit 1
-cd fcitx-hangul-$VERSION || exit 1
+rm -rf fcitx5-qt-$VERSION
+tar xvf $CWD/fcitx5-qt-$VERSION.tar.?z || exit 1
+cd fcitx5-qt-$VERSION || exit 1
chown -R root:root .
find . \
@@ -91,7 +89,8 @@ cd build
-DCMAKE_CXX_FLAGS="${SLKCFLAGS}" \
-DCMAKE_C_FLAGS="${SLKCFLAGS}" \
-DCMAKE_INSTALL_PREFIX="/usr" \
- -DLIB_SUFFIX=${LIBDIRSUFFIX} \
+ -DCMAKE_INSTALL_LIBDIR=lib${LIBDIRSUFFIX} \
+ -DENABLE_QT4="Off" \
..
make $NUMJOBS || make || exit 1
@@ -99,7 +98,7 @@ cd build
cd ..
mkdir -p $PKG/usr/doc/$PKGNAM-$VERSION
-cp -a COPYING $PKG/usr/doc/$PKGNAM-$VERSION
+cp -a LICENSES/* README* $PKG/usr/doc/$PKGNAM-$VERSION
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
diff --git a/source/x/fcitx5-qt/fcitx5-qt.url b/source/x/fcitx5-qt/fcitx5-qt.url
new file mode 100644
index 00000000..639c96e3
--- /dev/null
+++ b/source/x/fcitx5-qt/fcitx5-qt.url
@@ -0,0 +1 @@
+https://download.fcitx-im.org/fcitx5/fcitx5-qt/
diff --git a/source/x/fcitx-qt5/slack-desc b/source/x/fcitx5-qt/slack-desc
index 0b4a0203..53a5cead 100644
--- a/source/x/fcitx-qt5/slack-desc
+++ b/source/x/fcitx5-qt/slack-desc
@@ -6,14 +6,14 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
-fcitx-qt5: fcitx-qt5 (Qt5 IM Module for Fcitx)
-fcitx-qt5:
-fcitx-qt5: Qt5 IM Module for Fcitx.
-fcitx-qt5:
-fcitx-qt5: Homepage: https://fcitx-im.org/wiki/Fcitx
-fcitx-qt5:
-fcitx-qt5:
-fcitx-qt5:
-fcitx-qt5:
-fcitx-qt5:
-fcitx-qt5:
+fcitx5-qt: fcitx5-qt (Qt IM Module for Fcitx5)
+fcitx5-qt:
+fcitx5-qt: Qt IM Module for Fcitx5.
+fcitx5-qt:
+fcitx5-qt: Homepage: https://fcitx-im.org/wiki/Fcitx_5
+fcitx5-qt:
+fcitx5-qt:
+fcitx5-qt:
+fcitx5-qt:
+fcitx5-qt:
+fcitx5-qt:
diff --git a/source/x/fcitx5-sayura/fcitx5-sayura.SlackBuild b/source/x/fcitx5-sayura/fcitx5-sayura.SlackBuild
new file mode 100755
index 00000000..5bac684f
--- /dev/null
+++ b/source/x/fcitx5-sayura/fcitx5-sayura.SlackBuild
@@ -0,0 +1,106 @@
+#!/bin/bash
+
+# Copyright 2016 Heinz Wiesinger, Amsterdam, The Netherlands
+# Copyright 2016, 2020 Patrick J. Volkerding, Sebeka, MN, USA
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
+# 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)
+
+PKGNAM=fcitx5-sayura
+VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d- | rev)}
+BUILD=${BUILD:-1}
+
+NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
+
+# Automatically determine the architecture we're building on:
+MARCH=$( uname -m )
+if [ -z "$ARCH" ]; then
+ case "$MARCH" in
+ i?86) export ARCH=i586 ;;
+ armv7hl) export ARCH=$MARCH ;;
+ arm*) export ARCH=arm ;;
+ # Unless $ARCH is already set, use uname -m for all other archs:
+ *) export ARCH=$MARCH ;;
+ esac
+fi
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "s390" ]; then
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+elif [ "$ARCH" = "armv7hl" ]; then
+ SLKCFLAGS="-O2 -march=armv7-a -mfpu=vfpv3-d16"
+ LIBDIRSUFFIX=""
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+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 "$PKGNAM-$VERSION-$ARCH-$BUILD.txz"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp}
+PKG=$TMP/package-fcitx5-sayura
+
+rm -rf $PKG
+mkdir -p $TMP $PKG
+cd $TMP
+rm -rf fcitx5-sayura-$VERSION
+tar xvf $CWD/fcitx5-sayura-$VERSION.tar.?z || exit 1
+cd fcitx5-sayura-$VERSION || exit 1
+chown -R root:root .
+
+find . \
+ \( -perm 777 -o -perm 775 -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 {} \+
+
+mkdir build
+cd build
+ cmake \
+ -DCMAKE_CXX_FLAGS="${SLKCFLAGS}" \
+ -DCMAKE_C_FLAGS="${SLKCFLAGS}" \
+ -DCMAKE_INSTALL_PREFIX="/usr" \
+ -DCMAKE_INSTALL_LIBDIR=lib${LIBDIRSUFFIX} \
+ ..
+
+ make $NUMJOBS || make || exit 1
+ make install/strip DESTDIR=$PKG || exit 1
+cd ..
+
+mkdir -p $PKG/usr/doc/$PKGNAM-$VERSION
+cp -a LICENSES/* README* $PKG/usr/doc/$PKGNAM-$VERSION
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $TMP/$PKGNAM-$VERSION-$ARCH-$BUILD.txz
diff --git a/source/x/fcitx5-sayura/fcitx5-sayura.url b/source/x/fcitx5-sayura/fcitx5-sayura.url
new file mode 100644
index 00000000..d54c7c64
--- /dev/null
+++ b/source/x/fcitx5-sayura/fcitx5-sayura.url
@@ -0,0 +1 @@
+https://download.fcitx-im.org/fcitx5/fcitx5-sayura/
diff --git a/source/x/fcitx5-sayura/slack-desc b/source/x/fcitx5-sayura/slack-desc
new file mode 100644
index 00000000..40aeb440
--- /dev/null
+++ b/source/x/fcitx5-sayura/slack-desc
@@ -0,0 +1,18 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+fcitx5-sayura: fcitx5-sayura (Sinhala input method for fcitx5)
+fcitx5-sayura:
+fcitx5-sayura: Fcitx-Sayura is a Sinhala input method for Fcitx.
+fcitx5-sayura:
+fcitx5-sayura: Homepage: https://fcitx-im.org/wiki/Fcitx_5
+fcitx5-sayura:
+fcitx5-sayura:
+fcitx5-sayura:
+fcitx5-sayura:
+fcitx5-sayura:
diff --git a/source/x/fcitx-table-extra/fcitx-table-extra.SlackBuild b/source/x/fcitx5-table-extra/fcitx5-table-extra.SlackBuild
index affe6726..2437fe4c 100755
--- a/source/x/fcitx-table-extra/fcitx-table-extra.SlackBuild
+++ b/source/x/fcitx5-table-extra/fcitx5-table-extra.SlackBuild
@@ -1,7 +1,5 @@
#!/bin/bash
-# Slackware build script for fcitx-table-extra
-
# Copyright 2016 Heinz Wiesinger, Amsterdam, The Netherlands
# Copyright 2016, 2020 Patrick J. Volkerding, Sebeka, MN, USA
# All rights reserved.
@@ -25,9 +23,9 @@
cd $(dirname $0) ; CWD=$(pwd)
-PKGNAM=fcitx-table-extra
+PKGNAM=fcitx5-table-extra
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d- | rev)}
-BUILD=${BUILD:-3}
+BUILD=${BUILD:-1}
NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
@@ -69,14 +67,14 @@ if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
fi
TMP=${TMP:-/tmp}
-PKG=$TMP/package-fcitx-table-extra
+PKG=$TMP/package-fcitx5-table-extra
rm -rf $PKG
mkdir -p $TMP $PKG
cd $TMP
-rm -rf fcitx-table-extra-$VERSION
-tar xvf $CWD/fcitx-table-extra-$VERSION.tar.?z || exit 1
-cd fcitx-table-extra-$VERSION || exit 1
+rm -rf fcitx5-table-extra-$VERSION
+tar xvf $CWD/fcitx5-table-extra-$VERSION.tar.?z || exit 1
+cd fcitx5-table-extra-$VERSION || exit 1
chown -R root:root .
find . \
@@ -91,7 +89,7 @@ cd build
-DCMAKE_CXX_FLAGS="${SLKCFLAGS}" \
-DCMAKE_C_FLAGS="${SLKCFLAGS}" \
-DCMAKE_INSTALL_PREFIX="/usr" \
- -DLIB_SUFFIX=${LIBDIRSUFFIX} \
+ -DCMAKE_INSTALL_LIBDIR=lib${LIBDIRSUFFIX} \
..
make $NUMJOBS || make || exit 1
@@ -99,7 +97,7 @@ cd build
cd ..
mkdir -p $PKG/usr/doc/$PKGNAM-$VERSION
-cp -a COPYING $PKG/usr/doc/$PKGNAM-$VERSION
+cp -a LICENSES/* README* $PKG/usr/doc/$PKGNAM-$VERSION
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
diff --git a/source/x/fcitx5-table-extra/fcitx5-table-extra.url b/source/x/fcitx5-table-extra/fcitx5-table-extra.url
new file mode 100644
index 00000000..231faaf6
--- /dev/null
+++ b/source/x/fcitx5-table-extra/fcitx5-table-extra.url
@@ -0,0 +1 @@
+https://download.fcitx-im.org/fcitx5/fcitx5-table-extra/
diff --git a/source/x/fcitx5-table-extra/slack-desc b/source/x/fcitx5-table-extra/slack-desc
new file mode 100644
index 00000000..a887dcd1
--- /dev/null
+++ b/source/x/fcitx5-table-extra/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+fcitx5-table-extra: fcitx5-table-extra (Extra tables for fcitx5)
+fcitx5-table-extra:
+fcitx5-table-extra: fcitx5-table-extra provides extra tables for Fcitx, including Boshiamy,
+fcitx5-table-extra: Zhengma, Cangjie, and Quick.
+fcitx5-table-extra:
+fcitx5-table-extra: Homepage: https://fcitx-im.org/wiki/Fcitx_5
+fcitx5-table-extra:
+fcitx5-table-extra:
+fcitx5-table-extra:
+fcitx5-table-extra:
+fcitx5-table-extra:
diff --git a/source/x/fcitx5-table-other/fcitx5-table-other.SlackBuild b/source/x/fcitx5-table-other/fcitx5-table-other.SlackBuild
new file mode 100755
index 00000000..e383ad48
--- /dev/null
+++ b/source/x/fcitx5-table-other/fcitx5-table-other.SlackBuild
@@ -0,0 +1,106 @@
+#!/bin/bash
+
+# Copyright 2016 Heinz Wiesinger, Amsterdam, The Netherlands
+# Copyright 2016, 2020 Patrick J. Volkerding, Sebeka, MN, USA
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
+# 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)
+
+PKGNAM=fcitx5-table-other
+VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d- | rev)}
+BUILD=${BUILD:-1}
+
+NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
+
+# Automatically determine the architecture we're building on:
+MARCH=$( uname -m )
+if [ -z "$ARCH" ]; then
+ case "$MARCH" in
+ i?86) export ARCH=i586 ;;
+ armv7hl) export ARCH=$MARCH ;;
+ arm*) export ARCH=arm ;;
+ # Unless $ARCH is already set, use uname -m for all other archs:
+ *) export ARCH=$MARCH ;;
+ esac
+fi
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "s390" ]; then
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+elif [ "$ARCH" = "armv7hl" ]; then
+ SLKCFLAGS="-O2 -march=armv7-a -mfpu=vfpv3-d16"
+ LIBDIRSUFFIX=""
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+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 "$PKGNAM-$VERSION-$ARCH-$BUILD.txz"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp}
+PKG=$TMP/package-fcitx5-table-other
+
+rm -rf $PKG
+mkdir -p $TMP $PKG
+cd $TMP
+rm -rf fcitx5-table-other-$VERSION
+tar xvf $CWD/fcitx5-table-other-$VERSION.tar.?z || exit 1
+cd fcitx5-table-other-$VERSION || exit 1
+
+chown -R root:root .
+find . \
+ \( -perm 777 -o -perm 775 -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 {} \+
+
+mkdir build
+cd build
+ cmake \
+ -DCMAKE_CXX_FLAGS="${SLKCFLAGS}" \
+ -DCMAKE_C_FLAGS="${SLKCFLAGS}" \
+ -DCMAKE_INSTALL_PREFIX="/usr" \
+ -DCMAKE_INSTALL_LIBDIR=lib${LIBDIRSUFFIX} \
+ ..
+
+ make $NUMJOBS || make || exit 1
+ make install DESTDIR=$PKG || exit 1
+cd ..
+
+mkdir -p $PKG/usr/doc/$PKGNAM-$VERSION
+cp -a LICENSES/* README* $PKG/usr/doc/$PKGNAM-$VERSION
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $TMP/$PKGNAM-$VERSION-$ARCH-$BUILD.txz
diff --git a/source/x/fcitx5-table-other/fcitx5-table-other.url b/source/x/fcitx5-table-other/fcitx5-table-other.url
new file mode 100644
index 00000000..55a62542
--- /dev/null
+++ b/source/x/fcitx5-table-other/fcitx5-table-other.url
@@ -0,0 +1 @@
+https://download.fcitx-im.org/fcitx5/fcitx5-table-other/
diff --git a/source/x/fcitx5-table-other/slack-desc b/source/x/fcitx5-table-other/slack-desc
new file mode 100644
index 00000000..2b622463
--- /dev/null
+++ b/source/x/fcitx5-table-other/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+fcitx5-table-other: fcitx5-table-other (Other tables for fcitx5)
+fcitx5-table-other:
+fcitx5-table-other: fcitx5-table-other provides some other tables for Fcitx, forked from
+fcitx5-table-other: ibus-table-others and scim-tables.
+fcitx5-table-other:
+fcitx5-table-other: Homepage: https://fcitx-im.org/wiki/Fcitx_5
+fcitx5-table-other:
+fcitx5-table-other:
+fcitx5-table-other:
+fcitx5-table-other:
+fcitx5-table-other:
diff --git a/source/x/fcitx5-unikey/fcitx5-unikey.SlackBuild b/source/x/fcitx5-unikey/fcitx5-unikey.SlackBuild
new file mode 100755
index 00000000..1c529603
--- /dev/null
+++ b/source/x/fcitx5-unikey/fcitx5-unikey.SlackBuild
@@ -0,0 +1,106 @@
+#!/bin/bash
+
+# Copyright 2016 Heinz Wiesinger, Amsterdam, The Netherlands
+# Copyright 2016, 2020 Patrick J. Volkerding, Sebeka, MN, USA
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
+# 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)
+
+PKGNAM=fcitx5-unikey
+VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d- | rev)}
+BUILD=${BUILD:-1}
+
+NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
+
+# Automatically determine the architecture we're building on:
+MARCH=$( uname -m )
+if [ -z "$ARCH" ]; then
+ case "$MARCH" in
+ i?86) export ARCH=i586 ;;
+ armv7hl) export ARCH=$MARCH ;;
+ arm*) export ARCH=arm ;;
+ # Unless $ARCH is already set, use uname -m for all other archs:
+ *) export ARCH=$MARCH ;;
+ esac
+fi
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "s390" ]; then
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+elif [ "$ARCH" = "armv7hl" ]; then
+ SLKCFLAGS="-O2 -march=armv7-a -mfpu=vfpv3-d16"
+ LIBDIRSUFFIX=""
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+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 "$PKGNAM-$VERSION-$ARCH-$BUILD.txz"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp}
+PKG=$TMP/package-fcitx5-unikey
+
+rm -rf $PKG
+mkdir -p $TMP $PKG
+cd $TMP
+rm -rf fcitx5-unikey-$VERSION
+tar xvf $CWD/fcitx5-unikey-$VERSION.tar.?z || exit 1
+cd fcitx5-unikey-$VERSION || exit 1
+
+chown -R root:root .
+find . \
+ \( -perm 777 -o -perm 775 -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 {} \+
+
+mkdir build
+cd build
+ cmake \
+ -DCMAKE_CXX_FLAGS="${SLKCFLAGS}" \
+ -DCMAKE_C_FLAGS="${SLKCFLAGS}" \
+ -DCMAKE_INSTALL_PREFIX="/usr" \
+ -DCMAKE_INSTALL_LIBDIR=lib${LIBDIRSUFFIX} \
+ ..
+
+ make $NUMJOBS || make || exit 1
+ make install/strip DESTDIR=$PKG || exit 1
+cd ..
+
+mkdir -p $PKG/usr/doc/$PKGNAM-$VERSION
+cp -a LICENSES/* README* $PKG/usr/doc/$PKGNAM-$VERSION
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $TMP/$PKGNAM-$VERSION-$ARCH-$BUILD.txz
diff --git a/source/x/fcitx5-unikey/fcitx5-unikey.url b/source/x/fcitx5-unikey/fcitx5-unikey.url
new file mode 100644
index 00000000..0bbe733e
--- /dev/null
+++ b/source/x/fcitx5-unikey/fcitx5-unikey.url
@@ -0,0 +1 @@
+https://download.fcitx-im.org/fcitx5/fcitx5-unikey/
diff --git a/source/x/fcitx-kkc/slack-desc b/source/x/fcitx5-unikey/slack-desc
index 3121c890..6c92149a 100644
--- a/source/x/fcitx-kkc/slack-desc
+++ b/source/x/fcitx5-unikey/slack-desc
@@ -5,15 +5,14 @@
# You must make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':' except on otherwise blank lines.
- |-----handy-ruler------------------------------------------------------|
-fcitx-kkc: fcitx-kkc (Japanese Kana Kanji Engine for Fcitx)
-fcitx-kkc:
-fcitx-kkc: Fcitx-kkc is a Kana Kanji engine for Fcitx. It provides Japanese
-fcitx-kkc: input method using libkkc.
-fcitx-kkc:
-fcitx-kkc: Homepage: https://fcitx-im.org/wiki/Fcitx
-fcitx-kkc:
-fcitx-kkc:
-fcitx-kkc:
-fcitx-kkc:
-fcitx-kkc:
+ |-----handy-ruler------------------------------------------------------|
+fcitx5-unikey: fcitx5-unikey (Vietnamese input support for fcitx5)
+fcitx5-unikey:
+fcitx5-unikey: Unikey (Vietnamese Input Method) engine support for Fcitx.
+fcitx5-unikey:
+fcitx5-unikey: Homepage: https://fcitx-im.org/wiki/Fcitx_5
+fcitx5-unikey:
+fcitx5-unikey:
+fcitx5-unikey:
+fcitx5-unikey:
+fcitx5-unikey:
diff --git a/source/x/fcitx/doinst.sh b/source/x/fcitx5/doinst.sh
index c9d0cf4d..e4e64598 100644
--- a/source/x/fcitx/doinst.sh
+++ b/source/x/fcitx5/doinst.sh
@@ -6,7 +6,3 @@ if [ -x /usr/bin/update-mime-database ]; then
/usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
fi
-if [ -x usr/bin/update-gtk-immodules ]; then
- chroot . /usr/bin/update-gtk-immodules --verbose 1>/dev/null
-fi
-
diff --git a/source/x/fcitx5/fcitx5-autostart b/source/x/fcitx5/fcitx5-autostart
new file mode 100755
index 00000000..22d8c056
--- /dev/null
+++ b/source/x/fcitx5/fcitx5-autostart
@@ -0,0 +1,36 @@
+#!/bin/bash
+
+START="no"
+
+if [ "$XIM" = "fcitx" ]; then
+ START="yes"
+fi
+
+if [ "$XIM_PROGRAM" = "fcitx" ]; then
+ START="yes"
+fi
+
+if [ "$GTK_IM_MODULE" = "fcitx" ]; then
+ START="yes"
+fi
+
+if [ "$QT_IM_MODULE" = "fcitx" ]; then
+ START="yes"
+fi
+
+if [ "$START" = "no" ]; then
+ exit 0
+fi
+
+# sleep for a little while to avoid duplicate startup
+sleep 2
+
+# Test whether fcitx is running correctly with dbus...
+fcitx5-remote > /dev/null 2>&1
+
+if [ $? = "1" ]; then
+ echo "Fcitx seems is not running"
+ fcitx5
+else
+ echo "Fcitx is running correctly."
+fi
diff --git a/source/x/fcitx/fcitx.SlackBuild b/source/x/fcitx5/fcitx5.SlackBuild
index 5750f7f3..085e2eb7 100755
--- a/source/x/fcitx/fcitx.SlackBuild
+++ b/source/x/fcitx5/fcitx5.SlackBuild
@@ -1,7 +1,5 @@
#!/bin/bash
-# Slackware build script for fcitx.
-
# Copyright 2012 vvoody <vvoodywang@gmail.com>
# Copyright 2018, 2020 Patrick J. Volkerding, Sebeka, MN, USA
#
@@ -26,9 +24,9 @@
cd $(dirname $0) ; CWD=$(pwd)
-PKGNAM=fcitx
+PKGNAM=fcitx5
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | cut -f 2- -d _ | rev)}
-BUILD=${BUILD:-3}
+BUILD=${BUILD:-1}
NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
@@ -73,14 +71,14 @@ if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
fi
TMP=${TMP:-/tmp}
-PKG=$TMP/package-fcitx
+PKG=$TMP/package-fcitx5
rm -rf $PKG
mkdir -p $TMP $PKG
cd $TMP
-rm -rf fcitx-$VERSION
-tar xvf $CWD/fcitx-${VERSION}.tar.?z || exit 1
-cd fcitx-$VERSION || exit 1
+rm -rf fcitx5-$VERSION
+tar xvf $CWD/fcitx5-${VERSION}_dict.tar.?z || exit 1
+cd fcitx5-$VERSION || exit 1
chown -R root:root .
find . \
@@ -89,35 +87,29 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \+
-# Patch fcitx-autostart to only start when fcitx is the configured input method
-zcat $CWD/fcitx-autostart.patch.gz | patch -p0 --verbose -d data/script/
-
mkdir build
cd build
cmake \
-DCMAKE_C_FLAGS:STRING="${SLKCFLAGS}" \
-DCMAKE_CXX_FLAGS:STRING="${SLKCFLAGS}" \
-DCMAKE_INSTALL_PREFIX=/usr \
- -DLIB_INSTALL_DIR=/usr/lib${LIBDIRSUFFIX} \
- -DMAN_INSTALL_DIR=/usr/man \
- -DSYSCONFDIR=/etc \
- -DENABLE_GTK2_IM_MODULE=On \
- -DENABLE_GTK3_IM_MODULE=On \
- -DENABLE_QT=Off \
- -DENABLE_QT_IM_MODULE=Off \
- -DENABLE_QT_GUI=Off \
- -DENABLE_OPENCC=On \
+ -DCMAKE_INSTALL_LIBDIR=lib${LIBDIRSUFFIX} \
+ -DCMAKE_INSTALL_MANDIR=man \
+ -DCMAKE_INSTALL_DOCDIR=doc/$PKGNAM-$VERSION \
+ -DCMAKE_INSTALL_SYSCONFDIR=etc \
+ -DENABLE_DOC="On" \
..
make $NUMJOBS || make || exit 1
make install/strip DESTDIR=$PKG || exit 1
cd ..
-find $PKG/usr/man -type f -exec gzip -9 {} \;
+# Use our own autostart script to autostart fcitx5
+install -m 755 $CWD/fcitx5-autostart $PKG/usr/bin/
+sed -i "s|Exec=/usr/bin/fcitx5|Exec=/usr/bin/fcitx5-autostart|" \
+ $PKG/etc/xdg/autostart/org.fcitx.Fcitx5.desktop
-mv $PKG/usr/share/doc $PKG/usr
-mv $PKG/usr/doc/$PKGNAM $PKG/usr/doc/$PKGNAM-$VERSION
-cp -a AUTHORS COPYING ChangeLog INSTALL README THANKS TODO \
- $PKG/usr/doc/$PKGNAM-$VERSION
+mkdir -p $PKG/usr/doc/$PKGNAM-$VERSION
+cp -a LICENSES/* README* $PKG/usr/doc/$PKGNAM-$VERSION
mkdir -p $PKG/install
zcat $CWD/doinst.sh.gz > $PKG/install/doinst.sh
diff --git a/source/x/fcitx5/fcitx5.url b/source/x/fcitx5/fcitx5.url
new file mode 100644
index 00000000..5bd658bf
--- /dev/null
+++ b/source/x/fcitx5/fcitx5.url
@@ -0,0 +1 @@
+https://download.fcitx-im.org/fcitx5/fcitx5/
diff --git a/source/x/fcitx5/slack-desc b/source/x/fcitx5/slack-desc
new file mode 100644
index 00000000..eaccae79
--- /dev/null
+++ b/source/x/fcitx5/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+fcitx5: fcitx5 (Input Method Framework)
+fcitx5:
+fcitx5: Fcitx is an input method framework with extension support. Currently
+fcitx5: it supports Linux and Unix systems like freebsd. It has three built-
+fcitx5: in Input Method Engine, Pinyin, QuWei and Table-based input methods.
+fcitx5: Fcitx tries to provide a native feeling under all desktop as well as
+fcitx5: a light weight core. You can easily customize it to fit your
+fcitx5: requirements.
+fcitx5:
+fcitx5: Homepage: https://fcitx-im.org/wiki/Fcitx_5
+fcitx5:
diff --git a/source/x/ibus-anthy/ibus-anthy.SlackBuild b/source/x/ibus-anthy/ibus-anthy.SlackBuild
index a414c40e..58b642e5 100755
--- a/source/x/ibus-anthy/ibus-anthy.SlackBuild
+++ b/source/x/ibus-anthy/ibus-anthy.SlackBuild
@@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=ibus-anthy
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) "}
diff --git a/source/x/ibus/ibus-autostart b/source/x/ibus/ibus-autostart
index 4f274335..c6b473ea 100644
--- a/source/x/ibus/ibus-autostart
+++ b/source/x/ibus/ibus-autostart
@@ -20,7 +20,7 @@ fi
if [ "$START" = "yes" ]; then
if [ "$1" = "--plasma" ]; then
- ibus-daemon -drx --panel=/usr/libLIBDIRSUFFIX/kimpanel-ibus-panel
+ ibus-daemon -drx --panel=/usr/libLIBDIRSUFFIX/libexec/kimpanel-ibus-panel
else
ibus-daemon -drx
fi
diff --git a/source/x/ibus/ibus.SlackBuild b/source/x/ibus/ibus.SlackBuild
index 8af65b92..96ddde33 100755
--- a/source/x/ibus/ibus.SlackBuild
+++ b/source/x/ibus/ibus.SlackBuild
@@ -1,7 +1,5 @@
#!/bin/bash
-# Slackware build script for ibus
-
# Copyright 2017 Heinz Wiesinger, Amsterdam, The Netherlands
# Copyright 2017, 2020, 2022 Patrick J. Volkerding, Sebeka, MN, USA
# All rights reserved.
@@ -27,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=ibus
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) "}
diff --git a/source/x/libime/libime.SlackBuild b/source/x/libime/libime.SlackBuild
new file mode 100755
index 00000000..e5920ce4
--- /dev/null
+++ b/source/x/libime/libime.SlackBuild
@@ -0,0 +1,109 @@
+#!/bin/bash
+
+# Copyright 2022 Heinz Wiesinger, Amsterdam, The Netherlands
+# Copyright 2022 Patrick J. Volkerding, Sebeka, MN, USA
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
+# 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)
+
+PKGNAM=libime
+VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d- | cut -f 2- -d _ | rev)}
+BUILD=${BUILD:-1}
+
+NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
+
+# Automatically determine the architecture we're building on:
+MARCH=$( uname -m )
+if [ -z "$ARCH" ]; then
+ case "$MARCH" in
+ i?86) export ARCH=i586 ;;
+ armv7hl) export ARCH=$MARCH ;;
+ arm*) export ARCH=arm ;;
+ # Unless $ARCH is already set, use uname -m for all other archs:
+ *) export ARCH=$MARCH ;;
+ esac
+fi
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "s390" ]; then
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+elif [ "$ARCH" = "armv7hl" ]; then
+ SLKCFLAGS="-O3 -march=armv7-a -mfpu=vfpv3-d16"
+ LIBDIRSUFFIX=""
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+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 "$PKGNAM-$VERSION-$ARCH-$BUILD.txz"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp}
+PKG=$TMP/package-libime
+
+rm -rf $PKG
+mkdir -p $TMP $PKG
+cd $TMP
+rm -rf libime-$VERSION
+tar xvf $CWD/libime-${VERSION}_dict.tar.?z || exit 1
+cd libime-$VERSION || exit 1
+
+chown -R root:root .
+find . \
+ \( -perm 777 -o -perm 775 -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 {} \+
+
+mkdir build
+cd build
+ cmake \
+ -DCMAKE_C_FLAGS:STRING="${SLKCFLAGS}" \
+ -DCMAKE_CXX_FLAGS:STRING="${SLKCFLAGS}" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib${LIBDIRSUFFIX} \
+ ..
+ make $NUMJOBS || make || exit 1
+ make install/strip DESTDIR=$PKG || exit 1
+cd ..
+
+mkdir -p $PKG/usr/doc/$PKGNAM-$VERSION
+cp -a README* LICENSES/* \
+ $PKG/usr/doc/$PKGNAM-$VERSION
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $TMP/$PKGNAM-$VERSION-$ARCH-$BUILD.txz
diff --git a/source/x/libime/libime.url b/source/x/libime/libime.url
new file mode 100644
index 00000000..b5d03da6
--- /dev/null
+++ b/source/x/libime/libime.url
@@ -0,0 +1 @@
+https://download.fcitx-im.org/fcitx5/libime/
diff --git a/source/x/libime/slack-desc b/source/x/libime/slack-desc
new file mode 100644
index 00000000..b4d8e176
--- /dev/null
+++ b/source/x/libime/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+libime: libime (Generic input method library)
+libime:
+libime: This is a library to support generic input method implementation.
+libime:
+libime: Homepage: https://fcitx-im.org/wiki/Fcitx_5
+libime:
+libime:
+libime:
+libime:
+libime:
+libime:
diff --git a/source/x/m17n-lib/m17n-lib.SlackBuild b/source/x/m17n-lib/m17n-lib.SlackBuild
index 86552505..f93f97c7 100755
--- a/source/x/m17n-lib/m17n-lib.SlackBuild
+++ b/source/x/m17n-lib/m17n-lib.SlackBuild
@@ -38,7 +38,7 @@ PKGNAM=m17n-lib
SHORTNAM=m17n
VERSION=${VERSION:-1.8.0}
DBVERSION=${DBVERSION:-1.8.0}
-BUILD=${BUILD:-4}
+BUILD=${BUILD:-5}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
diff --git a/source/x/skkdic/skkdic.SlackBuild b/source/x/skkdic/skkdic.SlackBuild
index a9381849..a1999ef7 100755
--- a/source/x/skkdic/skkdic.SlackBuild
+++ b/source/x/skkdic/skkdic.SlackBuild
@@ -3,7 +3,7 @@
# Slackware build script for skkdic
# Copyright 2015-2016 Heinz Wiesinger, Amsterdam, The Netherlands
-# Copyright 2016, 2020 Patrick J. Volkerding, Sebeka, MN, USA
+# Copyright 2016, 2020, 2022 Patrick J. Volkerding, Sebeka, MN, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -27,8 +27,9 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=skkdic
SRCVER=${SRCVER:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d- | rev)}
-VERSION=${VERSION:-$(echo $SRCVER | cut -f 1 -d 'T')}
-BUILD=${BUILD:-3}
+SRCDATE=${SRCDATE:-$(echo $SRCVER | cut -f 1 -d '.')}
+VERSION=${VERSION:-$(echo $SRCVER | cut -f 2 -d '.' | sed "s|git||")}
+BUILD=${BUILD:-1}
ARCH=noarch
NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
@@ -37,7 +38,7 @@ NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
# 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 "$PKGNAM-$VERSION-$ARCH-$BUILD.txz"
+ echo "$PKGNAM-$SRCDATE-$ARCH-$BUILD.txz"
exit 0
fi
@@ -47,9 +48,9 @@ PKG=$TMP/package-skkdic
rm -rf $PKG
mkdir -p $TMP $PKG
cd $TMP
-rm -rf skkdic-$VERSION
+rm -rf dict-$VERSION
tar xvf $CWD/skkdic-$SRCVER.tar.?z || exit 1
-cd skkdic-$VERSION || exit 1
+cd dict-$VERSION || exit 1
chown -R root:root .
find . \
@@ -71,13 +72,14 @@ for i in SKK-JISYO* zipcode/SKK-JISYO*; do
install -p -m 644 "$i" $PKG/usr/share/skk
done
-mkdir -p $PKG/usr/doc/$PKGNAM-$VERSION
-cp -a ChangeLog READMEs/committers.txt edict_doc.txt $CWD/README-skkdic.rh.ja \
- $PKG/usr/doc/$PKGNAM-$VERSION
-cp -a zipcode/README.ja $PKG/usr/doc/$PKGNAM-$VERSION/README-zipcode.ja
+mkdir -p $PKG/usr/doc/$PKGNAM-$SRCDATE/zipcode
+cp -a ChangeLog committers.md edict_doc.html unicode-license.txt README.md \
+ $PKG/usr/doc/$PKGNAM-$SRCDATE
+cp -a zipcode/README.md \
+ $PKG/usr/doc/$PKGNAM-$SRCDATE/zipcode
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $TMP/$PKGNAM-$VERSION-$ARCH-$BUILD.txz
+/sbin/makepkg -l y -c n $TMP/$PKGNAM-$SRCDATE-$ARCH-$BUILD.txz
diff --git a/source/x/skkdic/skkdic.url b/source/x/skkdic/skkdic.url
index c22ca560..502ad24b 100644
--- a/source/x/skkdic/skkdic.url
+++ b/source/x/skkdic/skkdic.url
@@ -1,2 +1,2 @@
(fetch from Fedora SRPM)
-http://pkgs.fedoraproject.org/repo/pkgs/skkdic/skkdic-20170102T1100.tar.bz2/sha512/550ba8cde28c460fdb71fd15e74b76c2a752e574f56ffbb9d69001e2c4379d5640979983288d4b937c09d752f5784890ecf66abbc153953072a389b5c9979259/skkdic-20170102T1100.tar.bz2
+http://pkgs.fedoraproject.org/repo/pkgs/skkdic/
diff --git a/source/x/x11-skel/manpages/imconfig.1 b/source/x/x11-skel/manpages/imconfig.1
new file mode 100644
index 00000000..7ca95108
--- /dev/null
+++ b/source/x/x11-skel/manpages/imconfig.1
@@ -0,0 +1,25 @@
+.\" -*- nroff -*-
+.ds g \" empty
+.ds G \" empty
+.\" Like TP, but if specified indent is more than half
+.\" the current line-length - indent, use the default indent.
+.de Tp
+.ie \\n(.$=0:((0\\$1)*2u>(\\n(.lu-\\n(.iu)) .TP
+.el .TP "\\$1"
+..
+.TH IMCONFIG 1 "01 June 2022" "Slackware Version 15.1.0"
+.SH NAME
+imconfig \- choose a default input method for X/Wayland.
+.SH SYNOPSIS
+.B imconfig
+.SH DESCRIPTION
+.B imconfig
+provides a menu of the input methods available on the machine so that you
+may choose one of them to use within an XDG compliant desktop environment.
+
+imconfig writes out $HOME/.profile.d/input-method.{sh,csh} files, allowing
+the user to choose their own default input method (possibly overriding the
+one chosen as a system default).
+.SH AUTHOR
+Patrick J. Volkerding <volkerdi@slackware.com>
+Heinz Wiesinger <pprkut@slackware.com>
diff --git a/source/x/x11-skel/scripts/imconfig b/source/x/x11-skel/scripts/imconfig
new file mode 100644
index 00000000..a576b273
--- /dev/null
+++ b/source/x/x11-skel/scripts/imconfig
@@ -0,0 +1,146 @@
+#!/bin/sh
+
+# Copyright 2022 Heinz Wiesinger, Amsterdam, The Netherlands
+# Copyright 2022 Patrick J. Volkerding, Sebeka, MN, USA
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
+# 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.
+#
+
+TMP=$HOME/.imconfig
+
+if [ ! -d $TMP ]; then
+ mkdir -p $TMP
+ chmod 700 $TMP
+fi
+
+# Set up some background information:
+BACKTITLE="--backtitle \"Setting default input method in $HOME/.profile.d/input-method.sh\""
+
+# This stops --backtitle from cluttering the initial install:
+if [ ! -r /proc/kcore ]; then
+ BACKTITLE=""
+fi
+
+# Do we already have an existing default?
+unset PRESELECT
+if [ -f "$HOME/.profile.d/input-method.sh" ]; then
+ CURRENT="$(grep QT_IM_MODULE "$HOME/.profile.d/input-method.sh" | cut -d '=' -f 2)"
+ if ! [ "$CURRENT" = "" ]; then
+ PRESELECT=" --default-item $CURRENT "
+ fi
+fi
+
+# Remove any previous script:
+rm -f $TMP/tmpscript.sh
+
+# Add the top of the script:
+cat << EOF > $TMP/tmpscript.sh
+dialog $BACKTITLE --title "SELECT DEFAULT INPUT METHOD FOR X/WAYLAND" $PRESELECT --menu \\
+"Please select the default input method to use. This will define the application that is \\
+being used to type non-latin characters in a desktop environment." 12 74 0 \\
+EOF
+
+# Add default "none" option to disable input methods:
+echo "\"none\" \"Do not use input methods\" \\" >> $TMP/tmpscript.sh
+
+# Add fcitx as the first and default entry:
+if [ -r /usr/bin/fcitx5-autostart ]; then
+ echo "\"fcitx\" \"Fcitx5: Flexible Context-aware Input Tool with eXtension support\" \\" >> $TMP/tmpscript.sh
+elif [ -r /usr/bin/fcitx-autostart ]; then
+ echo "\"fcitx\" \"Fcitx: Flexible Context-aware Input Tool with eXtension support\" \\" >> $TMP/tmpscript.sh
+fi
+
+# Add ibus:
+if [ -r /usr/bin/ibus-autostart ]; then
+ echo "\"ibus\" \"IBus: Intelligent Input Bus\" \\" >> $TMP/tmpscript.sh
+fi
+
+# Add uim:
+if [ -r /usr/bin/uim-autostart ]; then
+ echo "\"uim\" \"uim: Universal Input Method\" \\" >> $TMP/tmpscript.sh
+fi
+
+# Add scim:
+if [ -r /usr/bin/scim-autostart ]; then
+ echo "\"scim\" \"SCIM: Smart Common Input Method\" \\" >> $TMP/tmpscript.sh
+fi
+
+# Then, the tail end:
+cat << EOF >> $TMP/tmpscript.sh
+2> $TMP/output
+if [ ! \$? = 0 ]; then
+ rm -f $TMP/output
+ echo "Canceled."
+ exit
+fi
+
+dialog $BACKTITLE --title "SELECT DEFAULT INPUT METHOD FOR X/WAYLAND" --msgbox \\
+"Changes will take effect after a re-login." 0 0
+EOF
+
+sh $TMP/tmpscript.sh
+
+if [ ! -r $TMP/output ]; then
+ rm -f $TMP/tmpscript.sh
+ exit
+fi
+
+OUTPUT=$(cat $TMP/output)
+
+# Create $HOME/.profile.d if it doesn't exist yet
+if ! [ -e "$HOME/.profile.d" ]; then
+ mkdir "$HOME/.profile.d"
+fi
+
+if [ "$OUTPUT" = "none" ]; then
+
+# Create the bash profile script
+cat << EOF > "$HOME/.profile.d/input-method.sh"
+# File auto-generated by imconfig
+EOF
+
+cat << EOF > "$HOME/.profile.d/input-method.csh"
+# File auto-generated by imconfig
+EOF
+
+else
+
+# Create the bash profile script
+cat << EOF > "$HOME/.profile.d/input-method.sh"
+# File auto-generated by imconfig
+export XMODIFIERS="@im=$OUTPUT"
+export XIM=$OUTPUT
+export XIM_PROGRAM=$OUTPUT
+export GTK_IM_MODULE=$OUTPUT
+export QT_IM_MODULE=$OUTPUT
+EOF
+
+# Create the csh profile script
+cat << EOF > "$HOME/.profile.d/input-method.csh"
+# File auto-generated by imconfig
+setenv XMODIFIERS "@im=$OUTPUT"
+setenv XIM $OUTPUT
+setenv XIM_PROGRAM $OUTPUT
+setenv GTK_IM_MODULE $OUTPUT
+setenv QT_IM_MODULE $OUTPUT
+EOF
+
+fi
+
+rm -f $TMP/tmpscript.sh $TMP/output
diff --git a/source/x/x11-skel/x11-skel.SlackBuild b/source/x/x11-skel/x11-skel.SlackBuild
index 07451e76..18daa38f 100755
--- a/source/x/x11-skel/x11-skel.SlackBuild
+++ b/source/x/x11-skel/x11-skel.SlackBuild
@@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=x11-skel
VERSION=7.7
-BUILD=${BUILD:-8}
+BUILD=${BUILD:-9}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
@@ -73,6 +73,7 @@ chown -R root:root etc/X11
find etc/X11 -type f -exec chmod 644 {} \+
cp -a $CWD/scripts/xorgsetup usr/bin
cp -a $CWD/scripts/xwmconfig usr/bin
+cp -a $CWD/scripts/imconfig usr/bin
chown root:root usr/bin/*
chmod 755 usr/bin/*
sed -i -e "s#lib/#lib${LIBDIRSUFFIX}/#g" usr/bin/*
@@ -80,6 +81,7 @@ cp -a $CWD/scripts/setup.xwmconfig var/log/setup
chown root:root var/log/setup/setup.xwmconfig
chmod 755 var/log/setup/setup.xwmconfig
cat $CWD/manpages/xwmconfig.1 | gzip -9c > $PKG/usr/man/man1/xwmconfig.1.gz
+cat $CWD/manpages/imconfig.1 | gzip -9c > $PKG/usr/man/man1/imconfig.1.gz
cp -a $CWD/scripts/xwmconfig.desktop usr/share/xsessions
chown root:root usr/share/xsessions/xwmconfig.desktop
chmod 644 usr/share/xsessions/xwmconfig.desktop
diff --git a/source/x/xcb-imdkit/slack-desc b/source/x/xcb-imdkit/slack-desc
new file mode 100644
index 00000000..7e6b805e
--- /dev/null
+++ b/source/x/xcb-imdkit/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+xcb-imdkit: xcb-imdkit (XIM protocol implementation in xcb)
+xcb-imdkit:
+xcb-imdkit: xcb-imdkit is an implementation of xim protocol in xcb, comparing
+xcb-imdkit: with the implementation of IMDkit with Xlib, and xim inside Xlib,
+xcb-imdkit: it has less memory foot print, better performance, and safer on
+xcb-imdkit: malformed client.
+xcb-imdkit:
+xcb-imdkit: Homepage: https://fcitx-im.org/wiki/Fcitx_5
+xcb-imdkit:
+xcb-imdkit:
+xcb-imdkit:
diff --git a/source/x/xcb-imdkit/xcb-imdkit.SlackBuild b/source/x/xcb-imdkit/xcb-imdkit.SlackBuild
new file mode 100755
index 00000000..67eebec1
--- /dev/null
+++ b/source/x/xcb-imdkit/xcb-imdkit.SlackBuild
@@ -0,0 +1,111 @@
+#!/bin/bash
+
+# Copyright 2022 Heinz Wiesinger, Amsterdam, The Netherlands
+# Copyright 2022 Patrick J. Volkerding, Sebeka, MN, USA
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
+# 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)
+
+PKGNAM=xcb-imdkit
+VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d- | rev)}
+BUILD=${BUILD:-1}
+
+NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
+
+# Automatically determine the architecture we're building on:
+MARCH=$( uname -m )
+if [ -z "$ARCH" ]; then
+ case "$MARCH" in
+ i?86) export ARCH=i586 ;;
+ armv7hl) export ARCH=$MARCH ;;
+ arm*) export ARCH=arm ;;
+ # Unless $ARCH is already set, use uname -m for all other archs:
+ *) export ARCH=$MARCH ;;
+ esac
+fi
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "s390" ]; then
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+elif [ "$ARCH" = "armv7hl" ]; then
+ SLKCFLAGS="-O3 -march=armv7-a -mfpu=vfpv3-d16"
+ LIBDIRSUFFIX=""
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+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 "$PKGNAM-$VERSION-$ARCH-$BUILD.txz"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp}
+PKG=$TMP/package-xcb-imdkit
+
+rm -rf $PKG
+mkdir -p $TMP $PKG
+cd $TMP
+rm -rf xcb-imdkit-$VERSION
+tar xvf $CWD/xcb-imdkit-$VERSION.tar.?z || exit 1
+cd xcb-imdkit-$VERSION || exit 1
+
+chown -R root:root .
+find . \
+ \( -perm 777 -o -perm 775 -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 {} \+
+
+mkdir build
+cd build
+ cmake \
+ -DCMAKE_C_FLAGS:STRING="${SLKCFLAGS}" \
+ -DCMAKE_CXX_FLAGS:STRING="${SLKCFLAGS}" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib${LIBDIRSUFFIX} \
+ ..
+ make $NUMJOBS || make || exit 1
+ make install/strip DESTDIR=$PKG || exit 1
+cd ..
+
+#find $PKG/usr/man -type f -exec gzip -9 {} \;
+
+mkdir -p $PKG/usr/doc/$PKGNAM-$VERSION
+cp -a README* LICENSES/* \
+ $PKG/usr/doc/$PKGNAM-$VERSION
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $TMP/$PKGNAM-$VERSION-$ARCH-$BUILD.txz
diff --git a/source/x/xcb-imdkit/xcb-imdkit.url b/source/x/xcb-imdkit/xcb-imdkit.url
new file mode 100644
index 00000000..65aa5dbe
--- /dev/null
+++ b/source/x/xcb-imdkit/xcb-imdkit.url
@@ -0,0 +1 @@
+https://download.fcitx-im.org/fcitx5/xcb-imdkit/