LinuxSir.Org  
| 网站首页 | 注册账号 | 论坛帮助 |

欢迎来到LinuxSir.Org!
您还未登录,请登录后查看论坛,或者点击论坛上方的注册链接注册新账号。


发表新主题 回复
 
主题工具
旧 06-03-02, 10:42 第 1 帖
mars_engle
 
 
 
注册会员  
  注册日期: Mar 2006
  帖子: 14
  精华: 0
 

标题: 解决OpenQ 0.3.2 for Gaim 1.5.0无法登陆的问题


我写了一个补丁修正了这个问题,但不知道怎么提交,我把我修改的内容贴上来。修改是基于openq-0.3.2,gaim 的版本是1.5.0下面是修改的步骤:
1. 运行"tar -xjvf openq-0.3.2.qq2006.patch.tar.bz2 -C /tmp", 解压下载的附件。
2。进入到openq 0.3.2的源代码目录里,运行命令"patch -p1 -i /tmp/openq-0.3.2.qq2006.patch".
3. 按标准的openq编译方法再编译一遍就行了。
上传的附件
文件类型: bz2 openq-0.3.2.qq2006.patch.tar.bz2 (3.9 KB, 1322 次查看)

此帖于 06-03-02 16:06 被 mars_engle 编辑. 原因: 修正patch的一个问体
  mars_engle 当前离线   回复时引用此帖
旧 06-03-02, 12:11 第 2 帖
walkman
 
 
 
注册会员  
  注册日期: Feb 2003
  帖子: 9
  精华: 0
 

很好,我还是喜欢用gaim for qq
  walkman 当前离线   回复时引用此帖
旧 06-03-02, 15:38 第 3 帖
xgwu
 
 
 
注册会员  
  注册日期: Sep 2002
  帖子: 162
  精华: 0
 

你可以编译好了rpm或者deb包,发给我,我这边提供空间下载。







__________________
文泉驿:http://wenq.org/
中文维基百科:http://wikipedia.cnblog.org/
  xgwu 当前离线   回复时引用此帖
旧 06-03-02, 15:58 第 4 帖
mars_engle
 
 
 
注册会员  
  注册日期: Mar 2006
  帖子: 14
  精华: 0
 

不知你要的是编译好的结果吗?还是不要的好,个人的机器配置不一致,没法保证能运行,还是用源代码的好。

此帖于 06-03-02 16:04 被 mars_engle 编辑.
  mars_engle 当前离线   回复时引用此帖
旧 06-03-03, 10:53 第 5 帖
UKYO_S
 
 
 
注册会员  
  注册日期: Feb 2006
  帖子: 69
  精华: 0
 

mars_engle
你看下群是不是有问题,在下用了补丁可以登入,但QQ群都没显示出来。
搜索Q群也无效!?
  UKYO_S 当前离线   回复时引用此帖
旧 06-03-04, 11:40 第 6 帖
xgwu
 
 
 
注册会员  
  注册日期: Sep 2002
  帖子: 162
  精华: 0
 

我自己编译的deb包:
http://dl.textwiki.org/software/open...-2006_i386.deb

说明:
http://textwiki.org/wiki/OpenQ
  xgwu 当前离线   回复时引用此帖
旧 06-03-04, 11:47 第 7 帖
xgwu
 
 
 
注册会员  
  注册日期: Sep 2002
  帖子: 162
  精华: 0
 

ok

此帖于 06-03-06 12:07 被 xgwu 编辑.
  xgwu 当前离线   回复时引用此帖
旧 06-03-06, 21:27 第 8 帖
ddru
 
ddru 的头像
 
 
注册会员  
  注册日期: Feb 2006
  帖子: 108
  精华: 0
 

hehe ,很好用阿!!感谢!!
没有群,我倒觉得也不错,清静,哈哈







__________________
赛扬2.0,256M,80G,GeForce MX 440
系统:ubuntu breezy 2.6.12-686
  ddru 当前离线   回复时引用此帖
旧 06-03-07, 14:41 第 9 帖
yuan.l
 
 
 
注册会员  
  注册日期: Feb 2005
  帖子: 14
  精华: 0
 

Sarge的gaim要用这个openq补丁的话要自己编译才可以。
  yuan.l 当前离线   回复时引用此帖
旧 06-03-21, 15:30 第 10 帖
welcome008
 
 
 
