Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] anthy 0.4 from debian
@ 2021-02-02 15:54 sgn
  2021-02-04 16:30 ` [RFC] switch anthy 0.4's upstream to debian sgn
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: sgn @ 2021-02-02 15:54 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 434 bytes --]

There is a new pull request by sgn against master on the void-packages repository

https://github.com/sgn/void-packages anthy-0.4-from-debian
https://github.com/void-linux/void-packages/pull/28410

anthy 0.4 from debian
- switch to Debian's fork,
- upstream is dead
- utf-8 most of the things, now
- new character (令和)
- dict updated.

A patch file from https://github.com/void-linux/void-packages/pull/28410.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-anthy-0.4-from-debian-28410.patch --]
[-- Type: text/x-diff, Size: 4431 bytes --]

From 7a0e9522df0319420d4e20532c941d7632f8ca6c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?=
 <congdanhqx@gmail.com>
Date: Tue, 2 Feb 2021 22:30:30 +0700
Subject: [PATCH 1/4] anthy: update to 0.4.

---
 common/shlibs          |  6 +++---
 srcpkgs/anthy/template | 18 +++++++++---------
 2 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/common/shlibs b/common/shlibs
index dd8a7019ee3..d4d9c23ebef 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -2312,9 +2312,9 @@ libIL.so.1 devil-1.7.8_1
 libILU.so.1 devil-1.7.8_1
 libILUT.so.1 devil-1.7.8_1
 liboath.so.0 oath-toolkit-2.6.0_2
-libanthy.so.0 anthy-9100h_1
-libanthydic.so.0 anthy-9100h_1
-libanthyinput.so.0 anthy-9100h_1
+libanthy.so.1 anthy-0.4_1
+libanthydic.so.1 anthy-0.4_1
+libanthyinput.so.0 anthy-0.4_1
 libanthygobject-1.0.so.5 ibus-anthy-1.5.6_1
 libtbbmalloc_proxy_debug.so.2 tbb-4.3_1
 libtbbmalloc_proxy.so.2 tbb-4.3_1
diff --git a/srcpkgs/anthy/template b/srcpkgs/anthy/template
index 15ab07d942e..46a60e30927 100644
--- a/srcpkgs/anthy/template
+++ b/srcpkgs/anthy/template
@@ -1,19 +1,19 @@
 # Template file for 'anthy'
 pkgname=anthy
-version=9100h
-revision=2
-_filecode=37536
+reverts="9100h_1 9100h_2"
+version=0.4
+revision=1
 conf_files="/etc/anthy-conf"
 build_style=gnu-configure
 configure_args="--disable-static"
 short_desc="Hiragana text to Kana Kanji mixed text Japanese input method"
 maintainer="7185 <7185@free.fr>"
-license="LGPL-2.1"
-homepage="http://osdn.jp/projects/anthy/"
-distfiles="http://dl.sourceforge.jp/anthy/${_filecode}/${pkgname}-${version}.tar.gz"
-checksum="d256f075f018b4a3cb0d165ed6151fda4ba7db1621727e0eb54569b6e2275547"
-# Would need to build lt-mkdepgraph for the host
-nocross=yes
+# Most are LGPL-2.1+ but src-worddic/textdic.c is LGPL-3.0+
+license="LGPL-3.0-or-later"
+homepage="https://wiki.debian.org/Teams/DebianAnthy"
+distfiles="$DEBIAN_SITE/main/a/anthy/anthy_${version}.orig.tar.gz"
+checksum=fdf590beea7093f3327b1eee76013e4936e4c6659e7cc01dd1fdd6e6f2e9c9f7
+nocross="need to run lt-mkdepgraph"
 
 anthy-devel_package() {
 	short_desc+=" - development files"

From a8b144521309252ac4cdc3545883b58a8c71fed7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?=
 <congdanhqx@gmail.com>
Date: Tue, 2 Feb 2021 22:32:37 +0700
Subject: [PATCH 2/4] fcitx-anthy: rebuild for anthy 0.4

---
 srcpkgs/fcitx-anthy/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/fcitx-anthy/template b/srcpkgs/fcitx-anthy/template
index cb0c8f2b364..d8569467355 100644
--- a/srcpkgs/fcitx-anthy/template
+++ b/srcpkgs/fcitx-anthy/template
@@ -1,7 +1,7 @@
 # Template file for 'fcitx-anthy'
 pkgname=fcitx-anthy
 version=0.2.3
-revision=1
+revision=2
 build_style=cmake
 makedepends="anthy-devel fcitx-devel"
 depends="fcitx>=4.2.9"

From 04cc998637da357f398aa3ba64da83057b837483 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?=
 <congdanhqx@gmail.com>
Date: Tue, 2 Feb 2021 22:32:37 +0700
Subject: [PATCH 3/4] ibus-anthy: rebuild for anthy 0.4

---
 srcpkgs/ibus-anthy/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/ibus-anthy/template b/srcpkgs/ibus-anthy/template
index d9d0f92e56a..3d8e39cb860 100644
--- a/srcpkgs/ibus-anthy/template
+++ b/srcpkgs/ibus-anthy/template
@@ -1,7 +1,7 @@
 # Template file for 'ibus-anthy'
 pkgname=ibus-anthy
 version=1.5.11
-revision=1
+revision=2
 build_style=gnu-configure
 configure_args="--libexec=/usr/lib/ibus $(vopt_enable gir introspection)"
 hostmakedepends="automake gettext $(vopt_if gir gobject-introspection) libtool pkg-config swig"

From 466ab024212348d653c1184ea60870048269e53e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?=
 <congdanhqx@gmail.com>
Date: Tue, 2 Feb 2021 22:32:37 +0700
Subject: [PATCH 4/4] uim: rebuild for anthy 0.4

---
 srcpkgs/uim/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/uim/template b/srcpkgs/uim/template
index 2aec8fe9605..e48d69aba84 100644
--- a/srcpkgs/uim/template
+++ b/srcpkgs/uim/template
@@ -1,7 +1,7 @@
 # Template file for 'uim'
 pkgname=uim
 version=1.8.8
-revision=2
+revision=3
 build_style=gnu-configure
 configure_args="--enable-pref --enable-fep --with-gtk2 --with-gtk3
  --with-qt5 --with-qt5-immodule --with-x --with-anthy-utf8 --with-skk"

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [RFC] switch anthy 0.4's upstream to debian
  2021-02-02 15:54 [PR PATCH] anthy 0.4 from debian sgn
@ 2021-02-04 16:30 ` sgn
  2021-02-05  8:21 ` [PR PATCH] [Updated] " sgn
                   ` (11 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: sgn @ 2021-02-04 16:30 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 202 bytes --]

New comment by sgn on void-packages repository

https://github.com/void-linux/void-packages/pull/28410#issuecomment-773437936

Comment:
Make as a draft for now, I want to add the kitchen sink into uim.

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [PR PATCH] [Updated] [RFC] switch anthy 0.4's upstream to debian
  2021-02-02 15:54 [PR PATCH] anthy 0.4 from debian sgn
  2021-02-04 16:30 ` [RFC] switch anthy 0.4's upstream to debian sgn
@ 2021-02-05  8:21 ` sgn
  2021-02-05  8:42 ` sgn
                   ` (10 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: sgn @ 2021-02-05  8:21 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 461 bytes --]

There is an updated pull request by sgn against master on the void-packages repository

https://github.com/sgn/void-packages anthy-0.4-from-debian
https://github.com/void-linux/void-packages/pull/28410

[RFC] switch anthy 0.4's upstream to debian
- switch to Debian's fork,
- upstream is dead
- utf-8 most of the things, now
- new character (令和)
- dict updated.

A patch file from https://github.com/void-linux/void-packages/pull/28410.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-anthy-0.4-from-debian-28410.patch --]
[-- Type: text/x-diff, Size: 12069 bytes --]

From 5b8a391d034b501b18048cc25bc7a6ad4c5e042b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?=
 <congdanhqx@gmail.com>
Date: Tue, 2 Feb 2021 22:30:30 +0700
Subject: [PATCH 1/5] anthy: update to 0.4.

---
 common/shlibs          |  6 +++---
 srcpkgs/anthy/template | 18 +++++++++---------
 2 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/common/shlibs b/common/shlibs
index 35263ec4744..5e1b39204f5 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -2312,9 +2312,9 @@ libIL.so.1 devil-1.7.8_1
 libILU.so.1 devil-1.7.8_1
 libILUT.so.1 devil-1.7.8_1
 liboath.so.0 oath-toolkit-2.6.0_2
-libanthy.so.0 anthy-9100h_1
-libanthydic.so.0 anthy-9100h_1
-libanthyinput.so.0 anthy-9100h_1
+libanthy.so.1 anthy-0.4_1
+libanthydic.so.1 anthy-0.4_1
+libanthyinput.so.0 anthy-0.4_1
 libanthygobject-1.0.so.5 ibus-anthy-1.5.6_1
 libtbbmalloc_proxy_debug.so.2 tbb-4.3_1
 libtbbmalloc_proxy.so.2 tbb-4.3_1
diff --git a/srcpkgs/anthy/template b/srcpkgs/anthy/template
index 15ab07d942e..46a60e30927 100644
--- a/srcpkgs/anthy/template
+++ b/srcpkgs/anthy/template
@@ -1,19 +1,19 @@
 # Template file for 'anthy'
 pkgname=anthy
-version=9100h
-revision=2
-_filecode=37536
+reverts="9100h_1 9100h_2"
+version=0.4
+revision=1
 conf_files="/etc/anthy-conf"
 build_style=gnu-configure
 configure_args="--disable-static"
 short_desc="Hiragana text to Kana Kanji mixed text Japanese input method"
 maintainer="7185 <7185@free.fr>"
