Package: zhcon / 1:0.2.6-16

Metadata

Package Version Patches format
zhcon 1:0.2.6-16 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
0000 0.2.6+svn20070727.r22.patch | (download)

ChangeLog | 12 12 + 0 - 0 !
REVISION | 8 8 + 0 - 0 !
TODO | 6 5 + 1 - 0 !
configure.in | 49 28 + 21 - 0 !
src/Makefile.am | 10 6 + 4 - 0 !
src/basefont.cpp | 1 0 + 1 - 0 !
src/cmdline.c | 2 1 + 1 - 0 !
src/cmdline.h | 2 1 + 1 - 0 !
src/configfile.cpp | 4 4 + 0 - 0 !
src/console.cpp | 3 1 + 2 - 0 !
src/debug.h | 27 0 + 27 - 0 !
src/display/fblinear24.cpp | 1 0 + 1 - 0 !
src/display/fbvgaplanes.cpp | 6 3 + 3 - 0 !
src/display/libggi.cpp | 1 0 + 1 - 0 !
src/display/vgadev.cpp | 5 2 + 3 - 0 !
src/graphdev.cpp | 1 0 + 1 - 0 !
src/inputclient.cpp | 2 2 + 0 - 0 !
src/inputmanager.cpp | 1 0 + 1 - 0 !
src/inputmanager.h | 2 2 + 0 - 0 !
src/mouse.cpp | 9 4 + 5 - 0 !
src/nativebarclient.cpp | 1 0 + 1 - 0 !
src/overspotclient.cpp | 1 0 + 1 - 0 !
src/window.cpp | 1 0 + 1 - 0 !
src/zhcon.cpp | 47 27 + 20 - 0 !
src/zhcon.ggo | 7 7 + 0 - 0 !
25 files changed, 113 insertions(+), 96 deletions(-)

 upgrade to zhcon 0.2.6+svn20070727.r22
 Upgrade zhcon 0.2.6 (r11) to 0.2.6+svn20070727.r22.
0001 gcc ftbfs fixes.patch | (download)

src/global.h | 2 2 + 0 - 0 !
src/graphdev.cpp | 1 1 + 0 - 0 !
src/uniconinputserver.cpp | 1 0 + 1 - 0 !
src/winime.cpp | 4 2 + 2 - 0 !
4 files changed, 5 insertions(+), 3 deletions(-)

 ftbfs fixes for gcc 4.6 and up
 Refreshed for 0.2.6+svn20070727.r22
0002 debian 561491 fix x mask.patch | (download)

src/display/lrmi.c | 7 7 + 0 - 0 !
1 file changed, 7 insertions(+)

 [patch] debian 561491 fix x mask


0003 use destdir.patch | (download)

Makefile.am | 2 1 + 1 - 0 !
configure.in | 1 0 + 1 - 0 !
doc/Makefile.am | 6 3 + 3 - 0 !
font/Makefile.am | 6 3 + 3 - 0 !
input/Makefile.am | 6 3 + 3 - 0 !
src/Makefile.am | 8 4 + 4 - 0 !
6 files changed, 14 insertions(+), 15 deletions(-)

 [patch] use destdir
0004 lc_ctype instead of lc_all.patch | (download)

src/zhcon.cpp | 20 10 + 10 - 0 !
1 file changed, 10 insertions(+), 10 deletions(-)

 [patch] lc_ctype instead of lc_all
0005 glibc iconv extension.patch | (download)

src/encfilter.c | 15 15 + 0 - 0 !
1 file changed, 15 insertions(+)

 [patch] glibc iconv extension


0006 enable build platforms.patch | (download)

configure.in | 2 1 + 1 - 0 !
src/console.cpp | 2 1 + 1 - 0 !
src/console.h | 3 2 + 1 - 0 !
src/display/fbdev.h | 7 7 + 0 - 0 !
src/display/fbvgaplanes.cpp | 14 10 + 4 - 0 !
src/encfilter.c | 1 1 + 0 - 0 !
src/graphdev.cpp | 2 1 + 1 - 0 !
src/graphdev.h | 2 1 + 1 - 0 !
src/inputmanager.cpp | 2 1 + 1 - 0 !
src/inputmanager.h | 7 4 + 3 - 0 !
src/main.cpp | 3 2 + 1 - 0 !
src/mouse.cpp | 12 6 + 6 - 0 !
src/mouse.h | 13 4 + 9 - 0 !
src/zhcon.cpp | 22 14 + 8 - 0 !
14 files changed, 55 insertions(+), 37 deletions(-)

 [patch] enable build platforms
0007 better jp and ko handling.patch | (download)

