NetBSD Problem Report #38097

From martin@duskware.de  Sun Feb 24 10:38:04 2008
Return-Path: <martin@duskware.de>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id 93FBC63B8A2
	for <gnats-bugs@gnats.netbsd.org>; Sun, 24 Feb 2008 10:38:04 +0000 (UTC)
Message-Id: <20080224053326.10E1263B8A2@narn.NetBSD.org>
Date: Sun, 24 Feb 2008 05:33:26 +0000 (UTC)
From: yamajun@ofug.net
Reply-To: yamajun@ofug.net
To: netbsd-bugs-owner@NetBSD.org
Subject: inputmethod/uim: update to uim-1.4.2
X-Send-Pr-Version: www-1.0

>Number:         38097
>Category:       pkg
>Synopsis:       inputmethod/uim: update to uim-1.4.2
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    obache
>State:          closed
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sun Feb 24 10:40:00 +0000 2008
>Closed-Date:    Sun Mar 02 01:59:56 +0000 2008
>Last-Modified:  Mon Mar 03 00:40:01 +0000 2008
>Originator:     Yamashiro Jun
>Release:        NetBSD/i386 4.99.54
>Organization:
Okinawa FreeBSD Users Group
>Environment:
NetBSD yamajun.local 4.99.54 NetBSD 4.99.54 (YAMAJUN) #6: Sun Feb 17 13:39:51 JST 2008  yamajun@yamajun.local:/usr/src/sys/arch/i386/compile/YAMAJUN i386
>Description:
Update inputmethod/uim from 1.3.1 to 1.4.2

Changelog: uim
* SigScheme interpreter embedded.
* Many bugfix.

Changelog: This package:
* Add build option: "kde".
  (This option enable KDE panel applet)
* Change MASTER_SITES and HOMEPAGE for new site.

Note:
pkglint(1) report this message.
| WARN: PLIST:253: The PLIST does not contain files for "include/libgcroots".

"include/libgcroots" made by installer.  But not contain files.


>How-To-Repeat:

>Fix:
Apply this patch to inputmethod/uim

# cd /path/to/inputmethod/uim
# patch < /path/to/this/mail
# make install

diff -ru uim.orig/Makefile uim/Makefile
--- uim.orig/Makefile	2008-02-23 13:56:40.000000000 +0900
+++ uim/Makefile	2008-02-23 14:43:47.000000000 +0900
@@ -1,19 +1,18 @@
 # $NetBSD: Makefile,v 1.30 2007/09/21 13:03:56 wiz Exp $
 #

-DISTNAME=		uim-1.3.1
-PKGREVISION=		1
+DISTNAME=		uim-1.4.2
 CATEGORIES=		inputmethod
-MASTER_SITES=		http://uim.freedesktop.org/releases/
+MASTER_SITES=		http://uim.googlecode.com/files/
 EXTRACT_SUFX=		.tar.bz2

 MAINTAINER=		VEG03617@nifty.com
-HOMEPAGE=		http://uim.freedesktop.org/wiki/
+HOMEPAGE=		http://code.google.com/p/uim/
 COMMENT=		Multilingual input method library

 USE_DIRS+=		xdg-1.1
 USE_LIBTOOL=		YES
-USE_NCURSES=		yes	# clear_screen, clr_eos
+USE_NCURSES=		YES	# clear_screen, clr_eos
 USE_PKGLOCALEDIR=	YES
 USE_TOOLS+=		gmake intltool pkg-config
 USE_LANGUAGES=		c c++