注册会员  
  注册日期: Mar 2005
  帖子: 3
  精华: 0
 

引用:
作者: mars_engle
我写了一个补丁修正了这个问题,但不知道怎么提交,我把我修改的内容贴上来。修改是基于openq-0.3.2,gaim 的版本是1.5.0下面是修改的步骤:
1. 运行"tar -xjvf openq-0.3.2.qq2006.patch.tar.bz2 -C /tmp", 解压下载的附件。
2。进入到openq 0.3.2的源代码目录里,运行命令"patch -p1 -i /tmp/openq-0.3.2.qq2006.patch".
3. 按标准的openq编译方法再编译一遍就行了。
希望楼主弄的详细点:
我先根据楼主说的,打patch,结果失败,
# patch -p1 -i /tmp/openq-0.3.2.qq2006.patch
patching file src/header_info.c
Hunk #2 succeeded at 81 (offset 4 lines).
patching file src/header_info.h
Hunk #1 FAILED at 33.
Hunk #2 FAILED at 57.
2 out of 2 hunks FAILED -- saving rejects to file src/header_info.h.rej
patching file src/keep_alive.c
Hunk #1 FAILED at 79.
1 out of 1 hunk FAILED -- saving rejects to file src/keep_alive.c.rej
patching file src/login_logout.c
Hunk #1 FAILED at 40.
Hunk #2 FAILED at 58.
Hunk #3 succeeded at 362 (offset 64 lines).
Hunk #4 FAILED at 381.
Hunk #5 succeeded at 420 (offset 37 lines).
Hunk #6 succeeded at 490 (offset 70 lines).
3 out of 6 hunks FAILED -- saving rejects to file src/login_logout.c.rej
patching file src/login_logout.h
Hunk #1 succeeded at 39 with fuzz 2 (offset 2 lines).
patching file src/qq.h
Hunk #1 succeeded at 68 (offset 3 lines).
patching file src/qq_proxy.c
Hunk #1 FAILED at 155.
Hunk #2 succeeded at 375 (offset 17 lines).
1 out of 2 hunks FAILED -- saving rejects to file src/qq_proxy.c.rej
patching file src/recv_core.c
Hunk #1 FAILED at 164.
Hunk #2 succeeded at 270 (offset 6 lines).
1 out of 2 hunks FAILED -- saving rejects to file src/recv_core.c.rej

查原因发现是因为打了一个补丁:openq_patch_06-01-31.tar
重新解压缩打patch没问题:
可是编译出错:

