NetBSD Problem Report #44989

From www@NetBSD.org  Mon May 23 19:19:11 2011
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id 9236E63BD37
	for <gnats-bugs@gnats.NetBSD.org>; Mon, 23 May 2011 19:19:11 +0000 (UTC)
Message-Id: <20110523191827.B5BC763BD37@www.NetBSD.org>
Date: Mon, 23 May 2011 19:18:27 +0000 (UTC)
From: yamajun@ofug.net
Reply-To: yamajun@ofug.net
To: gnats-bugs@NetBSD.org
Subject: inputmethod/uim, inputmethod/uim-elisp, devel/libgcroots: update to new version
X-Send-Pr-Version: www-1.0

>Number:         44989
>Category:       pkg
>Synopsis:       inputmethod/uim, inputmethod/uim-elisp, devel/libgcroots: update to new version
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          closed
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Mon May 23 19:20:01 +0000 2011
>Closed-Date:    Sun May 29 06:16:18 +0000 2011
>Last-Modified:  Sun May 29 06:16:18 +0000 2011
>Originator:     YAMASHIRO, Jun
>Release:        NetBSD/amd64 5.99.48
>Organization:
Okinawa FreeBSD Users Group
>Environment:
NetBSD yamajun 5.99.48 NetBSD 5.99.48 (YAMAJUN) #40: Fri Apr  8 10:52:42 JST 2011  yamajun@local:/usr/src/sys/arch/amd64/compile/YAMAJUN amd64
>Description:
* Update libgcroots to 0.2.3 required by uim-1.7.0.
* Update UIM(and elisp) to 1.7.0.

Package ChangeLog:
* Add gtk3 option.

UIM ChangeLog:
What's New (in 1.7.0)
----------
 - Fix regression in Wubi86 and ZhengMa tables in 1.7.0-alpha

What's New in 1.7.0-alpha
-------------------------

 - GTK+3 bridge
 - GTK+3 and GNOME3 tools
 - Improved uim-tutcode
 - Generic completion support with Google Suggest


>How-To-Repeat:

>Fix:
How to fix inputmethod/uim:
Apply this patch at pkgsrc/inputmethod

diff -Nru uim.orig/Makefile uim/Makefile
--- uim.orig/Makefile	2011-04-26 11:37:55.000000000 +0900
+++ uim/Makefile	2011-05-19 13:55:48.000000000 +0900
@@ -3,7 +3,6 @@

 .include "../../inputmethod/uim/Makefile.common"

-PKGREVISION=		1
 COMMENT=		Multilingual input method library

 CONFLICTS+=		uim-qt4-immodule-[0-9]*
diff -Nru uim.orig/Makefile.common uim/Makefile.common
--- uim.orig/Makefile.common	2011-04-13 22:45:16.000000000 +0900
+++ uim/Makefile.common	2011-05-19 13:54:38.000000000 +0900
@@ -3,7 +3,7 @@
 # used by inputmethod/uim/Makefile
 # used by inputmethod/uim-elisp/Makefile

-UIM_VERSION=		1.6.1
+UIM_VERSION=		1.7.0
 DISTNAME=		uim-${UIM_VERSION}
 CATEGORIES=		inputmethod
 MASTER_SITES=		http://uim.googlecode.com/files/
diff -Nru uim.orig/PLIST uim/PLIST
--- uim.orig/PLIST	2011-04-13 22:45:16.000000000 +0900
+++ uim/PLIST	2011-05-19 13:51:19.000000000 +0900
@@ -2,21 +2,27 @@
 ${PLIST.qt3}bin/uim-chardict-qt
 ${PLIST.qt}bin/uim-chardict-qt4
 ${PLIST.uim-dict-gtk}bin/uim-dict-gtk
+${PLIST.uim-dict-gtk3}bin/uim-dict-gtk3
 ${PLIST.fep}bin/uim-fep
 ${PLIST.fep}bin/uim-fep-tick
 bin/uim-help
 ${PLIST.gtk}bin/uim-im-switcher-gtk
