rpms/pidgin/F-9 pidgin-2.4.2-reread-resolvconf.patch, NONE, 1.1 .cvsignore, 1.15, 1.16 pidgin.spec, 1.51, 1.52 sources, 1.15, 1.16 pidgin-2.0.0-beta7-reread-resolvconf.patch, 1.1, NONE

Stu Tomlinson (nosnilmot) fedora-extras-commits at redhat.com
Sat May 17 14:56:02 UTC 2008


Author: nosnilmot

Update of /cvs/pkgs/rpms/pidgin/F-9
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv2516/F-9

Modified Files:
	.cvsignore pidgin.spec sources 
Added Files:
	pidgin-2.4.2-reread-resolvconf.patch 
Removed Files:
	pidgin-2.0.0-beta7-reread-resolvconf.patch 
Log Message:
New upstream release 2.4.2


pidgin-2.4.2-reread-resolvconf.patch:

--- NEW FILE pidgin-2.4.2-reread-resolvconf.patch ---
diff -up pidgin-2.4.2/libpurple/connection.c.resolv pidgin-2.4.2/libpurple/connection.c
--- pidgin-2.4.2/libpurple/connection.c.resolv	2008-02-02 10:09:14.000000000 -0500
+++ pidgin-2.4.2/libpurple/connection.c	2008-05-17 10:42:56.000000000 -0400
@@ -40,6 +40,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;
@@ -153,6 +157,9 @@ purple_connection_new(PurpleAccount *acc
 
 	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 -up pidgin-2.4.2/libpurple/network.c.resolv pidgin-2.4.2/libpurple/network.c
--- pidgin-2.4.2/libpurple/network.c.resolv	2008-05-16 11:36:56.000000000 -0400
+++ pidgin-2.4.2/libpurple/network.c	2008-05-17 10:46:47.000000000 -0400
@@ -624,8 +624,6 @@ nm_update_state(NMState state)
 	switch(state)
 	{
 		case NM_STATE_CONNECTED:
-			/* Call res_init in case DNS servers have changed */
-			res_init();
 			if (ui_ops != NULL && ui_ops->network_connected != NULL)
 				ui_ops->network_connected();
 			prev = state;


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/pidgin/F-9/.cvsignore,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- .cvsignore	31 Mar 2008 21:38:36 -0000	1.15
+++ .cvsignore	17 May 2008 14:55:17 -0000	1.16
@@ -1 +1 @@
-pidgin-2.4.1.tar.bz2
+pidgin-2.4.2.tar.bz2


Index: pidgin.spec
===================================================================
RCS file: /cvs/pkgs/rpms/pidgin/F-9/pidgin.spec,v
retrieving revision 1.51
retrieving revision 1.52
diff -u -r1.51 -r1.52
--- pidgin.spec	1 Apr 2008 01:10:35 -0000	1.51
+++ pidgin.spec	17 May 2008 14:55:17 -0000	1.52
@@ -28,8 +28,8 @@
 %define perl_embed_separated	1
 
 Name:		pidgin
-Version:	2.4.1
-Release:	2%{?dist}
+Version:	2.4.2
+Release:	1%{?dist}
 License:        GPLv2+ and GPLv2 and MIT
 # GPLv2+ - libpurple, gnt, finch, pidgin, most prpls
 # GPLv2 - silc & novell prpls
@@ -41,8 +41,11 @@
 Provides:       gaim = 999:1
 ExcludeArch:    s390 s390x
 
-## Fedora pidgin defaults - Please Regenerate for Each Major Release
-# 1) run pidgin as new user 2) edit preferences 3) close 4) copy .purple/prefs.xml
+## Fedora pidgin defaults
+# Only needs regenerating if Pidgin breaks backwards compatibility with prefs.xml
+# 1) uninstall any non-default pidgin or libpurple plugins
+# 2) run pidgin as new user 3) edit preferences 4) close 5) copy .purple/prefs.xml
+# OR 1) edit manually
 # - enable ExtPlacement plugin
 # - enable History plugin
 # - enable Message Notification plugin
@@ -56,7 +59,7 @@
 
 
 ## Patches 0-99: Fedora specific or upstream wont accept
-Patch0: pidgin-2.0.0-beta7-reread-resolvconf.patch
+Patch0: pidgin-2.4.2-reread-resolvconf.patch
 
 ## Patches 100+: To be Included in Future Upstream
 
@@ -285,7 +288,7 @@
 %prep
 %setup -q
 ## Patches 0-99: Fedora specific or upstream wont accept
-%patch0 -p1
+%patch0 -p1 -b .resolv
 
 ## Patches 100+: To be Included in Future Upstream
 
@@ -306,6 +309,11 @@
 %else
 	SWITCHES="$SWITCHES --disable-perl"
 %endif
+%if %{evolution_integration}
+	SWITCHES="$SWITCHES --enable-gevolution"
+%else
+	SWITCHES="$SWITCHES --disable-gevolution"
+%endif
 %if %{dbus_integration}
 	SWITCHES="$SWITCHES --enable-dbus"
 %else
@@ -493,6 +501,14 @@
 
 
 %changelog
+* Sat May 17 2008 Stu Tomlinson <stu at nosnilmot.com> 2.4.2-1
+- 2.4.2
+
+* Tue May 13 2008 Stu Tomlinson <stu at nosnilmot.com> 2.4.1-3
+- Rebuild for new evolution-data-server
+- Clean up default prefs.xml
+- Enable nautilus integration plugin by default in prefs.xml (#242289)
+
 * Mon Mar 31 2008 Stu Tomlinson <stu at nosnilmot.com> 2.4.1-2
 - nss-devel no longer provides mozilla-nss-devel
 


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/pidgin/F-9/sources,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- sources	31 Mar 2008 21:38:36 -0000	1.15
+++ sources	17 May 2008 14:55:17 -0000	1.16
@@ -1 +1 @@
-ff015bb8bbdcc6a9b4ac954c355179d7  pidgin-2.4.1.tar.bz2
+2d10f9b6a5f0162cf88016ea2ca0a36d  pidgin-2.4.2.tar.bz2


--- pidgin-2.0.0-beta7-reread-resolvconf.patch DELETED ---




More information about the fedora-extras-commits mailing list