summaryrefslogtreecommitdiff
path: root/inputmethod
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2010-05-28 09:31:35 +0000
committerobache <obache@pkgsrc.org>2010-05-28 09:31:35 +0000
commit61dc5532e7cd7b89ad28bdffe9edd877bde75a0e (patch)
tree22543175d8a0de6acaa7a32c1b334a2a0c83bbc2 /inputmethod
parent42fc01beb8036a216abda081350770e9fe71eb04 (diff)
downloadpkgsrc-61dc5532e7cd7b89ad28bdffe9edd877bde75a0e.tar.gz
Add patch-ab to build with gucharmap-2.
taken from gentoo scim-tomoe-0.6.0-gucharmap2.patch. Bump PKGREVISION.
Diffstat (limited to 'inputmethod')
-rw-r--r--inputmethod/scim-tomoe/Makefile3
-rw-r--r--inputmethod/scim-tomoe/distinfo3
-rw-r--r--inputmethod/scim-tomoe/patches/patch-ab18
3 files changed, 22 insertions, 2 deletions
diff --git a/inputmethod/scim-tomoe/Makefile b/inputmethod/scim-tomoe/Makefile
index 3f1807c578c..1e2953417be 100644
--- a/inputmethod/scim-tomoe/Makefile
+++ b/inputmethod/scim-tomoe/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.1.1.1 2009/11/24 12:09:35 obache Exp $
+# $NetBSD: Makefile,v 1.2 2010/05/28 09:31:35 obache Exp $
#
DISTNAME= scim-tomoe-0.6.0
+PKGREVISION= 1
CATEGORIES= inputmethod
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=tomoe/}
diff --git a/inputmethod/scim-tomoe/distinfo b/inputmethod/scim-tomoe/distinfo
index cae816c099d..39bf607254a 100644
--- a/inputmethod/scim-tomoe/distinfo
+++ b/inputmethod/scim-tomoe/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.1.1.1 2009/11/24 12:09:35 obache Exp $
+$NetBSD: distinfo,v 1.2 2010/05/28 09:31:35 obache Exp $
SHA1 (scim-tomoe-0.6.0.tar.gz) = 481ee2f8f9baa6105a349da36360aed06e432291
RMD160 (scim-tomoe-0.6.0.tar.gz) = c95059e7f594192c97b082aa61818060391a8591
Size (scim-tomoe-0.6.0.tar.gz) = 385126 bytes
SHA1 (patch-aa) = 0554574908f37adae9d8771dcadce2e038c5857a
+SHA1 (patch-ab) = 1c598b251d218a9f1da7c089dd51780e97108d40
diff --git a/inputmethod/scim-tomoe/patches/patch-ab b/inputmethod/scim-tomoe/patches/patch-ab
new file mode 100644
index 00000000000..eca48c8ba59
--- /dev/null
+++ b/inputmethod/scim-tomoe/patches/patch-ab
@@ -0,0 +1,18 @@
+$NetBSD: patch-ab,v 1.1 2010/05/28 09:31:35 obache Exp $
+
+support gucharmap-2
+
+--- src/scim_tomoe_prefs_widget.cpp.orig 2007-05-07 07:49:15.000000000 +0000
++++ src/scim_tomoe_prefs_widget.cpp
+@@ -472,9 +472,9 @@ apply_config (ScimTomoePrefsWidget *pref
+ String (SCIM_TOMOE_CONFIG_UNICODE_TABLE_FONT_DEFAULT));
+
+ if (font.length() > 0) {
+- gucharmap_charmap_set_font (charmap, font.c_str ());
++ gucharmap_charmap_set_font_desc (charmap, pango_font_description_from_string(font.c_str ()));
+ } else {
+- gucharmap_charmap_set_font (charmap, NULL);
++ gucharmap_charmap_set_font_desc (charmap, pango_font_description_from_string(NULL));
+ set_default_font (prefs, SCIM_TOMOE_CONFIG_CAND_FONT,
+ GTK_WIDGET (charmap));
+ }