+${PLIST.gtk3}bin/uim-im-switcher-gtk3
 ${PLIST.qt3}bin/uim-im-switcher-qt
 ${PLIST.qt}bin/uim-im-switcher-qt4
 ${PLIST.gtk}bin/uim-input-pad-ja
+${PLIST.gtk3}bin/uim-input-pad-ja-gtk3
 ${PLIST.m17nlib}bin/uim-m17nlib-relink-icons
 bin/uim-module-manager
 ${PLIST.gtk}bin/uim-pref-gtk
+${PLIST.gtk3}bin/uim-pref-gtk3
 ${PLIST.qt3}bin/uim-pref-qt
 ${PLIST.qt}bin/uim-pref-qt4
 bin/uim-sh
 ${PLIST.gtk}bin/uim-toolbar-gtk
 ${PLIST.gtk}bin/uim-toolbar-gtk-systray
+${PLIST.gtk3}bin/uim-toolbar-gtk3
+${PLIST.gtk3}bin/uim-toolbar-gtk3-systray
 ${PLIST.qt3}bin/uim-toolbar-qt
 ${PLIST.qt}bin/uim-toolbar-qt4
 ${PLIST.xim}bin/uim-xim
@@ -32,6 +38,7 @@
 include/uim/uim.h
 ${PLIST.gnome}lib/bonobo/servers/GNOME_UimApplet.server
 ${PLIST.gtk}lib/gtk-2.0/2.10.0/immodules/im-uim.la
+${PLIST.gtk3}lib/gtk-3.0/3.0.0/immodules/im-uim.la
 ${PLIST.kde3}lib/kde3/uim_panelapplet.la
 ${PLIST.kde}lib/kde4/uim_panelapplet.la
 lib/libuim-custom.la
@@ -57,11 +64,14 @@
 lib/uim/plugin/libuim-socket.la
 ${PLIST.wnn}lib/uim/plugin/libuim-wnn.la
 ${PLIST.gtk}libexec/uim-candwin-gtk
+${PLIST.gtk3}libexec/uim-candwin-gtk3
 ${PLIST.qt3}libexec/uim-candwin-qt
 ${PLIST.qt}libexec/uim-candwin-qt4
 ${PLIST.gtk}libexec/uim-candwin-tbl-gtk
+${PLIST.gtk3}libexec/uim-candwin-tbl-gtk3
 libexec/uim-helper-server
 ${PLIST.gnome}libexec/uim-toolbar-applet
+${PLIST.gnome3}libexec/uim-toolbar-applet-gnome3
 ${PLIST.xim}man/man1/uim-xim.1
 ${PLIST.qt}qt4/plugins/inputmethods/libuiminputcontextplugin.la
 share/applications/uim.desktop
@@ -129,7 +139,7 @@
 share/uim/hangul2.scm
 share/uim/hangul3.scm
 ${PLIST.helperdata}share/uim/helperdata/bushu.t
-${PLIST.uim-dict-gtk}share/uim/helperdata/uim-dict-ui.xml
+${PLIST.uim-dict-helperdata}share/uim/helperdata/uim-dict-ui.xml
 share/uim/http-client.scm
 share/uim/http-server.scm
 share/uim/i18n.scm
diff -Nru uim.orig/distinfo uim/distinfo
--- uim.orig/distinfo	2011-04-13 22:45:16.000000000 +0900
+++ uim/distinfo	2011-05-19 13:51:19.000000000 +0900
@@ -1,7 +1,7 @@
 $NetBSD: distinfo,v 1.18 2011/04/13 13:45:16 obache Exp $

