Bug#582998: pidgin-sipe: FTBFS: sipe.c:10050: error: missing initializer

2010-10-05 Thread Felix Geyer
 tags 582998 + patch
thanks

The attached patches fix the build error.

From 9c04de2fcb941178140fc97eea69d24bbc5a15bc Mon Sep 17 00:00:00 2001
From: Stefan Becker stefan.bec...@nokia.com
Date: Sat, 27 Mar 2010 21:14:07 +0200
Subject: [PATCH] Make it compile against purple 2.7.x API

Tested with latest im.pidgin.pidgin snapshot.
---
 src/core/sipe.c |3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/core/sipe.c b/src/core/sipe.c
index b6f54c4..aca7c5d 100644
--- a/src/core/sipe.c
+++ b/src/core/sipe.c
@@ -10334,6 +10334,9 @@ PurplePluginProtocolInfo prpl_info =
 #if PURPLE_VERSION_CHECK(2,6,0)
 	NULL,	/* initiate_media */
 	NULL,	/* get_media_caps */
+#if PURPLE_VERSION_CHECK(2,7,0)
+	NULL,	/* get_moods */
+#endif
 #endif
 #endif
 };
-- 
1.6.5.GIT
From 11bc71b3ab12bad4a90b425aa060ff471b4d741f Mon Sep 17 00:00:00 2001
From: Anibal Avelar aave...@cofradia.org
Date: Mon, 28 Jun 2010 00:04:03 -0500
Subject: [PATCH] Make it compile against the final purple 2.7.0 API

Two more hooks were added since the last check :-(
---
 src/core/sipe.c |2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/core/sipe.c b/src/core/sipe.c
index 45a9015..36c2adb 100644
--- a/src/core/sipe.c
+++ b/src/core/sipe.c
@@ -10683,6 +10683,8 @@ PurplePluginProtocolInfo prpl_info =
 	NULL,	/* get_media_caps */
 #if PURPLE_VERSION_CHECK(2,7,0)
 	NULL,	/* get_moods */
+NULL,   /* set_public_alias */
+NULL,   /* get_public_alias */
 #endif
 #endif
 #endif
-- 
1.6.5.GIT


Bug#582998: pidgin-sipe: FTBFS: sipe.c:10050: error: missing initializer

2010-07-16 Thread Hideki Yamane
Hi,

 This version has FTBFS bug but newer upstream release 1.10.1 has
 no problem to build, with adjusting Build-Depends to add libxml2-dev.

 Please try to fix this FTBFS, or consider to update.
 # Sorry, I don't investigate there is incompatibility or not.

-- 
Regards,

 Hideki Yamane henrich @ debian.or.jp/org
 http://wiki.debian.org/HidekiYamane



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#582998: pidgin-sipe: FTBFS: sipe.c:10050: error: missing initializer

2010-05-25 Thread Lucas Nussbaum
Source: pidgin-sipe
Version: 1.9.0-1
Severity: serious
Tags: squeeze sid
User: debian...@lists.debian.org
Usertags: qa-ftbfs-20100524 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part:
 /bin/sh ../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. 
 -I../.. -Werror -Wall -Wextra -I/usr/include/glib-2.0 
 -I/usr/lib/glib-2.0/include   -I/usr/include/libpurple 
 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   
 -DLOCALEDIR=\/usr/share/locale\  -DPURPLE_PLUGINS -g -O2 -g -Wall -O2 -c -o 
 libsipe_la-sipe.lo `test -f 'sipe.c' || echo './'`sipe.c
 libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -Werror -Wall -Wextra 
 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libpurple 
 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include 
 -DLOCALEDIR=\/usr/share/locale\ -DPURPLE_PLUGINS -g -O2 -g -Wall -O2 -c 
 sipe.c  -fPIC -DPIC -o .libs/libsipe_la-sipe.o
 cc1: warnings being treated as errors
 sipe.c:10050: error: missing initializer
 sipe.c:10050: error: (near initialization for 'prpl_info.get_moods')
 make[4]: *** [libsipe_la-sipe.lo] Error 1

The full build log is available from:
   
http://people.debian.org/~lucas/logs/2010/05/24/pidgin-sipe_1.9.0-1_lsid64.buildlog

A list of current common problems and possible solutions is available at 
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on about 50 AMD64 nodes
of the Grid'5000 platform, using a clean chroot.  Internet was not
accessible from the build systems.

-- 
| Lucas Nussbaum
| lu...@lucas-nussbaum.net   http://www.lucas-nussbaum.net/ |
| jabber: lu...@nussbaum.fr GPG: 1024D/023B3F4F |



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org