pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/inputmethod/uim uim: Update to 1.8.9pre20210104



details:   https://anonhg.NetBSD.org/pkgsrc/rev/cc202c3dd43a
branches:  trunk
changeset: 449455:cc202c3dd43a
user:      ryoon <ryoon%pkgsrc.org@localhost>
date:      Tue Mar 30 17:01:49 2021 +0000

description:
uim: Update to 1.8.9pre20210104

* Enable uim-fep, input method for console.

Changelog:
* Many improvements.
* Support more modern compilers.
* Improve NetBSD support.
and so on.

diffstat:

 inputmethod/uim/Makefile                             |  19 +++--
 inputmethod/uim/Makefile.common                      |  10 +-
 inputmethod/uim/PLIST                                |  40 ++++++++++++-
 inputmethod/uim/distinfo                             |  23 ++++--
 inputmethod/uim/patches/patch-configure.ac           |  15 ----
 inputmethod/uim/patches/patch-fep_escseq.c           |  62 --------------------
 inputmethod/uim/patches/patch-fep_uim-fep.c          |  15 ----
 inputmethod/uim/patches/patch-sigscheme_configure.ac |  18 ++++-
 8 files changed, 84 insertions(+), 118 deletions(-)

diffs (truncated from 326 to 300 lines):

diff -r 2d5122e71e85 -r cc202c3dd43a inputmethod/uim/Makefile
--- a/inputmethod/uim/Makefile  Tue Mar 30 16:47:03 2021 +0000
+++ b/inputmethod/uim/Makefile  Tue Mar 30 17:01:49 2021 +0000
@@ -1,6 +1,5 @@
-# $NetBSD: Makefile,v 1.165 2020/11/05 09:08:32 ryoon Exp $
+# $NetBSD: Makefile,v 1.166 2021/03/30 17:01:49 ryoon Exp $
 
-PKGREVISION= 7
 .include "../../inputmethod/uim/Makefile.common"
 
 COMMENT=       Multilingual input method library
@@ -8,6 +7,8 @@
 
 CONFLICTS+=    uim-qt4-immodule-[0-9]*
 
+.include "../../graphics/librsvg/tool.mk"
+
 GNU_CONFIGURE= YES
 USE_LIBTOOL=   YES
 
@@ -32,10 +33,10 @@
 BUILD_DEFS+=   PKG_SYSCONFBASE
 
 CONFIGURE_ARGS+=       --disable-emacs
-CONFIGURE_ARGS+=       --disable-fep
 CONFIGURE_ARGS+=       --disable-kde4-applet
 CONFIGURE_ARGS+=       --disable-gnome-applet
 CONFIGURE_ARGS+=       --disable-gnome3-applet
+CONFIGURE_ARGS+=       --enable-maintainer-mode # for source code from Git
 CONFIGURE_ARGS+=       --with-libgcroots=installed
 CONFIGURE_ARGS+=       --with-anthy-utf8
 CONFIGURE_ARGS+=       --with-sqlite3
@@ -68,11 +69,11 @@
 
 .include "options.mk"
 
-SUBST_CLASSES+=                gtk
-SUBST_STAGE.gtk=       post-configure
-SUBST_MESSAGE.gtk=     Correcting executable name in .desktop file
-SUBST_FILES.gtk+=      uim.desktop
-SUBST_SED.gtk+=                -e "s,uim-pref-gtk,${UIM_PREF_PROGRAM},g"
+SUBST_CLASSES+=                ruby
+SUBST_STAGE.ruby=      pre-configure
+SUBST_MESSAGE.ruby=    Find ruby command
+SUBST_FILES.ruby+=     sigscheme/configure.ac
+SUBST_VARS.ruby+=      RUBY_NAME
 
 .include "modules.mk"
 .include "../../converters/libiconv/buildlink3.mk"
@@ -82,4 +83,6 @@
 BUILDLINK_API_DEPENDS.libgcroots+=     libgcroots>=0.2.3
 .include "../../devel/libgcroots/buildlink3.mk"
 .include "../../inputmethod/anthy/buildlink3.mk"