-SHA1 (uim-1.6.1.tar.bz2) = 412bb2df6041185084e2f64fb73357389bf992b5
-RMD160 (uim-1.6.1.tar.bz2) = 26c4e30f59c8eb005189d6778333079c81f8489c
-Size (uim-1.6.1.tar.bz2) = 6192431 bytes
+SHA1 (uim-1.7.0.tar.bz2) = b79ed80c2557e804e6d3d2771a213a29cd932a73
+RMD160 (uim-1.7.0.tar.bz2) = e866f4270e60d0590a0a37331f3ccf64d7e48fbf
+Size (uim-1.7.0.tar.bz2) = 6402469 bytes
 SHA1 (patch-ab) = d5bf71cf3ecea94bed70e05c1b0e6f77ac5766c5
 SHA1 (patch-ac) = 3b3dfd09ed84c9d228836783e18df747ecaa5791
diff -Nru uim.orig/options.mk uim/options.mk
--- uim.orig/options.mk	2011-04-13 22:45:16.000000000 +0900
+++ uim/options.mk	2011-05-19 13:57:11.000000000 +0900
@@ -1,8 +1,8 @@
 # $NetBSD: options.mk,v 1.23 2011/04/13 13:45:16 obache Exp $

 PKG_OPTIONS_VAR=	PKG_OPTIONS.uim
-#PKG_SUPPORTED_OPTIONS=	anthy canna curl eb expat ffi gnome gtk m17nlib openssl prime sj3 sqlite uim-fep wnn xim
-PKG_SUPPORTED_OPTIONS=	anthy canna curl eb expat ffi gnome gtk m17nlib openssl prime sj3 sqlite uim-fep xim
+#PKG_SUPPORTED_OPTIONS=	anthy canna curl eb expat ffi gnome gnome3 gtk gtk3 m17nlib openssl prime sj3 sqlite uim-fep wnn xim
+PKG_SUPPORTED_OPTIONS=	anthy canna curl eb expat ffi gnome gnome3 gtk gtk3 m17nlib openssl prime sj3 sqlite uim-fep xim
 PKG_OPTIONS_OPTIONAL_GROUPS=	kde qt
 PKG_OPTIONS_GROUP.kde=	kde kde3
 PKG_OPTIONS_GROUP.qt=	qt qt3
@@ -21,8 +21,8 @@
 .  endif
 .endif

-PLIST_VARS+=		helperdata uim-dict-gtk fep
-PLIST_VARS+=		anthy curl eb expat ffi gnome gtk kde kde3 m17nlib openssl qt qt3 sqlite wnn xim
+PLIST_VARS+=		helperdata uim-dict-gtk uim-dict-gtk3 uim-dict-helperdata fep
+PLIST_VARS+=		anthy curl eb expat ffi gnome gnome3 gtk gtk3 kde kde3 m17nlib openssl qt qt3 sqlite wnn xim

 .if !empty(PKG_OPTIONS:Mxim)
 .include "../../x11/libX11/buildlink3.mk"
@@ -100,6 +100,14 @@
 CONFIGURE_ARGS+=	--disable-gnome-applet
 .endif

+# No gnome3 packages
+#.if !empty(PKG_OPTIONS:Mgnome3)
+#.  include "../../x11/gnome-panel/buildlink3.mk"
+#.  include "../../devel/libgnomeui/buildlink3.mk"
+#CONFIGURE_ARGS+=	--enable-gnome3-applet
+#PLIST.gnome3=		yes
+#.endif
+
 .if !empty(PKG_OPTIONS:Mgtk) || !empty(PKG_OPTIONS:Mgnome)
 GTK2_IMMODULES=		YES
 .include "../../x11/gtk2/modules.mk"
@@ -110,11 +118,27 @@
 .    endif
 CONFIGURE_ARGS+=	--enable-dict
 PLIST.uim-dict-gtk=	yes
+PLIST.uim-dict-helperdata=	yes
 .  endif
 .else
 CONFIGURE_ARGS+=	--without-gtk2
 .endif

