Tue Nov 24 11:49:44 2009 UTC ()
Import scim-bridge-0.4.16 as inputmethod/scim-bridge.
Scim-bridge is wrapper library for SCIM, written in C. It is firstly written to
solve problems occured by the ABI transition of GNU libstdc++ between 3.* branch
and 4.* branch. That's not the problem in the most of cases because you usually
used the same compiler for SCIM and GUI apps.
Status:
Vendor Tag: TNF
Release Tags: pkgsrc-base
(obache)
diff -r0 -r1.1.1.1 pkgsrc/inputmethod/scim-bridge/DESCR
diff -r0 -r1.1.1.1 pkgsrc/inputmethod/scim-bridge/PLIST
diff -r0 -r1.1.1.1 pkgsrc/inputmethod/scim-bridge/options.mk
diff -r0 -r1.1.1.1 pkgsrc/inputmethod/scim-bridge/distinfo
diff -r0 -r1.1.1.1 pkgsrc/inputmethod/scim-bridge/Makefile
diff -r0 -r1.1.1.1 pkgsrc/inputmethod/scim-bridge/patches/patch-aa
diff -r0 -r1.1.1.1 pkgsrc/inputmethod/scim-bridge/patches/patch-ad
diff -r0 -r1.1.1.1 pkgsrc/inputmethod/scim-bridge/patches/patch-ac
diff -r0 -r1.1.1.1 pkgsrc/inputmethod/scim-bridge/patches/patch-ab
Scim-bridge is wrapper library for SCIM, written in C. It is firstly written to
solve problems occured by the ABI transition of GNU libstdc++ between 3.* branch
and 4.* branch. That's not the problem in the most of cases because you usually
used the same compiler for SCIM and GUI apps.
@comment $NetBSD: PLIST,v 1.1.1.1 2009/11/24 11:49:44 obache Exp $
bin/scim-bridge
${PLIST.gtk}lib/gtk-2.0/immodules/im-scim-bridge.la
${PLIST.qt}qt4/plugins/inputmethods/im-scim-bridge.la
# $NetBSD: options.mk,v 1.1.1.1 2009/11/24 11:49:44 obache Exp $
#
PKG_OPTIONS_VAR= PKG_OPTIONS.scim-bridge
PKG_SUPPORTED_OPTIONS= gtk qt
PKG_SUGGESTED_OPTIONS= gtk
PLIST_VARS+= gtk qt
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mgtk)
GTK2_IMMODULES= yes
.include "../../x11/gtk2/modules.mk"
CONFIGURE_ARGS+= --enable-gtk2-immodule
PLIST.gtk= yes
.else
CONFIGURE_ARGS+= --enable-gtk2-immodule=no
.endif
#.if !empty(PKG_OPTIONS:Mqt3)
#.include "../../x11/qt3-libs/buildlink3.mk"
#CONFIGURE_ARGS+= --enable-qt3-immodule
#PLIST.qt= yes
#.else
#CONFIGURE_ARGS+= --disable-qt3-immodule
#.endif
.if !empty(PKG_OPTIONS:Mqt)
.include "../../x11/qt4-libs/buildlink3.mk"
CONFIGURE_ARGS+= --enable-qt4-immodule
PLIST.qt= yes
.else
CONFIGURE_ARGS+= --disable-qt4-immodule
.endif
$NetBSD: distinfo,v 1.1.1.1 2009/11/24 11:49:44 obache Exp $
SHA1 (scim-bridge-0.4.16.tar.gz) = 6a7a714592dbecc9a1f44794f37319bafe2bdfae
RMD160 (scim-bridge-0.4.16.tar.gz) = 37aed056fb880358b013f104f08b2e58c3de4188
Size (scim-bridge-0.4.16.tar.gz) = 508870 bytes
SHA1 (patch-aa) = e4d0803a8d572e2efb79128c307d25bd867007ac
SHA1 (patch-ab) = 7c103b3da298e8ed72e84c239a3fc4617a647ce5
SHA1 (patch-ac) = e7dd5f64e3fcd9cdc03199d041fefb09fce9ff8f
SHA1 (patch-ad) = cc87a5c24af8c066482d164b2805602ed90e2acb
# $NetBSD: Makefile,v 1.1.1.1 2009/11/24 11:49:44 obache Exp $
#
DISTNAME= scim-bridge-0.4.16
CATEGORIES= inputmethod
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=scim/}
MAINTAINER= obache@NetBSD.org
HOMEPAGE= http://www.scim-im.org/projects/scim_bridge
COMMENT= C wrapper library for SCIM
LICENSE= gnu-gpl-v2 OR gnu-lgpl-v2.1
PKG_DESTDIR_SUPPORT= user-destdir
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
USE_LANGUAGES= c c++
USE_TOOLS+= pkg-config
CONFIGURE_ARGS+= --enable-agent
CONFIGURE_ARGS+= --disable-documents
CONFIGURE_ARGS+= --disable-tests
.include "options.mk"
CHECK_PORTABILITY_SKIP= tests/*
.include "../../inputmethod/scim/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
$NetBSD: patch-aa,v 1.1.1.1 2009/11/24 11:49:44 obache Exp $
--- agent/scim-bridge-agent.cpp.orig 2009-01-18 02:58:59.000000000 +0000
+++ agent/scim-bridge-agent.cpp
@@ -192,7 +192,7 @@ ScimBridgeAgent *ScimBridgeAgent::alloc
ScimBridgeAgentImpl::ScimBridgeAgentImpl ():
-running (true), noexit_enabled (false), standalone_enabled (false), client_app_count (0),
+running (true), noexit_enabled (false), standalone_enabled (false), client_app_count (0), scim_config_module(0),
accept_listener (NULL), interruption_listener (NULL), panel_listener (NULL), signal_listener (NULL), display (NULL)
{
}
$NetBSD: patch-ad,v 1.1.1.1 2009/11/24 11:49:44 obache Exp $
--- common/scim-bridge-messenger.h.orig 2008-11-02 06:44:32.000000000 +0000
+++ common/scim-bridge-messenger.h
@@ -33,6 +33,8 @@
*/
typedef struct _ScimBridgeMessenger ScimBridgeMessenger;
+struct timeval;
+
#ifdef __cplusplus
extern "C"
{
$NetBSD: patch-ac,v 1.1.1.1 2009/11/24 11:49:44 obache Exp $
--- client-gtk/scim-bridge-client-imcontext-gtk.c.orig 2008-11-02 06:44:23.000000000 +0000
+++ client-gtk/scim-bridge-client-imcontext-gtk.c
@@ -674,6 +674,7 @@ void scim_bridge_client_imcontext_regist
0,
/* object initizlier */
(GtkObjectInitFunc) scim_bridge_client_imcontext_initialize,
+ 0
};
if (!class_type) class_type = g_type_module_register_type (type_module, GTK_TYPE_IM_CONTEXT, "ScimBridgeClientIMContext", &klass_info, 0);
$NetBSD: patch-ab,v 1.1.1.1 2009/11/24 11:49:44 obache Exp $
--- client-common/scim-bridge-client-output.c.orig 2008-11-02 06:44:34.000000000 +0000
+++ client-common/scim-bridge-client-output.c
@@ -20,6 +20,7 @@
#include <stdarg.h>
#include <stdio.h>
#include <string.h>
+#include <stdlib.h>
#include "scim-bridge-debug.h"
#include "scim-bridge-output.h"