wok-current rev 3579

emesene: update DEPENDS, remove host.patch(not needed). gajim: update DEPENDS
author Liu Peng <rocky@slitaz.org>
date Fri Jun 26 13:49:19 2009 +0000 (2009-06-26)
parents 43c66f7adf36
children 8968d2135586
files emesene/receipt gajim/receipt gajim/stuff/host_srv.patch
line diff
     1.1 --- a/emesene/receipt	Fri Jun 26 06:50:57 2009 +0000
     1.2 +++ b/emesene/receipt	Fri Jun 26 13:49:19 2009 +0000
     1.3 @@ -5,7 +5,7 @@
     1.4  CATEGORY="network"
     1.5  SHORT_DESC="Instant messaging client for Windows Live Messenger (tm) network."
     1.6  MAINTAINER="rocky@slitaz.org"
     1.7 -DEPENDS="python pygtk pycairo pysqlite"
     1.8 +DEPENDS="python pygtk pycairo python-pysqlite"
     1.9  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.10  WEB_SITE="http://www.emesene.org"
    1.11  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
     2.1 --- a/gajim/receipt	Fri Jun 26 06:50:57 2009 +0000
     2.2 +++ b/gajim/receipt	Fri Jun 26 13:49:19 2009 +0000
     2.3 @@ -5,8 +5,8 @@
     2.4  CATEGORY="network"
     2.5  SHORT_DESC="Gtk Jabber client."
     2.6  MAINTAINER="rocky@slitaz.org"
     2.7 -DEPENDS="gtkspell python dbus-python pygtk pygobject pyopenssl pysqlite xorg-libXss bindutils"
     2.8 -BUILD_DEPENDS="gettext gtkspell gtkspell-dev python-dev pygtk-dev pygobject-dev dbus-dev xorg-libXss xorg-libXss-dev xcb-util-dev enchant-dev xorg-scrnsaverproto xorg-xextproto"
     2.9 +DEPENDS="gtkspell python dbus-python pygtk pygobject pyopenssl python-pysqlite xorg-libXss bind-client"
    2.10 +BUILD_DEPENDS="gettext gtkspell gtkspell-dev python-dev pygtk-dev pygobject-dev dbus-dev xorg-libXss xorg-libXss-dev xcb-util-dev enchant-dev xorg-scrnsaverproto xorg-xextproto gtk+-dev"
    2.11  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    2.12  WEB_SITE="http://www.gajim.org/"
    2.13  WGET_URL="http://www.gajim.org/downloads/$TARBALL"
    2.14 @@ -15,14 +15,6 @@
    2.15  compile_rules()
    2.16  {
    2.17      cd $src
    2.18 -    while read file; do
    2.19 -        [ -f done.$file ] && continue
    2.20 -        echo "Apply $file..."
    2.21 -        patch -p1 < ../stuff/$file || return 1
    2.22 -        touch done.$file
    2.23 -    done <<EOT
    2.24 -host_srv.patch
    2.25 -EOT
    2.26      ./configure --prefix=/usr \
    2.27          --mandir=/usr/share/man \
    2.28          $CONFIGURE_ARGS &&
     3.1 --- a/gajim/stuff/host_srv.patch	Fri Jun 26 06:50:57 2009 +0000
     3.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.3 @@ -1,26 +0,0 @@
     3.4 -use host to resolve domain
     3.5 ---- gajim-0.12.1/src/common/nslookup.py.orig	2009-04-18 02:11:36.000000000 +0800
     3.6 -+++ gajim-0.12.1/src/common/nslookup.py	2009-04-18 02:14:37.000000000 +0800
     3.7 -@@ -123,11 +123,11 @@
     3.8 - 				line = helpers.decode_string(line)
     3.9 - 				domain = ufqdn
    3.10 - 			if domain:
    3.11 --				rest = line[len(domain):].split('=')
    3.12 -+				rest = line[len(domain):].split('record')
    3.13 - 				if len(rest) != 2:
    3.14 - 					continue
    3.15 - 				answer_type, props_str = rest
    3.16 --				if answer_type.strip() != 'service':
    3.17 -+				if answer_type.strip() != 'has SRV':
    3.18 - 					continue
    3.19 - 				props = props_str.strip().split(' ')
    3.20 - 				if len(props) < 4:
    3.21 -@@ -296,7 +296,7 @@
    3.22 - 			return
    3.23 - 	
    3.24 - 	def _compose_command_args(self):
    3.25 --		return ['nslookup', '-type=' + self.type , self.host]
    3.26 -+		return ['host', '-t ' + self.type , self.host]
    3.27 - 	
    3.28 - 	def _return_result(self):
    3.29 - 		if self.result_handler: