summaryrefslogtreecommitdiff
path: root/testing/source/vtown/input-methods/skkdic
diff options
context:
space:
mode:
Diffstat (limited to 'testing/source/vtown/input-methods/skkdic')
-rw-r--r--testing/source/vtown/input-methods/skkdic/README-skkdic.rh.ja66
-rwxr-xr-xtesting/source/vtown/input-methods/skkdic/skkdic.SlackBuild83
-rw-r--r--testing/source/vtown/input-methods/skkdic/skkdic.url2
-rw-r--r--testing/source/vtown/input-methods/skkdic/slack-desc19
-rw-r--r--testing/source/vtown/input-methods/skkdic/unannotation.awk75
5 files changed, 0 insertions, 245 deletions
diff --git a/testing/source/vtown/input-methods/skkdic/README-skkdic.rh.ja b/testing/source/vtown/input-methods/skkdic/README-skkdic.rh.ja
deleted file mode 100644
index 843d45fc..00000000
--- a/testing/source/vtown/input-methods/skkdic/README-skkdic.rh.ja
+++ /dev/null
@@ -1,66 +0,0 @@
-## -*- text -*-
-##
-## README file for skkdic
-## by SATO Satoru <ssato@redhat.com>
-##
-
-
-このファイルはパッケージ skkdic に含まれる各辞書について簡単に
-説明するものです。各辞書の詳細については、その本体および、
-OpenLab SKKプロジェクトの辞書についての説明のページ
-(http://openlab.ring.gr.jp/skk/dic-ja.html)を参照して下さい。
-
-
-SKK-JISYO.S, SKK-JISYO.M, SKK-JISYO.ML, SKK-JISYO.L:
-
-SKKのための最も基本的な辞書です。S、M、L は辞書の大きさを表しますが、
-このパッケージに含まれているのは一番大きな SKK-JISYO.L だけです。
-
-SKK-JISYO.JIS2:
-
-JIS 第二水準の文字だけが収録されています。
-
-SKK-JISYO.wrong:
-
-以下前述のページより引用します。
-
-=begin
-SKK-JISYO.{SML} に間違えて含まれていたエントリを抽出したものです。このファイル
-は SKK-JISYO.{SML} に再び誤ったエントリが含まれないようにするための指標であり、
-また、個人辞書から誤ったエントリを削除するためのファイルでもあります。
-
-CVS 管理により作成されるファイルは、SKK-JISYO.wrong.annotated というファイルで
-す。このファイルに何が間違いなのかについての註釈付きで作成されます。このファイ
-ルを元に、openlab.ring.gr.jp により自動的に註釈が除かれて SKK-JISYO.wrong が作
-成されます。
-
-個人辞書から誤ったエントリを取り除くには次のようにすれば良いでしょう。
-
- % skkdic-expr ~/.skk-jisyo - SKK-JISYO.wrong | skkdic-sort - >.skk-jisyo
-
-=end
-
-
-SKK-JISYO.geo:
-SKK-JISYO.zipcode, SKK-JISYO.office.zipcode:
-
-郵政事業庁(旧郵政省)が使用、再配布、加工、移植、改良に制限を設けずに配布し
-ている、地名データ、郵便番号辞書をOpenLabの方々が SKK辞書形式に加工し、GPL
-を適用して配布しているものです。詳細についてはこのディレクトリ下のサブディ
-レクトリ zipcode/ の中にある README ファイルを参照して下さい。
-
-.zipcode は 7 桁郵便番号辞書、.office.zipcode は事業所郵便番号辞書となって
-います。
-
-
-SKK-JISYO.okinawa:
-
-沖縄辞書プロジェクトが作成、メンテナンスしている沖縄辞書を SKK 辞書形式に
-変換したものです。
-
-
-SKK-JISYO.law:
-
-弁護士 小松 弘氏が開発なさっていて GPL で配布されている法律辞書
-"法律用語電子化辞書 LKKS"(http://home2.highway.ne.jp/sui_feng/kks/) が
-SKK 辞書形式に変換されたものです。
diff --git a/testing/source/vtown/input-methods/skkdic/skkdic.SlackBuild b/testing/source/vtown/input-methods/skkdic/skkdic.SlackBuild
deleted file mode 100755
index ef64f436..00000000
--- a/testing/source/vtown/input-methods/skkdic/skkdic.SlackBuild
+++ /dev/null
@@ -1,83 +0,0 @@
-#!/bin/bash
-
-# Slackware build script for skkdic
-
-# Copyright 2015-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=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:-1_vtown_1}
-ARCH=noarch
-
-NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
-
-# 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-skkdic
-
-rm -rf $PKG
-mkdir -p $TMP $PKG
-cd $TMP
-rm -rf skkdic-$VERSION
-tar xvf $CWD/skkdic-$SRCVER.tar.?z || exit 1
-cd skkdic-$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 {} \+
-
-cp $CWD/unannotation.awk ./
-
-for dic in SKK-JISYO.L.unannotated SKK-JISYO.wrong; do
- rm -f $dic
- make $dic TOOLS_DIR=. || exit 1
-done
-
-mkdir -p $PKG/usr/share/skk/
-
-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/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/testing/source/vtown/input-methods/skkdic/skkdic.url b/testing/source/vtown/input-methods/skkdic/skkdic.url
deleted file mode 100644
index c22ca560..00000000
--- a/testing/source/vtown/input-methods/skkdic/skkdic.url
+++ /dev/null
@@ -1,2 +0,0 @@
-(fetch from Fedora SRPM)
-http://pkgs.fedoraproject.org/repo/pkgs/skkdic/skkdic-20170102T1100.tar.bz2/sha512/550ba8cde28c460fdb71fd15e74b76c2a752e574f56ffbb9d69001e2c4379d5640979983288d4b937c09d752f5784890ecf66abbc153953072a389b5c9979259/skkdic-20170102T1100.tar.bz2
diff --git a/testing/source/vtown/input-methods/skkdic/slack-desc b/testing/source/vtown/input-methods/skkdic/slack-desc
deleted file mode 100644
index 4b951f66..00000000
--- a/testing/source/vtown/input-methods/skkdic/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------------------------------------------------------|
-skkdic: skkdic (dictionaries for SKK)
-skkdic:
-skkdic: This package includes the SKK dictionaries, including the large
-skkdic: dictionary SKK-JISYO.L and pubdic+ dictionary.
-skkdic:
-skkdic: Homepage: http://openlab.ring.gr.jp/skk/
-skkdic:
-skkdic:
-skkdic:
-skkdic:
-skkdic:
diff --git a/testing/source/vtown/input-methods/skkdic/unannotation.awk b/testing/source/vtown/input-methods/skkdic/unannotation.awk
deleted file mode 100644
index 22166064..00000000
--- a/testing/source/vtown/input-methods/skkdic/unannotation.awk
+++ /dev/null
@@ -1,75 +0,0 @@
-# unannotation.awk: filter to remove annotations in dictionaries.
-#
-# Copyright (C) 2001, 2002 SKK Development Team <skk@ring.gr.jp>
-#
-# Maintainer: SKK Development Team <skk@ring.gr.jp>
-# Version: $Id: unannotation.awk,v 1.3 2006/01/04 10:35:06 skk-cvs Exp $
-# Last Modified: $Date: 2006/01/04 10:35:06 $
-#
-# This file is part of Daredevil SKK.
-#
-# Daredevil SKK is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License as
-# published by the Free Software Foundation; either version 2, or
-# (at your option) any later version.
-#
-# Daredevil SKK is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with Daredevil SKK, see the file COPYING. If not, write to
-# the Free Software Foundation Inc., 51 Franklin St, Fifth Floor,
-# Boston, MA 02110-1301, USA.
-
-BEGIN{
- print ";; -*- text -*-";
- ctime = myctime(0);
- this = ARGV[1];
- if (match(this, "\.annotated$") != 0){
- this = substr(this, 1, RSTART - 1);
- } else
- this = this ".unannotated";
- printf(";; %s was generated automatically by unannotation.awk at %s\n",
- this, ctime);
- #getline modeindicator
- #if (match(modeindicator, /;; -*- text -*-/) != 0){
- # print modeindicator;
- #}
-}
-#$0 !~ /"^;; -\*- text -\*-\n"/{
-{
- if (match($0, /^;/) == 0) {
- gsub(";[^/]*/", "/");
- if (DEQUOTE && $0 ~ /\\073/) {
- $0 = dequote($0);
- }
- }
- print;
-}
-function myctime(ts, format) {
- format = "%a %b %e %H:%M:%S %Y";
- if (ts == 0)
- ts = systime(); # use current time as default
- return strftime(format, ts);
-}
-# convert '\073' to ';' and strip '(concat "...")'.
-# example: 'smile /(concat "^_^\073\073")/:-)/' to 'smile /^_^;;/:-)/'
-# @param s string to convert
-# @return converted string
-function dequote(s) {
- ret = "";
- n = split(s, a, "/");
- for (i = 1; i < n; i++) {
- if (a[i] ~ /^\(concat ".*\\073.*"\)$/) { # \073 = ';'
- gsub(/\\073/, ";", a[i]);
- if (a[i] !~ /\\/) { # no other quote
- a[i] = gensub(/^\(concat "(.*)"\)$/, "\\1", "g", a[i]);
- }
- }
- ret = ret a[i] "/";
- }
- return ret;
-}
-# end of unannotation.awk.