Date: Sat, 15 Sep 2012 10:31:59 +0800 (CST) From: Jin-Sih Lin <linpct@gmail.com> To: FreeBSD-gnats-submit@FreeBSD.org Cc: lihong@ieee.org Subject: ports/171653: [PATCH] chinese/ibus-chewing: update to 1.4.2 Message-ID: <20120915023159.CD6C85CEC@deep.tw> Resent-Message-ID: <201209150240.q8F2e56q095472@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 171653 >Category: ports >Synopsis: [PATCH] chinese/ibus-chewing: update to 1.4.2 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Sat Sep 15 02:40:05 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Jin-Sih Lin >Release: FreeBSD 10.0-CURRENT i386 >Organization: FreeBSD @ Taiwan >Environment: System: FreeBSD deep.tw 10.0-CURRENT FreeBSD 10.0-CURRENT #0: Sat Aug 18 08:09:36 CST 2012 >Description: - Update to 1.4.2 Removed file(s): - files/patch-src-IBusChewingEngine-input-events.c - files/patch-src-IBusChewingEngine.gob Port maintainer (lihong@ieee.org) is cc'd. Generated with FreeBSD Port Tools 0.99_6 (mode: update, diff: suffix) >How-To-Repeat: >Fix: --- zh-ibus-chewing-1.4.2.patch begins here --- diff -ruN --exclude=CVS ../ibus-chewing.orig/Makefile ./Makefile --- ../ibus-chewing.orig/Makefile 2012-08-17 23:27:03.000000000 +0800 +++ ./Makefile 2012-09-15 10:29:19.000000000 +0800 @@ -6,8 +6,7 @@ # PORTNAME= ibus-chewing -PORTVERSION= 1.3.10 -PORTREVISION= 2 +PORTVERSION= 1.4.2 CATEGORIES= chinese MASTER_SITES= GOOGLE_CODE DISTNAME= ${PORTNAME}-${PORTVERSION}-Source diff -ruN --exclude=CVS ../ibus-chewing.orig/distinfo ./distinfo --- ../ibus-chewing.orig/distinfo 2012-01-30 11:09:05.000000000 +0800 +++ ./distinfo 2012-09-15 10:29:19.000000000 +0800 @@ -1,2 +1,2 @@ -SHA256 (ibus-chewing-1.3.10-Source.tar.gz) = 171402a7d6d141d485454493e097746d73da7cef172d2ab5ec1a2c593a2ee1c8 -SIZE (ibus-chewing-1.3.10-Source.tar.gz) = 75365 +SHA256 (ibus-chewing-1.4.2-Source.tar.gz) = 857f479ebd85ecc217550573f80e1bff91b6e9bca4d1c9189f790fa6a9e3f75f +SIZE (ibus-chewing-1.4.2-Source.tar.gz) = 84351 diff -ruN --exclude=CVS ../ibus-chewing.orig/files/patch-src-IBusChewingEngine-input-events.c ./files/patch-src-IBusChewingEngine-input-events.c --- ../ibus-chewing.orig/files/patch-src-IBusChewingEngine-input-events.c 2012-08-13 16:06:52.000000000 +0800 +++ ./files/patch-src-IBusChewingEngine-input-events.c 1970-01-01 08:00:00.000000000 +0800 @@ -1,27 +0,0 @@ -http://bugs.gentoo.org/407695 - ---- src/IBusChewingEngine-input-events.c -+++ src/IBusChewingEngine-input-events.c -@@ -291,12 +291,21 @@ - /* Toggle Full <-> Half */ - chewing_set_ShapeMode(self->context, !chewing_get_ShapeMode(self->context)); - }else if (strcmp(prop_name,"chewing_settings_prop")==0){ -- if (self->settings_prop->state==PROP_STATE_UNCHECKED){ -+#if IBUS_CHECK_VERSION(1, 4, 0) -+ if (ibus_property_get_state(self->settings_prop)==PROP_STATE_UNCHECKED) -+#else -+ if (self->settings_prop->state==PROP_STATE_UNCHECKED) -+#endif -+ { - if (gtk_dialog_run(GTK_DIALOG(self->setting_dialog))==GTK_RESPONSE_OK){ - self_save_config_all(self); - } - gtk_widget_hide(self->setting_dialog); -+#if IBUS_CHECK_VERSION(1, 4, 0) -+ ibus_property_set_state(self->settings_prop,PROP_STATE_UNCHECKED); -+#else - self->settings_prop->state=PROP_STATE_UNCHECKED; -+#endif - } - }else{ - G_DEBUG_MSG(3,"[I3] property_activate(-, %s, %u) not recognized",prop_name, prop_state); diff -ruN --exclude=CVS ../ibus-chewing.orig/files/patch-src-IBusChewingEngine.gob ./files/patch-src-IBusChewingEngine.gob --- ../ibus-chewing.orig/files/patch-src-IBusChewingEngine.gob 2012-08-13 16:06:52.000000000 +0800 +++ ./files/patch-src-IBusChewingEngine.gob 1970-01-01 08:00:00.000000000 +0800 @@ -1,27 +0,0 @@ -http://bugs.gentoo.org/407695 - ---- src/IBusChewingEngine.gob -+++ src/IBusChewingEngine.gob -@@ -1041,12 +1041,21 @@ - /* Toggle Full <-> Half */ - chewing_set_ShapeMode(self->context, !chewing_get_ShapeMode(self->context)); - }else if (strcmp(prop_name,"chewing_settings_prop")==0){ -- if (self->settings_prop->state==PROP_STATE_UNCHECKED){ -+#if IBUS_CHECK_VERSION(1, 4, 0) -+ if (ibus_property_get_state(self->settings_prop)==PROP_STATE_UNCHECKED) -+#else -+ if (self->settings_prop->state==PROP_STATE_UNCHECKED) -+#endif -+ { - if (gtk_dialog_run(GTK_DIALOG(self->setting_dialog))==GTK_RESPONSE_OK){ - self_save_config_all(self); - } - gtk_widget_hide(self->setting_dialog); -+#if IBUS_CHECK_VERSION(1, 4, 0) -+ ibus_property_set_state(self->settings_prop,PROP_STATE_UNCHECKED); -+#else - self->settings_prop->state=PROP_STATE_UNCHECKED; -+#endif - } - }else{ - G_DEBUG_MSG(3,"[I3] property_activate(-, %s, %u) not recognized",prop_name, prop_state); diff -ruN --exclude=CVS ../ibus-chewing.orig/pkg-plist ./pkg-plist --- ../ibus-chewing.orig/pkg-plist 2012-01-30 11:09:05.000000000 +0800 +++ ./pkg-plist 2012-09-15 10:29:19.000000000 +0800 @@ -1,4 +1,4 @@ -libexec/ibus-engine-chewing +lib/ibus-engine-chewing %%DOCSDIR%%-%%PORTVERSION%%/AUTHORS %%DOCSDIR%%-%%PORTVERSION%%/COPYING %%DOCSDIR%%-%%PORTVERSION%%/ChangeLog --- zh-ibus-chewing-1.4.2.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120915023159.CD6C85CEC>