make all-recursive
make[1]: Entering directory `/root/software/openq-0.3.2'
Making all in intl
make[2]: Entering directory `/root/software/openq-0.3.2/intl'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/software/openq-0.3.2/intl'
Making all in nsis
make[2]: Entering directory `/root/software/openq-0.3.2/nsis'
Making all in translations
make[3]: Entering directory `/root/software/openq-0.3.2/nsis/translations'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/root/software/openq-0.3.2/nsis/translations'
make[3]: Entering directory `/root/software/openq-0.3.2/nsis'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/root/software/openq-0.3.2/nsis'
make[2]: Leaving directory `/root/software/openq-0.3.2/nsis'
Making all in po
make[2]: Entering directory `/root/software/openq-0.3.2/po'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/software/openq-0.3.2/po'
Making all in src
make[2]: Entering directory `/root/software/openq-0.3.2/src'
source='utils.c' object='utils.lo' libtool=yes\
depmode=gcc3 /bin/sh ../depcomp \
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/local/include/gaim -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/local/include/gaim -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DDATADIR=\"/usr/local/share\" -DLIBDIR=\"/usr/local/lib/gaim/\" -DLOCALEDIR=\"/usr/local/share/locale\" -DSYSCONFDIR=\"/usr/local/etc\" -DGAIM_PLUGINS -Wall -g -O2 -Wall -g3 -c -o qq.lo `test -f 'qq.c' || echo './'`qq.c
qq.c: In function `_qq_away_states':
qq.c:263: `GAIM_AWAY_CUSTOM' undeclared (first use in this function)
qq.c:263: (Each undeclared identifier is reported only once
qq.c:263: for each function it appears in.)
qq.c: In function `_qq_set_away':
qq.c:276: structure has no member named `away'
qq.c:277: structure has no member named `away'
qq.c:278: structure has no member named `away'
qq.c:283: structure has no member named `away'
qq.c:285: structure has no member named `away'
qq.c:292: `GAIM_AWAY_CUSTOM' undeclared (first use in this function)
qq.c:293: structure has no member named `is_idle'
qq.c:298: structure has no member named `is_idle'
qq.c: At top level:
qq.c:307: parse error before "GaimConvImFlags"
qq.c: In function `_qq_send_im':
qq.c:312: `gc' undeclared (first use in this function)
qq.c:312: `who' undeclared (first use in this function)
qq.c:316: `message' undeclared (first use in this function)
qq.c:318: `flags' undeclared (first use in this function)
qq.c:318: `GAIM_CONV_IM_AUTO_RESP' undeclared (first use in this function)
qq.c: In function `_qq_buddy_menu':
qq.c:685: `GaimBlistNodeAction' undeclared (first use in this function)
qq.c:685: `act' undeclared (first use in this function)
qq.c:688: warning: implicit declaration of function `gaim_blist_node_action_new'qq.c: In function `_qq_chat_menu':
qq.c:702: `GaimBlistNodeAction' undeclared (first use in this function)
qq.c:702: `act' undeclared (first use in this function)
qq.c: At top level:
qq.c:813: warning: initialization from incompatible pointer type
qq.c:815: warning: initialization from incompatible pointer type
qq.c:816: warning: initialization from incompatible pointer type
qq.c:826: warning: initialization from incompatible pointer type
qq.c:845: warning: initialization from incompatible pointer type
qq.c:846: warning: initialization from incompatible pointer type
qq.c:858: warning: initialization from incompatible pointer type
qq.c:861: warning: initialization from incompatible pointer type
qq.c:862: warning: initialization from incompatible pointer type
make[2]: *** [qq.lo] Error 1
make[2]: Leaving directory `/root/software/openq-0.3.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/software/openq-0.3.2'
make: *** [all] Error 2

此帖于 06-03-21 17:37 被 welcome008 编辑.
  welcome008 当前离线   回复时引用此帖
旧 06-03-22, 12:49 第 11 帖
vikiller
 
 
 
注册会员  
  注册日期: Feb 2006
  帖子: 4
  精华: 0
 

问一个新手的问题,这个补丁完成了什么功能?为什么不打补丁,就不能登录?
  vikiller 当前离线   回复时引用此帖
旧 06-03-22, 12:49 第 12 帖
vikiller
 
 
 
注册会员  
  注册日期: Feb 2006
  帖子: 4
  精华: 0
 

问一个新手的问题,这个补丁完成了什么功能?为什么不打补丁,就不能登录?
  vikiller 当前离线   回复时引用此帖
旧 06-03-24, 12:38 第 13 帖
mars_engle
 
 
 
注册会员  
  注册日期: Mar 2006
  帖子: 14
  精华: 0
 

你的 gaim是2.0的所以出错
  mars_engle 当前离线   回复时引用此帖
旧 06-03-24, 12:42 第 14 帖
mars_engle
 
 
 
注册会员  
  注册日期: Mar 2006
  帖子: 14
  精华: 0
 

标题: 藤讯更改了登陆协议


引用:
作者: vikiller
问一个新手的问题,这个补丁完成了什么功能?为什么不打补丁,就不能登录?
藤讯更改了登陆协议,如果不打补丁就没法登陆
  mars_engle 当前离线   回复时引用此帖
旧 06-03-24, 12:45 第 15 帖
mars_engle
 
 
 
注册会员  
  注册日期: Mar 2006
  帖子: 14
  精华: 0
 

推荐大家以后直接使用http://www.linuxsir.org/bbs/showthre...本补丁。
  mars_engle 当前离线   回复时引用此帖
发表新主题 回复


主题工具

发帖规则
您 [不可以] 发表新主题
您 [不可以] 回复主题
您 [不可以] 上传附件
您 [不可以] 编辑您的帖子

已 [启用] BB 代码
已 [启用] 表情符号
已 [启用] IMG 代码
已 [禁用] HTML 代码
[论坛跳转…]


所有时间均为[北京时间]。现在的时间是 21:59


Powered by vBulletin 版本 3.6.8
版权所有 ©2000 - 2010, Jelsoft Enterprises Ltd.
官方中文技术支持: vBulletin 中文
版权所有 ©2002 - 2009, LinuxSir.Org