On Tue, Jun 12, 2012 at 12:19 AM, Takashi Iwai
At Mon, 11 Jun 2012 23:44:59 +0800, Marguerite Su wrote:
Some of the GTK functions and macros used in them are too old (GTK 2.12) and have no new alternatives.
It means we have to rewrite some lines of its codes. like GTK_Fileselection to GTK_Dialog, GTK_combo to GTK_combobox.
So if anyone have time and GTK coding experience, please offer some help.
Hmm, how other distros handle this update? Haven't they hit the same problems? I see both Ubuntu and Arch already updated to scim 1.4.13, but they can build scim-anthy as is.
Judging from the compile errors, isn't it just a side-effect of using GTK3 in SCIM...?
That's the most interesting part:
I see Fedora and Ubuntu have 1.4.13 and all other packages the same version as us.
But they didn't patch anything. they just build fine. that part confuses me.
I'm not that fresh to packaing and patching...those functions in them are from gtk 2.12 era, which are already dropped for a long time. why they can built it without any problem...
I guess other distros don't use GTK3 for SCIM but keep using GTK2. The incompatible part is likely the change of widget components in file-selection or combo, i.e. somewhat internal in GTK widgets.
maybe... there're three kinds of errors: 1. gtktooltips ( most easy) 2. file-selection ( a little bit complicated but understandable) 3. combo to combobox what a mess...there're so many functions no longer available...I don't know how to deal with them, like: gtk_combo_set_value_in_list gtk_combo_set_case_sensitive gtk_combo_set_popdown_strings do you have any ideas? https://build.opensuse.org/package/show?package=scim-skk&project=home%3AMargueriteSu%3Abranches%3AM17N
So, maybe reverting to gtk2-devel in scim.rpm would have solved the breakage in scim-* subpackages automatically. But you've already fixed so many packages, and it's better to go foward at this point than taking back your previous works.
then maybe in the end we M17N team finish the work of porting scim related packages to gtk3...when I started, I didn't even know I was porting anything, I thought I was just fixing build errors...
I just update the source of scim, I didn't modify spec at all...and in sub packages, they introduce /usr/include/gtk-3.0/ even if you didn't specify gtk3-devel in spec file.
I'm fixing scim-skk/scim-table with help from community now.
Great, thanks!
The fix is easy for ones with a little gtk coding experience, it's just function replacement.
The most hard part is scim-chewing.
Takashi
Marguerite -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org