@@ -27,6 +26,8 @@
 post-install:
 	${INSTALL_DATA_DIR} ${PREFIX}/share/doc/uim
 	${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/uim
+	${INSTALL_DATA} ${WRKSRC}/doc/COMPATIBILITY ${PREFIX}/share/doc/uim
+	${INSTALL_DATA} ${WRKSRC}/doc/CUSTOM ${PREFIX}/share/doc/uim
 	${INSTALL_DATA} ${WRKSRC}/doc/DOT-UIM ${PREFIX}/share/doc/uim
 	${INSTALL_DATA} ${WRKSRC}/doc/HELPER-CANDWIN ${PREFIX}/share/doc/uim
 	${INSTALL_DATA} ${WRKSRC}/doc/HELPER-PROTOCOL ${PREFIX}/share/doc/uim
diff -ru uim.orig/PLIST uim/PLIST
--- uim.orig/PLIST	2008-02-23 13:56:40.000000000 +0900
+++ uim/PLIST	2008-02-23 14:54:24.000000000 +0900
@@ -14,6 +14,15 @@
 ${QT}bin/uim-toolbar-qt
 ${GTK}bin/uim-toolbar-gtk-systray
 bin/uim-xim
+include/gcroots.h
+include/sigscheme/config-old.h
+include/sigscheme/config.h
+include/sigscheme/encoding-dummy.h
+include/sigscheme/global.h
+include/sigscheme/scmint.h
+include/sigscheme/sigscheme.h
+include/sigscheme/storage-common.h
+include/sigscheme/storage-compact.h
 include/uim/plugin.h
 include/uim/uim-compat-scm.h
 include/uim/uim-custom.h
@@ -22,10 +31,13 @@
 include/uim/uim-scm.h
 include/uim/uim-util.h
 include/uim/uim.h
-${GTK}lib/gtk-2.0/2.10.0/immodules/im-uim.la
-${QT}lib/kde3/uim_panelapplet.la
+lib/libgcroots.la
 lib/libuim-custom.la
 lib/libuim.la
+${GTK}lib/gtk-2.0/2.10.0/immodules/im-uim.la
+${KDE}lib/kde3/uim_panelapplet.la
+lib/pkgconfig/gcroots.pc
+lib/pkgconfig/sigscheme.pc
 lib/pkgconfig/uim.pc
 ${ANTHY}lib/uim/plugin/libuim-anthy.la
 ${CANNA}lib/uim/plugin/libuim-canna.la
@@ -36,6 +48,24 @@
 libexec/uim-helper-server
 man/man1/uim-xim.1
 share/applications/uim.desktop
+share/doc/sigscheme/design.html
+share/doc/sigscheme/design.txt
+share/doc/sigscheme/gc-protection.html
+share/doc/sigscheme/gc-protection.txt
+share/doc/sigscheme/global-obj.html
+share/doc/sigscheme/global-obj.txt
+share/doc/sigscheme/index.html
+share/doc/sigscheme/index.txt
+share/doc/sigscheme/release.html
+share/doc/sigscheme/release.txt
+share/doc/sigscheme/spec.html
+share/doc/sigscheme/spec.txt
+share/doc/sigscheme/style.html
+share/doc/sigscheme/style.txt
+share/doc/sigscheme/test-c.html
+share/doc/sigscheme/test-c.txt
+share/doc/uim/COMPATIBILITY
+share/doc/uim/CUSTOM
 share/doc/uim/DOT-UIM
 share/doc/uim/HELPER-CANDWIN
 share/doc/uim/HELPER-PROTOCOL
@@ -48,9 +78,9 @@
 share/doc/uim/uim-fep/README.ja
 share/locale/fr/LC_MESSAGES/uim.mo
 share/locale/ja/LC_MESSAGES/uim.mo
-${QT}share/locale/ja/LC_MESSAGES/uim-chardict-qt.mo
-${QT}share/kde/apps/kicker/applets/uimapplet.desktop
 share/locale/ko/LC_MESSAGES/uim.mo
+${QT}share/locale/ja/LC_MESSAGES/uim-chardict-qt.mo
+${KDE}share/kde/apps/kicker/applets/uimapplet.desktop
 share/uim/action.scm
 share/uim/anthy-custom.scm
 share/uim/anthy-key-custom.scm
@@ -213,10 +243,13 @@
 @dirrm share/uim
 @comment in kde: @dirrm share/kde/apps/kicker/applets
 @dirrm share/doc/uim/uim-fep
+@dirrm share/doc/sigscheme
 @dirrm share/doc/uim
 @comment in xdg-dirs: @dirrm share/applications
 @dirrm lib/uim/plugin
 @dirrm lib/uim
 @comment in kde: @dirrm lib/kde3
 @comment in gtk2: @dirrm lib/gtk-2.0/2.10.0/immodules
+@dirrm include/libgcroots
+@dirrm include/sigscheme
 @dirrm include/uim
diff -ru uim.orig/buildlink3.mk uim/buildlink3.mk
--- uim.orig/buildlink3.mk	2008-02-23 13:56:40.000000000 +0900
+++ uim/buildlink3.mk	2008-02-23 16:17:16.000000000 +0900
@@ -12,8 +12,8 @@
 BUILDLINK_ORDER:=	${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}uim

 .if !empty(UIM_BUILDLINK3_MK:M+)
-BUILDLINK_API_DEPENDS.uim+=		uim>=0.4.6
-BUILDLINK_ABI_DEPENDS.uim?=	uim>=1.2.0
+BUILDLINK_API_DEPENDS.uim+=	uim>=1.4.2
+BUILDLINK_ABI_DEPENDS.uim?=	uim>=1.4.2
 BUILDLINK_PKGSRCDIR.uim?=	../../inputmethod/uim
 .endif  # UIM_BUILDLINK3_MK

diff -ru uim.orig/distinfo uim/distinfo
--- uim.orig/distinfo	2008-02-23 13:56:40.000000000 +0900
+++ uim/distinfo	2008-02-23 14:29:29.000000000 +0900
@@ -1,5 +1,5 @@
 $NetBSD: distinfo,v 1.12 2007/01/20 16:56:43 wiz Exp $

-SHA1 (uim-1.3.1.tar.bz2) = a596b5f9a3f5d7b2470b430601fbfa0c10a1c6dc
-RMD160 (uim-1.3.1.tar.bz2) = e2c34afd0193e91659cb72f047bc0d29ce7cbea8
-Size (uim-1.3.1.tar.bz2) = 1658713 bytes
+SHA1 (uim-1.4.2.tar.bz2) = 2ece459ac14e95b2bb2be6135c1a134354dcef09
+RMD160 (uim-1.4.2.tar.bz2) = 7f0c6a93fb31799643f6c1e594896fc817b2e7f9
+Size (uim-1.4.2.tar.bz2) = 2723523 bytes
diff -ru uim.orig/options.mk uim/options.mk
--- uim.orig/options.mk	2008-02-23 15:29:34.000000000 +0900
+++ uim/options.mk	2008-02-23 14:30:04.000000000 +0900
@@ -1,7 +1,7 @@
 # $NetBSD: options.mk,v 1.10 2007/01/20 16:56:43 wiz Exp $

 PKG_OPTIONS_VAR=	PKG_OPTIONS.uim
-PKG_SUPPORTED_OPTIONS=	anthy canna eb gtk qt
+PKG_SUPPORTED_OPTIONS=	anthy canna eb gtk qt kde
 PKG_SUGGESTED_OPTIONS=	anthy canna gtk

 .include "../../mk/bsd.options.mk"
@@ -45,15 +45,23 @@
 PLIST_SUBST+=		GTK="@comment "
 .endif

-.if !empty(PKG_OPTIONS:Mqt)
-.  include "../../x11/kdelibs3/buildlink3.mk"
+.if !empty(PKG_OPTIONS:Mqt) || !empty(PKG_OPTIONS:Mkde)
 .  include "../../x11/qt3-libs/buildlink3.mk"
 BUILD_DEPENDS+=		qt3-tools-3.*:../../x11/qt3-tools
 CONFIGURE_ARGS+=	--with-qt CXXFLAGS=-lc
-# Not worked this option.  need immodule patch for Qt3
+# This option don't work.  Need immodule patch for Qt3(uim-1.4.x not support Qt4)
 #CONFIGURE_ARGS+=	--with-qt-immodule
 PLIST_SUBST+=		HELPERDATA=
 PLIST_SUBST+=		QT=
 .else
 PLIST_SUBST+=		QT="@comment "
 .endif
+
+.if !empty(PKG_OPTIONS:Mkde)
+.  include "../../x11/kdelibs3/buildlink3.mk"
+.  include "../../x11/qt3-libs/buildlink3.mk"
+CONFIGURE_ARGS+=	--enable-kde-applet=yes
+PLIST_SUBST+=		KDE=
+.else
+PLIST_SUBST+=		KDE="@comment "
+.endif

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->obache
Responsible-Changed-By: obache@NetBSD.org
Responsible-Changed-When: Thu, 28 Feb 2008 11:42:53 +0000
Responsible-Changed-Why:
I'll handle this.


State-Changed-From-To: open->closed
State-Changed-By: obache@NetBSD.org
State-Changed-When: Sun, 02 Mar 2008 01:59:56 +0000
State-Changed-Why:
Updated.  Thanks for the PR!


From: OBATA Akio <obache@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/38097 CVS commit: pkgsrc/inputmethod/uim
Date: Sun,  2 Mar 2008 01:57:37 +0000 (UTC)

 Module Name:	pkgsrc
 Committed By:	obache
 Date:		Sun Mar  2 01:57:37 UTC 2008

 Modified Files:
 	pkgsrc/inputmethod/uim: Makefile PLIST buildlink3.mk distinfo
 	    options.mk

 Log Message:
 Update uim to 1.4.2.
 Based on patch provided by Yamashiro Jun in PR 38097.

 Pkgsrc changes:
 * Add build option: "kde".
   (This option enable KDE panel applet)
 * Change MASTER_SITES and HOMEPAGE for new site.
 * Marked as DSTDIR ready.

 Overview of changes from 1.4.1 to 1.4.2
 ==
 * Fixed
   - uim Scheme library
     - Fix memory alignment of symbol name, which can be a problem
       with jemalloc in FreeBSD 7 and Firefox 3
     - Fix string buffer usage
     - Fix possible memory leak
     - Fix compilation on Mac OS X 10.5
     - Support OpenBSD PowerPC and x86_64 in libgcroots

   - libuim
     - Fix leak in file descriptors when uim-helper-server is not
       working (Christian Biere)

   - uim-prime
     - Handle unix domain socket timeout

   - uim-m17nlib
     - Fix listing incomplete IMs

   - Japanese composition table
     - Fix fullwidth middle dot in halfwidth katakana table for
       Japanese kana-keyboard

   - GTK+ bridge
     - Fix token buffer usage of X11 Compose
     - Fix freeing strings allocated by glib
   - Qt bridge
     - Fix token buffer usage of X11 Compose
   - XIM bridge
     - Fix token buffer usage of X11 Compose
     - Fix compilation with GCC-4.3

   - uim-toolbar-gtk-systray
     - Adjust focus padding in systray

 Overview of changes from 1.4.0 to 1.4.1
 ==
 * Fixed
   - libuim
     - Fix crash in a context using toggled IM when updating the custom
       setting by uim-pref

   - Anthy, Canna, Mana
     - Fix crash with Kana input mode
     - Fix crash upon converting a preedit string into alphanumeric
       characters

   - Pinyin (Simplified, Unicode, Traditional)
     - Fix crash upon selecting a candidate with numeric keys

   - uim Scheme library
     - Support SIOD compatible behavior with syntax 'if'

   - Fix compilation in qt directory with --disable-nls option

 Overview of changes from 1.4.0-beta to 1.4.0
 ==
 * Fixed
   - Fix the license terms of replace/strsep.c and replace/setenv.c
     accidencially mis-modified in r790

   - libuim
     - Fix unimplemented return value of uim_input_string()
     - Fix uneffected --disable-nls

   - uim Scheme library
     - Fix lacking heap preallocation for heavy job. This makes uim-pref startup
       faster

 Overview of changes from 1.4.0-alpha to 1.4.0-beta
 ==
 * Fixed
   - XIM bridge
     - Startup error of uim-xim due to the 1.3.x-incompatible behavior of
       uim_scm_symbol_value()

   - libuim
     - Fix corrupted return value by uim_scm_return_value() after uim_scm_eval()

   - uim-sh
     - Fix broken 'uim-sh -B' error handling
     - Fix broken backtrace printing

   - Broken compilation on SPARC and IA-64 (NIIBE Yutaka)
   - Suppress warnings

 Overview of changes from 1.3.x to 1.4.0-alpha
 ==
 * New features
   - libuim
     - The modified version of SIOD interpreter has been replaced with SigScheme
       0.7.2

 * Fixed
   - [CRITICAL] Fix GC crash on SPARC, IA-64, m68k, and possibly MIPS, Alpha, by
     introduction of libgcroots


 To generate a diff of this commit:
 cvs rdiff -r1.30 -r1.31 pkgsrc/inputmethod/uim/Makefile
 cvs rdiff -r1.3 -r1.4 pkgsrc/inputmethod/uim/PLIST
 cvs rdiff -r1.7 -r1.8 pkgsrc/inputmethod/uim/buildlink3.mk
 cvs rdiff -r1.12 -r1.13 pkgsrc/inputmethod/uim/distinfo
 cvs rdiff -r1.10 -r1.11 pkgsrc/inputmethod/uim/options.mk

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

From: OBATA Akio <obache@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/38097 CVS commit: pkgsrc/inputmethod/uim/patches
Date: Mon,  3 Mar 2008 00:36:09 +0000 (UTC)

 Module Name:	pkgsrc
 Committed By:	obache
 Date:		Mon Mar  3 00:36:09 UTC 2008

 Added Files:
 	pkgsrc/inputmethod/uim/patches: patch-aa

 Log Message:
 Update uim to 1.4.2.
 Based on patch provided by Yamashiro Jun in PR 38097.

 Pkgsrc changes:
 * Add build option: "kde".
   (This option enable KDE panel applet)
 * Change MASTER_SITES and HOMEPAGE for new site.
 * Marked as DSTDIR ready.

 Overview of changes from 1.4.1 to 1.4.2
 ==
 * Fixed
   - uim Scheme library
     - Fix memory alignment of symbol name, which can be a problem
       with jemalloc in FreeBSD 7 and Firefox 3
     - Fix string buffer usage
     - Fix possible memory leak
     - Fix compilation on Mac OS X 10.5
     - Support OpenBSD PowerPC and x86_64 in libgcroots

   - libuim
     - Fix leak in file descriptors when uim-helper-server is not
       working (Christian Biere)

   - uim-prime
     - Handle unix domain socket timeout

   - uim-m17nlib
     - Fix listing incomplete IMs

   - Japanese composition table
     - Fix fullwidth middle dot in halfwidth katakana table for
       Japanese kana-keyboard

   - GTK+ bridge
     - Fix token buffer usage of X11 Compose
     - Fix freeing strings allocated by glib
   - Qt bridge
     - Fix token buffer usage of X11 Compose
   - XIM bridge
     - Fix token buffer usage of X11 Compose
     - Fix compilation with GCC-4.3

   - uim-toolbar-gtk-systray
     - Adjust focus padding in systray

 Overview of changes from 1.4.0 to 1.4.1
 ==
 * Fixed
   - libuim
     - Fix crash in a context using toggled IM when updating the custom
       setting by uim-pref

   - Anthy, Canna, Mana
     - Fix crash with Kana input mode
     - Fix crash upon converting a preedit string into alphanumeric
       characters

   - Pinyin (Simplified, Unicode, Traditional)
     - Fix crash upon selecting a candidate with numeric keys

   - uim Scheme library
     - Support SIOD compatible behavior with syntax 'if'

   - Fix compilation in qt directory with --disable-nls option

 Overview of changes from 1.4.0-beta to 1.4.0
 ==
 * Fixed
   - Fix the license terms of replace/strsep.c and replace/setenv.c
     accidencially mis-modified in r790

   - libuim
     - Fix unimplemented return value of uim_input_string()
     - Fix uneffected --disable-nls

   - uim Scheme library
     - Fix lacking heap preallocation for heavy job. This makes uim-pref startup
       faster

 Overview of changes from 1.4.0-alpha to 1.4.0-beta
 ==
 * Fixed
   - XIM bridge
     - Startup error of uim-xim due to the 1.3.x-incompatible behavior of
       uim_scm_symbol_value()

   - libuim
     - Fix corrupted return value by uim_scm_return_value() after uim_scm_eval()

   - uim-sh
     - Fix broken 'uim-sh -B' error handling
     - Fix broken backtrace printing

   - Broken compilation on SPARC and IA-64 (NIIBE Yutaka)
   - Suppress warnings

 Overview of changes from 1.3.x to 1.4.0-alpha
 ==
 * New features
   - libuim
     - The modified version of SIOD interpreter has been replaced with SigScheme
       0.7.2

 * Fixed
   - [CRITICAL] Fix GC crash on SPARC, IA-64, m68k, and possibly MIPS, Alpha, by
     introduction of libgcroots


 To generate a diff of this commit:
 cvs rdiff -r0 -r1.5 pkgsrc/inputmethod/uim/patches/patch-aa

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

>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.