LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1829|回复: 13

今天装上pidgin-2.0.2,qq奇迹般的可以登录了

[复制链接]
发表于 2007-6-16 11:40:32 | 显示全部楼层 |阅读模式
今天pidgin发布2.0.2版,无需修改安装后qq奇迹般的可以登录了。ebuild如下(把2.0.1的修改了一下),有兴趣的兄弟可以试试。
pidgin-2.0.2.ebuild

  1. # Copyright 1999-2007 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. # $Header: /var/cvsroot/gentoo-x86/net-im/pidgin/pidgin-2.0.2.ebuild,v 1.4 2007/06/16 11:15:59 drizzt Exp $

  4. WANT_AUTOMAKE=1.9

  5. inherit flag-o-matic eutils toolchain-funcs multilib autotools perl-app gnome2

  6. MY_PV=${P/_beta/beta}

  7. DESCRIPTION="GTK Instant Messenger client"
  8. HOMEPAGE="http://pidgin.im/"
  9. SRC_URI="mirror://sourceforge/${PN}/${MY_PV}.tar.bz2"

  10. LICENSE="GPL-2"
  11. SLOT="0"
  12. KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
  13. IUSE="avahi bonjour cjk crypt dbus debug doc eds gadu gnutls gstreamer meanwhile networkmanager nls perl silc startup-notification tcl tk xscreensaver spell ssl qq msn gadu"
  14. IUSE="${IUSE} gtk sasl ncurses groupwise prediction zephyr" # mono"

  15. RDEPEND="
  16.         bonjour? ( !avahi? ( net-misc/howl )
  17.                    avahi? ( net-dns/avahi ) )
  18.         dbus? ( >=dev-libs/dbus-glib-0.71
  19.                 >=dev-python/dbus-python-0.71
  20.                 >=sys-apps/dbus-0.90
  21.                 >=dev-lang/python-2.4 )
  22.         gtk? (
  23.                 spell? ( >=app-text/gtkspell-2.0.2 )
  24.                 >=x11-libs/gtk+-2.0
  25.                 startup-notification? ( >=x11-libs/startup-notification-0.5 )
  26.                 xscreensaver? (        x11-libs/libXScrnSaver )
  27.                 eds? ( gnome-extra/evolution-data-server )         )
  28.         >=dev-libs/glib-2.0
  29.         gstreamer? ( =media-libs/gstreamer-0.10*
  30.                      =media-libs/gst-plugins-good-0.10* )
  31.         perl? ( >=dev-lang/perl-5.8.2-r1 )
  32.         gadu?  ( net-libs/libgadu )
  33.         ssl? (
  34.                 gnutls? ( net-libs/gnutls )
  35.                 !gnutls? ( >=dev-libs/nss-3.11 )
  36.         )
  37.         msn? (
  38.                 gnutls? ( net-libs/gnutls )
  39.                 !gnutls? ( >=dev-libs/nss-3.11 )
  40.         )
  41.         meanwhile? ( net-libs/meanwhile )
  42.         silc? ( >=net-im/silc-toolkit-0.9.12-r3 )
  43.         zephyr? ( >=app-crypt/mit-krb5-1.3.6-r1 )
  44.         tcl? ( dev-lang/tcl )
  45.         tk? ( dev-lang/tk )
  46.         sasl? ( >=dev-libs/cyrus-sasl-2 )
  47.         doc? ( app-doc/doxygen )
  48.         dev-libs/libxml2
  49.         networkmanager? ( net-misc/networkmanager )
  50.         prediction? ( =dev-db/sqlite-3.3* )"
  51.         #mono? ( dev-lang/mono )"

  52. DEPEND="$RDEPEND
  53.         dev-lang/perl
  54.         dev-perl/XML-Parser
  55.         dev-util/pkgconfig
  56.         nls? ( sys-devel/gettext )"

  57. # PDEPEND="crypt? ( >=x11-plugins/gaim-encryption-3.0_beta5 )"

  58. S="${WORKDIR}/${MY_PV}"

  59. # Enable Default protocols
  60. DYNAMIC_PRPLS="irc,jabber,oscar,yahoo,zephyr,simple"

  61. # List of plugins yet to be ported (will be removed at some point)
  62. #   app-accessibility/festival-gaim
  63. #   net-im/gaim-blogger
  64. #   net-im/gaim-bnet
  65. #   net-im/gaim-meanwhile (integrated in gaim)
  66. #   net-im/gaim-snpp (will soon be net-im/pidgin-snpp)
  67. #   x11-plugins/autoprofile
  68. #   x11-plugins/gaim-assistant
  69. #   x11-plugins/gaim-otr
  70. #   x11-plugins/gaimosd
  71. #   x11-plugins/gaim-xfire

  72. # List of plugins
  73. #   x11-plugins/pidgin-extprefs
  74. #   x11-plugins/gaim-rhythmbox
  75. #   x11-plugins/guifications
  76. #   x11-plugins/pidgin-encryption
  77. #   x11-plugins/pidgin-latex

  78. print_pidgin_warning() {
  79.         ewarn
  80.         ewarn "We strongly recommend that you backup your ~/.gaim directory"
  81.         ewarn "before running Pidgin for the first time. Things you should be"
  82.         ewarn "on the lookout for include problems with preferences being lost"
  83.         ewarn "or forgotten, buddy icons not working as you expect, plugins or"
  84.         ewarn "other external files not properly being found."
  85.         ewarn
  86.         ewarn "If you are merging ${MY_P} from an earlier version of gaim,"
  87.         ewarn "you may need to re-merge any plugins like gaim-encryption or"
  88.         ewarn " gaim-snpp (when they are ported to pidgin!)."
  89.         ewarn
  90.         ewarn "If you experience problems with pidgin, file them as bugs with"
  91.         ewarn "Gentoo's bugzilla, http://bugs.gentoo.org.  DO NOT report them"
  92.         ewarn "as bugs with pidgin's bug tracker, and by all means DO NOT"
  93.         ewarn "seek help in #pidgin."
  94.         ewarn
  95.         ewarn "Be sure to USE="debug" and include a backtrace for any seg"
  96.         ewarn "faults, see http://developer.pidgin.im/wiki/GetABacktrace for details on"
  97.         ewarn "backtraces."
  98.         ewarn
  99.         ewarn "Please read the pidgin FAQ at http://developer.pidgin.im/wiki/FAQ"
  100.         ewarn
  101. }

  102. pkg_setup() {
  103.         print_pidgin_warning

  104.         if use bonjour && use avahi && ! built_with_use net-dns/avahi howl-compat ; then
  105.         eerror
  106.         eerror "You need to rebuild net-dns/avahi with USE=howl-compat in order"
  107.         eerror  "to enable howl support for the bonjour protocol in pidgin."
  108.         eerror
  109.         die "Configure failed"
  110.         fi

  111.         if use gadu && built_with_use net-libs/libgadu ssl ; then
  112.         eerror
  113.         eerror "You need to rebuild net-libs/libgadu with USE=-ssl in order"
  114.         eerror "enable gadu gadu support in pidgin."
  115.         eerror
  116.         die "Configure failed"
  117.         fi

  118.         if use ncurses &&  ! built_with_use sys-libs/ncurses unicode; then
  119.                 eerror
  120.                 eerror "You need to rebuild sys-libs/ncurses with USE=unicode in order"
  121.                 eerror "to build finch the console client of pidgin."
  122.                 eerror
  123.                 die "Configure failed"
  124.         fi

  125.         if ! use gtk && ! use ncurses ; then
  126.                 einfo
  127.                 elog "As you did not pick gtk or ncurses use flag, building"
  128.                 elog "console only."
  129.                 einfo
  130.         fi

  131.         if use zephyr && ! built_with_use app-crypt/mit-krb5 krb4 ; then
  132.                 eerror
  133.                 eerror "You need to rebuild app-crypt/mit-krb5 with USE=krb4 in order to"
  134.                 eerror "enable krb4 support for the zephyr protocol in pidgin"
  135.                 eerror
  136.                 die "Configure failed"
  137.         fi

  138. }

  139. src_unpack() {
  140.         unpack ${A}
  141.         cd "${S}"

  142. #        epatch "${FILESDIR}/${PN}-2.0.0-cchar_t-undeclared.patch"
  143. #        epatch "${FILESDIR}/pidgin-2.0.1-purple-remote-syntax-fix.patch"
  144. #        epatch "${FILESDIR}/${P}-desktop.patch"

  145.         eautomake
  146. }

  147. src_compile() {
  148.         # Stabilize things, for your own good
  149.         strip-flags
  150.         replace-flags -O? -O2

  151.         # -msse2 doesn't play nice on gcc 3.2
  152.         [[ "`gcc-version`" == "3.2" ]] && filter-flags -msse2

  153.         local myconf

  154.         if use gadu; then
  155.                 DYNAMIC_PRPLS="${DYNAMIC_PRPLS},gg"
  156.                         myconf="${myconf} --with-gadu-includes=."
  157.                         myconf="${myconf} --with-gadu-libs=."
  158.         fi

  159.         if use silc; then
  160.                 DYNAMIC_PRPLS="${DYNAMIC_PRPLS},silc"
  161.         fi

  162.         if use qq; then
  163.                 DYNAMIC_PRPLS="${DYNAMIC_PRPLS},qq"
  164.         fi

  165.         if use meanwhile; then
  166.                 DYNAMIC_PRPLS="${DYNAMIC_PRPLS},sametime"
  167.         fi

  168.         if use bonjour; then
  169.                 DYNAMIC_PRPLS="${DYNAMIC_PRPLS},bonjour"
  170.         fi

  171.         if use msn; then
  172.                 DYNAMIC_PRPLS="${DYNAMIC_PRPLS},msn"
  173.         fi

  174.         if use groupwise; then
  175.                 DYNAMIC_PRPLS="${DYNAMIC_PRPLS},novell"
  176.         fi

  177.         if use zephyr; then
  178.                 DYNAMIC_PRPLS="${DYNAMIC_PRPLS},zephyr"
  179.         fi

  180.         if use ssl || use msn ; then
  181.                 if use gnutls ; then
  182.                         einfo "Disabling NSS, using GnuTLS"
  183.                         myconf="${myconf} --enable-nss=no --enable-gnutls=yes"
  184.                         myconf="${myconf} --with-gnutls-includes=/usr/include/gnutls"
  185.                         myconf="${myconf} --with-gnutls-libs=/usr/$(get_libdir)"
  186.                 else
  187.                         einfo "Disabling GnuTLS, using NSS"
  188.                         myconf="${myconf} --enable-gnutls=no --enable-nss=yes"
  189.                 fi
  190.         else
  191.                 einfo "No SSL support selected"
  192.                 myconf="${myconf} --enable-gnutls=no --enable-nss=no"
  193.         fi

  194.         if use xscreensaver ; then
  195.                         myconf="${myconf} --x-includes=/usr/include/X11"
  196.         fi

  197.         if ! use ncurses && ! use gtk; then
  198.                 myconf="${myconf} --enable-consoleui"
  199.         else
  200.                 myconf="${myconf} $(use_enable ncurses consoleui) $(use_enable gtk gtkui)"
  201.         fi

  202.         econf \
  203.                 $(use_enable nls) \
  204.                 $(use_enable perl) \
  205.                 $(use_enable startup-notification) \
  206.                 $(use_enable tcl) \
  207.                 $(use_enable gtk sm) \
  208.                 $(use_enable spell gtkspell) \
  209.                 $(use_enable tk) \
  210.                 $(use_enable xscreensaver screensaver) \
  211.                 $(use_enable debug) \
  212.                 $(use_enable dbus) \
  213.                 $(use_enable meanwhile) \
  214.                 $(use_enable eds gevolution) \
  215.                 $(use_enable gstreamer) \
  216.                 $(use_enable sasl cyrus-sasl ) \
  217.                 $(use_enable doc doxygen) \
  218.                 $(use_enable prediction cap) \
  219.                 $(use_enable networkmanager nm) \
  220.                 $(use_with zephyr krb4) \
  221.                 "--with-dynamic-prpls=${DYNAMIC_PRPLS}" \
  222.                 --disable-mono \
  223.                 ${myconf} || die "Configuration failed"
  224.                 #$(use_enable mono) \

  225.                 emake || die "make failed"
  226. }

  227. src_install() {
  228.         gnome2_src_install
  229.         use perl && fixlocalpod
  230.         dodoc AUTHORS COPYING HACKING INSTALL NEWS README ChangeLog
  231. }

  232. pkg_postinst() {
  233.         gnome2_pkg_postinst
  234.         print_pidgin_warning
  235. }
