pidgin:add pisi-2.0

This commit is contained in:
alihanozturk
2015-11-21 01:18:48 +02:00
parent 17bad92faf
commit 1037801005
21 changed files with 3642 additions and 0 deletions
@@ -0,0 +1,23 @@
--- pidgin-2.10.0/libpurple/protocols/gg/gg.c.orig 2011-08-18 10:51:03.000000000 +0200
+++ pidgin-2.10.0/libpurple/protocols/gg/gg.c 2011-08-21 09:54:41.000000000 +0200
@@ -533,6 +533,8 @@
purple_request_fields_get_string(fields, "firstname"));
form->nickname = g_strdup(
purple_request_fields_get_string(fields, "nickname"));
+ form->uin = g_strdup(
+ purple_request_fields_get_string(fields, "uin"));
form->city = g_strdup(
purple_request_fields_get_string(fields, "city"));
form->birthyear = g_strdup(
@@ -586,6 +588,11 @@
purple_request_field_string_set_masked(field, FALSE);
purple_request_field_group_add_field(group, field);
+ field = purple_request_field_string_new("uin",
+ _("UIN"), NULL, FALSE);
+ purple_request_field_string_set_masked(field, FALSE);
+ purple_request_field_group_add_field(group, field);
+
field = purple_request_field_string_new("city",
_("City"), NULL, FALSE);
purple_request_field_string_set_masked(field, FALSE);
@@ -0,0 +1,20 @@
--- libpurple/protocols/jabber/Makefile.am.orig 2010-02-16 10:34:06.000000000 +0100
+++ libpurple/protocols/jabber/Makefile.am 2010-02-18 10:31:46.828001077 +0100
@@ -80,6 +80,7 @@
AM_CFLAGS = $(st)
+libjabber_la_LDFLAGS = -module -avoid-version
libxmpp_la_LDFLAGS = -module -avoid-version
if USE_CYRUS_SASL
--- libpurple/protocols/oscar/Makefile.am.orig 2010-02-16 10:34:06.000000000 +0100
+++ libpurple/protocols/oscar/Makefile.am 2010-02-18 10:31:46.828001077 +0100
@@ -50,6 +50,7 @@
libaim_la_LDFLAGS = -module -avoid-version
libicq_la_LDFLAGS = -module -avoid-version
+liboscar_la_LDFLAGS = -module -avoid-version
if STATIC_OSCAR
st = -DPURPLE_STATIC_PRPL
@@ -0,0 +1,20 @@
diff -p -up pidgin-2.7.0/configure.ac~ pidgin-2.7.0/configure.ac
--- pidgin-2.7.0/configure.ac~ 2010-05-13 22:24:35.000000000 +0200
+++ pidgin-2.7.0/configure.ac 2010-05-13 22:28:11.000000000 +0200
@@ -1522,7 +1522,7 @@ dnl # Check for Mono support
dnl #######################################################################
AC_ARG_ENABLE(mono, [AC_HELP_STRING([--enable-mono], [compile with Mono runtime support (experimental)])], , enable_mono=no)
if test x"$enable_mono" = x"yes" ; then
- PKG_CHECK_MODULES(MONO, mono, [
+ PKG_CHECK_MODULES(MONO, mono glib-2.0 gthread-2.0, [
AC_SUBST(MONO_CFLAGS)
AC_SUBST(MONO_LIBS)
enable_mono=yes
diff -p -up pidgin-2.7.0/libpurple/plugins/mono/loader/status-glue.c~ pidgin-2.7.0/libpurple/plugins/mono/loader/status-glue.c
--- pidgin-2.7.0/libpurple/plugins/mono/loader/status-glue.c~ 2010-05-12 06:36:11.000000000 +0200
+++ pidgin-2.7.0/libpurple/plugins/mono/loader/status-glue.c 2010-05-13 22:33:45.000000000 +0200
@@ -1,3 +1,4 @@
+#include <glib.h>
#include "status.h"
#include "mono-helper.h"
#include "mono-glue.h"
@@ -0,0 +1,24 @@
diff -p -up pidgin-2.7.0/pidgin/pixmaps/emotes/default/24/theme.smiley pidgin-2.7.0/pidgin/pixmaps/emotes/default/24/theme
--- pidgin-2.7.0/pidgin/pixmaps/emotes/default/24/theme.smiley 2010-05-12 06:37:31.000000000 +0200
+++ pidgin-2.7.0/pidgin/pixmaps/emotes/default/24/theme 2010-05-13 21:15:22.000000000 +0200
@@ -6,9 +6,9 @@ Author=Hylke Bons
# Default smileys
[default]
-happy.png :) :-)
+happy.png :) :-) =)
excited.png :-D :-d :D :d
-sad.png :-( :(
+sad.png :-( :( =(
wink.png ;-) ;)
tongue.png :P :p :-P :-p
shocked.png =-O =-o
@@ -16,7 +16,7 @@ kiss.png :-*
glasses-cool.png 8-)
embarrassed.png :-[
crying.png :'( :'-(
-thinking.png :-/ :-\\
+thinking.png :-/ :-\ :\
angel.png O:-) o:-)
shut-mouth.png :-X
moneymouth.png :-$
@@ -0,0 +1,14 @@
--- pidgin-2.8.0/libpurple/protocols/gg/gg.c.orig 2011-06-08 03:10:11.000000000 +0200
+++ pidgin-2.8.0/libpurple/protocols/gg/gg.c 2011-06-08 03:13:44.000000000 +0200
@@ -1816,6 +1816,11 @@
case GG_EVENT_PUBDIR50_SEARCH_REPLY:
ggp_pubdir_reply_handler(gc, ev->event.pubdir50);
break;
+ case GG_EVENT_DISCONNECT:
+ purple_connection_error_reason (gc,
+ PURPLE_CONNECTION_ERROR_OTHER_ERROR,
+ _("Server Disconnect."));
+ break;
case GG_EVENT_TYPING_NOTIFICATION:
ggp_typing_notification_handler(gc, ev->event.typing_notification.uin,
ev->event.typing_notification.length);
@@ -0,0 +1,11 @@
--- pidgin-2.8.0/libpurple/network.c.reread-resolvconf 2011-06-09 16:30:04.764927571 +0200
+++ pidgin-2.8.0/libpurple/network.c 2011-06-09 16:31:29.356249181 +0200
@@ -874,8 +874,6 @@
#else
case NM_STATE_CONNECTED:
#endif
- /* 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 */