From lichray@gmail.com  Wed Jun 22 23:04:00 2011
Return-Path: <lichray@gmail.com>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 01D90106566C
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 22 Jun 2011 23:04:00 +0000 (UTC)
	(envelope-from lichray@gmail.com)
Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182])
	by mx1.freebsd.org (Postfix) with ESMTP id BD5D38FC1A
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 22 Jun 2011 23:03:59 +0000 (UTC)
Received: by iwr19 with SMTP id 19so1522677iwr.13
        for <FreeBSD-gnats-submit@freebsd.org>; Wed, 22 Jun 2011 16:03:59 -0700 (PDT)
Received: by 10.42.23.200 with SMTP id t8mr1303775icb.198.1308783838658;
        Wed, 22 Jun 2011 16:03:58 -0700 (PDT)
Received: from compaq.yuetime (c-98-228-191-105.hsd1.il.comcast.net [98.228.191.105])
        by mx.google.com with ESMTPS id e23sm564562ibe.6.2011.06.22.16.03.55
        (version=TLSv1/SSLv3 cipher=OTHER);
        Wed, 22 Jun 2011 16:03:57 -0700 (PDT)
Received: by compaq.yuetime (sSMTP sendmail emulation); Wed, 22 Jun 2011 18:03:54 -0500
Message-Id: <4e0274dd.d707e70a.330e.1ca7@mx.google.com>
Date: Wed, 22 Jun 2011 18:03:54 -0500
From: Zhihao Yuan <lichray@gmail.com>
Reply-To: Zhihao Yuan <lichray@gmail.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: net-im/gajim: updates to 0.14.3
X-Send-Pr-Version: 3.113
X-GNATS-Notify: dsh@bamus.cz

>Number:         158183
>Category:       ports
>Synopsis:       net-im/gajim: updates to 0.14.3
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jun 22 23:10:06 UTC 2011
>Closed-Date:    Sat Jun 25 09:51:50 UTC 2011
>Last-Modified:  Sat Jun 25 09:51:50 UTC 2011
>Originator:     Zhihao Yuan
>Release:        FreeBSD 8.2-STABLE amd64
>Organization:
Northern Illinois University
>Environment:
System: FreeBSD compaq.yuetime 8.2-STABLE FreeBSD 8.2-STABLE #0 r222763: Mon Jun 6 13:13:53 CDT 2011 lichray@compaq.yuetime:/usr/obj/home/lichray/devel/freebsd-stable/sys/HOUKAGO amd64


	
>Description:
	
	Gajim has been updates to 0.14.3. Although it supports py-farsight, I can't test it. So I'm not changing the ports pretty much.
>How-To-Repeat:
	
>Fix:

	
	I added an option to activate py-avahi. I like it in an local network.

--- gajim-0.14.3.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/net-im/gajim.orig/Makefile /usr/ports/net-im/gajim/Makefile
--- /usr/ports/net-im/gajim.orig/Makefile	2011-04-12 14:34:33.000000000 -0500
+++ /usr/ports/net-im/gajim/Makefile	2011-06-22 17:52:24.815216943 -0500
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	gajim
-PORTVERSION=	0.14.1
+PORTVERSION=	0.14.3
 CATEGORIES=	net-im
 MASTER_SITES=	http://www.gajim.org/downloads/0.14/
 
@@ -29,6 +29,7 @@
 		LDFLAGS="-L${LOCALBASE}/lib" PYTHON=${PYTHON_CMD}
 
 OPTIONS=	DBUS "Adds support for D-Bus (Desktop Bus)" On \
+		AVAHI "Link-local messaging support via py-avahi" Off \
 		NLS "Native Language Support via gettext utilities" On
 
 .include <bsd.port.options.mk>
@@ -46,6 +47,10 @@
 RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}dbus>=0.82.2:${PORTSDIR}/devel/py-dbus
 .endif
 
+.if defined(WITH_AVAHI)
+RUN_DEPENDS=	${PYTHON_SITELIBDIR}/avahi/__init__.py:${PORTSDIR}/net/py-avahi
+.endif
+
 MAN1=		gajim.1 gajim-remote.1 gajim-history-manager.1
 
 EMOTICONS=	animated static static-big tango
diff -ruN --exclude=CVS /usr/ports/net-im/gajim.orig/distinfo /usr/ports/net-im/gajim/distinfo
--- /usr/ports/net-im/gajim.orig/distinfo	2010-11-04 08:00:59.000000000 -0500
+++ /usr/ports/net-im/gajim/distinfo	2011-06-22 17:16:50.866852592 -0500
@@ -1,2 +1,2 @@
-SHA256 (gajim-0.14.1.tar.bz2) = 5c8a10e7b06f362844ff70c6f49bd92a170b9d6e4c24e878f604032e31254d3b
-SIZE (gajim-0.14.1.tar.bz2) = 4144916
+SHA256 (gajim-0.14.3.tar.bz2) = 64d1450cd173c6d2c2b2c454964d799b91f9a4718a472f35d1dab76f0dd1e96c
+SIZE (gajim-0.14.3.tar.bz2) = 4173090
diff -ruN --exclude=CVS /usr/ports/net-im/gajim.orig/pkg-plist /usr/ports/net-im/gajim/pkg-plist
--- /usr/ports/net-im/gajim.orig/pkg-plist	2010-11-04 08:00:59.000000000 -0500
+++ /usr/ports/net-im/gajim/pkg-plist	2011-06-22 17:22:54.783782767 -0500
@@ -1290,13 +1290,6 @@
 %%NLS%%share/locale/sv/LC_MESSAGES/gajim.mo
 %%NLS%%share/locale/uk/LC_MESSAGES/gajim.mo
 %%NLS%%share/locale/zh_CN/LC_MESSAGES/gajim.mo
-%%NLS%%@dirrmtry share/locale/kk/LC_MESSAGES
-%%NLS%%@dirrmtry share/locale/kk
-%%NLS%%@dirrmtry share/locale/gl/LC_MESSAGES
-%%NLS%%@dirrmtry share/locale/gl
-%%NLS%%@dirrmtry share/locale/be@latin/LC_MESSAGES
-%%NLS%%@dirrmtry share/locale/be@latin
-@dirrmtry share/applications
 @dirrm %%DATADIR%%/src/common/zeroconf
 @dirrm %%DATADIR%%/src/common/xmpp
 @dirrm %%DATADIR%%/src/common/protocol
--- gajim-0.14.3.patch ends here ---


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Wed Jun 22 23:10:22 UTC 2011 
State-Changed-Why:  
Awaiting maintainers feedback (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=158183 

From: Edwin Groothuis <edwin@FreeBSD.org>
To: dsh@bamus.cz
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/158183: net-im/gajim: updates to 0.14.3
Date: Wed, 22 Jun 2011 23:10:20 UT

 Maintainer of net-im/gajim,
 
 Please note that PR ports/158183 has just been submitted.
 
 If it contains a patch for an upgrade, an enhancement or a bug fix
 you agree on, reply to this email stating that you approve the patch
 and a committer will take care of it.
 
 The full text of the PR can be found at:
     http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/158183
 
 -- 
 Edwin Groothuis via the GNATS Auto Assign Tool
 edwin@FreeBSD.org
State-Changed-From-To: feedback->closed 
State-Changed-By: miwi 
State-Changed-When: Sat Jun 25 09:51:49 UTC 2011 
State-Changed-Why:  
new version already committed. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=158183 
>Unformatted:
