FreeBSD Bugzilla – Attachment 127797 Details for
Bug 171653
[PATCH] chinese/ibus-chewing: update to 1.4.2
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
zh-ibus-chewing-1.4.2.patch
zh-ibus-chewing-1.4.2.patch (text/plain), 3.88 KB, created by
linpct
on 2012-09-15 03:40:05 UTC
(
hide
)
Description:
zh-ibus-chewing-1.4.2.patch
Filename:
MIME Type:
Creator:
linpct
Created:
2012-09-15 03:40:05 UTC
Size:
3.88 KB
patch
obsolete
>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
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 171653
: 127797