rpms/pidgin/devel pidgin-NOT-UPSTREAM-2.6.0-reread-resolvconf.patch, NONE, 1.1 .cvsignore, 1.26, 1.27 pidgin.spec, 1.80, 1.81 sources, 1.26, 1.27 pidgin-NOT-UPSTREAM-2.5.3-reread-resolvconf.patch, 1.1, NONE

Warren Togami 砥上勇 wtogami at fedoraproject.org
Tue Jul 21 21:05:21 UTC 2009


Author: wtogami

Update of /cvs/pkgs/rpms/pidgin/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv26859

Modified Files:
	.cvsignore pidgin.spec sources 
Added Files:
	pidgin-NOT-UPSTREAM-2.6.0-reread-resolvconf.patch 
Removed Files:
	pidgin-NOT-UPSTREAM-2.5.3-reread-resolvconf.patch 
Log Message:
2.6.0 snapshot with voice and video support via farsight2


pidgin-NOT-UPSTREAM-2.6.0-reread-resolvconf.patch:
 connection.c |    7 +++++++
 network.c    |    2 --
 2 files changed, 7 insertions(+), 2 deletions(-)

--- NEW FILE pidgin-NOT-UPSTREAM-2.6.0-reread-resolvconf.patch ---
diff -urN pidgin-2.6.0devel/libpurple/connection.c pidgin-2.6.0devel.new/libpurple/connection.c
--- pidgin-2.6.0devel/libpurple/connection.c	2009-07-09 19:24:06.000000000 -0400
+++ pidgin-2.6.0devel.new/libpurple/connection.c	2009-07-21 14:56:10.747078333 -0400
@@ -42,6 +42,10 @@
 
 #define KEEPALIVE_INTERVAL 30
 
+#include <netinet/in.h>
+#include <arpa/nameser.h>
+#include <resolv.h>
+
 static GList *connections = NULL;
 static GList *connections_connecting = NULL;
 static PurpleConnectionUiOps *connection_ui_ops = NULL;
@@ -161,6 +165,9 @@
 
 	purple_signal_emit(purple_connections_get_handle(), "signing-on", gc);
 
+       /* Re-read resolv.conf and friends in case DNS servers have changed */
+       res_init();
+
 	if (regist)
 	{
 		purple_debug_info("connection", "Registering.  gc = %p\n", gc);
diff -urN pidgin-2.6.0devel/libpurple/network.c pidgin-2.6.0devel.new/libpurple/network.c
--- pidgin-2.6.0devel/libpurple/network.c	2009-07-09 19:24:06.000000000 -0400
+++ pidgin-2.6.0devel.new/libpurple/network.c	2009-07-21 14:56:26.698327302 -0400
@@ -746,8 +746,6 @@
 	switch(state)
 	{
 		case NM_STATE_CONNECTED:
-			/* Call res_init in case DNS servers have changed */
-			res_init();
 			/* update STUN IP in case we it changed (theoretically we could
 			   have gone from IPv4 to IPv6, f.ex. or we were previously
 			   offline */


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/pidgin/devel/.cvsignore,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -p -r1.26 -r1.27
--- .cvsignore	29 Jun 2009 00:07:27 -0000	1.26
+++ .cvsignore	21 Jul 2009 21:04:51 -0000	1.27
@@ -1 +1 @@
-pidgin-2.5.8.tar.bz2
+pidgin-2.6.0-devel-20090721.tar.bz2


Index: pidgin.spec
===================================================================
RCS file: /cvs/pkgs/rpms/pidgin/devel/pidgin.spec,v
retrieving revision 1.80
retrieving revision 1.81
diff -u -p -r1.80 -r1.81
--- pidgin.spec	20 Jul 2009 01:15:21 -0000	1.80
+++ pidgin.spec	21 Jul 2009 21:04:51 -0000	1.81
@@ -65,22 +65,26 @@
 %if 0%{?fedora} >= 10
 %define nss_md2_disabled	1
 %endif
+# F11+: voice and video support
+%if 0%{?fedora} >= 11
+%define vv_support	1
+%endif
 # F12+: krb4 removed
 %if 0%{?fedora} >= 12
 %define krb4_removed	1
 %endif
 
-
 Name:		pidgin
-Version:	2.5.8
-Release:	2%{?dist}
+Version:	2.6.0
+%define snapshot 20090721
+Release:	0.1.%{snapshot}%{?dist}
 License:        GPLv2+ and GPLv2 and MIT
 # GPLv2+ - libpurple, gnt, finch, pidgin, most prpls
 # GPLv2 - silc & novell prpls
 # MIT - Zephyr prpl
 Group:		Applications/Internet
 URL:		http://pidgin.im/
-Source0:	http://downloads.sourceforge.net/pidgin/pidgin-%{version}.tar.bz2
+Source0:	http://downloads.sourceforge.net/pidgin/pidgin-%{version}-devel-%{snapshot}.tar.bz2
 Obsoletes:      gaim < 999:1
 Provides:       gaim = 999:1
 ExcludeArch:    s390 s390x
@@ -104,11 +108,10 @@ Source2:        one_time_password.c
 
 
 ## Patches 0-99: Fedora specific or upstream wont accept
-Patch0: pidgin-NOT-UPSTREAM-2.5.3-reread-resolvconf.patch
+Patch0: pidgin-NOT-UPSTREAM-2.6.0-reread-resolvconf.patch
 Patch1: pidgin-NOT-UPSTREAM-2.5.2-rhel4-sound-migration.patch
 
 ## Patches 100+: To be Included in Future Upstream
-Patch100: pidgin-2.5.8-nss-md2.patch
 
 BuildRoot:	%{_tmppath}/%{name}-%{version}-root
 Summary:	A Gtk+ based multiprotocol instant messaging client
@@ -201,6 +204,10 @@ BuildRequires:  perl-devel
 %if %{perl_embed_separated}
 BuildRequires:  perl(ExtUtils::Embed)
 %endif
+# Voice and video support (F11+)
+%if %{vv_support}
+BuildRequires:  farsight2-devel
+%endif
 
 %if %{api_docs}
 BuildRequires: doxygen
@@ -351,7 +358,7 @@ Doxygen generated API documentation.
 
 %prep
 echo "FEDORA=%{fedora} RHEL=%{rhel}"
-%setup -q
+%setup -q -n pidgin-2.6.0devel
 ## Patches 0-99: Fedora specific or upstream wont accept
 %patch0 -p1 -b .resolv
 %if %{force_sound_aplay}
@@ -359,9 +366,6 @@ echo "FEDORA=%{fedora} RHEL=%{rhel}"
 %endif
 
 ## Patches 100+: To be Included in Future Upstream
-%if %{nss_md2_disabled}
-%patch100 -p0 -b .nssmd2
-%endif
 
 # Our preferences
 cp %{SOURCE1} prefs.xml
@@ -435,8 +439,8 @@ desktop-file-install --vendor pidgin --d
 
 # remove libtool libraries and static libraries
 rm -f `find $RPM_BUILD_ROOT -name "*.la" -o -name "*.a"`
-# remove the old perllocal.pod file
-rm -f $RPM_BUILD_ROOT%{perl_archlib}/perllocal.pod
+# remove the perllocal.pod file
+find $RPM_BUILD_ROOT -name perllocal.pod |xargs rm
 # remove relnot.so plugin since it is unusable for our package
 rm -f $RPM_BUILD_ROOT%{_libdir}/pidgin/relnot.so
 # remove dummy nullclient
@@ -522,9 +526,7 @@ rm -rf $RPM_BUILD_ROOT
 %files perl
 %defattr(-,root,root,-)
 %{_mandir}/man3/Pidgin*
-%{perl_vendorarch}/Pidgin.pm
-%dir %{perl_vendorarch}/auto/Pidgin/
-%{perl_vendorarch}/auto/Pidgin/Pidgin.so
+%{_libdir}/pidgin/perl/
 
 %files devel
 %defattr(-,root,root,-)
@@ -565,10 +567,7 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(-,root,root,-)
 %{_mandir}/man3/Purple*
 %{_libdir}/purple-2/perl.so
-%{perl_vendorarch}/Purple.pm
-%dir %{perl_vendorarch}/auto/Purple/
-%{perl_vendorarch}/auto/Purple/Purple.so
-%{perl_vendorarch}/auto/Purple/autosplit.ix
+%{_libdir}/purple-2/perl/
 
 %files -n libpurple-tcl
 %defattr(-,root,root,-)
@@ -598,6 +597,9 @@ rm -rf $RPM_BUILD_ROOT
 %endif
 
 %changelog
+* Tue Jul 21 2009 Warren Togami <wtogami at redhat.com> 2.6.0-0.1.20090721
+- 2.6.0 snapshot with voice and video support via farsight2
+
 * Sat Jul 11 2009 Stu Tomlison <stu at nosnilmot.com> 2.5.8-2
 - Backport patch from upstream to enable NSS to recognize root CA
   certificates that use MD2 & MD4 algorithms in their signature, as


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/pidgin/devel/sources,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -p -r1.26 -r1.27
--- sources	29 Jun 2009 00:07:28 -0000	1.26
+++ sources	21 Jul 2009 21:04:51 -0000	1.27
@@ -1 +1 @@
-c207407dca71c6357c82135875e472f0  pidgin-2.5.8.tar.bz2
+3bf334cc0159963fd65bc4a920025e15  pidgin-2.6.0-devel-20090721.tar.bz2


--- pidgin-NOT-UPSTREAM-2.5.3-reread-resolvconf.patch DELETED ---




More information about the fedora-extras-commits mailing list