On 2020-01-20 16:20:00, Omar Polo <[email protected]> wrote:
> Bryan, sorry for the double email, as always I forgot to CC ports.
>
> On Sun, Jan 19, 2020 at 10:48:18AM +0900, Bryan Linton wrote:
> > On 2020-01-18 13:16:58, Omar Polo <[email protected]> wrote:
> > > Hi,
> > >
> > > Thanks for working on this! It compiles here, but I cannot judge
> > > the quality of the patch. Some comments after a bit of testing with
> > > inputmethod/uim:
> > >
>
> Another thing that I've noticed, the description for anthy says
>
> With its complement package anthy-emacs, [...]
>
> but here the package is emacs-anthy:
>
> $ pkg_info | grep emacs-anthy
> emacs-anthy-0.4p4 emacs files for anthy
>
> (patch below)
>
Good catch! Updated version of port attached.
--
Bryan
Index: Makefile
===================================================================
RCS file: /cvs/ports/inputmethods/anthy/Makefile,v
retrieving revision 1.25
diff -u -r1.25 Makefile
--- Makefile 12 Jul 2019 20:47:12 -0000 1.25
+++ Makefile 21 Jan 2020 11:23:17 -0000
@@ -3,12 +3,14 @@
COMMENT-main = japanese input method
COMMENT-emacs = emacs files for anthy
-V = 9100h
-DISTNAME = anthy-$V
+V = 0.4
+DISTNAME = anthy_$V.orig
+WRKDIST = ${WRKDIR}/anthy-$V
PKGNAME-main = anthy-$V
PKGNAME-emacs = emacs-anthy-$V
-REVISION-main = 2
-REVISION-emacs = 4
+REVISION-main = 0
+REVISION-emacs = 0
+EPOCH = 0
SHARED_LIBS += anthydic 1.0 # .1.0
SHARED_LIBS += anthy 1.0 # .1.0
@@ -16,14 +18,14 @@
CATEGORIES = inputmethods japanese
-HOMEPAGE = https://anthy.osdn.jp/
+HOMEPAGE = https://wiki.debian.org/Teams/DebianAnthy
-# GPL, part LGPL
+# GPLv3, parts are LGPLv3 and/or LGPLv2+
PERMIT_PACKAGE = Yes
WANTLIB-main = c m
-MASTER_SITES = ${MASTER_SITE_OSDN_JP:=anthy/37536/}
+MASTER_SITES = http://deb.debian.org/debian/pool/main/a/anthy/
FAKE_FLAGS = sysconfdir=$(PREFIX)/share/examples/anthy
Index: distinfo
===================================================================
RCS file: /cvs/ports/inputmethods/anthy/distinfo,v
retrieving revision 1.5
diff -u -r1.5 distinfo
--- distinfo 18 Jan 2015 03:14:16 -0000 1.5
+++ distinfo 21 Jan 2020 11:23:17 -0000
@@ -1,2 +1,2 @@
-SHA256 (anthy-9100h.tar.gz) = 0lbwdfAYtKPLDRZe1hUf2kun2xYhcn4OtUVptuInVUc=
-SIZE (anthy-9100h.tar.gz) = 4446148
+SHA256 (anthy_0.4.orig.tar.gz) = /fWQvupwk/Myex7udgE+STbkxmWefMAd0f3W5vLpyfc=
+SIZE (anthy_0.4.orig.tar.gz) = 5619024
Index: patches/patch-src-util_anthy_el
===================================================================
RCS file: patches/patch-src-util_anthy_el
diff -N patches/patch-src-util_anthy_el
--- patches/patch-src-util_anthy_el 7 Dec 2013 23:42:04 -0000 1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,12 +0,0 @@
-$OpenBSD: patch-src-util_anthy_el,v 1.1 2013/12/07 23:42:04 yasuoka Exp $
---- src-util/anthy.el.orig Sat Nov 30 10:40:43 2013
-+++ src-util/anthy.el Sat Nov 30 10:40:55 2013
-@@ -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))
-
- ;;
- ;;
Index: pkg/DESCR-main
===================================================================
RCS file: /cvs/ports/inputmethods/anthy/pkg/DESCR-main,v
retrieving revision 1.1
diff -u -r1.1 DESCR-main
--- pkg/DESCR-main 21 Nov 2006 00:12:40 -0000 1.1
+++ pkg/DESCR-main 21 Jan 2020 11:23:17 -0000
@@ -1,7 +1,7 @@
Anthy is a japanese input method library that can be used
from many setups.
-With its complement package anthy-emacs, it can be used with
+With its complement package emacs-anthy, it can be used with
emacs, using the simple anthy-agent wedge for communication.
It can also be accessed from uim.
Index: pkg/PLIST-main
===================================================================
RCS file: /cvs/ports/inputmethods/anthy/pkg/PLIST-main,v
retrieving revision 1.5
diff -u -r1.5 PLIST-main
--- pkg/PLIST-main 22 May 2015 11:31:16 -0000 1.5
+++ pkg/PLIST-main 21 Jan 2020 11:23:17 -0000
@@ -2,18 +2,17 @@
@pkgpath inputmethods/anthy
@bin bin/anthy-agent
@bin bin/anthy-dic-tool
-@bin bin/anthy-morphological-analyzer
include/anthy/
include/anthy/anthy.h
include/anthy/dicutil.h
include/anthy/input.h
-lib/libanthy.a
+@static-lib lib/libanthy.a
lib/libanthy.la
@lib lib/libanthy.so.${LIBanthy_VERSION}
-lib/libanthydic.a
+@static-lib lib/libanthydic.a
lib/libanthydic.la
@lib lib/libanthydic.so.${LIBanthydic_VERSION}
-lib/libanthyinput.a
+@static-lib lib/libanthyinput.a
lib/libanthyinput.la
@lib lib/libanthyinput.so.${LIBanthyinput_VERSION}
lib/pkgconfig/anthy.pc