doc/zhcon.1.in | 4 2 + 2 - 0 !
src/encfilter.c | 4 4 + 0 - 0 !
src/iconv_string.c | 6 6 + 0 - 0 !
src/zhcon.conf | 2 1 + 1 - 0 !
src/zhcon.cpp | 2 1 + 1 - 0 !
5 files changed, 14 insertions(+), 4 deletions(-)

 [patch] better jp and ko handling
0009 remove rpath from configure.patch | (download)

configure.in | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 prevent configure.in from adding rpath through ldflags
 Instead of running chrpath, don't compile with rpath in the first place.
 .
 Furthermore, by not messing with LDFLAGS in configure.in,
 Debian's hardening buildflags can be passed on,
 thus avoiding Lintian "hardening-no-relro" warning.

0010 install fonts and ime tables to usr share.patch | (download)

font/Makefile.am | 6 3 + 3 - 0 !
input/Makefile.am | 6 3 + 3 - 0 !
src/zhcon.cpp | 4 2 + 2 - 0 !
3 files changed, 8 insertions(+), 8 deletions(-)

 move zhcon fonts and ime tables to /usr/share/zhcon
 The fonts and IME tables that come with zhcon are platform-independent,
 and should not be in /usr/lib/zhcon.  Furthermore, with the new
 multiarch support in place, these files would have been installed
 in directories such as /usr/lib/x86_64-linux-gnu/zhcon, and
 zhcon would not be able to find its fonts, hence the move.
0011 winime 64bit fix.patch | (download)

src/winime.cpp | 26 16 + 10 - 0 !
src/winime.h | 6 3 + 3 - 0 !
2 files changed, 19 insertions(+), 13 deletions(-)

 fix zhcon crash with built-in input methods on 64-bit platform
 Md82 fixed a zhcon crash when the user tries to type after enabling
 the built-in Chinese input method.  The fix was posted to the LinuxDev
 board on SMTH BBS on 2008-10-11, accessible through this URL:
 .
     http://www.newsmth.net/nForum/#!article/LinuxDev/29280
 .
 ==============================================================================
 发信人: Md82 (我是KCN的一条狗啊), 信区: LinuxDev
 标  题: 一上午时间终于把zhcon的输入法在x86-64调通
 发信站: 水木社区 (Sat Oct 11 09:36:29 2008), 站内
 .
 zhcon0.2.6的输入法不能在 x86-64上运行,一输入字符就报告段错误
 fedora9和fedora10打包的两个binary rpm也一样的问题
 .
 阅读代码后发现原作者假设所有机器都是32位指针,所以直接把码表文件(每单元4bytes)
 映射到char**数组。在x86-64中,一个char*占了8字节,结果变成由两个码表的偏移量数
 值错位32后或出来,明显会超界。
 .
 解决办法是把几个数组从char**改成int *,以及修改了相关的偏移量计算代码。现在终
 于可以在console灌水了。
 .
 具体修改的文件是src/winime.cpp和src/winime.h。
 --
 .
 自由对于笨人是极端痛苦的事情,不亚于把他们投入真空。
 对于聪明人则不然。
 .
 .
0012 zhcon conf for debian.patch | (download)

src/zhcon.conf | 14 7 + 7 - 0 !
1 file changed, 7 insertions(+), 7 deletions(-)

 customize unicon module paths in zhcon.conf for debian
 .
 zhcon (1:0.2.3-1) unstable; urgency=low
 .
   * New upstream release.
   * unicon input method work right now.
   * new words can be saved when use ZNPY
   * Change ZNPY as default input method.
 .
  -- Yu Guanghui <ygh@debian.org>  Wed,  7 May 2003 01:09:46 +0800
 .
 Anthony Fok change the default input method from unicon's 智能拼音
 back to zhcon's built-in 全拼 to avoid problem on 64-bit platform
 until we have a change to get it fixed.

0013 adduser to video group message.patch | (download)

src/zhcon.cpp | 20 18 + 2 - 0 !
1 file changed, 18 insertions(+), 2 deletions(-)

 tell user to join the "video" group so zhcon can start
 in these days of modern hardware and modern Linux kernel,
 the old warning message is obsolete and inaccurate.
 Running "sudo adduser $(whoami) video" should fix the problem
 for most end users.
0014 fix warnings.patch | (download)

src/graphdev.cpp | 2 1 + 1 - 0 !
src/graphdev.h | 2 1 + 1 - 0 !
src/nativeinputserver.h | 2 1 + 1 - 0 !
3 files changed, 3 insertions(+), 3 deletions(-)

 fix "iso c++ forbids converting a string constant to ‘char *’" warnings
0015 i386 ftbfs.patch | (download)

src/display/fbvgaplanes.cpp | 1 1 + 0 - 0 !
src/display/vgadev.cpp | 1 1 + 0 - 0 !
2 files changed, 2 insertions(+)

 fix ftbfs on i386
 This should fix Debian Bug #909859.