mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
network/pidgin-sipe: Updated for version 1.13.3.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
This commit is contained in:
parent
f9cde997c4
commit
7adfc7d91b
3 changed files with 4 additions and 67 deletions
|
@ -23,7 +23,7 @@
|
|||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
PRGNAM=pidgin-sipe
|
||||
VERSION=${VERSION:-1.11.2}
|
||||
VERSION=${VERSION:-1.13.3}
|
||||
BUILD=${BUILD:-2}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
|
@ -71,9 +71,6 @@ find . \
|
|||
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
|
||||
-exec chmod 644 {} \;
|
||||
|
||||
# ArchLinux patch: add support for pidgin >= 2.8.0
|
||||
patch -p1 < $CWD/sipe-purple-2.8.0.patch
|
||||
|
||||
CFLAGS="$SLKCFLAGS" \
|
||||
CXXFLAGS="$SLKCFLAGS" \
|
||||
./configure \
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="pidgin-sipe"
|
||||
VERSION="1.11.2"
|
||||
VERSION="1.13.3"
|
||||
HOMEPAGE="http://pidgin-sipe.sourceforge.net/"
|
||||
DOWNLOAD="http://downloads.sourceforge.net/sipe/pidgin-sipe-1.11.2.tar.bz2"
|
||||
MD5SUM="55e9c3f36a7e0aca39dd451d2a82605f"
|
||||
DOWNLOAD="http://downloads.sourceforge.net/sipe/pidgin-sipe-1.13.3.tar.bz2"
|
||||
MD5SUM="7d115de9d9029c9eebd0a3647dbf27d5"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES=""
|
||||
|
|
|
@ -1,60 +0,0 @@
|
|||
diff -drupN pidgin-sipe-1.11.2/src/purple/purple-dnsquery.c pidgin-sipe-1.11.2-new/src/purple/purple-dnsquery.c
|
||||
--- pidgin-sipe-1.11.2/src/purple/purple-dnsquery.c 2010-11-03 05:13:51.000000000 +0100
|
||||
+++ pidgin-sipe-1.11.2-new/src/purple/purple-dnsquery.c 2011-06-11 00:14:57.000000000 +0200
|
||||
@@ -22,6 +22,10 @@
|
||||
|
||||
#include "glib.h"
|
||||
|
||||
+#include "version.h"
|
||||
+#if PURPLE_VERSION_CHECK(2,8,0)
|
||||
+#include "account.h"
|
||||
+#endif
|
||||
#include "dnssrv.h"
|
||||
|
||||
#include "sipe-backend.h"
|
||||
diff -drupN pidgin-sipe-1.11.2/src/purple/purple-plugin.c pidgin-sipe-1.11.2-new/src/purple/purple-plugin.c
|
||||
--- pidgin-sipe-1.11.2/src/purple/purple-plugin.c 2010-11-03 05:13:51.000000000 +0100
|
||||
+++ pidgin-sipe-1.11.2-new/src/purple/purple-plugin.c 2011-06-10 23:58:20.000000000 +0200
|
||||
@@ -506,6 +506,10 @@ static PurplePluginProtocolInfo prpl_inf
|
||||
NULL, /* get_moods */
|
||||
NULL, /* set_public_alias */
|
||||
NULL, /* get_public_alias */
|
||||
+#if PURPLE_VERSION_CHECK(2,8,0)
|
||||
+ NULL, /* add_buddy_with_invite */
|
||||
+ NULL, /* add_buddies_with_invite */
|
||||
+#endif
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
diff -drupN pidgin-sipe-1.11.2/src/purple/purple-private.h pidgin-sipe-1.11.2-new/src/purple/purple-private.h
|
||||
--- pidgin-sipe-1.11.2/src/purple/purple-private.h 2010-11-03 05:13:51.000000000 +0100
|
||||
+++ pidgin-sipe-1.11.2-new/src/purple/purple-private.h 2011-06-11 00:14:49.000000000 +0200
|
||||
@@ -20,18 +20,28 @@
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
+#include "version.h"
|
||||
+
|
||||
/* Forward declarations */
|
||||
struct sipe_core_public;
|
||||
struct _PurpleAccount;
|
||||
struct _PurpleConnection;
|
||||
+#if PURPLE_VERSION_CHECK(2,8,0)
|
||||
+struct _PurpleSrvTxtQueryData;
|
||||
+#else
|
||||
struct _PurpleSrvQueryData;
|
||||
+#endif
|
||||
struct _PurpleXfer;
|
||||
|
||||
struct sipe_backend_private {
|
||||
struct sipe_core_public *public;
|
||||
struct _PurpleConnection *gc;
|
||||
struct _PurpleAccount *account;
|
||||
+#if PURPLE_VERSION_CHECK(2,8,0)
|
||||
+ struct _PurpleSrvTxtQueryData *dns_query;
|
||||
+#else
|
||||
struct _PurpleSrvQueryData *dns_query;
|
||||
+#endif
|
||||
time_t last_keepalive;
|
||||
};
|
||||
|
Loading…
Reference in a new issue