pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/inputmethod/scim-tomoe Add patch-ab to build with guch...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c70c4471ffa7
branches:  trunk
changeset: 575991:c70c4471ffa7
user:      obache <obache%pkgsrc.org@localhost>
date:      Fri May 28 09:31:35 2010 +0000

description:
Add patch-ab to build with gucharmap-2.
taken from gentoo scim-tomoe-0.6.0-gucharmap2.patch.

Bump PKGREVISION.

diffstat:

 inputmethod/scim-tomoe/Makefile         |   3 ++-
 inputmethod/scim-tomoe/distinfo         |   3 ++-
 inputmethod/scim-tomoe/patches/patch-ab |  18 ++++++++++++++++++
 3 files changed, 22 insertions(+), 2 deletions(-)

diffs (47 lines):

diff -r b38729e49b67 -r c70c4471ffa7 inputmethod/scim-tomoe/Makefile
--- a/inputmethod/scim-tomoe/Makefile   Fri May 28 08:34:29 2010 +0000
+++ b/inputmethod/scim-tomoe/Makefile   Fri May 28 09:31:35 2010 +0000
@@ -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 -r b38729e49b67 -r c70c4471ffa7 inputmethod/scim-tomoe/distinfo
--- a/inputmethod/scim-tomoe/distinfo   Fri May 28 08:34:29 2010 +0000
+++ b/inputmethod/scim-tomoe/distinfo   Fri May 28 09:31:35 2010 +0000
@@ -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 -r b38729e49b67 -r c70c4471ffa7 inputmethod/scim-tomoe/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/inputmethod/scim-tomoe/patches/patch-ab   Fri May 28 09:31:35 2010 +0000
@@ -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));
+     }



Home | Main Index | Thread Index | Old Index