aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/yc.el/files
diff options
context:
space:
mode:
authoranray <anray@FreeBSD.org>2009-01-31 19:31:54 +0800
committeranray <anray@FreeBSD.org>2009-01-31 19:31:54 +0800
commit0d7dd3f66deabb92b4998e3e0b59a2b2ebe60190 (patch)
treefe229de588bb6bc4dd55e90badee281b534f0d89 /japanese/yc.el/files
parentc59f25c0cf153b948bb12946d2b6939c3bb819ab (diff)
downloadfreebsd-ports-gnome-0d7dd3f66deabb92b4998e3e0b59a2b2ebe60190.tar.gz
freebsd-ports-gnome-0d7dd3f66deabb92b4998e3e0b59a2b2ebe60190.tar.zst
freebsd-ports-gnome-0d7dd3f66deabb92b4998e3e0b59a2b2ebe60190.zip
* Update to 5.0.0
Summary of changes made in new version is as fllows; - emacs22 or newer version of emacsen can handle UNIX domain socket by using 'make-network-process' without any helper program. Thus, 'icanna' program is no longer included in yc.el. (For those who still requires 'icanna' (ex. older-emacs users), I'll submit japanese/icanna separately as a new ports.) PR: ports/130290 Submitted by: Takayuki Nakao(maintainer)
Diffstat (limited to 'japanese/yc.el/files')
-rw-r--r--japanese/yc.el/files/patch-aa44
-rw-r--r--japanese/yc.el/files/patch-yc.el34
2 files changed, 34 insertions, 44 deletions
diff --git a/japanese/yc.el/files/patch-aa b/japanese/yc.el/files/patch-aa
deleted file mode 100644
index 9f892b385a77..000000000000
--- a/japanese/yc.el/files/patch-aa
+++ /dev/null
@@ -1,44 +0,0 @@
---- Makefile.orig Tue Apr 20 00:16:34 2004
-+++ Makefile Thu Apr 22 16:31:02 2004
-@@ -1,10 +1,10 @@
--prefix = /usr/local
-+prefix = $(PREFIX)
- #exesuffix = .exe # for Windows
-
--EMACS = emacs
-+#EMACS = emacs
- #EMACS = xemacs
-
--elispdir = $(prefix)/share/emacs/site-lisp
-+elispdir = $(LISPDIR)
- #elispdir = $(prefix)/lib/$(EMACS)/site-lisp
- #elispdir = $(prefix)/lib/emacs
-
-@@ -12,8 +12,8 @@
- elc = yc.elc
- PROGRAM = icanna$(exesuffix)
- OBJS = icanna.o
--CC = gcc
--INSTALL = install
-+#CC = gcc
-+#INSTALL = install
-
- .SUFFIXES: .el .elc
-
-@@ -31,11 +31,13 @@
- install: install-bin install-el
-
- install-bin: $(PROGRAM)
-- $(INSTALL) -m 755 -s $(PROGRAM) $(INSTALL_PATH)/$(PROGRAM)
-+ test -f $(INSTALL_PATH) || mkdir -p $(INSTALL_PATH)
-+ $(INSTALL_PROGRAM) $(PROGRAM) $(INSTALL_PATH)/$(PROGRAM)
-
- install-el: $(ELCS) $(SRCS)
-- $(INSTALL) -m 755 $(elc) $(elispdir)/$(elc)
-- $(INSTALL) -m 755 $(elc:.elc=.el) $(elispdir)/$(elc:.elc=.el)
-+ test -f $(elispdir) || mkdir -p $(elispdir)
-+ $(INSTALL_SCRIPT) $(elc) $(elispdir)/$(elc)
-+ $(INSTALL_SCRIPT) $(elc:.elc=.el) $(elispdir)/$(elc:.elc=.el)
-
- uninstall: uninstall-bin uninstall-el
-
diff --git a/japanese/yc.el/files/patch-yc.el b/japanese/yc.el/files/patch-yc.el
new file mode 100644
index 000000000000..340ceb4ac47c
--- /dev/null
+++ b/japanese/yc.el/files/patch-yc.el
@@ -0,0 +1,34 @@
+--- yc.el.orig 2008-02-17 00:37:39.000000000 +0900
++++ yc.el 2008-02-17 00:38:16.000000000 +0900
+@@ -393,7 +393,7 @@
+ (error nil)))))))
+ (when (processp yc-server)
+ (put 'yc-server 'init nil)
+- (process-kill-without-query yc-server)
++ (set-process-query-on-exit-flag yc-server nil)
+ (when yc-debug
+ (unwind-protect
+ (progn
+@@ -4046,14 +4046,15 @@
+ "japanese-yc" "Japanese" 'yc-activate
+ "あ" "Romaji -> Hiragana -> Kanji&Kana"
+ nil)
+-(set-language-info "Japanese" 'input-method "japanese-yc")
+-;(setq default-input-method "japanese-yc"))
++(defun force-yc-input-mode ()
++ (set-language-info "Japanese" 'input-method "japanese-yc")
++ (setq default-input-method "japanese-yc"))
+
+-;(yc-setup)
+-;(when (and yc-connect-server-at-startup (yc-server-check))
+-; (yc-init)
+-; (force-yc-input-mode)
+-; )
++(yc-setup)
++(when (and yc-connect-server-at-startup (yc-server-check))
++ (yc-init)
++ (force-yc-input-mode)
++ )
+
+ (defconst yc-version "5.0.0")
+ (provide 'yc)