+.if !empty(PKG_OPTIONS:Mgtk3) || !empty(PKG_OPTIONS:Mgnome3)
+GTK3_IMMODULES=		YES
+.include "../../x11/gtk3/modules.mk"
+PLIST.gtk3=		yes
+CONFIGURE_ARGS+=	--with-gtk3
+.  if !empty(PKG_OPTIONS:Manthy) || !empty(PKG_OPTIONS:Mcanna)
+.    if !empty(PKG_OPTIONS:Mcanna)
+.      include "../../inputmethod/canna-lib/buildlink3.mk"
+.    endif
+CONFIGURE_ARGS+=	--enable-dict
+PLIST.uim-dict-gtk3=	yes
+PLIST.uim-dict-helperdata=	yes
+.  endif
+.endif
+
 .if !empty(PKG_OPTIONS:Mkde3)
 .  include "../../x11/kdelibs3/buildlink3.mk"
 .  include "../../x11/qt3-libs/buildlink3.mk"
@@ -191,6 +215,8 @@

 .if !empty(PKG_OPTIONS:Mgtk) || !empty(PKG_OPTIONS:Mgnome)
 CONFIGURE_ARGS+=	--enable-default-toolkit=gtk
+.elif !empty(PKG_OPTIONS:Mgtk3) || !empty(PKG_OPTIONS:Mgnome3)
+CONFIGURE_ARGS+=	--enable-default-toolkit=gtk3
 .elif !empty(PKG_OPTIONS:Mqt) || !empty(PKG_OPTIONS:Mkde)
 CONFIGURE_ARGS+=	--enable-default-toolkit=qt4
 .elif !empty(PKG_OPTIONS:Mqt3) || !empty(PKG_OPTIONS:Mkde3)



How to fix inputmethod/uim-elisp:
Apply this patch at pkgsrc/inputmethod

diff -Nru uim-elisp.orig/Makefile uim-elisp/Makefile
--- uim-elisp.orig/Makefile	2011-05-19 14:24:03.000000000 +0900
+++ uim-elisp/Makefile	2011-05-19 14:24:13.000000000 +0900
@@ -2,7 +2,6 @@

 .include		"../../inputmethod/uim/Makefile.common"
 PKGNAME=		${EMACS_PKGNAME_PREFIX}uim-elisp-${UIM_VERSION}
-PKGREVISION=		1
 CATEGORIES=		inputmethod editors

 COMMENT=		Emacs LISP for inputmethod/uim




How to fix devel/libgcroots:
Apply this patch at pkgsrc/devel

diff -Nru libgcroots.orig/Makefile libgcroots/Makefile
--- libgcroots.orig/Makefile	2010-05-17 13:19:45.000000000 +0900
+++ libgcroots/Makefile	2011-05-19 13:52:29.000000000 +0900
@@ -1,7 +1,7 @@
 # $NetBSD: Makefile,v 1.3 2010/05/15 13:04:12 obache Exp $
 #

-DISTNAME=	libgcroots-0.2.2
+DISTNAME=	libgcroots-0.2.3
 CATEGORIES=	devel
 MASTER_SITES=	http://sigscheme.googlecode.com/files/

diff -Nru libgcroots.orig/distinfo libgcroots/distinfo
--- libgcroots.orig/distinfo	2010-01-23 23:38:38.000000000 +0900
+++ libgcroots/distinfo	2011-05-19 13:52:29.000000000 +0900
@@ -1,5 +1,5 @@
 $NetBSD: distinfo,v 1.2 2009/11/22 10:53:10 obache Exp $

-SHA1 (libgcroots-0.2.2.tar.gz) = bd3e0080e3e3136301c5ecf9eb31cccb39113dc3
-RMD160 (libgcroots-0.2.2.tar.gz) = 7d07f731e6a5189e7cd40260c4e7bd1b70931bfc
-Size (libgcroots-0.2.2.tar.gz) = 369803 bytes
+SHA1 (libgcroots-0.2.3.tar.gz) = 0542e8ca20f465c0cd7355a426dea89a9b7be3af
+RMD160 (libgcroots-0.2.3.tar.gz) = eef2db5ea64e6ba20ec68b01b4f0621f45e0ecab
+Size (libgcroots-0.2.3.tar.gz) = 379193 bytes

>Release-Note:

>Audit-Trail:
From: "OBATA Akio" <obache@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/44989 CVS commit: pkgsrc/inputmethod
Date: Sun, 29 May 2011 06:13:58 +0000

 Module Name:	pkgsrc
 Committed By:	obache
 Date:		Sun May 29 06:13:57 UTC 2011

 Modified Files:
 	pkgsrc/inputmethod/uim: Makefile Makefile.common PLIST distinfo
 	    options.mk
 	pkgsrc/inputmethod/uim-elisp: Makefile

 Log Message:
 Update uim to 1.7.0.
 Based on PR#44989 by YAMASHIRO, Jun.  add a missing PLIST entry.

 Overview of changes from 1.7.0-alpha to 1.7.0
 =============================================
 * Fixes
   - Generic IM
     * Fix sort order of Wubi86 and Zhengma tables in 1.7.0-alpha

   - GTK+3 bridge
     * Avoid repeated changes of subwindow size in some annotation text

 Overview of changes from 1.6.x to 1.7.0-alpha
 =============================================
 * New features
   - GTK+3 bridge
   - uim-candwin-gtk3
   - uim-candwin-tbl-gtk3
   - uim-dict-gtk3
   - uim-im-switcher-gtk3
   - uim-input-pad-ja-gtk3
   - uim-pref-gtk3
   - uim-toolbar-gtk3
   - uim-toolbar-gtk3-systray
     * Support GTK+3

   - uim-toolbar-applet-gnome3
     * Support GNOME3

 * Fixes
   - uim Scheme library
     * Fix im-acquire-text brokeness

   - uim-toolbar-qt4
     * Fix bug: Can't set starting position of Qt4 toolbar (#34034)

   - uim-notify
     * Fix compilation with libnotify >= 0.7.0

   - uim-tutcode
     * Fix behavior with interactive bushu conversion

   - uim-skk
     * Fix crash upon an illegal line in SKK dictionary

   - Emacs bridge
     * Don't disturb other leim's modelines (#35318)

   - Qt4 bridge
     * Fix crash of applications upon exit when widget style of
       QGtkStyle is used

   - uim-dict-gtk
     * Fix a minor bug

 * Enhancements
   - uim-tutcode
     * Postfix mazegaki conversion
     * Postfix bushu conversion
     * Add inflection support for postfix and prefix mazegaki conversion
     * Kanji code (JIS/Kuten/Unicode) input mode
     * History input mode

   - libuim
     * Support locale with EUC-JIS-2004 and EUC-JISX0213 encodings

   - generic-predict
     * Add support for completion with Google Suggest

 * Others
   - GTK+2 bridge
     * Discard support for version below 2.14.


 To generate a diff of this commit:
 cvs rdiff -u -r1.48 -r1.49 pkgsrc/inputmethod/uim/Makefile
 cvs rdiff -u -r1.5 -r1.6 pkgsrc/inputmethod/uim/Makefile.common
 cvs rdiff -u -r1.17 -r1.18 pkgsrc/inputmethod/uim/PLIST
 cvs rdiff -u -r1.18 -r1.19 pkgsrc/inputmethod/uim/distinfo
 cvs rdiff -u -r1.23 -r1.24 pkgsrc/inputmethod/uim/options.mk
 cvs rdiff -u -r1.5 -r1.6 pkgsrc/inputmethod/uim-elisp/Makefile

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: open->closed
State-Changed-By: obache@NetBSD.org
State-Changed-When: Sun, 29 May 2011 06:16:18 +0000
State-Changed-Why:
Updated.  Thanks!


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.