+.include "../../lang/ruby/rubyversion.mk"
+.include "../../mk/curses.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 2d5122e71e85 -r cc202c3dd43a inputmethod/uim/Makefile.common
--- a/inputmethod/uim/Makefile.common   Tue Mar 30 16:47:03 2021 +0000
+++ b/inputmethod/uim/Makefile.common   Tue Mar 30 17:01:49 2021 +0000
@@ -1,17 +1,19 @@
-# $NetBSD: Makefile.common,v 1.16 2019/11/07 03:01:35 ryoon Exp $
+# $NetBSD: Makefile.common,v 1.17 2021/03/30 17:01:49 ryoon Exp $
 #
 # used by inputmethod/uim/Makefile
 # used by inputmethod/uim-elisp/Makefile
 
-DISTNAME=      uim-1.8.8
+DISTNAME=      uim-1.8.9pre20210104
 CATEGORIES=    inputmethod
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=uim/}
-GITHUB_RELEASE=        ${DISTNAME:S/^uim-//1}
-EXTRACT_SUFX=  .tar.bz2
+GITHUB_TAG=    d1ac9d9315ff8c57c713b502544fef9b3a83b3e5
 
 MAINTAINER=    VEG03617%nifty.com@localhost
 HOMEPAGE=      https://github.com/uim/uim/wiki
 
+GITHUB_SUBMODULES+=    uim sigscheme beb8fbdc69b523d14fc202a4d17375555a74c772 sigscheme
+GITHUB_SUBMODULES+=    uim libgcroots d362356cc4c5f591695d2fbda7746918250c9e99 sigscheme/libgcroots
+
 DISTINFO_FILE= ${.CURDIR}/../../inputmethod/uim/distinfo
 PATCHDIR=      ${.CURDIR}/../../inputmethod/uim/patches
 
diff -r 2d5122e71e85 -r cc202c3dd43a inputmethod/uim/PLIST
--- a/inputmethod/uim/PLIST     Tue Mar 30 16:47:03 2021 +0000
+++ b/inputmethod/uim/PLIST     Tue Mar 30 17:01:49 2021 +0000
@@ -1,7 +1,19 @@
-@comment $NetBSD: PLIST,v 1.27 2019/11/01 16:21:11 nia Exp $
+@comment $NetBSD: PLIST,v 1.28 2021/03/30 17:01:49 ryoon Exp $
+bin/uim-fep
+bin/uim-fep-tick
 bin/uim-help
+bin/uim-im-switcher-gtk
+bin/uim-im-switcher-gtk3
+bin/uim-input-pad-ja
+bin/uim-input-pad-ja-gtk3
 bin/uim-module-manager
+bin/uim-pref-gtk
+bin/uim-pref-gtk3
 bin/uim-sh
+bin/uim-toolbar-gtk
+bin/uim-toolbar-gtk-systray
+bin/uim-toolbar-gtk3
+bin/uim-toolbar-gtk3-systray
 bin/uim-xim
 include/uim/dynlib.h
 include/uim/uim-custom.h
@@ -14,6 +26,8 @@
 include/uim/uim-util.h
 include/uim/uim.h
 include/uim/version.h
+lib/gtk-2.0/2.10.0/immodules/im-uim.la
+lib/gtk-3.0/3.0.0/immodules/im-uim.la
 lib/libuim-custom.la
 lib/libuim-scm.la
 lib/libuim.la
@@ -21,6 +35,7 @@
 lib/uim/plugin/libuim-anthy-utf8.la
 lib/uim/plugin/libuim-anthy.la
 lib/uim/plugin/libuim-custom-enabler.la
+lib/uim/plugin/libuim-editline.la
 lib/uim/plugin/libuim-fileio.la
 lib/uim/plugin/libuim-lolevel.la
 lib/uim/plugin/libuim-look.la
@@ -29,8 +44,15 @@
 lib/uim/plugin/libuim-socket.la
 lib/uim/plugin/libuim-sqlite3.la
 lib/uim/plugin/libuim-xkb.la
+libexec/uim-candwin-gtk
+libexec/uim-candwin-gtk3
+libexec/uim-candwin-horizontal-gtk
+libexec/uim-candwin-horizontal-gtk3
+libexec/uim-candwin-tbl-gtk
+libexec/uim-candwin-tbl-gtk3
 libexec/uim-helper-server
 man/man1/uim-xim.1
+qt5/plugins/platforminputcontexts/libuimplatforminputcontextplugin.${RUBY_DLEXT}
 share/applications/uim.desktop
 share/doc/uim/COMPATIBILITY
 share/doc/uim/CUSTOM
@@ -308,6 +330,22 @@
 share/uim/pixmaps/zm.svg
 share/uim/pixmaps/zm_dark_background.png
 share/uim/pixmaps/zm_dark_background.svg
+share/uim/pkgsrc/ajax-ime
+share/uim/pkgsrc/anthy-utf8
+share/uim/pkgsrc/baidu-olime-jp
+share/uim/pkgsrc/byeoru
+share/uim/pkgsrc/elatin
+share/uim/pkgsrc/google-cgiapi-jp
+share/uim/pkgsrc/ipa-x-sampa
+share/uim/pkgsrc/latin
+share/uim/pkgsrc/look
+share/uim/pkgsrc/py
+share/uim/pkgsrc/pyload
+share/uim/pkgsrc/pyunihan
+share/uim/pkgsrc/skk
+share/uim/pkgsrc/tutcode
+share/uim/pkgsrc/viqr
+share/uim/pkgsrc/xmload
 share/uim/plugin.scm
 share/uim/predict-custom.scm
 share/uim/predict-google-suggest.scm
diff -r 2d5122e71e85 -r cc202c3dd43a inputmethod/uim/distinfo
--- a/inputmethod/uim/distinfo  Tue Mar 30 16:47:03 2021 +0000
+++ b/inputmethod/uim/distinfo  Tue Mar 30 17:01:49 2021 +0000
@@ -1,14 +1,19 @@
-$NetBSD: distinfo,v 1.32 2019/11/01 16:21:11 nia Exp $
+$NetBSD: distinfo,v 1.33 2021/03/30 17:01:49 ryoon Exp $
 
-SHA1 (uim-1.8.8.tar.bz2) = 369e0c10927d4ede8ed5434631b57ab42ca98406
-RMD160 (uim-1.8.8.tar.bz2) = 80eb077b2a53997f13f036da7cd565696441482e
-SHA512 (uim-1.8.8.tar.bz2) = 2257ae48f4f2b79039a5f6be0fc740e218d5609e004dad9a5a1aa5d4066587ee59d0be06bc23c7d567a48901466227fedc4778b480f7184d84b0b3b4dddac9a3
-Size (uim-1.8.8.tar.bz2) = 6228743 bytes
-SHA1 (patch-configure.ac) = 741c0f4ee905218cebe0f0b86aeb1e1923a82b40
-SHA1 (patch-fep_escseq.c) = 6c25c344e5b694542a3c5bc137ae1a1d36a8c835
-SHA1 (patch-fep_uim-fep.c) = 734bccf97a1f0a2ba709c0841a46fe9c9f448e92
+SHA1 (uim-1.8.9pre20210104-d1ac9d9315ff8c57c713b502544fef9b3a83b3e5.tar.gz) = 9b211ed03fb0d02c501f5203e1dfb11abab0effa
+RMD160 (uim-1.8.9pre20210104-d1ac9d9315ff8c57c713b502544fef9b3a83b3e5.tar.gz) = 444d6d120b7cff6dd5f5c8c540f0441964511080
+SHA512 (uim-1.8.9pre20210104-d1ac9d9315ff8c57c713b502544fef9b3a83b3e5.tar.gz) = 
39e046a8ee3bbc06ff0bab685e0ded8f63e9c474661ffecf7ed12e25cad3151498b2fecc7f14ca6f0c78974e55265df47d656a55bf158b41fe21a69071d02fe8
+Size (uim-1.8.9pre20210104-d1ac9d9315ff8c57c713b502544fef9b3a83b3e5.tar.gz) = 4054622 bytes
+SHA1 (uim-libgcroots-d362356cc4c5f591695d2fbda7746918250c9e99.tar.gz) = f08e37c3df01e6db69f024b97ad9943ebf44646b
+RMD160 (uim-libgcroots-d362356cc4c5f591695d2fbda7746918250c9e99.tar.gz) = e7eb58e4fa56dea6eef0bda31ed3efd3ed26c364
+SHA512 (uim-libgcroots-d362356cc4c5f591695d2fbda7746918250c9e99.tar.gz) = 
b47e94b2aae208fe568a75d2f2d75043939b3c865ec90f9f1219c77ecd9c8649572eb609745886c1a018a1c6c6bdc3c235a8247e7240b2713f2320c57051b6c6
+Size (uim-libgcroots-d362356cc4c5f591695d2fbda7746918250c9e99.tar.gz) = 88827 bytes
+SHA1 (uim-sigscheme-beb8fbdc69b523d14fc202a4d17375555a74c772.tar.gz) = 3623bb2a7974129472e57558a1a44530c595f024
+RMD160 (uim-sigscheme-beb8fbdc69b523d14fc202a4d17375555a74c772.tar.gz) = 3b87b167a3bb741417cd74c9f3bd487d90cdd7b8
+SHA512 (uim-sigscheme-beb8fbdc69b523d14fc202a4d17375555a74c772.tar.gz) = 
3151d849c6a56f8438a8676b646dabe5abac317b77e834c6ab29b0282e83d21e4e72171f1353f15b19a5d7b51b5ab4f287cf01b9a11e4785d18e4fa0cce2966c
+Size (uim-sigscheme-beb8fbdc69b523d14fc202a4d17375555a74c772.tar.gz) = 571469 bytes
 SHA1 (patch-scm_Makefile.am) = b4a23a7d507d8d7fe6122f3d2f50fed40589947f
-SHA1 (patch-sigscheme_configure.ac) = 221077809cfaa80cee2e52e3eaebf39b13ae5799
+SHA1 (patch-sigscheme_configure.ac) = 2e8a7c863be864c2132577a556788c78c8ca57cb
 SHA1 (patch-sigscheme_doc_Makefile.am) = e21e33d7eb078819ab34f9d7fdc10d7f4401a2c4
 SHA1 (patch-sigscheme_include_sigscheme_Makefile.am) = d54b38982c199b321c6ac0d8700bfe9c29084eee
 SHA1 (patch-uim_Makefile.am) = e3a9e4dc99965c271fd6e783d42a6a136bf904b2
diff -r 2d5122e71e85 -r cc202c3dd43a inputmethod/uim/patches/patch-configure.ac
--- a/inputmethod/uim/patches/patch-configure.ac        Tue Mar 30 16:47:03 2021 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-$NetBSD: patch-configure.ac,v 1.1 2019/11/01 16:21:11 nia Exp $
-
-Shell portability.
-
---- configure.ac.orig  2018-05-11 21:26:13.000000000 +0000
-+++ configure.ac
-@@ -864,7 +864,7 @@ AM_CONDITIONAL(GNOME3_APPLET, test "x$en
- 
- if test "x$enable_gnome3_applet" = xyes; then
-   AC_ARG_WITH([libpanel-applet-dir], [], [LIBPANEL_APPLET_DIR=$withval], [LIBPANEL_APPLET_DIR=""])
--  if test "$LIBPANEL_APPLET_DIR" == ""; then
-+  if test "$LIBPANEL_APPLET_DIR" = ""; then
-     LIBPANEL_APPLET_DIR=`$PKG_CONFIG --variable=libpanel_applet_dir libpanel-applet`
-   fi
-   AC_SUBST(LIBPANEL_APPLET_DIR)
diff -r 2d5122e71e85 -r cc202c3dd43a inputmethod/uim/patches/patch-fep_escseq.c
--- a/inputmethod/uim/patches/patch-fep_escseq.c        Tue Mar 30 16:47:03 2021 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,62 +0,0 @@
-$NetBSD: patch-fep_escseq.c,v 1.1 2014/02/02 10:47:24 obache Exp $
-
-* termios.h is required for struct termios
-* pass 9 parameters to tparm(3) for portability 
-
---- fep/escseq.c.orig  2013-06-30 04:26:09.000000000 +0000
-+++ fep/escseq.c
-@@ -61,6 +61,9 @@
- #ifdef HAVE_STRING_H
- #include <string.h>
- #endif
-+#ifdef HAVE_TERMIOS_H
-+#include <termios.h>
-+#endif
- 
- #include "uim-fep.h"
- #include "draw.h"
-@@ -964,7 +967,7 @@ void put_cursor_address(int row, int col
-   if (row == s_cursor.row && col == s_cursor.col && col < g_win->ws_col - 2) {
-     return;
-   }
--  tmp = tparm(cursor_address, row, col);
-+  tmp = tparm(cursor_address, row, col, 0, 0, 0, 0, 0, 0, 0);
-   my_putp(tmp);
-   s_cursor.row = row;
-   s_cursor.col = col;
-@@ -985,7 +988,7 @@ void put_insert(int n)
-   if (n <= 0) {
-     return;
-   }
--  tmp = tparm(parm_ich, n);
-+  tmp = tparm(parm_ich, n, 0, 0, 0, 0, 0, 0, 0, 0);
-   my_putp(tmp);
-   debug(("<ins %d>", n));
- }
-@@ -1007,7 +1010,7 @@ void put_delete(int n)
-     change_background_attr(&s_attr, s_attr_uim);
-   }
- 
--  tmp = tparm(parm_dch, n);
-+  tmp = tparm(parm_dch, n, 0, 0, 0, 0, 0, 0, 0, 0);
-   my_putp(tmp);
-   debug(("<del %d>", n));
- }
-@@ -1036,7 +1039,7 @@ void put_goto_lastline(int col)
-   if (row == s_cursor.row && col == s_cursor.col) {
-     return;
-   }
--  tmp = tparm(cursor_address, row, col);
-+  tmp = tparm(cursor_address, row, col, 0, 0, 0, 0, 0, 0, 0);
-   my_putp(tmp);
-   s_cursor.row = row;
-   s_cursor.col = col;
-@@ -1103,7 +1106,7 @@ void put_clear_to_end_of_line(int width)
-  */
- void put_change_scroll_region(int start, int end)
- {
--  const char *tmp = tparm(change_scroll_region, start, end);
-+  const char *tmp = tparm(change_scroll_region, start, end, 0, 0, 0, 0, 0, 0, 0);
-   my_putp(tmp);
-   s_cursor.row = s_cursor.col = 0;
-   debug(("<region %d %d>", start, end));
diff -r 2d5122e71e85 -r cc202c3dd43a inputmethod/uim/patches/patch-fep_uim-fep.c
--- a/inputmethod/uim/patches/patch-fep_uim-fep.c       Tue Mar 30 16:47:03 2021 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-$NetBSD: patch-fep_uim-fep.c,v 1.1 2019/11/01 16:21:11 nia Exp $
-
-Include missing header for tcgetattr
-
---- fep/uim-fep.c.orig 2017-08-14 00:07:26.000000000 +0000
-+++ fep/uim-fep.c
-@@ -109,6 +109,8 @@
- #include <libutil.h>
- #endif
- 
-+#include <termios.h>
-+
- #include <uim/uim.h>
- 
- #include "udsock.h"
diff -r 2d5122e71e85 -r cc202c3dd43a inputmethod/uim/patches/patch-sigscheme_configure.ac



Home | Main Index | Thread Index | Old Index