-license="LGPL-2.1"
-homepage="http://osdn.jp/projects/anthy/"
-distfiles="http://dl.sourceforge.jp/anthy/${_filecode}/${pkgname}-${version}.tar.gz"
-checksum="d256f075f018b4a3cb0d165ed6151fda4ba7db1621727e0eb54569b6e2275547"
-# Would need to build lt-mkdepgraph for the host
-nocross=yes
+# Most are LGPL-2.1+ but src-worddic/textdic.c is LGPL-3.0+
+license="LGPL-3.0-or-later"
+homepage="https://wiki.debian.org/Teams/DebianAnthy"
+distfiles="$DEBIAN_SITE/main/a/anthy/anthy_${version}.orig.tar.gz"
+checksum=fdf590beea7093f3327b1eee76013e4936e4c6659e7cc01dd1fdd6e6f2e9c9f7
+nocross="need to run lt-mkdepgraph"
 
 anthy-devel_package() {
 	short_desc+=" - development files"

From 84356ce1c7d54bb061b4f7b8d1e19ee524d086d4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?=
 <congdanhqx@gmail.com>
Date: Tue, 2 Feb 2021 22:32:37 +0700
Subject: [PATCH 2/5] fcitx-anthy: rebuild for anthy 0.4

---
 srcpkgs/fcitx-anthy/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/fcitx-anthy/template b/srcpkgs/fcitx-anthy/template
index cb0c8f2b364..d8569467355 100644
--- a/srcpkgs/fcitx-anthy/template
+++ b/srcpkgs/fcitx-anthy/template
@@ -1,7 +1,7 @@
 # Template file for 'fcitx-anthy'
 pkgname=fcitx-anthy
 version=0.2.3
-revision=1
+revision=2
 build_style=cmake
 makedepends="anthy-devel fcitx-devel"
 depends="fcitx>=4.2.9"

From d90f69cabe4f78f651395380841d5d84b932fdac Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?=
 <congdanhqx@gmail.com>
Date: Tue, 2 Feb 2021 22:32:37 +0700
Subject: [PATCH 3/5] ibus-anthy: rebuild for anthy 0.4

- Build with python3-gobject-devel
- Remove gir build option since it can't be built without.
  Upstream don't provide option to disable
---
 .../0001-read-utf-8-encoded-zipfile.patch     | 25 +++++++++++++++++++
 srcpkgs/ibus-anthy/template                   | 19 ++++++--------
 2 files changed, 33 insertions(+), 11 deletions(-)
 create mode 100644 srcpkgs/ibus-anthy/patches/0001-read-utf-8-encoded-zipfile.patch

diff --git a/srcpkgs/ibus-anthy/patches/0001-read-utf-8-encoded-zipfile.patch b/srcpkgs/ibus-anthy/patches/0001-read-utf-8-encoded-zipfile.patch
new file mode 100644
index 00000000000..f84de477023
--- /dev/null
+++ b/srcpkgs/ibus-anthy/patches/0001-read-utf-8-encoded-zipfile.patch
@@ -0,0 +1,25 @@
+From: NOKUBI Takatsugu <knok@daionet.gr.jp>
+Date: Thu, 2 Nov 2017 15:11:52 +0900
+Subject: read utf-8 encoded zipfile
+
+---
+ anthy form Debian converted those zipfile to utf-8
+ data/zipcode-textdic.py | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/data/zipcode-textdic.py b/data/zipcode-textdic.py
+index 6fa50d6..cb28a1f 100755
+--- data/zipcode-textdic.py
++++ data/zipcode-textdic.py
+@@ -21,9 +21,9 @@ if len(sys.argv) < 2:
+ anthy_zipfile = sys.argv[1]
+ 
+ try:
+-    contents = codecs.open(anthy_zipfile, 'r', 'euc_jp').read()
++    contents = codecs.open(anthy_zipfile, 'r', 'utf-8').read()
+ except UnicodeDecodeError as e:
+-    print('Your file is not eucJP? %s' % anthy_zipfile, file=sys.stderr)
++    print('Your file is not of UTF-8? %s' % anthy_zipfile, file=sys.stderr)
+     contents = open(anthy_zipfile).read()
+ 
+ output_zipfile = codecs.open('zipcode.t', 'w', 'utf-8')
diff --git a/srcpkgs/ibus-anthy/template b/srcpkgs/ibus-anthy/template
index d9d0f92e56a..dfc92bd71da 100644
--- a/srcpkgs/ibus-anthy/template
+++ b/srcpkgs/ibus-anthy/template
@@ -1,11 +1,12 @@
 # Template file for 'ibus-anthy'
 pkgname=ibus-anthy
 version=1.5.11
-revision=1
+revision=2
 build_style=gnu-configure
-configure_args="--libexec=/usr/lib/ibus $(vopt_enable gir introspection)"
-hostmakedepends="automake gettext $(vopt_if gir gobject-introspection) libtool pkg-config swig"
-makedepends="anthy-devel gettext-devel ibus-devel python-gobject-devel"
+build_helper=gir
+configure_args="--libexec=/usr/lib/ibus"
+hostmakedepends="automake libtool pkg-config swig intltool gettext-devel"
+makedepends="anthy-devel ibus-devel python3-gobject-devel"
 depends="ibus"
 short_desc="Japanese input method Anthy IMEngine for IBus Framework"
 maintainer="7185 <7185@free.fr>"
@@ -14,13 +15,9 @@ homepage="https://github.com/ibus/ibus/wiki"
 distfiles="https://github.com/ibus/${pkgname}/archive/${version}.tar.gz"
 checksum=57d42a302be72409708274aa680c6d7515077766853a2b9193b9974c9c6eeaf6
 
-# Package build options
-build_options="gir"
-
-# Disable gir for cross builds.
-if [ -z "$CROSS_BUILD" ]; then
-	build_options_default="gir"
-fi
+post_patch() {
+	2to3 -w gir/test.py
+}
 
 pre_configure() {
 	autoreconf -fi

From 4ebf1337f78b0efccac9704dc329df92bfc57f12 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?=
 <congdanhqx@gmail.com>
Date: Thu, 4 Feb 2021 22:54:55 +0700
Subject: [PATCH 4/5] New package: libgcroots-0.3.2

---
 common/shlibs               |  2 +-
 srcpkgs/libgcroots-devel    |  1 +
 srcpkgs/libgcroots/template | 28 ++++++++++++++++++++++++++++
 3 files changed, 30 insertions(+), 1 deletion(-)
 create mode 120000 srcpkgs/libgcroots-devel
 create mode 100644 srcpkgs/libgcroots/template

diff --git a/common/shlibs b/common/shlibs
index 5e1b39204f5..c4b4192576b 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -2972,7 +2972,7 @@ liblxpanel.so.0 lxpanel-0.9.3_1
 libuim.so.8 uim-1.8.6_1
 libuim-scm.so.0 uim-1.8.6_1
 libuim-custom.so.2 uim-1.8.6_1
-libgcroots.so.0 uim-1.8.6_1
+libgcroots.so.0 libgcroots-0.3.2_1
 libdecoration.so.0 compiz-core-0.8.14_1
 libcompizconfig.so.0 libcompizconfig-0.8.14_1
 libemeraldengine.so.0 emerald-0.8.14_1
diff --git a/srcpkgs/libgcroots-devel b/srcpkgs/libgcroots-devel
new file mode 120000
index 00000000000..3f941c40e0f
--- /dev/null
+++ b/srcpkgs/libgcroots-devel
@@ -0,0 +1 @@
+libgcroots
\ No newline at end of file
diff --git a/srcpkgs/libgcroots/template b/srcpkgs/libgcroots/template
new file mode 100644
index 00000000000..26423de91dc
--- /dev/null
+++ b/srcpkgs/libgcroots/template
@@ -0,0 +1,28 @@
+# Template file for 'libgcroots'
+pkgname=libgcroots
+version=0.3.2
+revision=1
+build_style=gnu-configure
+hostmakedepends="pkg-config"
+short_desc="GC library for sigscheme Scheme interpreter"
+maintainer="Đoàn Trần Công Danh <congdanhqx@gmail.com>"
+license="custom:libgcroots"
+homepage="https://github.com/uim/libgcroots"
+distfiles="https://github.com/uim/libgcroots/releases/download/$version/libgcroots-$version.tar.bz2"
+checksum=b177a1c033bd907ea341db7e46eeee181acb73225bf58ada1966e7b4d50f657f
+
+post_install() {
+	rm -f $DESTDIR/usr/lib/*.la
+	vlicense COPYING
+}
+
+libgcroots-devel_package() {
+	depends="${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.a"
+		vmove "usr/lib/*.so"
+	}
+}

From 8c86dfb1a4eb697bc10230a0ff00c96f53111d60 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?=
 <congdanhqx@gmail.com>
Date: Tue, 2 Feb 2021 22:32:37 +0700
Subject: [PATCH 5/5] uim: rebuild for anthy 0.4

---
 .../replace_obsolete_since_emacs22.1.patch    | 38 +++++++++++++++++++
 srcpkgs/uim/template                          | 17 +++++++--
 2 files changed, 51 insertions(+), 4 deletions(-)
 create mode 100644 srcpkgs/uim/patches/replace_obsolete_since_emacs22.1.patch

diff --git a/srcpkgs/uim/patches/replace_obsolete_since_emacs22.1.patch b/srcpkgs/uim/patches/replace_obsolete_since_emacs22.1.patch
new file mode 100644
index 00000000000..61b28da7208
--- /dev/null
+++ b/srcpkgs/uim/patches/replace_obsolete_since_emacs22.1.patch
@@ -0,0 +1,38 @@
+From 164e2eb050b5fec25033124834cf49ea1a7d8cbb Mon Sep 17 00:00:00 2001
+From: multiSnow <infinity.blick.winkel@gmail.com>
+Date: Thu, 7 Feb 2019 01:03:47 +0800
+Subject: [PATCH] replace process-kill-without-query with
+ set-process-query-on-exit-flag
+
+see https://www.gnu.org/software/emacs/news/NEWS.22.1 and https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=f1c48b0ec521744826ed43ae27eed0e152c472bf
+---
+ emacs/uim-helper.el | 2 +-
+ emacs/uim.el        | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git emacs/uim-helper.el emacs/uim-helper.el
+index e86e32d06..19ecd4538 100644
+--- emacs/uim-helper.el
++++ emacs/uim-helper.el
+@@ -106,7 +106,7 @@
+     (if (not proc)
+ 	(error "uim.el: Couldn't invoke uim-el-helper-agent."))
+ 
+-    (process-kill-without-query proc)
++    (set-process-query-on-exit-flag proc nil)
+ 
+     ;; wait "OK"
+     (let ((patience uim-startup-timeout) (ok nil))
+diff --git emacs/uim.el emacs/uim.el
+index 9110c3cb6..7e1fadbba 100644
+--- emacs/uim.el
++++ emacs/uim.el
+@@ -488,7 +488,7 @@
+ 	(error "uim.el: Couldn't invoke uim-el-agent."))
+     
+     ;; don't ask kill
+-    (process-kill-without-query proc)
++    (set-process-query-on-exit-flag proc nil)
+ 
+     ;; wait "OK"
+     (let ((patience uim-startup-timeout) (ok nil))
diff --git a/srcpkgs/uim/template b/srcpkgs/uim/template
index 2aec8fe9605..7394d6fbe37 100644
--- a/srcpkgs/uim/template
+++ b/srcpkgs/uim/template
@@ -1,13 +1,17 @@
 # Template file for 'uim'
+# XXX: rebuild whenever Qt is updated
 pkgname=uim
 version=1.8.8
-revision=2
+revision=3
 build_style=gnu-configure
+build_helper=qmake
 configure_args="--enable-pref --enable-fep --with-gtk2 --with-gtk3
+ --with-expat --with-libgcroots=installed
  --with-qt5 --with-qt5-immodule --with-x --with-anthy-utf8 --with-skk"
-hostmakedepends="pkg-config intltool"
-makedepends="gtk+-devel gtk+3-devel qt5-devel ncurses-devel anthy-devel
+hostmakedepends="pkg-config intltool qt5-host-tools qt5-qmake
  qt5-x11extras-devel"
+makedepends="gtk+-devel gtk+3-devel qt5-devel ncurses-devel anthy-devel
+ libgcroots-devel qt5-x11extras-devel"
 short_desc="Multilingual input method library and environment"
 maintainer="Kazuho Sakoda <hyonhyoro.kazuho@gmail.com>"
 license="BSD-3-Clause"
@@ -17,6 +21,10 @@ checksum=34599bbcc4e5ab87832370763e38be5100984a64237555e9234a1ea225a0fadc
 
 CFLAGS="-fcommon"
 
+post_patch() {
+	vsed -i -e 's/anthy >= 8622/anthy >= 0.4/' configure
+}
+
 post_install() {
 	vlicense COPYING
 }
@@ -24,10 +32,12 @@ post_install() {
 uim-gtk2_package() {
 	short_desc+=" - GTK2 IM module"
 	pkg_install() {
+		vmove usr/bin/uim-input-pad-ja
 		vmove "usr/bin/uim-*-gtk"
 		vmove usr/bin/uim-toolbar-gtk-systray
 		vmove "usr/libexec/uim-*-gtk"
 		vmove usr/lib/gtk-2.0
+		vmove usr/share/applications
 	}
 }
 
@@ -74,7 +84,6 @@ uim-devel_package() {
 	pkg_install() {
 		vmove usr/include
 		vmove usr/lib/pkgconfig
-		vmove "usr/lib/*.a"
 		vmove "usr/lib/*.so"
 	}
 }

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [RFC] switch anthy 0.4's upstream to debian
  2021-02-02 15:54 [PR PATCH] anthy 0.4 from debian sgn
  2021-02-04 16:30 ` [RFC] switch anthy 0.4's upstream to debian sgn
  2021-02-05  8:21 ` [PR PATCH] [Updated] " sgn
@ 2021-02-05  8:42 ` sgn
  2021-02-21  1:05 ` [PR PATCH] [Updated] " sgn
                   ` (9 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: sgn @ 2021-02-05  8:42 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 192 bytes --]

New comment by sgn on void-packages repository

https://github.com/void-linux/void-packages/pull/28410#issuecomment-773885753

Comment:
RPATH is sneaking in, with or without `--disable-rpath`

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [PR PATCH] [Updated] [RFC] switch anthy 0.4's upstream to debian
  2021-02-02 15:54 [PR PATCH] anthy 0.4 from debian sgn
                   ` (2 preceding siblings ...)
  2021-02-05  8:42 ` sgn
@ 2021-02-21  1:05 ` sgn
  2021-02-21  1:27 ` sgn
                   ` (8 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: sgn @ 2021-02-21  1:05 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 461 bytes --]

There is an updated pull request by sgn against master on the void-packages repository

https://github.com/sgn/void-packages anthy-0.4-from-debian
https://github.com/void-linux/void-packages/pull/28410

[RFC] switch anthy 0.4's upstream to debian
- switch to Debian's fork,
- upstream is dead
- utf-8 most of the things, now
- new character (令和)
- dict updated.

A patch file from https://github.com/void-linux/void-packages/pull/28410.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-anthy-0.4-from-debian-28410.patch --]
[-- Type: text/x-diff, Size: 12753 bytes --]

From 5b8a391d034b501b18048cc25bc7a6ad4c5e042b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?=
 <congdanhqx@gmail.com>
Date: Tue, 2 Feb 2021 22:30:30 +0700
Subject: [PATCH 1/5] anthy: update to 0.4.

---
 common/shlibs          |  6 +++---
 srcpkgs/anthy/template | 18 +++++++++---------
 2 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/common/shlibs b/common/shlibs
index 35263ec4744..5e1b39204f5 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -2312,9 +2312,9 @@ libIL.so.1 devil-1.7.8_1
 libILU.so.1 devil-1.7.8_1
 libILUT.so.1 devil-1.7.8_1
 liboath.so.0 oath-toolkit-2.6.0_2
-libanthy.so.0 anthy-9100h_1
-libanthydic.so.0 anthy-9100h_1
-libanthyinput.so.0 anthy-9100h_1
+libanthy.so.1 anthy-0.4_1
+libanthydic.so.1 anthy-0.4_1
+libanthyinput.so.0 anthy-0.4_1
 libanthygobject-1.0.so.5 ibus-anthy-1.5.6_1
 libtbbmalloc_proxy_debug.so.2 tbb-4.3_1
 libtbbmalloc_proxy.so.2 tbb-4.3_1
diff --git a/srcpkgs/anthy/template b/srcpkgs/anthy/template
index 15ab07d942e..46a60e30927 100644
--- a/srcpkgs/anthy/template
+++ b/srcpkgs/anthy/template
@@ -1,19 +1,19 @@
 # Template file for 'anthy'
 pkgname=anthy
-version=9100h
-revision=2
-_filecode=37536
+reverts="9100h_1 9100h_2"
+version=0.4
+revision=1
 conf_files="/etc/anthy-conf"
 build_style=gnu-configure
 configure_args="--disable-static"
 short_desc="Hiragana text to Kana Kanji mixed text Japanese input method"
 maintainer="7185 <7185@free.fr>"
-license="LGPL-2.1"
-homepage="http://osdn.jp/projects/anthy/"
-distfiles="http://dl.sourceforge.jp/anthy/${_filecode}/${pkgname}-${version}.tar.gz"
-checksum="d256f075f018b4a3cb0d165ed6151fda4ba7db1621727e0eb54569b6e2275547"
-# Would need to build lt-mkdepgraph for the host
-nocross=yes
+# Most are LGPL-2.1+ but src-worddic/textdic.c is LGPL-3.0+
+license="LGPL-3.0-or-later"
+homepage="https://wiki.debian.org/Teams/DebianAnthy"
+distfiles="$DEBIAN_SITE/main/a/anthy/anthy_${version}.orig.tar.gz"
+checksum=fdf590beea7093f3327b1eee76013e4936e4c6659e7cc01dd1fdd6e6f2e9c9f7
+nocross="need to run lt-mkdepgraph"
 
 anthy-devel_package() {
 	short_desc+=" - development files"

From 84356ce1c7d54bb061b4f7b8d1e19ee524d086d4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?=
 <congdanhqx@gmail.com>
Date: Tue, 2 Feb 2021 22:32:37 +0700
Subject: [PATCH 2/5] fcitx-anthy: rebuild for anthy 0.4

---
 srcpkgs/fcitx-anthy/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/fcitx-anthy/template b/srcpkgs/fcitx-anthy/template
index cb0c8f2b364..d8569467355 100644
--- a/srcpkgs/fcitx-anthy/template
+++ b/srcpkgs/fcitx-anthy/template
@@ -1,7 +1,7 @@
 # Template file for 'fcitx-anthy'
 pkgname=fcitx-anthy
 version=0.2.3
-revision=1
+revision=2
 build_style=cmake
 makedepends="anthy-devel fcitx-devel"
 depends="fcitx>=4.2.9"

From d90f69cabe4f78f651395380841d5d84b932fdac Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?=
 <congdanhqx@gmail.com>
Date: Tue, 2 Feb 2021 22:32:37 +0700
Subject: [PATCH 3/5] ibus-anthy: rebuild for anthy 0.4

- Build with python3-gobject-devel
- Remove gir build option since it can't be built without.
  Upstream don't provide option to disable
---
 .../0001-read-utf-8-encoded-zipfile.patch     | 25 +++++++++++++++++++
 srcpkgs/ibus-anthy/template                   | 19 ++++++--------
 2 files changed, 33 insertions(+), 11 deletions(-)
 create mode 100644 srcpkgs/ibus-anthy/patches/0001-read-utf-8-encoded-zipfile.patch

diff --git a/srcpkgs/ibus-anthy/patches/0001-read-utf-8-encoded-zipfile.patch b/srcpkgs/ibus-anthy/patches/0001-read-utf-8-encoded-zipfile.patch
new file mode 100644
index 00000000000..f84de477023
--- /dev/null
+++ b/srcpkgs/ibus-anthy/patches/0001-read-utf-8-encoded-zipfile.patch
@@ -0,0 +1,25 @@
+From: NOKUBI Takatsugu <knok@daionet.gr.jp>
+Date: Thu, 2 Nov 2017 15:11:52 +0900
+Subject: read utf-8 encoded zipfile
+
+---
+ anthy form Debian converted those zipfile to utf-8
+ data/zipcode-textdic.py | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/data/zipcode-textdic.py b/data/zipcode-textdic.py
+index 6fa50d6..cb28a1f 100755
+--- data/zipcode-textdic.py
++++ data/zipcode-textdic.py
+@@ -21,9 +21,9 @@ if len(sys.argv) < 2:
+ anthy_zipfile = sys.argv[1]
+ 
+ try:
+-    contents = codecs.open(anthy_zipfile, 'r', 'euc_jp').read()
++    contents = codecs.open(anthy_zipfile, 'r', 'utf-8').read()
+ except UnicodeDecodeError as e:
+-    print('Your file is not eucJP? %s' % anthy_zipfile, file=sys.stderr)
++    print('Your file is not of UTF-8? %s' % anthy_zipfile, file=sys.stderr)
+     contents = open(anthy_zipfile).read()
+ 
+ output_zipfile = codecs.open('zipcode.t', 'w', 'utf-8')
diff --git a/srcpkgs/ibus-anthy/template b/srcpkgs/ibus-anthy/template
index d9d0f92e56a..dfc92bd71da 100644
--- a/srcpkgs/ibus-anthy/template
+++ b/srcpkgs/ibus-anthy/template
@@ -1,11 +1,12 @@
 # Template file for 'ibus-anthy'
 pkgname=ibus-anthy
 version=1.5.11
-revision=1
+revision=2
 build_style=gnu-configure
-configure_args="--libexec=/usr/lib/ibus $(vopt_enable gir introspection)"
-hostmakedepends="automake gettext $(vopt_if gir gobject-introspection) libtool pkg-config swig"
-makedepends="anthy-devel gettext-devel ibus-devel python-gobject-devel"
+build_helper=gir
+configure_args="--libexec=/usr/lib/ibus"
+hostmakedepends="automake libtool pkg-config swig intltool gettext-devel"
+makedepends="anthy-devel ibus-devel python3-gobject-devel"
 depends="ibus"
 short_desc="Japanese input method Anthy IMEngine for IBus Framework"
 maintainer="7185 <7185@free.fr>"
@@ -14,13 +15,9 @@ homepage="https://github.com/ibus/ibus/wiki"
 distfiles="https://github.com/ibus/${pkgname}/archive/${version}.tar.gz"
 checksum=57d42a302be72409708274aa680c6d7515077766853a2b9193b9974c9c6eeaf6
 
-# Package build options
-build_options="gir"
-
-# Disable gir for cross builds.
-if [ -z "$CROSS_BUILD" ]; then
-	build_options_default="gir"
-fi
+post_patch() {
+	2to3 -w gir/test.py
+}
 
 pre_configure() {
 	autoreconf -fi

From 4ebf1337f78b0efccac9704dc329df92bfc57f12 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?=
 <congdanhqx@gmail.com>
Date: Thu, 4 Feb 2021 22:54:55 +0700
Subject: [PATCH 4/5] New package: libgcroots-0.3.2

---
 common/shlibs               |  2 +-
 srcpkgs/libgcroots-devel    |  1 +
 srcpkgs/libgcroots/template | 28 ++++++++++++++++++++++++++++
 3 files changed, 30 insertions(+), 1 deletion(-)
 create mode 120000 srcpkgs/libgcroots-devel
 create mode 100644 srcpkgs/libgcroots/template

diff --git a/common/shlibs b/common/shlibs
index 5e1b39204f5..c4b4192576b 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -2972,7 +2972,7 @@ liblxpanel.so.0 lxpanel-0.9.3_1
 libuim.so.8 uim-1.8.6_1
 libuim-scm.so.0 uim-1.8.6_1
 libuim-custom.so.2 uim-1.8.6_1
-libgcroots.so.0 uim-1.8.6_1
+libgcroots.so.0 libgcroots-0.3.2_1
 libdecoration.so.0 compiz-core-0.8.14_1
 libcompizconfig.so.0 libcompizconfig-0.8.14_1
 libemeraldengine.so.0 emerald-0.8.14_1
diff --git a/srcpkgs/libgcroots-devel b/srcpkgs/libgcroots-devel
new file mode 120000
index 00000000000..3f941c40e0f
--- /dev/null
+++ b/srcpkgs/libgcroots-devel
@@ -0,0 +1 @@
+libgcroots
\ No newline at end of file
diff --git a/srcpkgs/libgcroots/template b/srcpkgs/libgcroots/template
new file mode 100644
index 00000000000..26423de91dc
--- /dev/null
+++ b/srcpkgs/libgcroots/template
@@ -0,0 +1,28 @@
+# Template file for 'libgcroots'
+pkgname=libgcroots
+version=0.3.2
+revision=1
+build_style=gnu-configure
+hostmakedepends="pkg-config"
+short_desc="GC library for sigscheme Scheme interpreter"
+maintainer="Đoàn Trần Công Danh <congdanhqx@gmail.com>"
+license="custom:libgcroots"
+homepage="https://github.com/uim/libgcroots"
+distfiles="https://github.com/uim/libgcroots/releases/download/$version/libgcroots-$version.tar.bz2"
+checksum=b177a1c033bd907ea341db7e46eeee181acb73225bf58ada1966e7b4d50f657f
+
+post_install() {
+	rm -f $DESTDIR/usr/lib/*.la
+	vlicense COPYING
+}
+
+libgcroots-devel_package() {
+	depends="${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.a"
+		vmove "usr/lib/*.so"
+	}
+}

From fa42757788c1794b58ddd905449310f7aa7e8ae3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?=
 <congdanhqx@gmail.com>
Date: Tue, 2 Feb 2021 22:32:37 +0700
Subject: [PATCH 5/5] uim: rebuild for anthy 0.4

Close: #28410
---
 srcpkgs/uim/patches/anthy-0.4.patch           | 13 +++++++
 .../replace_obsolete_since_emacs22.1.patch    | 38 +++++++++++++++++++
 srcpkgs/uim/template                          | 15 ++++++--
 3 files changed, 62 insertions(+), 4 deletions(-)
 create mode 100644 srcpkgs/uim/patches/anthy-0.4.patch
 create mode 100644 srcpkgs/uim/patches/replace_obsolete_since_emacs22.1.patch

diff --git a/srcpkgs/uim/patches/anthy-0.4.patch b/srcpkgs/uim/patches/anthy-0.4.patch
new file mode 100644
index 00000000000..082bbd764a1
--- /dev/null
+++ b/srcpkgs/uim/patches/anthy-0.4.patch
@@ -0,0 +1,13 @@
+Index: configure.ac
+===================================================================
+--- configure.ac.orig
++++ configure.ac
+@@ -124,7 +124,7 @@ AC_ARG_WITH(anthy-utf8,
+   [with_anthy_utf8=no])
+ 
+ if test "x$with_anthy_utf8" != xno; then
+-  PKG_CHECK_MODULES(ANTHY_UTF8, anthy >= 8622,
++  PKG_CHECK_MODULES(ANTHY_UTF8, anthy >= 0.4,
+                     [with_anthy_utf8=yes
+                      AC_DEFINE(LIBANTHY_UTF8_CAPABLE, 1,
+                      [libanthy can handle UTF-8])],
diff --git a/srcpkgs/uim/patches/replace_obsolete_since_emacs22.1.patch b/srcpkgs/uim/patches/replace_obsolete_since_emacs22.1.patch
new file mode 100644
index 00000000000..61b28da7208
--- /dev/null
+++ b/srcpkgs/uim/patches/replace_obsolete_since_emacs22.1.patch
@@ -0,0 +1,38 @@
+From 164e2eb050b5fec25033124834cf49ea1a7d8cbb Mon Sep 17 00:00:00 2001
+From: multiSnow <infinity.blick.winkel@gmail.com>
+Date: Thu, 7 Feb 2019 01:03:47 +0800
+Subject: [PATCH] replace process-kill-without-query with
+ set-process-query-on-exit-flag
+
+see https://www.gnu.org/software/emacs/news/NEWS.22.1 and https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=f1c48b0ec521744826ed43ae27eed0e152c472bf
+---
+ emacs/uim-helper.el | 2 +-
+ emacs/uim.el        | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git emacs/uim-helper.el emacs/uim-helper.el
+index e86e32d06..19ecd4538 100644
+--- emacs/uim-helper.el
++++ emacs/uim-helper.el
+@@ -106,7 +106,7 @@
+     (if (not proc)
+ 	(error "uim.el: Couldn't invoke uim-el-helper-agent."))
+ 
+-    (process-kill-without-query proc)
++    (set-process-query-on-exit-flag proc nil)
+ 
+     ;; wait "OK"
+     (let ((patience uim-startup-timeout) (ok nil))
+diff --git emacs/uim.el emacs/uim.el
+index 9110c3cb6..7e1fadbba 100644
+--- emacs/uim.el
++++ emacs/uim.el
+@@ -488,7 +488,7 @@
+ 	(error "uim.el: Couldn't invoke uim-el-agent."))
+     
+     ;; don't ask kill
+-    (process-kill-without-query proc)
++    (set-process-query-on-exit-flag proc nil)
+ 
+     ;; wait "OK"
+     (let ((patience uim-startup-timeout) (ok nil))
diff --git a/srcpkgs/uim/template b/srcpkgs/uim/template
index 2aec8fe9605..aeb9aff5e91 100644
--- a/srcpkgs/uim/template
+++ b/srcpkgs/uim/template
@@ -1,13 +1,15 @@
 # Template file for 'uim'
 pkgname=uim
 version=1.8.8
-revision=2
+revision=3
 build_style=gnu-configure
+build_helper=qmake
 configure_args="--enable-pref --enable-fep --with-gtk2 --with-gtk3
  --with-qt5 --with-qt5-immodule --with-x --with-anthy-utf8 --with-skk"
-hostmakedepends="pkg-config intltool"
+hostmakedepends="pkg-config intltool qt5-host-tools qt5-qmake automake
+ libtool gettext-devel"
 makedepends="gtk+-devel gtk+3-devel qt5-devel ncurses-devel anthy-devel
- qt5-x11extras-devel"
+ libgcroots-devel qt5-x11extras-devel"
 short_desc="Multilingual input method library and environment"
 maintainer="Kazuho Sakoda <hyonhyoro.kazuho@gmail.com>"
 license="BSD-3-Clause"
@@ -17,6 +19,10 @@ checksum=34599bbcc4e5ab87832370763e38be5100984a64237555e9234a1ea225a0fadc
 
 CFLAGS="-fcommon"
 
+pre_configure() {
+	./autogen.sh
+}
+
 post_install() {
 	vlicense COPYING
 }
@@ -24,10 +30,12 @@ post_install() {
 uim-gtk2_package() {
 	short_desc+=" - GTK2 IM module"
 	pkg_install() {
+		vmove usr/bin/uim-input-pad-ja
 		vmove "usr/bin/uim-*-gtk"
 		vmove usr/bin/uim-toolbar-gtk-systray
 		vmove "usr/libexec/uim-*-gtk"
 		vmove usr/lib/gtk-2.0
+		vmove usr/share/applications
 	}
 }
 
@@ -74,7 +82,6 @@ uim-devel_package() {
 	pkg_install() {
 		vmove usr/include
 		vmove usr/lib/pkgconfig
-		vmove "usr/lib/*.a"
 		vmove "usr/lib/*.so"
 	}
 }

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [PR PATCH] [Updated] [RFC] switch anthy 0.4's upstream to debian
  2021-02-02 15:54 [PR PATCH] anthy 0.4 from debian sgn
                   ` (3 preceding siblings ...)
  2021-02-21  1:05 ` [PR PATCH] [Updated] " sgn
@ 2021-02-21  1:27 ` sgn
  2021-02-21  1:28 ` sgn
                   ` (7 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: sgn @ 2021-02-21  1:27 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 461 bytes --]

There is an updated pull request by sgn against master on the void-packages repository

https://github.com/sgn/void-packages anthy-0.4-from-debian
https://github.com/void-linux/void-packages/pull/28410

[RFC] switch anthy 0.4's upstream to debian
- switch to Debian's fork,
- upstream is dead
- utf-8 most of the things, now
- new character (令和)
- dict updated.

A patch file from https://github.com/void-linux/void-packages/pull/28410.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-anthy-0.4-from-debian-28410.patch --]
[-- Type: text/x-diff, Size: 13135 bytes --]

From 41179e13bfa79794f4a9b72cfbaf1e627a57de94 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?=
 <congdanhqx@gmail.com>
Date: Tue, 2 Feb 2021 22:30:30 +0700
Subject: [PATCH 1/5] anthy: update to 0.4.

---
 common/shlibs          |  6 +++---
 srcpkgs/anthy/template | 18 +++++++++---------
 2 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/common/shlibs b/common/shlibs
index ce0e74cc74e..69eba845387 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -2281,9 +2281,9 @@ libIL.so.1 devil-1.7.8_1
 libILU.so.1 devil-1.7.8_1
 libILUT.so.1 devil-1.7.8_1
 liboath.so.0 oath-toolkit-2.6.0_2
-libanthy.so.0 anthy-9100h_1
-libanthydic.so.0 anthy-9100h_1
-libanthyinput.so.0 anthy-9100h_1
+libanthy.so.1 anthy-0.4_1
+libanthydic.so.1 anthy-0.4_1
+libanthyinput.so.0 anthy-0.4_1
 libanthygobject-1.0.so.5 ibus-anthy-1.5.6_1
 libtbbmalloc_proxy_debug.so.2 tbb-4.3_1
 libtbbmalloc_proxy.so.2 tbb-4.3_1
diff --git a/srcpkgs/anthy/template b/srcpkgs/anthy/template
index 15ab07d942e..46a60e30927 100644
--- a/srcpkgs/anthy/template
+++ b/srcpkgs/anthy/template
@@ -1,19 +1,19 @@
 # Template file for 'anthy'
 pkgname=anthy
-version=9100h
-revision=2
-_filecode=37536
+reverts="9100h_1 9100h_2"
+version=0.4
+revision=1
 conf_files="/etc/anthy-conf"
 build_style=gnu-configure
 configure_args="--disable-static"
 short_desc="Hiragana text to Kana Kanji mixed text Japanese input method"
 maintainer="7185 <7185@free.fr>"
-license="LGPL-2.1"
-homepage="http://osdn.jp/projects/anthy/"
-distfiles="http://dl.sourceforge.jp/anthy/${_filecode}/${pkgname}-${version}.tar.gz"
-checksum="d256f075f018b4a3cb0d165ed6151fda4ba7db1621727e0eb54569b6e2275547"
-# Would need to build lt-mkdepgraph for the host
-nocross=yes
+# Most are LGPL-2.1+ but src-worddic/textdic.c is LGPL-3.0+
+license="LGPL-3.0-or-later"
+homepage="https://wiki.debian.org/Teams/DebianAnthy"
+distfiles="$DEBIAN_SITE/main/a/anthy/anthy_${version}.orig.tar.gz"
+checksum=fdf590beea7093f3327b1eee76013e4936e4c6659e7cc01dd1fdd6e6f2e9c9f7
+nocross="need to run lt-mkdepgraph"
 
 anthy-devel_package() {
 	short_desc+=" - development files"

From 8c0891f8f56d50366125260dba7063cd894a93d2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?=
 <congdanhqx@gmail.com>
Date: Tue, 2 Feb 2021 22:32:37 +0700
Subject: [PATCH 2/5] fcitx-anthy: rebuild for anthy 0.4

---
 srcpkgs/fcitx-anthy/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/fcitx-anthy/template b/srcpkgs/fcitx-anthy/template
index cb0c8f2b364..d03499e83c3 100644
--- a/srcpkgs/fcitx-anthy/template
+++ b/srcpkgs/fcitx-anthy/template
@@ -1,13 +1,13 @@
 # Template file for 'fcitx-anthy'
 pkgname=fcitx-anthy
 version=0.2.3
-revision=1
+revision=2
 build_style=cmake
 makedepends="anthy-devel fcitx-devel"
 depends="fcitx>=4.2.9"
 short_desc="Fcitx wrapper for Anthy IM engine"
 maintainer="Matthias von Faber <mvf@gmx.eu>"
-license="GPL-2"
+license="GPL-2.0-or-later"
 homepage="https://fcitx-im.org/"
 distfiles="https://github.com/fcitx/fcitx-anthy/archive/${version}.tar.gz"
 checksum=31826a49a7ff743f830e1279527301abce9e669bc176934c76775999299421a8

From 51f5d3f973269063cc5e72ad9fd4b799a56830c3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?=
 <congdanhqx@gmail.com>
Date: Tue, 2 Feb 2021 22:32:37 +0700
Subject: [PATCH 3/5] ibus-anthy: rebuild for anthy 0.4

- Build with python3-gobject-devel
- Remove gir build option since it can't be built without.
  Upstream don't provide option to disable
---
 .../0001-read-utf-8-encoded-zipfile.patch     | 25 +++++++++++++++++++
 srcpkgs/ibus-anthy/template                   | 20 +++++++--------
 2 files changed, 34 insertions(+), 11 deletions(-)
 create mode 100644 srcpkgs/ibus-anthy/patches/0001-read-utf-8-encoded-zipfile.patch

diff --git a/srcpkgs/ibus-anthy/patches/0001-read-utf-8-encoded-zipfile.patch b/srcpkgs/ibus-anthy/patches/0001-read-utf-8-encoded-zipfile.patch
new file mode 100644
index 00000000000..f84de477023
--- /dev/null
+++ b/srcpkgs/ibus-anthy/patches/0001-read-utf-8-encoded-zipfile.patch
@@ -0,0 +1,25 @@
+From: NOKUBI Takatsugu <knok@daionet.gr.jp>
+Date: Thu, 2 Nov 2017 15:11:52 +0900
+Subject: read utf-8 encoded zipfile
+
+---
+ anthy form Debian converted those zipfile to utf-8
+ data/zipcode-textdic.py | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/data/zipcode-textdic.py b/data/zipcode-textdic.py
+index 6fa50d6..cb28a1f 100755
+--- data/zipcode-textdic.py
++++ data/zipcode-textdic.py
+@@ -21,9 +21,9 @@ if len(sys.argv) < 2:
+ anthy_zipfile = sys.argv[1]
+ 
+ try:
+-    contents = codecs.open(anthy_zipfile, 'r', 'euc_jp').read()
++    contents = codecs.open(anthy_zipfile, 'r', 'utf-8').read()
+ except UnicodeDecodeError as e:
+-    print('Your file is not eucJP? %s' % anthy_zipfile, file=sys.stderr)
++    print('Your file is not of UTF-8? %s' % anthy_zipfile, file=sys.stderr)
+     contents = open(anthy_zipfile).read()
+ 
+ output_zipfile = codecs.open('zipcode.t', 'w', 'utf-8')
diff --git a/srcpkgs/ibus-anthy/template b/srcpkgs/ibus-anthy/template
index d9d0f92e56a..9b96fa82063 100644
--- a/srcpkgs/ibus-anthy/template
+++ b/srcpkgs/ibus-anthy/template
@@ -1,11 +1,12 @@
 # Template file for 'ibus-anthy'
 pkgname=ibus-anthy
 version=1.5.11
-revision=1
+revision=2
 build_style=gnu-configure
-configure_args="--libexec=/usr/lib/ibus $(vopt_enable gir introspection)"
-hostmakedepends="automake gettext $(vopt_if gir gobject-introspection) libtool pkg-config swig"
-makedepends="anthy-devel gettext-devel ibus-devel python-gobject-devel"
+build_helper=gir
+configure_args="--libexec=/usr/lib/ibus"
+hostmakedepends="automake libtool pkg-config swig intltool gettext-devel"
+makedepends="anthy-devel ibus-devel python3-gobject-devel"
 depends="ibus"
 short_desc="Japanese input method Anthy IMEngine for IBus Framework"
 maintainer="7185 <7185@free.fr>"
@@ -13,14 +14,11 @@ license="LGPL-2.1-or-later"
 homepage="https://github.com/ibus/ibus/wiki"
 distfiles="https://github.com/ibus/${pkgname}/archive/${version}.tar.gz"
 checksum=57d42a302be72409708274aa680c6d7515077766853a2b9193b9974c9c6eeaf6
+make_check=extended
 
-# Package build options
-build_options="gir"
-
-# Disable gir for cross builds.
-if [ -z "$CROSS_BUILD" ]; then
-	build_options_default="gir"
-fi
+post_patch() {
+	2to3 -w gir/test.py
+}
 
 pre_configure() {
 	autoreconf -fi

From 75d2197565cdb40d569dfdea2830a0c4acf61fba Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?=
 <congdanhqx@gmail.com>
Date: Thu, 4 Feb 2021 22:54:55 +0700
Subject: [PATCH 4/5] New package: libgcroots-0.3.2

---
 common/shlibs               |  2 +-
 srcpkgs/libgcroots-devel    |  1 +
 srcpkgs/libgcroots/template | 28 ++++++++++++++++++++++++++++
 3 files changed, 30 insertions(+), 1 deletion(-)
 create mode 120000 srcpkgs/libgcroots-devel
 create mode 100644 srcpkgs/libgcroots/template

diff --git a/common/shlibs b/common/shlibs
index 69eba845387..c1a9371a5d9 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -2875,7 +2875,7 @@ liblxpanel.so.0 lxpanel-0.9.3_1
 libuim.so.8 uim-1.8.6_1
 libuim-scm.so.0 uim-1.8.6_1
 libuim-custom.so.2 uim-1.8.6_1
-libgcroots.so.0 uim-1.8.6_1
+libgcroots.so.0 libgcroots-0.3.2_1
 libdecoration.so.0 compiz-core-0.8.14_1
 libcompizconfig.so.0 libcompizconfig-0.8.14_1
 libemeraldengine.so.0 emerald-0.8.14_1
diff --git a/srcpkgs/libgcroots-devel b/srcpkgs/libgcroots-devel
new file mode 120000
index 00000000000..3f941c40e0f
--- /dev/null
+++ b/srcpkgs/libgcroots-devel
@@ -0,0 +1 @@
+libgcroots
\ No newline at end of file
diff --git a/srcpkgs/libgcroots/template b/srcpkgs/libgcroots/template
new file mode 100644
index 00000000000..26423de91dc
--- /dev/null
+++ b/srcpkgs/libgcroots/template
@@ -0,0 +1,28 @@
+# Template file for 'libgcroots'
+pkgname=libgcroots
+version=0.3.2
+revision=1
+build_style=gnu-configure
+hostmakedepends="pkg-config"
+short_desc="GC library for sigscheme Scheme interpreter"
+maintainer="Đoàn Trần Công Danh <congdanhqx@gmail.com>"
+license="custom:libgcroots"
+homepage="https://github.com/uim/libgcroots"
+distfiles="https://github.com/uim/libgcroots/releases/download/$version/libgcroots-$version.tar.bz2"
+checksum=b177a1c033bd907ea341db7e46eeee181acb73225bf58ada1966e7b4d50f657f
+
+post_install() {
+	rm -f $DESTDIR/usr/lib/*.la
+	vlicense COPYING
+}
+
+libgcroots-devel_package() {
+	depends="${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.a"
+		vmove "usr/lib/*.so"
+	}
+}

From c38620842a62ec98e827c08772c8df6e3aa51e00 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?=
 <congdanhqx@gmail.com>
Date: Tue, 2 Feb 2021 22:32:37 +0700
Subject: [PATCH 5/5] uim: rebuild for anthy 0.4

Close: #28410
---
 srcpkgs/uim/patches/anthy-0.4.patch           | 13 +++++++
 .../replace_obsolete_since_emacs22.1.patch    | 38 +++++++++++++++++++
 srcpkgs/uim/template                          | 15 ++++++--
 3 files changed, 62 insertions(+), 4 deletions(-)
 create mode 100644 srcpkgs/uim/patches/anthy-0.4.patch
 create mode 100644 srcpkgs/uim/patches/replace_obsolete_since_emacs22.1.patch

diff --git a/srcpkgs/uim/patches/anthy-0.4.patch b/srcpkgs/uim/patches/anthy-0.4.patch
new file mode 100644
index 00000000000..082bbd764a1
--- /dev/null
+++ b/srcpkgs/uim/patches/anthy-0.4.patch
@@ -0,0 +1,13 @@
+Index: configure.ac
+===================================================================
+--- configure.ac.orig
++++ configure.ac
+@@ -124,7 +124,7 @@ AC_ARG_WITH(anthy-utf8,
+   [with_anthy_utf8=no])
+ 
+ if test "x$with_anthy_utf8" != xno; then
+-  PKG_CHECK_MODULES(ANTHY_UTF8, anthy >= 8622,
++  PKG_CHECK_MODULES(ANTHY_UTF8, anthy >= 0.4,
+                     [with_anthy_utf8=yes
+                      AC_DEFINE(LIBANTHY_UTF8_CAPABLE, 1,
+                      [libanthy can handle UTF-8])],
diff --git a/srcpkgs/uim/patches/replace_obsolete_since_emacs22.1.patch b/srcpkgs/uim/patches/replace_obsolete_since_emacs22.1.patch
new file mode 100644
index 00000000000..61b28da7208
--- /dev/null
+++ b/srcpkgs/uim/patches/replace_obsolete_since_emacs22.1.patch
@@ -0,0 +1,38 @@
+From 164e2eb050b5fec25033124834cf49ea1a7d8cbb Mon Sep 17 00:00:00 2001
+From: multiSnow <infinity.blick.winkel@gmail.com>
+Date: Thu, 7 Feb 2019 01:03:47 +0800
+Subject: [PATCH] replace process-kill-without-query with
+ set-process-query-on-exit-flag
+
+see https://www.gnu.org/software/emacs/news/NEWS.22.1 and https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=f1c48b0ec521744826ed43ae27eed0e152c472bf
+---
+ emacs/uim-helper.el | 2 +-
+ emacs/uim.el        | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git emacs/uim-helper.el emacs/uim-helper.el
+index e86e32d06..19ecd4538 100644
+--- emacs/uim-helper.el
++++ emacs/uim-helper.el
+@@ -106,7 +106,7 @@
+     (if (not proc)
+ 	(error "uim.el: Couldn't invoke uim-el-helper-agent."))
+ 
+-    (process-kill-without-query proc)
++    (set-process-query-on-exit-flag proc nil)
+ 
+     ;; wait "OK"
+     (let ((patience uim-startup-timeout) (ok nil))
+diff --git emacs/uim.el emacs/uim.el
+index 9110c3cb6..7e1fadbba 100644
+--- emacs/uim.el
++++ emacs/uim.el
+@@ -488,7 +488,7 @@
+ 	(error "uim.el: Couldn't invoke uim-el-agent."))
+     
+     ;; don't ask kill
+-    (process-kill-without-query proc)
++    (set-process-query-on-exit-flag proc nil)
+ 
+     ;; wait "OK"
+     (let ((patience uim-startup-timeout) (ok nil))
diff --git a/srcpkgs/uim/template b/srcpkgs/uim/template
index 2aec8fe9605..aeb9aff5e91 100644
--- a/srcpkgs/uim/template
+++ b/srcpkgs/uim/template
@@ -1,13 +1,15 @@
 # Template file for 'uim'
 pkgname=uim
 version=1.8.8
-revision=2
+revision=3
 build_style=gnu-configure
+build_helper=qmake
 configure_args="--enable-pref --enable-fep --with-gtk2 --with-gtk3
  --with-qt5 --with-qt5-immodule --with-x --with-anthy-utf8 --with-skk"
-hostmakedepends="pkg-config intltool"
+hostmakedepends="pkg-config intltool qt5-host-tools qt5-qmake automake
+ libtool gettext-devel"
 makedepends="gtk+-devel gtk+3-devel qt5-devel ncurses-devel anthy-devel
- qt5-x11extras-devel"
+ libgcroots-devel qt5-x11extras-devel"
 short_desc="Multilingual input method library and environment"
 maintainer="Kazuho Sakoda <hyonhyoro.kazuho@gmail.com>"
 license="BSD-3-Clause"
@@ -17,6 +19,10 @@ checksum=34599bbcc4e5ab87832370763e38be5100984a64237555e9234a1ea225a0fadc
 
 CFLAGS="-fcommon"
 
+pre_configure() {
+	./autogen.sh
+}
+
 post_install() {
 	vlicense COPYING
 }
@@ -24,10 +30,12 @@ post_install() {
 uim-gtk2_package() {
 	short_desc+=" - GTK2 IM module"
 	pkg_install() {
+		vmove usr/bin/uim-input-pad-ja
 		vmove "usr/bin/uim-*-gtk"
 		vmove usr/bin/uim-toolbar-gtk-systray
 		vmove "usr/libexec/uim-*-gtk"
 		vmove usr/lib/gtk-2.0
+		vmove usr/share/applications
 	}
 }
 
@@ -74,7 +82,6 @@ uim-devel_package() {
 	pkg_install() {
 		vmove usr/include
 		vmove usr/lib/pkgconfig
-		vmove "usr/lib/*.a"
 		vmove "usr/lib/*.so"
 	}
 }

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [RFC] switch anthy 0.4's upstream to debian
  2021-02-02 15:54 [PR PATCH] anthy 0.4 from debian sgn
                   ` (4 preceding siblings ...)
  2021-02-21  1:27 ` sgn
@ 2021-02-21  1:28 ` sgn
  2021-03-28 11:48 ` [PR PATCH] [Updated] " sgn
                   ` (6 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: sgn @ 2021-02-21  1:28 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 168 bytes --]

New comment by sgn on void-packages repository

https://github.com/void-linux/void-packages/pull/28410#issuecomment-782777436

Comment:
RPATH fixed (libtool's problem)

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [PR PATCH] [Updated] [RFC] switch anthy 0.4's upstream to debian
  2021-02-02 15:54 [PR PATCH] anthy 0.4 from debian sgn
                   ` (5 preceding siblings ...)
  2021-02-21  1:28 ` sgn
@ 2021-03-28 11:48 ` sgn
  2021-03-28 11:58 ` [PR PATCH] [Updated] " sgn
                   ` (5 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: sgn @ 2021-03-28 11:48 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 461 bytes --]

There is an updated pull request by sgn against master on the void-packages repository

https://github.com/sgn/void-packages anthy-0.4-from-debian
https://github.com/void-linux/void-packages/pull/28410

[RFC] switch anthy 0.4's upstream to debian
- switch to Debian's fork,
- upstream is dead
- utf-8 most of the things, now
- new character (令和)
- dict updated.

A patch file from https://github.com/void-linux/void-packages/pull/28410.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-anthy-0.4-from-debian-28410.patch --]
[-- Type: text/x-diff, Size: 11650 bytes --]

From 7ca7a548c56bb96c902f1cb5c8fbd356e36faa6d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?=
 <congdanhqx@gmail.com>
Date: Tue, 2 Feb 2021 22:30:30 +0700
Subject: [PATCH 1/4] anthy: update to 0.4.

---
 common/shlibs          |  6 +++---
 srcpkgs/anthy/template | 34 ++++++++++++++++++++++------------
 srcpkgs/libanthy       |  1 +
 3 files changed, 26 insertions(+), 15 deletions(-)
 create mode 120000 srcpkgs/libanthy

diff --git a/common/shlibs b/common/shlibs
index 7319cc8d20cb..3a9f74b6acb9 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -2325,9 +2325,9 @@ libIL.so.1 devil-1.7.8_1
 libILU.so.1 devil-1.7.8_1
 libILUT.so.1 devil-1.7.8_1
 liboath.so.0 oath-toolkit-2.6.0_2
-libanthy.so.0 anthy-9100h_1
-libanthydic.so.0 anthy-9100h_1
-libanthyinput.so.0 anthy-9100h_1
+libanthy.so.1 libanthy-0.4_1
+libanthydic.so.1 libanthy-0.4_1
+libanthyinput.so.0 libanthy-0.4_1
 libanthygobject-1.0.so.5 ibus-anthy-1.5.6_1
 libtbbmalloc_proxy_debug.so.2 tbb-4.3_1
 libtbbmalloc_proxy.so.2 tbb-4.3_1
diff --git a/srcpkgs/anthy/template b/srcpkgs/anthy/template
index 15ab07d942e1..7f8ec36404db 100644
--- a/srcpkgs/anthy/template
+++ b/srcpkgs/anthy/template
@@ -1,26 +1,36 @@
 # Template file for 'anthy'
 pkgname=anthy
-version=9100h
-revision=2
-_filecode=37536
-conf_files="/etc/anthy-conf"
+reverts="9100h_1 9100h_2"
+version=0.4
+revision=1
 build_style=gnu-configure
 configure_args="--disable-static"
 short_desc="Hiragana text to Kana Kanji mixed text Japanese input method"
 maintainer="7185 <7185@free.fr>"
-license="LGPL-2.1"
-homepage="http://osdn.jp/projects/anthy/"
-distfiles="http://dl.sourceforge.jp/anthy/${_filecode}/${pkgname}-${version}.tar.gz"
-checksum="d256f075f018b4a3cb0d165ed6151fda4ba7db1621727e0eb54569b6e2275547"
-# Would need to build lt-mkdepgraph for the host
-nocross=yes
+# Most are LGPL-2.1+ but src-worddic/textdic.c is LGPL-3.0+
+license="LGPL-3.0-or-later"
+homepage="https://wiki.debian.org/Teams/DebianAnthy"
+distfiles="$DEBIAN_SITE/main/a/anthy/anthy_${version}.orig.tar.gz"
+checksum=fdf590beea7093f3327b1eee76013e4936e4c6659e7cc01dd1fdd6e6f2e9c9f7
+nocross="need to run lt-mkdepgraph"
+
+libanthy_package() {
+	short_desc+=" - libraries"
+	conf_files="/etc/anthy-conf"
+	conflicts="anthy-9100h_1 anthy-9100h_2"
+	pkg_install() {
+		vmove etc/anthy-conf
+		vmove "usr/lib/*.so.*"
+		vmove usr/share
+	}
+}
 
 anthy-devel_package() {
 	short_desc+=" - development files"
-	depends="${sourcepkg}-${version}_${revision}"
+	depends="libanthy-${version}_${revision}"
 	pkg_install() {
 		vmove usr/include
 		vmove usr/lib/pkgconfig
-		vmove usr/lib/*.so
+		vmove "usr/lib/*.so"
 	}
 }
diff --git a/srcpkgs/libanthy b/srcpkgs/libanthy
new file mode 120000
index 000000000000..b38e2adfa2dc
--- /dev/null
+++ b/srcpkgs/libanthy
@@ -0,0 +1 @@
+anthy
\ No newline at end of file

From 3eb61c5dba169d07e97f21f1693542ec293aa1a4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?=
 <congdanhqx@gmail.com>
Date: Tue, 2 Feb 2021 22:32:37 +0700
Subject: [PATCH 2/4] fcitx-anthy: rebuild for anthy 0.4

---
 srcpkgs/fcitx-anthy/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/fcitx-anthy/template b/srcpkgs/fcitx-anthy/template
index cb0c8f2b364a..d03499e83c3e 100644
--- a/srcpkgs/fcitx-anthy/template
+++ b/srcpkgs/fcitx-anthy/template
@@ -1,13 +1,13 @@
 # Template file for 'fcitx-anthy'
 pkgname=fcitx-anthy
 version=0.2.3
-revision=1
+revision=2
 build_style=cmake
 makedepends="anthy-devel fcitx-devel"
 depends="fcitx>=4.2.9"
 short_desc="Fcitx wrapper for Anthy IM engine"
 maintainer="Matthias von Faber <mvf@gmx.eu>"
-license="GPL-2"
+license="GPL-2.0-or-later"
 homepage="https://fcitx-im.org/"
 distfiles="https://github.com/fcitx/fcitx-anthy/archive/${version}.tar.gz"
 checksum=31826a49a7ff743f830e1279527301abce9e669bc176934c76775999299421a8

From a063cc7d284cab197f45ff0c25553545eaede4c1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?=
 <congdanhqx@gmail.com>
Date: Tue, 2 Feb 2021 22:32:37 +0700
Subject: [PATCH 3/4] ibus-anthy: rebuild for anthy 0.4

- Build with python3-gobject-devel
- Remove gir build option since it can't be built without.
  Upstream don't provide option to disable
---
 .../0001-read-utf-8-encoded-zipfile.patch     | 25 +++++++++++++++++++
 srcpkgs/ibus-anthy/template                   | 20 +++++++--------
 2 files changed, 34 insertions(+), 11 deletions(-)
 create mode 100644 srcpkgs/ibus-anthy/patches/0001-read-utf-8-encoded-zipfile.patch

diff --git a/srcpkgs/ibus-anthy/patches/0001-read-utf-8-encoded-zipfile.patch b/srcpkgs/ibus-anthy/patches/0001-read-utf-8-encoded-zipfile.patch
new file mode 100644
index 000000000000..f84de4770232
--- /dev/null
+++ b/srcpkgs/ibus-anthy/patches/0001-read-utf-8-encoded-zipfile.patch
@@ -0,0 +1,25 @@
+From: NOKUBI Takatsugu <knok@daionet.gr.jp>
+Date: Thu, 2 Nov 2017 15:11:52 +0900
+Subject: read utf-8 encoded zipfile
+
+---
+ anthy form Debian converted those zipfile to utf-8
+ data/zipcode-textdic.py | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/data/zipcode-textdic.py b/data/zipcode-textdic.py
+index 6fa50d6..cb28a1f 100755
+--- data/zipcode-textdic.py
++++ data/zipcode-textdic.py
+@@ -21,9 +21,9 @@ if len(sys.argv) < 2:
+ anthy_zipfile = sys.argv[1]
+ 
+ try:
+-    contents = codecs.open(anthy_zipfile, 'r', 'euc_jp').read()
++    contents = codecs.open(anthy_zipfile, 'r', 'utf-8').read()
+ except UnicodeDecodeError as e:
+-    print('Your file is not eucJP? %s' % anthy_zipfile, file=sys.stderr)
++    print('Your file is not of UTF-8? %s' % anthy_zipfile, file=sys.stderr)
+     contents = open(anthy_zipfile).read()
+ 
+ output_zipfile = codecs.open('zipcode.t', 'w', 'utf-8')
diff --git a/srcpkgs/ibus-anthy/template b/srcpkgs/ibus-anthy/template
index d9d0f92e56a8..9b96fa820633 100644
--- a/srcpkgs/ibus-anthy/template
+++ b/srcpkgs/ibus-anthy/template
@@ -1,11 +1,12 @@
 # Template file for 'ibus-anthy'
 pkgname=ibus-anthy
 version=1.5.11
-revision=1
+revision=2
 build_style=gnu-configure
-configure_args="--libexec=/usr/lib/ibus $(vopt_enable gir introspection)"
-hostmakedepends="automake gettext $(vopt_if gir gobject-introspection) libtool pkg-config swig"
-makedepends="anthy-devel gettext-devel ibus-devel python-gobject-devel"
+build_helper=gir
+configure_args="--libexec=/usr/lib/ibus"
+hostmakedepends="automake libtool pkg-config swig intltool gettext-devel"
+makedepends="anthy-devel ibus-devel python3-gobject-devel"
 depends="ibus"
 short_desc="Japanese input method Anthy IMEngine for IBus Framework"
 maintainer="7185 <7185@free.fr>"
@@ -13,14 +14,11 @@ license="LGPL-2.1-or-later"
 homepage="https://github.com/ibus/ibus/wiki"
 distfiles="https://github.com/ibus/${pkgname}/archive/${version}.tar.gz"
 checksum=57d42a302be72409708274aa680c6d7515077766853a2b9193b9974c9c6eeaf6
+make_check=extended
 
-# Package build options
-build_options="gir"
-
-# Disable gir for cross builds.
-if [ -z "$CROSS_BUILD" ]; then
-	build_options_default="gir"
-fi
+post_patch() {
+	2to3 -w gir/test.py
+}
 
 pre_configure() {
 	autoreconf -fi

From 09fb412726de3a9b8344ba83fab2a6a36a47accd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?=
 <congdanhqx@gmail.com>
Date: Tue, 2 Feb 2021 22:32:37 +0700
Subject: [PATCH 4/4] uim: rebuild for anthy 0.4

Close: #28410
---
 srcpkgs/uim/patches/anthy-0.4.patch           | 13 +++++++
 .../replace_obsolete_since_emacs22.1.patch    | 38 +++++++++++++++++++
 srcpkgs/uim/template                          | 15 ++++++--
 3 files changed, 62 insertions(+), 4 deletions(-)
 create mode 100644 srcpkgs/uim/patches/anthy-0.4.patch
 create mode 100644 srcpkgs/uim/patches/replace_obsolete_since_emacs22.1.patch

diff --git a/srcpkgs/uim/patches/anthy-0.4.patch b/srcpkgs/uim/patches/anthy-0.4.patch
new file mode 100644
index 000000000000..082bbd764a1b
--- /dev/null
+++ b/srcpkgs/uim/patches/anthy-0.4.patch
@@ -0,0 +1,13 @@
+Index: configure.ac
+===================================================================
+--- configure.ac.orig
++++ configure.ac
+@@ -124,7 +124,7 @@ AC_ARG_WITH(anthy-utf8,
+   [with_anthy_utf8=no])
+ 
+ if test "x$with_anthy_utf8" != xno; then
+-  PKG_CHECK_MODULES(ANTHY_UTF8, anthy >= 8622,
++  PKG_CHECK_MODULES(ANTHY_UTF8, anthy >= 0.4,
+                     [with_anthy_utf8=yes
+                      AC_DEFINE(LIBANTHY_UTF8_CAPABLE, 1,
+                      [libanthy can handle UTF-8])],
diff --git a/srcpkgs/uim/patches/replace_obsolete_since_emacs22.1.patch b/srcpkgs/uim/patches/replace_obsolete_since_emacs22.1.patch
new file mode 100644
index 000000000000..61b28da72088
--- /dev/null
+++ b/srcpkgs/uim/patches/replace_obsolete_since_emacs22.1.patch
@@ -0,0 +1,38 @@
+From 164e2eb050b5fec25033124834cf49ea1a7d8cbb Mon Sep 17 00:00:00 2001
+From: multiSnow <infinity.blick.winkel@gmail.com>
+Date: Thu, 7 Feb 2019 01:03:47 +0800
+Subject: [PATCH] replace process-kill-without-query with
+ set-process-query-on-exit-flag
+
+see https://www.gnu.org/software/emacs/news/NEWS.22.1 and https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=f1c48b0ec521744826ed43ae27eed0e152c472bf
+---
+ emacs/uim-helper.el | 2 +-
+ emacs/uim.el        | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git emacs/uim-helper.el emacs/uim-helper.el
+index e86e32d06..19ecd4538 100644
+--- emacs/uim-helper.el
++++ emacs/uim-helper.el
+@@ -106,7 +106,7 @@
+     (if (not proc)
+ 	(error "uim.el: Couldn't invoke uim-el-helper-agent."))
+ 
+-    (process-kill-without-query proc)
++    (set-process-query-on-exit-flag proc nil)
+ 
+     ;; wait "OK"
+     (let ((patience uim-startup-timeout) (ok nil))
+diff --git emacs/uim.el emacs/uim.el
+index 9110c3cb6..7e1fadbba 100644
+--- emacs/uim.el
++++ emacs/uim.el
+@@ -488,7 +488,7 @@
+ 	(error "uim.el: Couldn't invoke uim-el-agent."))
+     
+     ;; don't ask kill
+-    (process-kill-without-query proc)
++    (set-process-query-on-exit-flag proc nil)
+ 
+     ;; wait "OK"
+     (let ((patience uim-startup-timeout) (ok nil))
diff --git a/srcpkgs/uim/template b/srcpkgs/uim/template
index 2aec8fe96059..aeb9aff5e913 100644
--- a/srcpkgs/uim/template
+++ b/srcpkgs/uim/template
@@ -1,13 +1,15 @@
 # Template file for 'uim'
 pkgname=uim
 version=1.8.8
-revision=2
+revision=3
 build_style=gnu-configure
+build_helper=qmake
 configure_args="--enable-pref --enable-fep --with-gtk2 --with-gtk3
  --with-qt5 --with-qt5-immodule --with-x --with-anthy-utf8 --with-skk"
-hostmakedepends="pkg-config intltool"
+hostmakedepends="pkg-config intltool qt5-host-tools qt5-qmake automake
+ libtool gettext-devel"
 makedepends="gtk+-devel gtk+3-devel qt5-devel ncurses-devel anthy-devel
- qt5-x11extras-devel"
+ libgcroots-devel qt5-x11extras-devel"
 short_desc="Multilingual input method library and environment"
 maintainer="Kazuho Sakoda <hyonhyoro.kazuho@gmail.com>"
 license="BSD-3-Clause"
@@ -17,6 +19,10 @@ checksum=34599bbcc4e5ab87832370763e38be5100984a64237555e9234a1ea225a0fadc
 
 CFLAGS="-fcommon"
 
+pre_configure() {
+	./autogen.sh
+}
+
 post_install() {
 	vlicense COPYING
 }
@@ -24,10 +30,12 @@ post_install() {
 uim-gtk2_package() {
 	short_desc+=" - GTK2 IM module"
 	pkg_install() {
+		vmove usr/bin/uim-input-pad-ja
 		vmove "usr/bin/uim-*-gtk"
 		vmove usr/bin/uim-toolbar-gtk-systray
 		vmove "usr/libexec/uim-*-gtk"
 		vmove usr/lib/gtk-2.0
+		vmove usr/share/applications
 	}
 }
 
@@ -74,7 +82,6 @@ uim-devel_package() {
 	pkg_install() {
 		vmove usr/include
 		vmove usr/lib/pkgconfig
-		vmove "usr/lib/*.a"
 		vmove "usr/lib/*.so"
 	}
 }

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [PR PATCH] [Updated] switch anthy 0.4's upstream to debian
  2021-02-02 15:54 [PR PATCH] anthy 0.4 from debian sgn
                   ` (6 preceding siblings ...)
  2021-03-28 11:48 ` [PR PATCH] [Updated] " sgn
@ 2021-03-28 11:58 ` sgn
  2021-03-28 11:59 ` sgn
                   ` (4 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: sgn @ 2021-03-28 11:58 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 455 bytes --]

There is an updated pull request by sgn against master on the void-packages repository

https://github.com/sgn/void-packages anthy-0.4-from-debian
https://github.com/void-linux/void-packages/pull/28410

switch anthy 0.4's upstream to debian
- switch to Debian's fork,
- upstream is dead
- utf-8 most of the things, now
- new character (令和)
- dict updated.

A patch file from https://github.com/void-linux/void-packages/pull/28410.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-anthy-0.4-from-debian-28410.patch --]
[-- Type: text/x-diff, Size: 11705 bytes --]

From 2b101523a616ad544f90d4ba57051dd9f9a64ee0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?=
 <congdanhqx@gmail.com>
Date: Tue, 2 Feb 2021 22:30:30 +0700
Subject: [PATCH 1/4] anthy: update to 0.4.

---
 common/shlibs          |  6 +++---
 srcpkgs/anthy/template | 35 +++++++++++++++++++++++------------
 srcpkgs/libanthy       |  1 +
 3 files changed, 27 insertions(+), 15 deletions(-)
 create mode 120000 srcpkgs/libanthy

diff --git a/common/shlibs b/common/shlibs
index 7319cc8d20cb..3a9f74b6acb9 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -2325,9 +2325,9 @@ libIL.so.1 devil-1.7.8_1
 libILU.so.1 devil-1.7.8_1
 libILUT.so.1 devil-1.7.8_1
 liboath.so.0 oath-toolkit-2.6.0_2
-libanthy.so.0 anthy-9100h_1
-libanthydic.so.0 anthy-9100h_1
-libanthyinput.so.0 anthy-9100h_1
+libanthy.so.1 libanthy-0.4_1
+libanthydic.so.1 libanthy-0.4_1
+libanthyinput.so.0 libanthy-0.4_1
 libanthygobject-1.0.so.5 ibus-anthy-1.5.6_1
 libtbbmalloc_proxy_debug.so.2 tbb-4.3_1
 libtbbmalloc_proxy.so.2 tbb-4.3_1
diff --git a/srcpkgs/anthy/template b/srcpkgs/anthy/template
index 15ab07d942e1..a4f6b13c6018 100644
--- a/srcpkgs/anthy/template
+++ b/srcpkgs/anthy/template
@@ -1,26 +1,37 @@
 # Template file for 'anthy'
 pkgname=anthy
-version=9100h
-revision=2
-_filecode=37536
-conf_files="/etc/anthy-conf"
+reverts="9100h_1 9100h_2"
+version=0.4
+revision=1
 build_style=gnu-configure
 configure_args="--disable-static"
 short_desc="Hiragana text to Kana Kanji mixed text Japanese input method"
 maintainer="7185 <7185@free.fr>"
-license="LGPL-2.1"
-homepage="http://osdn.jp/projects/anthy/"
-distfiles="http://dl.sourceforge.jp/anthy/${_filecode}/${pkgname}-${version}.tar.gz"
-checksum="d256f075f018b4a3cb0d165ed6151fda4ba7db1621727e0eb54569b6e2275547"
-# Would need to build lt-mkdepgraph for the host
-nocross=yes
+# src-worddic/textdic.c is LGPL-3.0+
+# alt-cannadic is GPL-2, corpus: Public Domain
+license="LGPL-3.0-or-later, GPL-2.0-only, Public Domain"
+homepage="https://wiki.debian.org/Teams/DebianAnthy"
+distfiles="$DEBIAN_SITE/main/a/anthy/anthy_${version}.orig.tar.gz"
+checksum=fdf590beea7093f3327b1eee76013e4936e4c6659e7cc01dd1fdd6e6f2e9c9f7
+nocross="need to run lt-mkdepgraph"
+
+libanthy_package() {
+	short_desc+=" - libraries"
+	conf_files="/etc/anthy-conf"
+	conflicts="anthy-9100h_1 anthy-9100h_2"
+	pkg_install() {
+		vmove etc/anthy-conf
+		vmove "usr/lib/*.so.*"
+		vmove usr/share
+	}
+}
 
 anthy-devel_package() {
 	short_desc+=" - development files"
-	depends="${sourcepkg}-${version}_${revision}"
+	depends="libanthy-${version}_${revision}"
 	pkg_install() {
 		vmove usr/include
 		vmove usr/lib/pkgconfig
-		vmove usr/lib/*.so
+		vmove "usr/lib/*.so"
 	}
 }
diff --git a/srcpkgs/libanthy b/srcpkgs/libanthy
new file mode 120000
index 000000000000..b38e2adfa2dc
--- /dev/null
+++ b/srcpkgs/libanthy
@@ -0,0 +1 @@
+anthy
\ No newline at end of file

From 8c518c040956d93c7045e40aff406e8a07a86803 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?=
 <congdanhqx@gmail.com>
Date: Tue, 2 Feb 2021 22:32:37 +0700
Subject: [PATCH 2/4] fcitx-anthy: rebuild for anthy 0.4

---
 srcpkgs/fcitx-anthy/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/fcitx-anthy/template b/srcpkgs/fcitx-anthy/template
index cb0c8f2b364a..d03499e83c3e 100644
--- a/srcpkgs/fcitx-anthy/template
+++ b/srcpkgs/fcitx-anthy/template
@@ -1,13 +1,13 @@
 # Template file for 'fcitx-anthy'
 pkgname=fcitx-anthy
 version=0.2.3
-revision=1
+revision=2
 build_style=cmake
 makedepends="anthy-devel fcitx-devel"
 depends="fcitx>=4.2.9"
 short_desc="Fcitx wrapper for Anthy IM engine"
 maintainer="Matthias von Faber <mvf@gmx.eu>"
-license="GPL-2"
+license="GPL-2.0-or-later"
 homepage="https://fcitx-im.org/"
 distfiles="https://github.com/fcitx/fcitx-anthy/archive/${version}.tar.gz"
 checksum=31826a49a7ff743f830e1279527301abce9e669bc176934c76775999299421a8

From 8dde40908ea9c17cde36dad3fb62ffed24c9e68f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?=
 <congdanhqx@gmail.com>
Date: Tue, 2 Feb 2021 22:32:37 +0700
Subject: [PATCH 3/4] ibus-anthy: rebuild for anthy 0.4

- Build with python3-gobject-devel
- Remove gir build option since it can't be built without.
  Upstream don't provide option to disable
---
 .../0001-read-utf-8-encoded-zipfile.patch     | 25 +++++++++++++++++++
 srcpkgs/ibus-anthy/template                   | 20 +++++++--------
 2 files changed, 34 insertions(+), 11 deletions(-)
 create mode 100644 srcpkgs/ibus-anthy/patches/0001-read-utf-8-encoded-zipfile.patch

diff --git a/srcpkgs/ibus-anthy/patches/0001-read-utf-8-encoded-zipfile.patch b/srcpkgs/ibus-anthy/patches/0001-read-utf-8-encoded-zipfile.patch
new file mode 100644
index 000000000000..f84de4770232
--- /dev/null
+++ b/srcpkgs/ibus-anthy/patches/0001-read-utf-8-encoded-zipfile.patch
@@ -0,0 +1,25 @@
+From: NOKUBI Takatsugu <knok@daionet.gr.jp>
+Date: Thu, 2 Nov 2017 15:11:52 +0900
+Subject: read utf-8 encoded zipfile
+
+---
+ anthy form Debian converted those zipfile to utf-8
+ data/zipcode-textdic.py | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/data/zipcode-textdic.py b/data/zipcode-textdic.py
+index 6fa50d6..cb28a1f 100755
+--- data/zipcode-textdic.py
++++ data/zipcode-textdic.py
+@@ -21,9 +21,9 @@ if len(sys.argv) < 2:
+ anthy_zipfile = sys.argv[1]
+ 
+ try:
+-    contents = codecs.open(anthy_zipfile, 'r', 'euc_jp').read()
++    contents = codecs.open(anthy_zipfile, 'r', 'utf-8').read()
+ except UnicodeDecodeError as e:
+-    print('Your file is not eucJP? %s' % anthy_zipfile, file=sys.stderr)
++    print('Your file is not of UTF-8? %s' % anthy_zipfile, file=sys.stderr)
+     contents = open(anthy_zipfile).read()
+ 
+ output_zipfile = codecs.open('zipcode.t', 'w', 'utf-8')
diff --git a/srcpkgs/ibus-anthy/template b/srcpkgs/ibus-anthy/template
index d9d0f92e56a8..9b96fa820633 100644
--- a/srcpkgs/ibus-anthy/template
+++ b/srcpkgs/ibus-anthy/template
@@ -1,11 +1,12 @@
 # Template file for 'ibus-anthy'
 pkgname=ibus-anthy
 version=1.5.11
-revision=1
+revision=2
 build_style=gnu-configure
-configure_args="--libexec=/usr/lib/ibus $(vopt_enable gir introspection)"
-hostmakedepends="automake gettext $(vopt_if gir gobject-introspection) libtool pkg-config swig"
-makedepends="anthy-devel gettext-devel ibus-devel python-gobject-devel"
+build_helper=gir
+configure_args="--libexec=/usr/lib/ibus"
+hostmakedepends="automake libtool pkg-config swig intltool gettext-devel"
+makedepends="anthy-devel ibus-devel python3-gobject-devel"
 depends="ibus"
 short_desc="Japanese input method Anthy IMEngine for IBus Framework"
 maintainer="7185 <7185@free.fr>"
@@ -13,14 +14,11 @@ license="LGPL-2.1-or-later"
 homepage="https://github.com/ibus/ibus/wiki"
 distfiles="https://github.com/ibus/${pkgname}/archive/${version}.tar.gz"
 checksum=57d42a302be72409708274aa680c6d7515077766853a2b9193b9974c9c6eeaf6
+make_check=extended
 
-# Package build options
-build_options="gir"
-
-# Disable gir for cross builds.
-if [ -z "$CROSS_BUILD" ]; then
-	build_options_default="gir"
-fi
+post_patch() {
+	2to3 -w gir/test.py
+}
 
 pre_configure() {
 	autoreconf -fi

From 5909c19373cdba13d612c93a0b9d11fdadefd1f2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?=
 <congdanhqx@gmail.com>
Date: Tue, 2 Feb 2021 22:32:37 +0700
Subject: [PATCH 4/4] uim: rebuild for anthy 0.4

Close: #28410
---
 srcpkgs/uim/patches/anthy-0.4.patch           | 13 +++++++
 .../replace_obsolete_since_emacs22.1.patch    | 38 +++++++++++++++++++
 srcpkgs/uim/template                          | 15 ++++++--
 3 files changed, 62 insertions(+), 4 deletions(-)
 create mode 100644 srcpkgs/uim/patches/anthy-0.4.patch
 create mode 100644 srcpkgs/uim/patches/replace_obsolete_since_emacs22.1.patch

diff --git a/srcpkgs/uim/patches/anthy-0.4.patch b/srcpkgs/uim/patches/anthy-0.4.patch
new file mode 100644
index 000000000000..082bbd764a1b
--- /dev/null
+++ b/srcpkgs/uim/patches/anthy-0.4.patch
@@ -0,0 +1,13 @@
+Index: configure.ac
+===================================================================
+--- configure.ac.orig
++++ configure.ac
+@@ -124,7 +124,7 @@ AC_ARG_WITH(anthy-utf8,
+   [with_anthy_utf8=no])
+ 
+ if test "x$with_anthy_utf8" != xno; then
+-  PKG_CHECK_MODULES(ANTHY_UTF8, anthy >= 8622,
++  PKG_CHECK_MODULES(ANTHY_UTF8, anthy >= 0.4,
+                     [with_anthy_utf8=yes
+                      AC_DEFINE(LIBANTHY_UTF8_CAPABLE, 1,
+                      [libanthy can handle UTF-8])],
diff --git a/srcpkgs/uim/patches/replace_obsolete_since_emacs22.1.patch b/srcpkgs/uim/patches/replace_obsolete_since_emacs22.1.patch
new file mode 100644
index 000000000000..61b28da72088
--- /dev/null
+++ b/srcpkgs/uim/patches/replace_obsolete_since_emacs22.1.patch
@@ -0,0 +1,38 @@
+From 164e2eb050b5fec25033124834cf49ea1a7d8cbb Mon Sep 17 00:00:00 2001
+From: multiSnow <infinity.blick.winkel@gmail.com>
+Date: Thu, 7 Feb 2019 01:03:47 +0800
+Subject: [PATCH] replace process-kill-without-query with
+ set-process-query-on-exit-flag
+
+see https://www.gnu.org/software/emacs/news/NEWS.22.1 and https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=f1c48b0ec521744826ed43ae27eed0e152c472bf
+---
+ emacs/uim-helper.el | 2 +-
+ emacs/uim.el        | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git emacs/uim-helper.el emacs/uim-helper.el
+index e86e32d06..19ecd4538 100644
+--- emacs/uim-helper.el
++++ emacs/uim-helper.el
+@@ -106,7 +106,7 @@
+     (if (not proc)
+ 	(error "uim.el: Couldn't invoke uim-el-helper-agent."))
+ 
+-    (process-kill-without-query proc)
++    (set-process-query-on-exit-flag proc nil)
+ 
+     ;; wait "OK"
+     (let ((patience uim-startup-timeout) (ok nil))
+diff --git emacs/uim.el emacs/uim.el
+index 9110c3cb6..7e1fadbba 100644
+--- emacs/uim.el
++++ emacs/uim.el
+@@ -488,7 +488,7 @@
+ 	(error "uim.el: Couldn't invoke uim-el-agent."))
+     
+     ;; don't ask kill
+-    (process-kill-without-query proc)
++    (set-process-query-on-exit-flag proc nil)
+ 
+     ;; wait "OK"
+     (let ((patience uim-startup-timeout) (ok nil))
diff --git a/srcpkgs/uim/template b/srcpkgs/uim/template
index 2aec8fe96059..aeb9aff5e913 100644
--- a/srcpkgs/uim/template
+++ b/srcpkgs/uim/template
@@ -1,13 +1,15 @@
 # Template file for 'uim'
 pkgname=uim
 version=1.8.8
-revision=2
+revision=3
 build_style=gnu-configure
+build_helper=qmake
 configure_args="--enable-pref --enable-fep --with-gtk2 --with-gtk3
  --with-qt5 --with-qt5-immodule --with-x --with-anthy-utf8 --with-skk"
-hostmakedepends="pkg-config intltool"
+hostmakedepends="pkg-config intltool qt5-host-tools qt5-qmake automake
+ libtool gettext-devel"
 makedepends="gtk+-devel gtk+3-devel qt5-devel ncurses-devel anthy-devel
- qt5-x11extras-devel"
+ libgcroots-devel qt5-x11extras-devel"
 short_desc="Multilingual input method library and environment"
 maintainer="Kazuho Sakoda <hyonhyoro.kazuho@gmail.com>"
 license="BSD-3-Clause"
@@ -17,6 +19,10 @@ checksum=34599bbcc4e5ab87832370763e38be5100984a64237555e9234a1ea225a0fadc
 
 CFLAGS="-fcommon"
 
+pre_configure() {
+	./autogen.sh
+}
+
 post_install() {
 	vlicense COPYING
 }
@@ -24,10 +30,12 @@ post_install() {
 uim-gtk2_package() {
 	short_desc+=" - GTK2 IM module"
 	pkg_install() {
+		vmove usr/bin/uim-input-pad-ja
 		vmove "usr/bin/uim-*-gtk"
 		vmove usr/bin/uim-toolbar-gtk-systray
 		vmove "usr/libexec/uim-*-gtk"
 		vmove usr/lib/gtk-2.0
+		vmove usr/share/applications
 	}
 }
 
@@ -74,7 +82,6 @@ uim-devel_package() {
 	pkg_install() {
 		vmove usr/include
 		vmove usr/lib/pkgconfig
-		vmove "usr/lib/*.a"
 		vmove "usr/lib/*.so"
 	}
 }

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: switch anthy 0.4's upstream to debian
  2021-02-02 15:54 [PR PATCH] anthy 0.4 from debian sgn
                   ` (7 preceding siblings ...)
  2021-03-28 11:58 ` [PR PATCH] [Updated] " sgn
@ 2021-03-28 11:59 ` sgn
  2021-03-28 12:00 ` [PR PATCH] [Updated] " sgn
                   ` (3 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: sgn @ 2021-03-28 11:59 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 220 bytes --]

New comment by sgn on void-packages repository

https://github.com/void-linux/void-packages/pull/28410#issuecomment-808886831

Comment:
@7185  @mvf @hyonhyoro I'll merge in next 24 hours if I hear nothing back from you.

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [PR PATCH] [Updated] switch anthy 0.4's upstream to debian
  2021-02-02 15:54 [PR PATCH] anthy 0.4 from debian sgn
                   ` (8 preceding siblings ...)
  2021-03-28 11:59 ` sgn
@ 2021-03-28 12:00 ` sgn
  2021-03-28 12:05 ` 7185
                   ` (2 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: sgn @ 2021-03-28 12:00 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 455 bytes --]

There is an updated pull request by sgn against master on the void-packages repository

https://github.com/sgn/void-packages anthy-0.4-from-debian
https://github.com/void-linux/void-packages/pull/28410

switch anthy 0.4's upstream to debian
- switch to Debian's fork,
- upstream is dead
- utf-8 most of the things, now
- new character (令和)
- dict updated.

A patch file from https://github.com/void-linux/void-packages/pull/28410.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-anthy-0.4-from-debian-28410.patch --]
[-- Type: text/x-diff, Size: 13925 bytes --]

From 2b101523a616ad544f90d4ba57051dd9f9a64ee0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?=
 <congdanhqx@gmail.com>
Date: Tue, 2 Feb 2021 22:30:30 +0700
Subject: [PATCH 1/5] anthy: update to 0.4.

---
 common/shlibs          |  6 +++---
 srcpkgs/anthy/template | 35 +++++++++++++++++++++++------------
 srcpkgs/libanthy       |  1 +
 3 files changed, 27 insertions(+), 15 deletions(-)
 create mode 120000 srcpkgs/libanthy

diff --git a/common/shlibs b/common/shlibs
index 7319cc8d20cb..3a9f74b6acb9 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -2325,9 +2325,9 @@ libIL.so.1 devil-1.7.8_1
 libILU.so.1 devil-1.7.8_1
 libILUT.so.1 devil-1.7.8_1
 liboath.so.0 oath-toolkit-2.6.0_2
-libanthy.so.0 anthy-9100h_1
-libanthydic.so.0 anthy-9100h_1
-libanthyinput.so.0 anthy-9100h_1
+libanthy.so.1 libanthy-0.4_1
+libanthydic.so.1 libanthy-0.4_1
+libanthyinput.so.0 libanthy-0.4_1
 libanthygobject-1.0.so.5 ibus-anthy-1.5.6_1
 libtbbmalloc_proxy_debug.so.2 tbb-4.3_1
 libtbbmalloc_proxy.so.2 tbb-4.3_1
diff --git a/srcpkgs/anthy/template b/srcpkgs/anthy/template
index 15ab07d942e1..a4f6b13c6018 100644
--- a/srcpkgs/anthy/template
+++ b/srcpkgs/anthy/template
@@ -1,26 +1,37 @@
 # Template file for 'anthy'
 pkgname=anthy
-version=9100h
-revision=2
-_filecode=37536
-conf_files="/etc/anthy-conf"
+reverts="9100h_1 9100h_2"
+version=0.4
+revision=1
 build_style=gnu-configure
 configure_args="--disable-static"
 short_desc="Hiragana text to Kana Kanji mixed text Japanese input method"
 maintainer="7185 <7185@free.fr>"
-license="LGPL-2.1"
-homepage="http://osdn.jp/projects/anthy/"
-distfiles="http://dl.sourceforge.jp/anthy/${_filecode}/${pkgname}-${version}.tar.gz"
-checksum="d256f075f018b4a3cb0d165ed6151fda4ba7db1621727e0eb54569b6e2275547"
-# Would need to build lt-mkdepgraph for the host
-nocross=yes
+# src-worddic/textdic.c is LGPL-3.0+
+# alt-cannadic is GPL-2, corpus: Public Domain
+license="LGPL-3.0-or-later, GPL-2.0-only, Public Domain"
+homepage="https://wiki.debian.org/Teams/DebianAnthy"
+distfiles="$DEBIAN_SITE/main/a/anthy/anthy_${version}.orig.tar.gz"
+checksum=fdf590beea7093f3327b1eee76013e4936e4c6659e7cc01dd1fdd6e6f2e9c9f7
+nocross="need to run lt-mkdepgraph"
+
+libanthy_package() {
+	short_desc+=" - libraries"
+	conf_files="/etc/anthy-conf"
+	conflicts="anthy-9100h_1 anthy-9100h_2"
+	pkg_install() {
+		vmove etc/anthy-conf
+		vmove "usr/lib/*.so.*"
+		vmove usr/share
+	}
+}
 
 anthy-devel_package() {
 	short_desc+=" - development files"
-	depends="${sourcepkg}-${version}_${revision}"
+	depends="libanthy-${version}_${revision}"
 	pkg_install() {
 		vmove usr/include
 		vmove usr/lib/pkgconfig
-		vmove usr/lib/*.so
+		vmove "usr/lib/*.so"
 	}
 }
diff --git a/srcpkgs/libanthy b/srcpkgs/libanthy
new file mode 120000
index 000000000000..b38e2adfa2dc
--- /dev/null
+++ b/srcpkgs/libanthy
@@ -0,0 +1 @@
+anthy
\ No newline at end of file

From 8c518c040956d93c7045e40aff406e8a07a86803 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?=
 <congdanhqx@gmail.com>
Date: Tue, 2 Feb 2021 22:32:37 +0700
Subject: [PATCH 2/5] fcitx-anthy: rebuild for anthy 0.4

---
 srcpkgs/fcitx-anthy/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/fcitx-anthy/template b/srcpkgs/fcitx-anthy/template
index cb0c8f2b364a..d03499e83c3e 100644
--- a/srcpkgs/fcitx-anthy/template
+++ b/srcpkgs/fcitx-anthy/template
@@ -1,13 +1,13 @@
 # Template file for 'fcitx-anthy'
 pkgname=fcitx-anthy
 version=0.2.3
-revision=1
+revision=2
 build_style=cmake
 makedepends="anthy-devel fcitx-devel"
 depends="fcitx>=4.2.9"
 short_desc="Fcitx wrapper for Anthy IM engine"
 maintainer="Matthias von Faber <mvf@gmx.eu>"
-license="GPL-2"
+license="GPL-2.0-or-later"
 homepage="https://fcitx-im.org/"
 distfiles="https://github.com/fcitx/fcitx-anthy/archive/${version}.tar.gz"
 checksum=31826a49a7ff743f830e1279527301abce9e669bc176934c76775999299421a8

From 8dde40908ea9c17cde36dad3fb62ffed24c9e68f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?=
 <congdanhqx@gmail.com>
Date: Tue, 2 Feb 2021 22:32:37 +0700
Subject: [PATCH 3/5] ibus-anthy: rebuild for anthy 0.4

- Build with python3-gobject-devel
- Remove gir build option since it can't be built without.
  Upstream don't provide option to disable
---
 .../0001-read-utf-8-encoded-zipfile.patch     | 25 +++++++++++++++++++
 srcpkgs/ibus-anthy/template                   | 20 +++++++--------
 2 files changed, 34 insertions(+), 11 deletions(-)
 create mode 100644 srcpkgs/ibus-anthy/patches/0001-read-utf-8-encoded-zipfile.patch

diff --git a/srcpkgs/ibus-anthy/patches/0001-read-utf-8-encoded-zipfile.patch b/srcpkgs/ibus-anthy/patches/0001-read-utf-8-encoded-zipfile.patch
new file mode 100644
index 000000000000..f84de4770232
--- /dev/null
+++ b/srcpkgs/ibus-anthy/patches/0001-read-utf-8-encoded-zipfile.patch
@@ -0,0 +1,25 @@
+From: NOKUBI Takatsugu <knok@daionet.gr.jp>
+Date: Thu, 2 Nov 2017 15:11:52 +0900
+Subject: read utf-8 encoded zipfile
+
+---
+ anthy form Debian converted those zipfile to utf-8
+ data/zipcode-textdic.py | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/data/zipcode-textdic.py b/data/zipcode-textdic.py
+index 6fa50d6..cb28a1f 100755
+--- data/zipcode-textdic.py
++++ data/zipcode-textdic.py
+@@ -21,9 +21,9 @@ if len(sys.argv) < 2:
+ anthy_zipfile = sys.argv[1]
+ 
+ try:
+-    contents = codecs.open(anthy_zipfile, 'r', 'euc_jp').read()
++    contents = codecs.open(anthy_zipfile, 'r', 'utf-8').read()
+ except UnicodeDecodeError as e:
+-    print('Your file is not eucJP? %s' % anthy_zipfile, file=sys.stderr)
++    print('Your file is not of UTF-8? %s' % anthy_zipfile, file=sys.stderr)
+     contents = open(anthy_zipfile).read()
+ 
+ output_zipfile = codecs.open('zipcode.t', 'w', 'utf-8')
diff --git a/srcpkgs/ibus-anthy/template b/srcpkgs/ibus-anthy/template
index d9d0f92e56a8..9b96fa820633 100644
--- a/srcpkgs/ibus-anthy/template
+++ b/srcpkgs/ibus-anthy/template
@@ -1,11 +1,12 @@
 # Template file for 'ibus-anthy'
 pkgname=ibus-anthy
 version=1.5.11
-revision=1
+revision=2
 build_style=gnu-configure
-configure_args="--libexec=/usr/lib/ibus $(vopt_enable gir introspection)"
-hostmakedepends="automake gettext $(vopt_if gir gobject-introspection) libtool pkg-config swig"
-makedepends="anthy-devel gettext-devel ibus-devel python-gobject-devel"
+build_helper=gir
+configure_args="--libexec=/usr/lib/ibus"
+hostmakedepends="automake libtool pkg-config swig intltool gettext-devel"
+makedepends="anthy-devel ibus-devel python3-gobject-devel"
 depends="ibus"
 short_desc="Japanese input method Anthy IMEngine for IBus Framework"
 maintainer="7185 <7185@free.fr>"
@@ -13,14 +14,11 @@ license="LGPL-2.1-or-later"
 homepage="https://github.com/ibus/ibus/wiki"
 distfiles="https://github.com/ibus/${pkgname}/archive/${version}.tar.gz"
 checksum=57d42a302be72409708274aa680c6d7515077766853a2b9193b9974c9c6eeaf6
+make_check=extended
 
-# Package build options
-build_options="gir"
-
-# Disable gir for cross builds.
-if [ -z "$CROSS_BUILD" ]; then
-	build_options_default="gir"
-fi
+post_patch() {
+	2to3 -w gir/test.py
+}
 
 pre_configure() {
 	autoreconf -fi

From 2bbf5fe656e1b1543a4e0c6825e1f6065ddcdbdd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?=
 <congdanhqx@gmail.com>
Date: Thu, 4 Feb 2021 22:54:55 +0700
Subject: [PATCH 4/5] New package: libgcroots-0.3.2

---
 common/shlibs               |  2 +-
 srcpkgs/libgcroots-devel    |  1 +
 srcpkgs/libgcroots/template | 28 ++++++++++++++++++++++++++++
 3 files changed, 30 insertions(+), 1 deletion(-)
 create mode 120000 srcpkgs/libgcroots-devel
 create mode 100644 srcpkgs/libgcroots/template

diff --git a/common/shlibs b/common/shlibs
index 3a9f74b6acb9..3a2c8d27b3a0 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -2919,7 +2919,7 @@ liblxpanel.so.0 lxpanel-0.9.3_1
 libuim.so.8 uim-1.8.6_1
 libuim-scm.so.0 uim-1.8.6_1
 libuim-custom.so.2 uim-1.8.6_1
-libgcroots.so.0 uim-1.8.6_1
+libgcroots.so.0 libgcroots-0.3.2_1
 libdecoration.so.0 compiz-core-0.8.14_1
 libcompizconfig.so.0 libcompizconfig-0.8.14_1
 libemeraldengine.so.0 emerald-0.8.14_1
diff --git a/srcpkgs/libgcroots-devel b/srcpkgs/libgcroots-devel
new file mode 120000
index 000000000000..3f941c40e0f5
--- /dev/null
+++ b/srcpkgs/libgcroots-devel
@@ -0,0 +1 @@
+libgcroots
\ No newline at end of file
diff --git a/srcpkgs/libgcroots/template b/srcpkgs/libgcroots/template
new file mode 100644
index 000000000000..26423de91dc3
--- /dev/null
+++ b/srcpkgs/libgcroots/template
@@ -0,0 +1,28 @@
+# Template file for 'libgcroots'
+pkgname=libgcroots
+version=0.3.2
+revision=1
+build_style=gnu-configure
+hostmakedepends="pkg-config"
+short_desc="GC library for sigscheme Scheme interpreter"
+maintainer="Đoàn Trần Công Danh <congdanhqx@gmail.com>"
+license="custom:libgcroots"
+homepage="https://github.com/uim/libgcroots"
+distfiles="https://github.com/uim/libgcroots/releases/download/$version/libgcroots-$version.tar.bz2"
+checksum=b177a1c033bd907ea341db7e46eeee181acb73225bf58ada1966e7b4d50f657f
+
+post_install() {
+	rm -f $DESTDIR/usr/lib/*.la
+	vlicense COPYING
+}
+
+libgcroots-devel_package() {
+	depends="${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.a"
+		vmove "usr/lib/*.so"
+	}
+}

From 651c138e01efbcfc81be4f1a1e6614314a068e37 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?=
 <congdanhqx@gmail.com>
Date: Tue, 2 Feb 2021 22:32:37 +0700
Subject: [PATCH 5/5] uim: rebuild for anthy 0.4

Close: #28410
---
 srcpkgs/uim/patches/anthy-0.4.patch           | 13 +++++++
 .../replace_obsolete_since_emacs22.1.patch    | 38 +++++++++++++++++++
 srcpkgs/uim/template                          | 15 ++++++--
 3 files changed, 62 insertions(+), 4 deletions(-)
 create mode 100644 srcpkgs/uim/patches/anthy-0.4.patch
 create mode 100644 srcpkgs/uim/patches/replace_obsolete_since_emacs22.1.patch

diff --git a/srcpkgs/uim/patches/anthy-0.4.patch b/srcpkgs/uim/patches/anthy-0.4.patch
new file mode 100644
index 000000000000..082bbd764a1b
--- /dev/null
+++ b/srcpkgs/uim/patches/anthy-0.4.patch
@@ -0,0 +1,13 @@
+Index: configure.ac
+===================================================================
+--- configure.ac.orig
++++ configure.ac
+@@ -124,7 +124,7 @@ AC_ARG_WITH(anthy-utf8,
+   [with_anthy_utf8=no])
+ 
+ if test "x$with_anthy_utf8" != xno; then
+-  PKG_CHECK_MODULES(ANTHY_UTF8, anthy >= 8622,
++  PKG_CHECK_MODULES(ANTHY_UTF8, anthy >= 0.4,
+                     [with_anthy_utf8=yes
+                      AC_DEFINE(LIBANTHY_UTF8_CAPABLE, 1,
+                      [libanthy can handle UTF-8])],
diff --git a/srcpkgs/uim/patches/replace_obsolete_since_emacs22.1.patch b/srcpkgs/uim/patches/replace_obsolete_since_emacs22.1.patch
new file mode 100644
index 000000000000..61b28da72088
--- /dev/null
+++ b/srcpkgs/uim/patches/replace_obsolete_since_emacs22.1.patch
@@ -0,0 +1,38 @@
+From 164e2eb050b5fec25033124834cf49ea1a7d8cbb Mon Sep 17 00:00:00 2001
+From: multiSnow <infinity.blick.winkel@gmail.com>
+Date: Thu, 7 Feb 2019 01:03:47 +0800
+Subject: [PATCH] replace process-kill-without-query with
+ set-process-query-on-exit-flag
+
+see https://www.gnu.org/software/emacs/news/NEWS.22.1 and https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=f1c48b0ec521744826ed43ae27eed0e152c472bf
+---
+ emacs/uim-helper.el | 2 +-
+ emacs/uim.el        | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git emacs/uim-helper.el emacs/uim-helper.el
+index e86e32d06..19ecd4538 100644
+--- emacs/uim-helper.el
++++ emacs/uim-helper.el
+@@ -106,7 +106,7 @@
+     (if (not proc)
+ 	(error "uim.el: Couldn't invoke uim-el-helper-agent."))
+ 
+-    (process-kill-without-query proc)
++    (set-process-query-on-exit-flag proc nil)
+ 
+     ;; wait "OK"
+     (let ((patience uim-startup-timeout) (ok nil))
+diff --git emacs/uim.el emacs/uim.el
+index 9110c3cb6..7e1fadbba 100644
+--- emacs/uim.el
++++ emacs/uim.el
+@@ -488,7 +488,7 @@
+ 	(error "uim.el: Couldn't invoke uim-el-agent."))
+     
+     ;; don't ask kill
+-    (process-kill-without-query proc)
++    (set-process-query-on-exit-flag proc nil)
+ 
+     ;; wait "OK"
+     (let ((patience uim-startup-timeout) (ok nil))
diff --git a/srcpkgs/uim/template b/srcpkgs/uim/template
index 2aec8fe96059..aeb9aff5e913 100644
--- a/srcpkgs/uim/template
+++ b/srcpkgs/uim/template
@@ -1,13 +1,15 @@
 # Template file for 'uim'
 pkgname=uim
 version=1.8.8
-revision=2
+revision=3
 build_style=gnu-configure
+build_helper=qmake
 configure_args="--enable-pref --enable-fep --with-gtk2 --with-gtk3
  --with-qt5 --with-qt5-immodule --with-x --with-anthy-utf8 --with-skk"
-hostmakedepends="pkg-config intltool"
+hostmakedepends="pkg-config intltool qt5-host-tools qt5-qmake automake
+ libtool gettext-devel"
 makedepends="gtk+-devel gtk+3-devel qt5-devel ncurses-devel anthy-devel
- qt5-x11extras-devel"
+ libgcroots-devel qt5-x11extras-devel"
 short_desc="Multilingual input method library and environment"
 maintainer="Kazuho Sakoda <hyonhyoro.kazuho@gmail.com>"
 license="BSD-3-Clause"
@@ -17,6 +19,10 @@ checksum=34599bbcc4e5ab87832370763e38be5100984a64237555e9234a1ea225a0fadc
 
 CFLAGS="-fcommon"
 
+pre_configure() {
+	./autogen.sh
+}
+
 post_install() {
 	vlicense COPYING
 }
@@ -24,10 +30,12 @@ post_install() {
 uim-gtk2_package() {
 	short_desc+=" - GTK2 IM module"
 	pkg_install() {
+		vmove usr/bin/uim-input-pad-ja
 		vmove "usr/bin/uim-*-gtk"
 		vmove usr/bin/uim-toolbar-gtk-systray
 		vmove "usr/libexec/uim-*-gtk"
 		vmove usr/lib/gtk-2.0
+		vmove usr/share/applications
 	}
 }
 
@@ -74,7 +82,6 @@ uim-devel_package() {
 	pkg_install() {
 		vmove usr/include
 		vmove usr/lib/pkgconfig
-		vmove "usr/lib/*.a"
 		vmove "usr/lib/*.so"
 	}
 }

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: switch anthy 0.4's upstream to debian
  2021-02-02 15:54 [PR PATCH] anthy 0.4 from debian sgn
                   ` (9 preceding siblings ...)
  2021-03-28 12:00 ` [PR PATCH] [Updated] " sgn
@ 2021-03-28 12:05 ` 7185
  2021-03-28 12:53 ` mvf
  2021-03-29 14:23 ` [PR PATCH] [Merged]: " sgn
  12 siblings, 0 replies; 14+ messages in thread
From: 7185 @ 2021-03-28 12:05 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 160 bytes --]

New comment by 7185 on void-packages repository

https://github.com/void-linux/void-packages/pull/28410#issuecomment-808887717

Comment:
Looks good, thank you!

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: switch anthy 0.4's upstream to debian
  2021-02-02 15:54 [PR PATCH] anthy 0.4 from debian sgn
                   ` (10 preceding siblings ...)
  2021-03-28 12:05 ` 7185
@ 2021-03-28 12:53 ` mvf
  2021-03-29 14:23 ` [PR PATCH] [Merged]: " sgn
  12 siblings, 0 replies; 14+ messages in thread
From: mvf @ 2021-03-28 12:53 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 146 bytes --]

New comment by mvf on void-packages repository

https://github.com/void-linux/void-packages/pull/28410#issuecomment-808893022

Comment:
LGTM too.

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [PR PATCH] [Merged]: switch anthy 0.4's upstream to debian
  2021-02-02 15:54 [PR PATCH] anthy 0.4 from debian sgn
                   ` (11 preceding siblings ...)
  2021-03-28 12:53 ` mvf
@ 2021-03-29 14:23 ` sgn
  12 siblings, 0 replies; 14+ messages in thread
From: sgn @ 2021-03-29 14:23 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 293 bytes --]

There's a merged pull request on the void-packages repository

switch anthy 0.4's upstream to debian
https://github.com/void-linux/void-packages/pull/28410

Description:
- switch to Debian's fork,
- upstream is dead
- utf-8 most of the things, now
- new character (令和)
- dict updated.

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2021-03-29 14:23 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-02 15:54 [PR PATCH] anthy 0.4 from debian sgn
2021-02-04 16:30 ` [RFC] switch anthy 0.4's upstream to debian sgn
2021-02-05  8:21 ` [PR PATCH] [Updated] " sgn
2021-02-05  8:42 ` sgn
2021-02-21  1:05 ` [PR PATCH] [Updated] " sgn
2021-02-21  1:27 ` sgn
2021-02-21  1:28 ` sgn
2021-03-28 11:48 ` [PR PATCH] [Updated] " sgn
2021-03-28 11:58 ` [PR PATCH] [Updated] " sgn
2021-03-28 11:59 ` sgn
2021-03-28 12:00 ` [PR PATCH] [Updated] " sgn
2021-03-28 12:05 ` 7185
2021-03-28 12:53 ` mvf
2021-03-29 14:23 ` [PR PATCH] [Merged]: " sgn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).