summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChí-Thanh Christopher Nguyễn <chithanh@gentoo.org>2009-03-24 14:48:34 +0000
committerChí-Thanh Christopher Nguyễn <chithanh@gentoo.org>2009-03-24 14:48:34 +0000
commit2b66bf795425c7fe906262e2fb0cdde7c4cbbe9a (patch)
tree7149dbb99eaaaf31b25574c5b2f7f9e0b853749c /net-im/qutecom
parentgames-emulation/gr-lida: eapi2fy gr-lida ebuild regarding qt4.eclass changes.... (diff)
downloadsunrise-2b66bf795425c7fe906262e2fb0cdde7c4cbbe9a.tar.gz
sunrise-2b66bf795425c7fe906262e2fb0cdde7c4cbbe9a.tar.bz2
sunrise-2b66bf795425c7fe906262e2fb0cdde7c4cbbe9a.zip
net-im/qutecom: update pidgin dependency and add patch for gnutls, unbreak double cmake fix+workaround, update DESCRIPTION
svn path=/sunrise/; revision=8136
Diffstat (limited to 'net-im/qutecom')
-rw-r--r--net-im/qutecom/ChangeLog6
-rw-r--r--net-im/qutecom/Manifest5
-rw-r--r--net-im/qutecom/files/qutecom_libpurple_gnutls.patch60
-rw-r--r--net-im/qutecom/qutecom-2.2_rc3-r1.ebuild (renamed from net-im/qutecom/qutecom-2.2_rc3.ebuild)9
4 files changed, 72 insertions, 8 deletions
diff --git a/net-im/qutecom/ChangeLog b/net-im/qutecom/ChangeLog
index ecb8ec34c..8e5449c13 100644
--- a/net-im/qutecom/ChangeLog
+++ b/net-im/qutecom/ChangeLog
@@ -2,6 +2,12 @@
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 24 Mar 2009; Chi-Thanh Christopher Nguyen (chithead)
+ <chithanh@cs.tu-berlin.de> -qutecom-2.2_rc3.ebuild,
+ +qutecom-2.2_rc3-r1.ebuild, +files/qutecom_libpurple_gnutls.patch:
+ update pidgin dependency and add patch for gnutls, unbreak double cmake
+ fix+workaround, update DESCRIPTION
+
05 Mar 2009; Mounir Lamouri (volkmar) <mounir.lamouri@gmail.com>
qutecom-2.2_rc3.ebuild:
Fixing build and QA
diff --git a/net-im/qutecom/Manifest b/net-im/qutecom/Manifest
index 9b702b571..177fe039b 100644
--- a/net-im/qutecom/Manifest
+++ b/net-im/qutecom/Manifest
@@ -1,6 +1,7 @@
+AUX qutecom_libpurple_gnutls.patch 1689 RMD160 b53feb582f9a2bab53359d5d3356ee37f888732d SHA1 96d8a9b942616a81e5ca40f1e9decc00ad5114bd SHA256 d55aaf2eabd98a3dffa0efc7b0dca7e8bad90219addcbcad4cc8a7072b1e31ec
AUX qutecom_wifo_phapi.patch 597 RMD160 e059c264ec82ea5f8492001660fd80461ae95981 SHA1 0f1feb7cc284500397af7465bfca3f31fe48c5b7 SHA256 02679323227cc20c761d1060259ce6bdb3ab67543f83624e2ef6e159f75d2f43
DIST qutecom-2.2-RC3.tar.gz 53402144 RMD160 7602d379ecefa3eb0a16bfc68a10acac7800fb7f SHA1 b92fe77ba31e58a9ab73de9d69ec2a594873e318 SHA256 51a8f54815e540bd5d5dfc471873bfc92af8b7d0bdf6f299136dacec72fefcf3
DIST qutecom_googlebreakpad_64.patch 85647 RMD160 39879342bc60a49e773e2c0d52fb11ed1dafd86a SHA1 68c10d7dd25a8bed0153e7cabec0927507b2f3d4 SHA256 5160d1d4cdd41e82a8c471cc7f543e7ba3809d4075b660038b2d420963a9049f
-EBUILD qutecom-2.2_rc3.ebuild 2391 RMD160 24de2c57942223d55c106c650d4a03c2fbcb12c8 SHA1 f701b677d16c335b56fa0364e66fce4491eb2294 SHA256 efb874eb7e2ba851abd3974aad284561771e02776ca93f9d5668229dae709a2a
-MISC ChangeLog 2925 RMD160 6939687e92b92746f073c53283c59bd96fb9f1a3 SHA1 d08695e3ac29b97cfe11f9554f355a8646f46839 SHA256 7d9dc9cf4c5023eba489d54961db90c63dafd99deb442bcb619f288383236efa
+EBUILD qutecom-2.2_rc3-r1.ebuild 2271 RMD160 0a7b641c7ab6e0323b2812143109b477bb8f1585 SHA1 08328b77f6a59f94446472087b8a270f716e2004 SHA256 891a91cefe7c0a9d1a61be9d4b5a2d02da1f613ac29e14eed21d57b4aad918a9
+MISC ChangeLog 3215 RMD160 b799008938323b4f075038e4f3e8fbd59a2bbcc1 SHA1 d5f55d23d0134240996fbe0310df7354c28fc07c SHA256 39cdc9a75ba141052231deecff6ac2fab1575c130ee14279cb186472dcbfd82a
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
diff --git a/net-im/qutecom/files/qutecom_libpurple_gnutls.patch b/net-im/qutecom/files/qutecom_libpurple_gnutls.patch
new file mode 100644
index 000000000..2bd0a7e21
--- /dev/null
+++ b/net-im/qutecom/files/qutecom_libpurple_gnutls.patch
@@ -0,0 +1,60 @@
+
+# HG changeset patch
+# User ludovico.cavedon@gmail.com
+# Date 1237671131 25200
+# Node ID 2260663e58c478857668073be3b571e9fe96b375
+# Parent 2a9fda06d182b39f9ca5f2ddf9be102226114272
+Accept SSL certificate with wrong hostname
+
+--- a/libs/imwrapper/src/purple/PurpleIMFactory.cpp Sat Mar 21 14:27:28 2009 -0700
++++ b/libs/imwrapper/src/purple/PurpleIMFactory.cpp Sat Mar 21 14:32:11 2009 -0700
+@@ -140,6 +140,19 @@
+ return closure->result;
+ }
+
++static void* purple_wg_request_action(const char *title, const char *primary,
++ const char *secondary, int default_action,
++ PurpleAccount *account, const char *who,
++ PurpleConversation *conv, void *user_data, size_t action_count,
++ va_list actions) {
++ const char *text = va_arg(actions, const char *);
++ PurpleRequestActionCb callback = va_arg(actions, PurpleRequestActionCb);
++
++ LOG_WARN("requested action: %s: %s, %s. Default action: %s", title, primary, secondary, text);
++ callback(user_data, 0);
++ return NULL;
++}
++
+ gpointer PurpleMainEventLoop(gpointer data) {
+ if (gMainLoop) {
+ LOG_FATAL("gMainLoop already created");
+@@ -170,6 +183,19 @@
+ g_source_remove,
+ purple_wg_input_add,
+ g_source_remove
++};
++
++static PurpleRequestUiOps request_wg_ops = {
++ NULL,
++ NULL,
++ purple_wg_request_action,
++ NULL,
++ NULL,
++ NULL,
++ NULL,
++ NULL,
++ NULL,
++ NULL
+ };
+
+ bool PurpleIMFactory::equals(const IMAccount & imAccount, std::string login, EnumIMProtocol::IMProtocol protocol) {
+@@ -236,6 +262,8 @@
+ purple_plugins_add_search_path("plugins");
+ g_free(search_path);
+
++ purple_request_set_ui_ops(&request_wg_ops);
++
+ if (!purple_core_init("Wengo PURPLE")) {
+ LOG_WARN("Initialization of the Purple core failed\n");
+ }
+
diff --git a/net-im/qutecom/qutecom-2.2_rc3.ebuild b/net-im/qutecom/qutecom-2.2_rc3-r1.ebuild
index 624604d43..8099e034a 100644
--- a/net-im/qutecom/qutecom-2.2_rc3.ebuild
+++ b/net-im/qutecom/qutecom-2.2_rc3-r1.ebuild
@@ -8,7 +8,7 @@ inherit cmake-utils eutils
MY_P=${P/_rc/-RC}
-DESCRIPTION="VoIP client featuring the SIP protocol"
+DESCRIPTION="Multi-protocol instant messenger and VoIP client"
HOMEPAGE="http://www.qutecom.com/"
SRC_URI="http://www.qutecom.com/downloads/${MY_P}.tar.gz http://omploader.org/vMTFvMg/qutecom_googlebreakpad_64.patch"
@@ -26,7 +26,7 @@ DEPEND=">=dev-libs/boost-1.34
portaudio? ( media-libs/portaudio )
media-libs/speex
media-video/ffmpeg
- net-im/pidgin
+ net-im/pidgin[gnutls]
net-libs/gnutls
>=net-libs/libosip-3
>=net-libs/libeXosip-3
@@ -47,6 +47,7 @@ src_unpack() {
src_prepare() {
epatch "${FILESDIR}"/${PN}_wifo_phapi.patch
+ epatch "${FILESDIR}"/${PN}_libpurple_gnutls.patch
epatch "${DISTDIR}"/${PN}_googlebreakpad_64.patch
# fix broken CMake conf file
@@ -78,8 +79,4 @@ src_install() {
domenu wengophone/res/qutecom.desktop || die "domenu failed"
doicon wengophone/res/wengophone_64x64.png || die "doicon failed"
- # workaround broken install scripts
- cd "${WORKDIR}"/${PN}_build/release || die "cd failed"
- insinto /usr/share/${PN}
- doins -r {chat,css,config,lang,pics,sounds} || die "doins -r failed"
}