pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
tamago-anthy: remove, upstream is gone
Module Name: pkgsrc-wip
Committed By: Thomas Klausner <wiz%NetBSD.org@localhost>
Pushed By: wiz
Date: Thu Sep 24 17:33:31 2026 +0200
Changeset: f3eb5d01980e3630e62217eadb3ab5c80afdbc4b
Modified Files:
Makefile
Removed Files:
tamago-anthy/DESCR
tamago-anthy/MESSAGE
tamago-anthy/Makefile
tamago-anthy/PLIST
tamago-anthy/TODO
tamago-anthy/distinfo
tamago-anthy/patches/patch-ab
tamago-anthy/patches/patch-ac
tamago-anthy/patches/patch-ad
tamago-anthy/patches/patch-ae
tamago-anthy/patches/patch-egg_its.el
tamago-anthy/patches/patch-src-util_anthy.el
Log Message:
tamago-anthy: remove, upstream is gone
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=f3eb5d01980e3630e62217eadb3ab5c80afdbc4b
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
Makefile | 1 -
tamago-anthy/DESCR | 6 --
tamago-anthy/MESSAGE | 17 -----
tamago-anthy/Makefile | 94 ----------------------------
tamago-anthy/PLIST | 87 -------------------------
tamago-anthy/TODO | 27 --------
tamago-anthy/distinfo | 13 ----
tamago-anthy/patches/patch-ab | 20 ------
tamago-anthy/patches/patch-ac | 27 --------
tamago-anthy/patches/patch-ad | 36 -----------
tamago-anthy/patches/patch-ae | 90 --------------------------
tamago-anthy/patches/patch-egg_its.el | 24 -------
tamago-anthy/patches/patch-src-util_anthy.el | 15 -----
13 files changed, 457 deletions(-)
diffs:
diff --git a/Makefile b/Makefile
index 0c535fb594..88f8a87ed8 100644
--- a/Makefile
+++ b/Makefile
@@ -5687,7 +5687,6 @@ SUBDIR+= tac_plus-libradius
SUBDIR+= tagtool
SUBDIR+= tailcat
SUBDIR+= talksoup
-SUBDIR+= tamago-anthy
SUBDIR+= tangled
SUBDIR+= tardy
SUBDIR+= taskchampion-sync-server
diff --git a/tamago-anthy/DESCR b/tamago-anthy/DESCR
deleted file mode 100644
index 94101de3e8..0000000000
--- a/tamago-anthy/DESCR
+++ /dev/null
@@ -1,6 +0,0 @@
- The Tamago(egg) is famous CJK input system for Emacs. It
-works with KANA-Kanji converson engine as FreeWnn, Canna, Sj3.
-We have another version of kana-Kanji conversion engine:
-Anthy. Anthy has its anthy.el for bridge, but this is yet
-another Tamago(egg) like input bridge to connect Emacs and
-Anthy engine, and this can be replacement of Original Tamago.
diff --git a/tamago-anthy/MESSAGE b/tamago-anthy/MESSAGE
deleted file mode 100644
index d57aa09402..0000000000
--- a/tamago-anthy/MESSAGE
+++ /dev/null
@@ -1,17 +0,0 @@
-===========================================================================
-$NetBSD: MESSAGE,v 1.4 2011/05/09 04:32:25 makoto Exp $
-
-;; (1) README FILE is at
-;; ${PREFIX}/share/anthy/egg-anthy.readme (in Japanese, sorry).
-;;
-;; (2) Type C-u C-\ and select "japanese-egg-anthy".
-;; or you may set this is default as:
- (setq default-input-method "japanese-egg-anthy")
-;; in your init file (~/.emacs etc).
-;;
-;; (3) You may need following line in init file to work
-;; M-x egg-toroku-region correctly
-;; with recent UCS(UTF-8) enabled emacs.
- (setq anthy-egg-use-utf8 t)
-;; (4) use C-\ to switch Japanese Kana or Alphanumeric input.
-===========================================================================
diff --git a/tamago-anthy/Makefile b/tamago-anthy/Makefile
deleted file mode 100644
index 5f2020dcbd..0000000000
--- a/tamago-anthy/Makefile
+++ /dev/null
@@ -1,94 +0,0 @@
-# $NetBSD: Makefile,v 1.12 2014/06/18 09:45:35 makoto Exp $
-# the version number is for pkglint only
-DISTNAME= tamago-anthy-4.0
-PKGREVISION= ${_GIT_PKGVERSION:S/.//g}
-LICENSE= gnu-gpl-v2
-
-# See ../../inputmethod/anthy/Makefile.common
-ANTHY_VERSION= 9100h
-
-CATEGORIES= inputmethod
-# egg-anthy
-MASTER_SITES= http://www.meadowy.org/~shirai/elips/
-# anthy
-MASTER_SITES+= ${MASTER_SITE_SOURCEFORGE_JP:=anthy/37536/}
-MAINTAINER= makoto%ki.nu@localhost
-HOMEPAGE= http://www.meadowy.org/~shirai/
-# HOMEPAGE+= http://www.m17n.org/tamago/
-#
-DISTFILES+= egg-anthy.tar.gz
-DISTFILES+= anthy-${ANTHY_VERSION}.tar.gz
-COMMENT= Tamago(Emacs CJK input) + Anthy engine interface
-
-CONFLICTS= tamago-[0-9]*
-MAKE_FLAGS+= prefix=${DESTDIR}${PREFIX}
-
-USE_TOOLS+= pax patch
-INFO_FILES= yes
-
-# requires KANA-Kanji conversion engine
-DEPENDS+= anthy-[0-9]*:../../inputmethod/anthy
-
-GIT_REPOSITORIES= master
-GIT_MODULE.master= egg
-GIT_REPO.master= git://git.debian.org/git/pkg-anthy/egg.git
-GIT_DEEP_CLONE.master= yes # defined
-
-GNU_CONFIGURE= yes
-WRKSRC= ${WRKDIR}/egg
-
-.include "../../editors/emacs/modules.mk"
-
-INSTALL_MAKE_FLAGS= prefix=${DESTDIR}${PREFIX} \
- infodir=${DESTDIR}${PREFIX}/${PKGINFODIR}
-
-# This is cvs-package version and DISTFILES may not be automatically read, so:
-post-patch:
- set -e; \
- (cd ${WRKDIR}; pwd; \
- for i in ${DISTFILES} ; do \
- ${ECHO} ${DISTDIR}/$${i}; \
- ${PAX} -r -z -f ${DISTDIR}/$${i}; \
- done;)
-
-# overwrite two files from egg-anthy
-pre-configure:
- cp -p ${WRKDIR}/egg-anthy/anthy.el ${WRKSRC}/egg
- cp -p ${WRKDIR}/egg-anthy/anthyipc.el ${WRKSRC}/egg
-
-# Take care anthy part, it needs some 'make' there
-post-build:
- set -e; \
- cd ${WRKDIR}/anthy-${ANTHY_VERSION}/src-util; \
- sh ../configure; \
- ${MAKE} elc-stamp
-
-do-install:
-# Original egg install (copied part of mk/install/install.mk)
- set -e; cd ${WRKSRC}; \
- ${SETENV} ${INSTALL_ENV} ${MAKE_ENV} \
- ${MAKE_PROGRAM} ${MAKE_FLAGS} ${INSTALL_MAKE_FLAGS} \
- install
-# Install anthy-elisp
-# (hide after egg/egg that's why egg/f-anthy instead of just egg/anthy)
- ${INSTALL_DATA_DIR} ${DESTDIR}${EMACS_LISPPREFIX}/egg/f-anthy
- ${INSTALL_DATA} ${WRKDIR}/anthy-${ANTHY_VERSION}/src-util/*.el \
- ${DESTDIR}${EMACS_LISPPREFIX}/egg/f-anthy
- ${INSTALL_DATA} ${WRKDIR}/anthy-${ANTHY_VERSION}/src-util/*.elc \
- ${DESTDIR}${EMACS_LISPPREFIX}/egg/f-anthy
-# install misc stuff of egg-anthy
- ${INSTALL_DATA_DIR} ${DESTDIR}/${PREFIX}/share/anthy
- ${INSTALL_DATA} ${WRKDIR}/egg-anthy/*.readme ${DESTDIR}/${PREFIX}/share/anthy
- ${INSTALL_DATA} ${WRKDIR}/egg-anthy/typetab-* ${DESTDIR}/${PREFIX}/share/anthy
-
-PLIST_VARS+= jisx0213
-
-.if ${EMACS_FLAVOR} == "emacs" && ${EMACS_VERSION_MAJOR} >= 21
-PLIST.jisx0213= yes
-.endif
-
-.include "../../wip/mk/git-package.mk"
-# http://mail-index.netbsd.org/pkgsrc-wip-discuss/2014/01/20/msg002556.html
-# By unknown reason, tamago repository does not accept --depth=1, see TODO
-
-.include "../../mk/bsd.pkg.mk"
diff --git a/tamago-anthy/PLIST b/tamago-anthy/PLIST
deleted file mode 100644
index d32a56b248..0000000000
--- a/tamago-anthy/PLIST
+++ /dev/null
@@ -1,87 +0,0 @@
-@comment $NetBSD: PLIST,v 1.3 2012/11/19 13:04:56 makoto Exp $
-${EMACS_LISPPREFIX}/egg/egg/.nosearch
-${EMACS_LISPPREFIX}/egg/its/.nosearch
-${EMACS_LISPPREFIX}/egg/egg-cnv.el
-${EMACS_LISPPREFIX}/egg/egg-cnv.elc
-${EMACS_LISPPREFIX}/egg/egg-com.el
-${EMACS_LISPPREFIX}/egg/egg-com.elc
-${EMACS_LISPPREFIX}/egg/egg-edep.el
-${EMACS_LISPPREFIX}/egg/egg-edep.elc
-${EMACS_LISPPREFIX}/egg/egg-mlh.el
-${EMACS_LISPPREFIX}/egg/egg-mlh.elc
-${EMACS_LISPPREFIX}/egg/egg-sim.el
-${EMACS_LISPPREFIX}/egg/egg-sim.elc
-${EMACS_LISPPREFIX}/egg/egg.el
-${EMACS_LISPPREFIX}/egg/egg.elc
-${EMACS_LISPPREFIX}/egg/egg/anthy.el
-${EMACS_LISPPREFIX}/egg/egg/anthy.elc
-${EMACS_LISPPREFIX}/egg/egg/anthyipc.el
-${EMACS_LISPPREFIX}/egg/egg/anthyipc.elc
-${EMACS_LISPPREFIX}/egg/egg/canna.el
-${EMACS_LISPPREFIX}/egg/egg/canna.elc
-${EMACS_LISPPREFIX}/egg/egg/cannarpc.el
-${EMACS_LISPPREFIX}/egg/egg/cannarpc.elc
-${EMACS_LISPPREFIX}/egg/egg/sj3.el
-${EMACS_LISPPREFIX}/egg/egg/sj3.elc
-${EMACS_LISPPREFIX}/egg/egg/sj3rpc.el
-${EMACS_LISPPREFIX}/egg/egg/sj3rpc.elc
-${EMACS_LISPPREFIX}/egg/egg/wnn.el
-${EMACS_LISPPREFIX}/egg/egg/wnn.elc
-${EMACS_LISPPREFIX}/egg/egg/wnnrpc.el
-${EMACS_LISPPREFIX}/egg/egg/wnnrpc.elc
-${EMACS_LISPPREFIX}/egg/eggrc
-${EMACS_LISPPREFIX}/egg/its-keydef.el
-${EMACS_LISPPREFIX}/egg/its-keydef.elc
-${EMACS_LISPPREFIX}/egg/its.el
-${EMACS_LISPPREFIX}/egg/its.elc
-${EMACS_LISPPREFIX}/egg/its/ascii.el
-${EMACS_LISPPREFIX}/egg/its/ascii.elc
-${PLIST.jisx0213}${EMACS_LISPPREFIX}/egg/its/aynu.el
-${PLIST.jisx0213}${EMACS_LISPPREFIX}/egg/its/aynu.elc
-${EMACS_LISPPREFIX}/egg/its/bixing.el
-${EMACS_LISPPREFIX}/egg/its/bixing.elc
-${EMACS_LISPPREFIX}/egg/its/erpin.el
-${EMACS_LISPPREFIX}/egg/its/erpin.elc
-${EMACS_LISPPREFIX}/egg/its/greek.el
-${EMACS_LISPPREFIX}/egg/its/greek.elc
-${EMACS_LISPPREFIX}/egg/its/hangul.el
-${EMACS_LISPPREFIX}/egg/its/hangul.elc
-${EMACS_LISPPREFIX}/egg/its/hankata.el
-${EMACS_LISPPREFIX}/egg/its/hankata.elc
-${EMACS_LISPPREFIX}/egg/its/hira.el
-${EMACS_LISPPREFIX}/egg/its/hira.elc
-${EMACS_LISPPREFIX}/egg/its/jeonkak.el
-${EMACS_LISPPREFIX}/egg/its/jeonkak.elc
-${EMACS_LISPPREFIX}/egg/its/jiskana.el
-${EMACS_LISPPREFIX}/egg/its/jiskana.elc
-${EMACS_LISPPREFIX}/egg/its/kata.el
-${EMACS_LISPPREFIX}/egg/its/kata.elc
-${EMACS_LISPPREFIX}/egg/its/pinyin.el
-${EMACS_LISPPREFIX}/egg/its/pinyin.elc
-${EMACS_LISPPREFIX}/egg/its/quanjiao.el
-${EMACS_LISPPREFIX}/egg/its/quanjiao.elc
-${EMACS_LISPPREFIX}/egg/its/thai.el
-${EMACS_LISPPREFIX}/egg/its/thai.elc
-${EMACS_LISPPREFIX}/egg/its/zenkaku.el
-${EMACS_LISPPREFIX}/egg/its/zenkaku.elc
-${EMACS_LISPPREFIX}/egg/its/zhuyin.el
-${EMACS_LISPPREFIX}/egg/its/zhuyin.elc
-${EMACS_LISPPREFIX}/egg/leim-list.el
-${FOR_emacs20}${EMACS_LISPPREFIX}/egg/f-anthy/leim-list.elc
-${EMACS_LISPPREFIX}/egg/menudiag.el
-${EMACS_LISPPREFIX}/egg/menudiag.elc
-${EMACS_LISPPREFIX}/egg/f-anthy/anthy-azik.el
-${EMACS_LISPPREFIX}/egg/f-anthy/anthy-azik.elc
-${EMACS_LISPPREFIX}/egg/f-anthy/anthy-conf.el
-${EMACS_LISPPREFIX}/egg/f-anthy/anthy-conf.elc
-${EMACS_LISPPREFIX}/egg/f-anthy/anthy-dic.el
-${EMACS_LISPPREFIX}/egg/f-anthy/anthy-dic.elc
-${EMACS_LISPPREFIX}/egg/f-anthy/anthy-isearch.el
-${EMACS_LISPPREFIX}/egg/f-anthy/anthy-isearch.elc
-${EMACS_LISPPREFIX}/egg/f-anthy/anthy-kyuri.el
-${EMACS_LISPPREFIX}/egg/f-anthy/anthy-kyuri.elc
-${EMACS_LISPPREFIX}/egg/f-anthy/anthy.el
-${EMACS_LISPPREFIX}/egg/f-anthy/anthy.elc
-${EMACS_LISPPREFIX}/egg/f-anthy/leim-list.el
-share/anthy/egg-anthy.readme
-share/anthy/typetab-20100524
diff --git a/tamago-anthy/TODO b/tamago-anthy/TODO
deleted file mode 100644
index 1ccca7bc9d..0000000000
--- a/tamago-anthy/TODO
+++ /dev/null
@@ -1,27 +0,0 @@
-- The recent problem was:
-===> Overriding tools for tamago-anthy-4.0nb20140221
-===> Extracting for tamago-anthy-4.0nb20140221
-Cloning into 'egg'...
-fatal: The remote end hung up unexpectedly
-fatal: early EOF
-fatal: index-pack failed
-*** Error code 128
--------------------------
-We need following change
-
-Index: mk/git-package.mk
-===================================================================
-RCS file: /cvsroot/pkgsrc-wip/wip/mk/git-package.mk,v
-retrieving revision 1.17
-diff -u -r1.17 git-package.mk
---- mk/git-package.mk 11 Feb 2014 21:54:09 -0000 1.17
-+++ mk/git-package.mk 21 Feb 2014 10:58:45 -0000
-@@ -64,7 +64,7 @@
-
- _GIT_CMD= git
- _GIT_ENV= # empty
--_GIT_FLAGS= --quiet --depth 1
-+_GIT_FLAGS?= --quiet --depth 1
- _GIT_TODAY_CMD= ${DATE} -u +'%Y-%m-%d'
- _GIT_TODAY= ${_GIT_TODAY_CMD:sh}
- _GIT_PKGVERSION_CMD= ${DATE} -u +'%Y.%m.%d'
diff --git a/tamago-anthy/distinfo b/tamago-anthy/distinfo
deleted file mode 100644
index cf2e625a50..0000000000
--- a/tamago-anthy/distinfo
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: distinfo,v 1.7 2013/02/12 06:45:09 makoto Exp $
-
-RMD160 (anthy-9100h.tar.gz) = 6ddb26c0a47daf2f765b2973817cfbe84fa85606
-SHA512 (anthy-9100h.tar.gz) = 315ebd9e1af208f3ecaeaa13620213b35f004e47edb54e60c3e02c2997444cd2326cc58b725dd2d0bd6a723130884d946ea193ea3d92418082256b59ecc8d88b
-Size (anthy-9100h.tar.gz) = 4446148 bytes
-RMD160 (egg-anthy.tar.gz) = 944ab5d1b2b338fb2ac24961ad68d83716ff879c
-Size (egg-anthy.tar.gz) = 14670 bytes
-SHA1 (patch-ab) = 3e5d309e06ea3a1460f55d3d6cf6bd7766380f7a
-SHA1 (patch-ac) = 537d9a78c4a405e48329e79e8d4908a036c96fdb
-SHA1 (patch-ad) = 4e6976eeb77f73907f60a1ea32da93b7a626f617
-SHA1 (patch-ae) = 93c115dbf13e6a888a61be4b4c6d9b78817130a1
-SHA1 (patch-egg_its.el) = a158eb08219442b4e7b149b80414a00b65514931
-SHA1 (patch-src-util_anthy.el) = 54cc094ba5ab898abc99f7ac6fc4f3163aeaf4c2
diff --git a/tamago-anthy/patches/patch-ab b/tamago-anthy/patches/patch-ab
deleted file mode 100644
index 3e7b2acd5f..0000000000
--- a/tamago-anthy/patches/patch-ab
+++ /dev/null
@@ -1,20 +0,0 @@
-$NetBSD: patch-ab,v 1.4 2013/02/12 06:45:09 makoto Exp $
-
-See following mail (in Japanese)
-[mule-ja-2009:09758] Re: (emacs-23.2) M-x egg-toroku-region Invalid code(s) (Re: tamago Anthy
-http://www.m17n.org/mlarchive/mule-ja/201008/msg00005.html
-
---- egg/egg-edep.el.orig 2013-02-12 15:16:39.000000000 +0900
-+++ egg-edep.el 2013-02-12 15:16:39.000000000 +0900
-@@ -74,7 +74,10 @@
- (set-category-table (copy-category-table))
- (setq category (get-unused-category))
- (define-category category "")
-- (modify-category-entry (make-char charset) category)
-+ (if (and (boundp 'emacs-major-version)
-+ (< emacs-major-version 23))
-+ (modify-category-entry (make-char charset) category)
-+ (map-charset-chars 'modify-category-entry charset category) )
- (string-match (concat "\\c" (list category) "+") string start))
- (set-category-table cur-ct))))
-
diff --git a/tamago-anthy/patches/patch-ac b/tamago-anthy/patches/patch-ac
deleted file mode 100644
index b2fd88cdea..0000000000
--- a/tamago-anthy/patches/patch-ac
+++ /dev/null
@@ -1,27 +0,0 @@
-$NetBSD: patch-ac,v 1.3 2013/02/12 06:45:09 makoto Exp $
-
- make-local-hook is used only before emacs-21.
- last-command-char -> last-command-event
-
---- egg/egg.el.orig 2013-02-12 15:16:39.000000000 +0900
-+++ egg.el 2013-02-12 15:22:54.000000000 +0900
-@@ -169,7 +169,9 @@
- (setq egg-modeless-mode t))
- (setq inactivate-current-input-method-function 'egg-mode)
- (setq describe-current-input-method-function 'egg-help)
-- (make-local-hook 'input-method-activate-hook)
-+ (if (and (boundp 'emacs-major-version)
-+ (< emacs-major-version 21))
-+ (make-local-hook 'input-method-activate-hook))
- (add-hook 'input-method-activate-hook 'its-set-mode-line-title nil t)
- (if (eq (selected-window) (minibuffer-window))
- (add-hook 'minibuffer-exit-hook 'egg-exit-from-minibuffer))
-@@ -184,7 +186,7 @@
-
- (defun egg-self-insert-char ()
- (interactive)
-- (its-start last-command-char (and (eq last-command 'egg-use-context)
-+ (its-start last-command-event (and (eq last-command 'egg-use-context)
- egg-context)))
-
- (defun egg-remove-all-text-properties (from to &optional object)
diff --git a/tamago-anthy/patches/patch-ad b/tamago-anthy/patches/patch-ad
deleted file mode 100644
index d32450b3ba..0000000000
--- a/tamago-anthy/patches/patch-ad
+++ /dev/null
@@ -1,36 +0,0 @@
-$NetBSD: patch-ad,v 1.3 2013/02/12 06:45:09 makoto Exp $
-
- make-local-hook is used only before emacs-21.
- last-command-char -> last-command-event
-
---- egg/menudiag.el.orig 2013-02-12 15:16:39.000000000 +0900
-+++ menudiag.el 2013-02-12 15:16:39.000000000 +0900
-@@ -296,7 +296,7 @@
- (defun menudiag-goto-item ()
- (interactive)
- (menudiag-check-current-menu)
-- (let ((ch last-command-char)
-+ (let ((ch last-command-event)
- (n 0))
- (setq n (menudiag-char-to-item-num ch))
- (if (>= n (length menudiag-line))
-@@ -503,7 +503,9 @@
- (make-local-variable 'inhibit-read-only)
- (setq buffer-read-only t
- inhibit-read-only nil)
-- (make-local-hook 'post-command-hook)
-+ (if (and (boundp 'emacs-major-version)
-+ (< emacs-major-version 21))
-+ (make-local-hook 'post-command-hook))
- (add-hook 'post-command-hook 'menudiag-selection-align-to-item nil t)
- (use-local-map menudiag-selection-map)
- (setq mode-name "Menudiag Selection")
-@@ -619,7 +621,7 @@
- (unless (eq last-command 'menudiag-selection-goto)
- (setq menudiag-goto-number-list nil
- menudiag-original-point (point)))
-- (setq menudiag-goto-number-list (cons (- last-command-char ?0)
-+ (setq menudiag-goto-number-list (cons (- last-command-event ?0)
- menudiag-goto-number-list))
- (menudiag-selection-goto-internal))
-
diff --git a/tamago-anthy/patches/patch-ae b/tamago-anthy/patches/patch-ae
deleted file mode 100644
index 2d36dd0e65..0000000000
--- a/tamago-anthy/patches/patch-ae
+++ /dev/null
@@ -1,90 +0,0 @@
-$NetBSD: patch-ae,v 1.4 2013/02/12 06:45:09 makoto Exp $
-
-Couldn't get kana kanji conversion at mini buffer with [22.0.95]
-See (in Japanese) discussion at following mail.
-http://www.m17n.org/mlarchive/mule-ja/200703/msg00018.html
-
---- egg/egg-com.el.orig 2013-02-12 15:16:39.000000000 +0900
-+++ egg-com.el 2013-02-12 15:16:39.000000000 +0900
-@@ -44,6 +44,8 @@
-
- ;; Japanese
-
-+(if (not (fboundp 'define-coding-system)) ; emacs-22 or earlier
-+(progn
- (eval-and-compile
- (define-ccl-program ccl-decode-fixed-euc-jp
- `(2
-@@ -101,6 +103,72 @@
- (make-coding-system 'fixed-euc-jp 4 ?W "Coding System for fixed EUC Japanese"
- (cons ccl-decode-fixed-euc-jp ccl-encode-fixed-euc-jp))
-
-+) ; (if (not (fboundp 'define-coding-system)) ; emacs-22 or earlier
-+(progn
-+;; http://www.m17n.org/mlarchive/mule-ja/200703/msg00018.html
-+(defun fixed-euc-jp-pre-write-conversion (from to)
-+ (let ((work-buf (generate-new-buffer " *temp*"))
-+ ch)
-+ (if (stringp from)
-+ (encode-coding-string from 'euc-japan nil work-buf)
-+ (encode-coding-region from to 'euc-japan work-buf))
-+ (set-buffer work-buf)
-+ (set-buffer-multibyte nil)
-+ (goto-char (point-min))
-+ (while (not (eobp))
-+ (setq ch (following-char))
-+ (cond ((= ch #x8E) ; SS2 for JISX0201-kana
-+ (delete-char 1) ; SS2 BYTE -> 0 BYTE&0x7F
-+ (insert 0)
-+ (forward-char 1))
-+ ((= ch #x8F) ; SS3 for JISX0212
-+ (delete-char 1) ; SS3 BYTE1 BYTE2 -> BYTE1 BYTE2&0x7F
-+ (forward-char 1)
-+ (setq ch (following-char))
-+ (delete-char 1)
-+ (insert (logand ch #x7F)))
-+ ((>= ch #xA0) ; JISX0208
-+ (forward-char 2))
-+ (t ; ASCII
-+ (insert 0) ; BYTE -> 0 BYTE
-+ (forward-char 1))))))
-+
-+(defun fixed-euc-jp-post-read-conversion (len)
-+ (let ((str (string-as-unibyte (buffer-substring (point) (+ (point) len))))
-+ (pos (point))
-+ i ch1 ch2)
-+ (delete-region (point) (+ (point) len))
-+ (setq i 0)
-+ (while (< i len)
-+ (setq ch1 (aref str i))
-+ (setq ch2 (aref str (1+ i)))
-+ (cond ((>= ch1 #x80)
-+ (if (>= ch2 #x80)
-+ (setq ch1 ; JISX0208
-+ (decode-char 'japanese-jisx0208
-+ (logior (lsh (logand ch1 #x7F) 8)
-+ (logand ch2 #x7F))))
-+ (setq ch1 ; JISX0212
-+ (decode-char 'japanese-jisx0212
-+ (logior (lsh (logand ch1 #x7F) 8) ch2)))))
-+ (t
-+ (if (>= ch2 #x80)
-+ (setq ch1 ; JISX0201-kana
-+ (decode-char 'katakana-jisx0201 (logand ch2 #x7F)))
-+ (setq ch1 ch2))))
-+ (insert ch1)
-+ (setq i (+ i 2)))
-+ (prog1 (- (point) pos)
-+ (goto-char pos))))
-+
-+(define-coding-system 'fixed-euc-jp "Coding System for fixed EUC Japanese"
-+ :mnemonic ?W
-+ :coding-type 'raw-text
-+ :charset-list '(ascii japanese-jisx0208 katakana-jisx0201 japanese-jisx0212)
-+ :pre-write-conversion 'fixed-euc-jp-pre-write-conversion
-+ :post-read-conversion 'fixed-euc-jp-post-read-conversion)
-+))
-+
- ;; Korean
-
- (eval-and-compile
diff --git a/tamago-anthy/patches/patch-egg_its.el b/tamago-anthy/patches/patch-egg_its.el
deleted file mode 100644
index 532cccbbdc..0000000000
--- a/tamago-anthy/patches/patch-egg_its.el
+++ /dev/null
@@ -1,24 +0,0 @@
-$NetBSD: patch-egg_its.el,v 1.1 2013/02/12 06:45:09 makoto Exp $
-
-last-command-char -> last-command-event
-
---- its.el.orig 2013-02-12 15:34:03.000000000 +0900
-+++ its.el 2013-02-12 15:32:28.000000000 +0900
-@@ -397,7 +397,7 @@ This variable override `its-delete-by-ke
- (defun its-self-insert-char ()
- (interactive)
- (let ((inhibit-read-only t)
-- (key last-command-char)
-+ (key last-command-event)
- (cursor (get-text-property (point) 'its-cursor))
- (syl (get-text-property (1- (point)) 'its-syl)))
- (cond
-@@ -1264,7 +1264,7 @@ Return last state."
- (interactive "P")
- (let ((syl (and (null (get-text-property (point) 'its-cursor))
- (get-text-property (1- (point)) 'its-syl))))
-- (if (its-keyseq-acceptable-p (vector last-command-char) syl)
-+ (if (its-keyseq-acceptable-p (vector last-command-event) syl)
- (its-self-insert-char)
- (its-kick-convert-region n))))
-
diff --git a/tamago-anthy/patches/patch-src-util_anthy.el b/tamago-anthy/patches/patch-src-util_anthy.el
deleted file mode 100644
index d919cb9879..0000000000
--- a/tamago-anthy/patches/patch-src-util_anthy.el
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD: patch-src-util_anthy.el,v 1.1 2013/02/12 06:45:09 makoto Exp $
-
-last-command-char -> last-command-event
-
---- src-util/anthy.el.orig 2008-11-29 21:46:00.000000000 +0900
-+++ ../anthy-9100h/src-util/anthy.el 2013-02-12 15:35:58.000000000 +0900
-@@ -892,7 +892,7 @@
- ((event-matches-key-specifier-p event 'backspace) 8)
- (t
- (char-to-int (event-to-character event)))))
-- last-command-char))
-+ last-command-event))
-
- ;;
- ;;
Home |
Main Index |
Thread Index |
Old Index