diff options
Diffstat (limited to 'net-libs/meanwhile')
-rw-r--r-- | net-libs/meanwhile/Manifest | 7 | ||||
-rw-r--r-- | net-libs/meanwhile/files/meanwhile-1.0.2-glib2.31.patch | 213 | ||||
-rw-r--r-- | net-libs/meanwhile/files/meanwhile-1.0.2-presence.patch | 42 | ||||
-rw-r--r-- | net-libs/meanwhile/meanwhile-1.0.2-r1.ebuild | 45 | ||||
-rw-r--r-- | net-libs/meanwhile/metadata.xml | 8 |
5 files changed, 315 insertions, 0 deletions
diff --git a/net-libs/meanwhile/Manifest b/net-libs/meanwhile/Manifest new file mode 100644 index 000000000000..5cee54f21153 --- /dev/null +++ b/net-libs/meanwhile/Manifest @@ -0,0 +1,7 @@ +AUX meanwhile-1.0.2-glib2.31.patch 6461 SHA256 d69f828a4ae918ba1860804e427fd1302c745d643f24902fcc94e49c823b6c0a SHA512 b22a45ff231f33294808e65dd0e0461810be26078d94493c56e3e0303fa9d5606f7916f14edee7f94a2b78574300ba76df433b9e3c1ba0b5df3da0d07aa9ca70 WHIRLPOOL c6647358b8c9200ce4c1ccb0797b0b4865a19f8d3cad258beff11cafb630faf868b053c6b290a24d0fb5caefd0248f94279bd2cd331b27e8fc07b12efd3c2b0f +AUX meanwhile-1.0.2-presence.patch 1163 SHA256 7c1e2bd33f7531b84e8d401266d81b8315986f3ff916e451c40da0e25d0b1467 SHA512 f4caf5f727464b044ed533abcb3929227bc55cba4132b55587411ae5c78c320c916924c5b9228a34634af68f4a00d8103616c64b4b77f04e15f66d8ff62dbbd7 WHIRLPOOL f9204a7c77d0da4a2697d3bc90d0e7c669147f2524153d5a85a8de2bddf8203329a5f06129961cc48c81a031ad97645fb201b250430de420a4ce5d4f2e767b0d +DIST meanwhile-1.0.2.tar.gz 479325 SHA256 38a8059eaa549cbcb45ca0a5b453e9608ceadab360db2ae14581fb22ddabdf23 SHA512 ba356124352ed522bc4c62282e4267960e0d3751c990cc422957ae263c70932264dee2d5e3dfe436325ad53f1833ff541eda4b36a6b78441374256ef54c786e6 WHIRLPOOL 2edce25025baa4c2aecb534a8f0417687b97de808b2fac09bd8370e081a18d42e69f67279e7a6e20b7f06952ab654fb2b7caf63ac3a902b00088127863cd48c1 +EBUILD meanwhile-1.0.2-r1.ebuild 1042 SHA256 d6de426c9dfb157d453f3ad5cade4963a39e1673552fe81b83bc724f264b156d SHA512 01b82356ffb6d4834c3f538ffcb4936be05e4413a43837acebd8bfee3d1b2e26c76c86343d43ecf322e988189a58058d345a536095a739db00ffda0c73607ac9 WHIRLPOOL 2c697b0088d9f8795f30d6946a5fe3be2770b281279fb56df7081a366629da55de52b5eebc80d3acbf8d74baac85d2bbe2ae6c81f9ce8d90a6664b6ee1be1dca +MISC ChangeLog 2834 SHA256 4d7dd07714408a00a830ee8ec523dfad08ac59ce9a6ad6c2b98f26419eed82b0 SHA512 63eba2bb820cd597b2968cb7d8e3ae016e9ab4aa3129f63d70fb3199fb54b42593dcdd210186802146c93250ba05de30444920de5320f97873817e2e57fb6401 WHIRLPOOL 8c8c42fe49e2bcc419e2b009b9760084175e57a706265c678d703827d169569b6bd396daeb2eb01eae0b3a42a6098b61fb221a1578eb2103da463d88850f8aa4 +MISC ChangeLog-2015 8075 SHA256 5bf15014a48bb1f1258b8d2ffbdbeb7a687b6e9c1fded33ef351ffd091d270f6 SHA512 8cc1896fc4b064f60e3ceb1c1a115807e19b5ce767c66f8334f5dbf5708e719dba028c2fd5f63e1d641896ef434516f99c2cbca4537e0d9fe1db2b9b9d43a50f WHIRLPOOL 951ad7df237eea3a14dd0a62b94c4ca58105436bfdd01c38aeab867cd4180cc888cdeb87b192c7f11367b47100fd587142ec2d9d18a948407e084933b5bb47bf +MISC metadata.xml 246 SHA256 cffae0f8528ae844e9208e83c1d928cb5f3568fcc8c52bbcac99473590781dc4 SHA512 9131560c103b0fbf21dae354b0a00ac68bee1b326a3e38b3c18fa7396b4369c4c29a0e550344cb219fd48c94b2d1c21b185a329c992096c0693ea2bf24aa31b2 WHIRLPOOL 0ae9f7d52a9091128a041436c67461d68a9ba58c075ed56b57c7603def7408af44e2e4ad1ad25236394df90c32538044c8acef5340537e638b41664c3b5cf1f7 diff --git a/net-libs/meanwhile/files/meanwhile-1.0.2-glib2.31.patch b/net-libs/meanwhile/files/meanwhile-1.0.2-glib2.31.patch new file mode 100644 index 000000000000..4ffcc3672fc7 --- /dev/null +++ b/net-libs/meanwhile/files/meanwhile-1.0.2-glib2.31.patch @@ -0,0 +1,213 @@ +diff -uNr meanwhile-1.0.2/src/channel.c meanwhile-1.0.2-r1/src/channel.c +--- meanwhile-1.0.2/src/channel.c 2005-12-08 23:04:46.000000000 +0100 ++++ meanwhile-1.0.2-r1/src/channel.c 2012-03-20 21:15:03.000000000 +0100 +@@ -19,8 +19,6 @@ + */ + + #include <glib.h> +-#include <glib/ghash.h> +-#include <glib/glist.h> + #include <string.h> + + #include "mw_channel.h" +diff -uNr meanwhile-1.0.2/src/mw_debug.c meanwhile-1.0.2-r1/src/mw_debug.c +--- meanwhile-1.0.2/src/mw_debug.c 2005-12-03 04:46:10.000000000 +0100 ++++ meanwhile-1.0.2-r1/src/mw_debug.c 2012-03-20 21:12:09.000000000 +0100 +@@ -19,7 +19,7 @@ + */ + + +-#include <glib/gstring.h> ++#include <glib.h> + + #include "mw_debug.h" + +diff -uNr meanwhile-1.0.2/src/mw_message.h meanwhile-1.0.2-r1/src/mw_message.h +--- meanwhile-1.0.2/src/mw_message.h 2005-12-15 01:30:28.000000000 +0100 ++++ meanwhile-1.0.2-r1/src/mw_message.h 2012-03-20 21:06:28.000000000 +0100 +@@ -22,7 +22,7 @@ + #define _MW_MESSAGE_H + + +-#include <glib/glist.h> ++#include <glib.h> + #include "mw_common.h" + + +diff -uNr meanwhile-1.0.2/src/mw_srvc_conf.h meanwhile-1.0.2-r1/src/mw_srvc_conf.h +--- meanwhile-1.0.2/src/mw_srvc_conf.h 2005-12-15 01:30:28.000000000 +0100 ++++ meanwhile-1.0.2-r1/src/mw_srvc_conf.h 2012-03-20 21:08:01.000000000 +0100 +@@ -22,7 +22,7 @@ + #define _MW_SRVC_CONF_H + + +-#include <glib/glist.h> ++#include <glib.h> + #include "mw_common.h" + + +diff -uNr meanwhile-1.0.2/src/mw_srvc_dir.h meanwhile-1.0.2-r1/src/mw_srvc_dir.h +--- meanwhile-1.0.2/src/mw_srvc_dir.h 2005-12-15 01:30:28.000000000 +0100 ++++ meanwhile-1.0.2-r1/src/mw_srvc_dir.h 2012-03-20 21:08:23.000000000 +0100 +@@ -22,7 +22,6 @@ + + + #include <glib.h> +-#include <glib/glist.h> + + + #ifdef __cplusplus +diff -uNr meanwhile-1.0.2/src/mw_srvc_place.h meanwhile-1.0.2-r1/src/mw_srvc_place.h +--- meanwhile-1.0.2/src/mw_srvc_place.h 2005-12-15 01:30:28.000000000 +0100 ++++ meanwhile-1.0.2-r1/src/mw_srvc_place.h 2012-03-20 21:09:51.000000000 +0100 +@@ -22,7 +22,7 @@ + #define _MW_SRVC_PLACE_H + + +-#include <glib/glist.h> ++#include <glib.h> + #include "mw_common.h" + + +diff -uNr meanwhile-1.0.2/src/mw_srvc_resolve.h meanwhile-1.0.2-r1/src/mw_srvc_resolve.h +--- meanwhile-1.0.2/src/mw_srvc_resolve.h 2005-12-15 01:30:28.000000000 +0100 ++++ meanwhile-1.0.2-r1/src/mw_srvc_resolve.h 2012-03-20 21:10:54.000000000 +0100 +@@ -23,7 +23,6 @@ + + + #include <glib.h> +-#include <glib/glist.h> + + + #ifdef __cplusplus +diff -uNr meanwhile-1.0.2/src/mw_st_list.h meanwhile-1.0.2-r1/src/mw_st_list.h +--- meanwhile-1.0.2/src/mw_st_list.h 2005-12-15 01:30:28.000000000 +0100 ++++ meanwhile-1.0.2-r1/src/mw_st_list.h 2012-03-20 21:11:27.000000000 +0100 +@@ -30,7 +30,6 @@ + + + #include <glib.h> +-#include <glib/glist.h> + #include "mw_common.h" + + +diff -uNr meanwhile-1.0.2/src/mw_util.h meanwhile-1.0.2-r1/src/mw_util.h +--- meanwhile-1.0.2/src/mw_util.h 2004-12-28 21:41:26.000000000 +0100 ++++ meanwhile-1.0.2-r1/src/mw_util.h 2012-03-20 21:06:54.000000000 +0100 +@@ -23,8 +23,6 @@ + + + #include <glib.h> +-#include <glib/ghash.h> +-#include <glib/glist.h> + + + #define map_guint_new() \ +diff -uNr meanwhile-1.0.2/src/srvc_aware.c meanwhile-1.0.2-r1/src/srvc_aware.c +--- meanwhile-1.0.2/src/srvc_aware.c 2005-12-08 23:02:11.000000000 +0100 ++++ meanwhile-1.0.2-r1/src/srvc_aware.c 2012-03-20 21:07:22.000000000 +0100 +@@ -19,8 +19,6 @@ + */ + + #include <glib.h> +-#include <glib/ghash.h> +-#include <glib/glist.h> + #include <string.h> + + #include "mw_channel.h" +diff -uNr meanwhile-1.0.2/src/srvc_conf.c meanwhile-1.0.2-r1/src/srvc_conf.c +--- meanwhile-1.0.2/src/srvc_conf.c 2005-12-28 03:46:54.000000000 +0100 ++++ meanwhile-1.0.2-r1/src/srvc_conf.c 2012-03-20 21:07:42.000000000 +0100 +@@ -19,8 +19,6 @@ + */ + + #include <glib.h> +-#include <glib/ghash.h> +-#include <glib/glist.h> + + #include <stdio.h> + #include <stdlib.h> +diff -uNr meanwhile-1.0.2/src/srvc_dir.c meanwhile-1.0.2-r1/src/srvc_dir.c +--- meanwhile-1.0.2/src/srvc_dir.c 2005-09-15 22:30:20.000000000 +0200 ++++ meanwhile-1.0.2-r1/src/srvc_dir.c 2012-03-20 21:08:44.000000000 +0100 +@@ -18,7 +18,7 @@ + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + +-#include <glib/ghash.h> ++#include <glib.h> + + #include "mw_channel.h" + #include "mw_common.h" +diff -uNr meanwhile-1.0.2/src/srvc_ft.c meanwhile-1.0.2-r1/src/srvc_ft.c +--- meanwhile-1.0.2/src/srvc_ft.c 2005-09-15 22:30:37.000000000 +0200 ++++ meanwhile-1.0.2-r1/src/srvc_ft.c 2012-03-20 21:09:05.000000000 +0100 +@@ -19,7 +19,7 @@ + */ + + +-#include <glib/glist.h> ++#include <glib.h> + + #include "mw_channel.h" + #include "mw_common.h" +diff -uNr meanwhile-1.0.2/src/srvc_im.c meanwhile-1.0.2-r1/src/srvc_im.c +--- meanwhile-1.0.2/src/srvc_im.c 2005-12-28 03:46:54.000000000 +0100 ++++ meanwhile-1.0.2-r1/src/srvc_im.c 2012-03-20 21:09:31.000000000 +0100 +@@ -19,7 +19,6 @@ + */ + + #include <glib.h> +-#include <glib/glist.h> + #include <string.h> + + #include "mw_channel.h" +diff -uNr meanwhile-1.0.2/src/srvc_place.c meanwhile-1.0.2-r1/src/srvc_place.c +--- meanwhile-1.0.2/src/srvc_place.c 2005-12-03 03:00:29.000000000 +0100 ++++ meanwhile-1.0.2-r1/src/srvc_place.c 2012-03-20 21:10:05.000000000 +0100 +@@ -19,8 +19,7 @@ + */ + + #include <glib.h> +-#include <glib/ghash.h> +-#include <glib/glist.h> ++ + + #include <stdio.h> + #include <stdlib.h> +diff -uNr meanwhile-1.0.2/src/srvc_resolve.c meanwhile-1.0.2-r1/src/srvc_resolve.c +--- meanwhile-1.0.2/src/srvc_resolve.c 2005-10-27 02:10:06.000000000 +0200 ++++ meanwhile-1.0.2-r1/src/srvc_resolve.c 2012-03-20 21:10:21.000000000 +0100 +@@ -18,7 +18,7 @@ + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + +-#include <glib/ghash.h> ++#include <glib.h> + + #include "mw_channel.h" + #include "mw_common.h" +diff -uNr meanwhile-1.0.2/src/srvc_store.c meanwhile-1.0.2-r1/src/srvc_store.c +--- meanwhile-1.0.2/src/srvc_store.c 2005-11-19 02:52:42.000000000 +0100 ++++ meanwhile-1.0.2-r1/src/srvc_store.c 2012-03-20 21:11:13.000000000 +0100 +@@ -18,7 +18,7 @@ + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + +-#include <glib/glist.h> ++#include <glib.h> + + #include "mw_channel.h" + #include "mw_debug.h" +diff -uNr meanwhile-1.0.2/src/st_list.c meanwhile-1.0.2-r1/src/st_list.c +--- meanwhile-1.0.2/src/st_list.c 2005-12-08 23:01:27.000000000 +0100 ++++ meanwhile-1.0.2-r1/src/st_list.c 2012-03-20 21:11:44.000000000 +0100 +@@ -20,7 +20,7 @@ + + #include <stdio.h> + #include <string.h> +-#include <glib/gstring.h> ++#include <glib.h> + + #include "mw_debug.h" + #include "mw_util.h" diff --git a/net-libs/meanwhile/files/meanwhile-1.0.2-presence.patch b/net-libs/meanwhile/files/meanwhile-1.0.2-presence.patch new file mode 100644 index 000000000000..e01089eda91c --- /dev/null +++ b/net-libs/meanwhile/files/meanwhile-1.0.2-presence.patch @@ -0,0 +1,42 @@ +# User Mikael Berthe <mikael.berthe@lilotux.net> +# Date 1194208892 -3600 +Fix Awareness Snapshots with recent Sametime servers + +With recent Sametime servers there seem to be 2 bytes +after the Snapshot Message Blocks. +This patch tries to use the end of block offset provided +by the server. + +diff -r be8d8f1d3ebc src/common.c +--- a/src/common.c Sun Nov 04 18:48:00 2007 +0100 ++++ b/src/common.c Tue Nov 06 11:46:26 2007 +0100 +@@ -878,23 +878,24 @@ gboolean mwAwareIdBlock_equal(const stru + /* 8.4.2.4 Snapshot */ + + void mwAwareSnapshot_get(struct mwGetBuffer *b, struct mwAwareSnapshot *idb) { +- guint32 junk; +- char *empty = NULL; ++ guint32 end_of_block; + + g_return_if_fail(b != NULL); + g_return_if_fail(idb != NULL); + +- guint32_get(b, &junk); ++ guint32_get(b, &end_of_block); + mwAwareIdBlock_get(b, &idb->id); + mwString_get(b, &idb->group); + gboolean_get(b, &idb->online); +- +- g_free(empty); + + if(idb->online) { + mwString_get(b, &idb->alt_id); + mwUserStatus_get(b, &idb->status); + mwString_get(b, &idb->name); ++ } ++ ++ if( b->ptr < b->buf + end_of_block ) { ++ mwGetBuffer_advance(b, b->buf + end_of_block - b->ptr); + } + } + diff --git a/net-libs/meanwhile/meanwhile-1.0.2-r1.ebuild b/net-libs/meanwhile/meanwhile-1.0.2-r1.ebuild new file mode 100644 index 000000000000..6bdfd3ff2ca8 --- /dev/null +++ b/net-libs/meanwhile/meanwhile-1.0.2-r1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=4 +inherit eutils flag-o-matic + +DESCRIPTION="Meanwhile (Sametime protocol) library" +HOMEPAGE="http://meanwhile.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="LGPL-2" +IUSE="doc debug" +SLOT="0" +KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sparc x86" + +RDEPEND=">=dev-libs/glib-2:2" + +DEPEND="${RDEPEND} + dev-libs/gmp + virtual/pkgconfig + doc? ( app-doc/doxygen )" + +src_prepare(){ + epatch "${FILESDIR}/${P}-presence.patch" #239144 + epatch "${FILESDIR}/${P}-glib2.31.patch" #409081 + + #241298 + sed -i -e "/sampledir/ s:-doc::" samples/Makefile.in || die +} + +src_configure() { + append-flags "-fno-tree-vrp" + local myconf + use doc || myconf="${myconf} --enable-doxygen=no" + + econf ${myconf} \ + --disable-static \ + $(use_enable debug) +} + +src_install() { + emake DESTDIR="${D}" install + find "${D}" -name '*.la' -exec rm -f {} + || die "la file removal failed" + dodoc AUTHORS ChangeLog NEWS README TODO +} diff --git a/net-libs/meanwhile/metadata.xml b/net-libs/meanwhile/metadata.xml new file mode 100644 index 000000000000..c2cd3fe5ed05 --- /dev/null +++ b/net-libs/meanwhile/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <!-- maintainer-needed --> + <upstream> + <remote-id type="sourceforge">meanwhile</remote-id> + </upstream> +</pkgmetadata> |