复制代码
发表于 2007-6-16 11:48:19 | 显示全部楼层
Post by zhoukb
奇迹般的


呵呵 这个词都用上了
回复 支持 反对

使用道具 举报

发表于 2007-6-16 11:51:13 | 显示全部楼层
难道原本要验证码的都不用验证码了吗?
我现在是重新注册了个qq,在linux用。以前那个号我是彻底绝望了......
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-6-16 11:54:09 | 显示全部楼层
Post by isaacz
难道原本要验证码的都不用验证码了吗?
我现在是重新注册了个qq,在linux用。以前那个号我是彻底绝望了......

我前几天还需要验证码的,我感觉可能是给我解锁了,懒得去win下验证了。
回复 支持 反对

使用道具 举报

发表于 2007-6-16 19:22:15 | 显示全部楼层
Post by zhoukb
我前几天还需要验证码的,我感觉可能是给我解锁了,懒得去win下验证了。


我的没有解锁  不过linux下ok了
回复 支持 反对

使用道具 举报

发表于 2007-6-16 20:12:38 | 显示全部楼层
能登录的用的是那个服务器和端口?
谢谢~~
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-6-16 21:01:08 | 显示全部楼层
Post by ZDN
能登录的用的是那个服务器和端口?
谢谢~~

默认的,没设服务器和端口。
回复 支持 反对

使用道具 举报

发表于 2007-6-16 21:39:47 | 显示全部楼层
每次我从去另外一个城市 要连续输一个星期的密码
回复 支持 反对

使用道具 举报

发表于 2007-6-16 23:47:09 | 显示全部楼层
我原来用2.0.0也可以登录过两三天,后来就不行了。
不过QQ这种垃圾,不用也罢。
回复 支持 反对

使用道具 举报

发表于 2007-6-17 02:45:02 | 显示全部楼层
Post by robinswan
我原来用2.0.0也可以登录过两三天,后来就不行了。
不过QQ这种垃圾,不用也罢。


看来那两天我们可以用 是由于那两天腾讯用于限制的服务器出问题了
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表