aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--misc/fcitx/README21
-rw-r--r--misc/fcitx/doinst.sh17
-rw-r--r--misc/fcitx/fcitx-autostart.patch30
-rw-r--r--misc/fcitx/fcitx.SlackBuild110
-rw-r--r--misc/fcitx/fcitx.info10
-rw-r--r--misc/fcitx/slack-desc19
6 files changed, 0 insertions, 207 deletions
diff --git a/misc/fcitx/README b/misc/fcitx/README
deleted file mode 100644
index d85f15ffda57..000000000000
--- a/misc/fcitx/README
+++ /dev/null
@@ -1,21 +0,0 @@
-Fcitx is an input method framework with extension support. Currently it
-supports linux and Unix systems, like freebsd. It has three builtin
-Input Method Engine, Pinyin, QuWei and Table-based input methods.
-
-By default, this slackbuild will build IM module support for GTK2, GTK3
-and Qt4.
-
-To enable OpenCC support for chinese input, you can pass OPENCC=On to
-the script:
-
- OPENCC=On ./fcitx.SlackBuild
-
-To enable fcitx put the following lines in your ~/.bashrc file
-
-export GTK_IM_MODULE=fcitx
-export XMODIFIERS=@im=fcitx
-export QT_IM_MODULE=fcitx
-
-fcitx is pre-configured to autostart on xdg-compliant desktop environments
-if these settings are present. On other desktop environments you can add
-"fcitx-autostart" to the respective autostart settings.
diff --git a/misc/fcitx/doinst.sh b/misc/fcitx/doinst.sh
deleted file mode 100644
index dff5a780c39b..000000000000
--- a/misc/fcitx/doinst.sh
+++ /dev/null
@@ -1,17 +0,0 @@
-if [ -x /usr/bin/update-desktop-database ]; then
- /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
-fi
-
-if [ -x usr/bin/update-gtk-immodules ]; then
- chroot . /usr/bin/update-gtk-immodules --verbose 1>/dev/null
-fi
-
-if [ -x /usr/bin/update-mime-database ]; then
- /usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
-fi
-
-if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
- if [ -x /usr/bin/gtk-update-icon-cache ]; then
- /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
- fi
-fi
diff --git a/misc/fcitx/fcitx-autostart.patch b/misc/fcitx/fcitx-autostart.patch
deleted file mode 100644
index d2d206bb09bf..000000000000
--- a/misc/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_MOFULE" = "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/misc/fcitx/fcitx.SlackBuild b/misc/fcitx/fcitx.SlackBuild
deleted file mode 100644
index 53824c26b32d..000000000000
--- a/misc/fcitx/fcitx.SlackBuild
+++ /dev/null
@@ -1,110 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for fcitx.
-
-# Copyright 2012 vvoody <vvoodywang@gmail.com>
-# Copyright 2017 Heinz Wiesinger, Amsterdam, The Netherlands
-#
-# 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.
-
-PRGNAM=fcitx
-VERSION=${VERSION:-4.2.9.4}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-OPENCC=${OPENCC:-Off}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i486 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-${VERSION}_dict.tar.xz
-cd $PRGNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -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
-patch -p0 -d data/script/ -i $CWD/fcitx-autostart.patch
-
-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_IM_MODULE=On \
- -DENABLE_OPENCC=${OPENCC} \
- ..
- make
- make install/strip DESTDIR=$PKG
-cd ..
-
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-
-mv $PKG/usr/share/doc $PKG/usr
-mv $PKG/usr/doc/$PRGNAM $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING ChangeLog INSTALL README THANKS TODO \
- $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/misc/fcitx/fcitx.info b/misc/fcitx/fcitx.info
deleted file mode 100644
index a9b974cb70ff..000000000000
--- a/misc/fcitx/fcitx.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="fcitx"
-VERSION="4.2.9.4"
-HOMEPAGE="https://fcitx-im.org"
-DOWNLOAD="https://download.fcitx-im.org/fcitx/fcitx-4.2.9.4_dict.tar.xz"
-MD5SUM="01a95b63fae67623cd594ab8517e80e9"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="libxkbcommon extra-cmake-modules"
-MAINTAINER="Heinz Wiesinger"
-EMAIL="pprkut@liwjatan.at"
diff --git a/misc/fcitx/slack-desc b/misc/fcitx/slack-desc
deleted file mode 100644
index d56560b5aa98..000000000000
--- a/misc/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 (Free Chinese Input Toy for X)
-fcitx:
-fcitx: Fcitx(Free Chinese Input Toy for X) is a collection of
-fcitx: Simplified Chinese input methods for Linux. It supports Pinyin,
-fcitx: QuWei and Table-based input methods.
-fcitx:
-fcitx: There are some good modules you can choose, like fcitx-config,
-fcitx: fcitx-{googlepinyin,sunpinyin,cloudpinyin}, fcitx-fbterm, etc.
-fcitx:
-fcitx: Homepage: https://fcitx-im.org
-fcitx: