summaryrefslogtreecommitdiffstats
path: root/net-im/telepathy-gabble
diff options
context:
space:
mode:
authorkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2010-12-01 06:00:17 +0800
committerkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2010-12-01 06:00:17 +0800
commit2e4d2e942a99fbc51adebabc4cd543a91491ba37 (patch)
tree5fb7c33c9eb700d394e22ec7c7faf4258b91ea3b /net-im/telepathy-gabble
parent2d95636f2e1c4896bca367221f0b972b5903e72a (diff)
downloadmarcuscom-ports-2e4d2e942a99fbc51adebabc4cd543a91491ba37.tar
marcuscom-ports-2e4d2e942a99fbc51adebabc4cd543a91491ba37.tar.gz
marcuscom-ports-2e4d2e942a99fbc51adebabc4cd543a91491ba37.tar.bz2
marcuscom-ports-2e4d2e942a99fbc51adebabc4cd543a91491ba37.tar.lz
marcuscom-ports-2e4d2e942a99fbc51adebabc4cd543a91491ba37.tar.xz
marcuscom-ports-2e4d2e942a99fbc51adebabc4cd543a91491ba37.tar.zst
marcuscom-ports-2e4d2e942a99fbc51adebabc4cd543a91491ba37.zip
Clean up after 2.32 got committed. Only gdm 2.32 isn't committed because of
focus issues. And it doesn't seem it getting any traction upstream. Next stop GNOME 3.0. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@14916 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'net-im/telepathy-gabble')
-rw-r--r--net-im/telepathy-gabble/Makefile45
-rw-r--r--net-im/telepathy-gabble/distinfo2
-rw-r--r--net-im/telepathy-gabble/files/patch-Makefile.in11
-rw-r--r--net-im/telepathy-gabble/files/patch-lib_gibber_gibber-unix-transport.c181
-rw-r--r--net-im/telepathy-gabble/pkg-descr9
-rw-r--r--net-im/telepathy-gabble/pkg-plist14
6 files changed, 0 insertions, 262 deletions
diff --git a/net-im/telepathy-gabble/Makefile b/net-im/telepathy-gabble/Makefile
deleted file mode 100644
index abb49004d..000000000
--- a/net-im/telepathy-gabble/Makefile
+++ /dev/null
@@ -1,45 +0,0 @@
-# New ports collection makefile for: telepathy-gabble
-# Date created: Apr 19 2007
-# Whom: Florent Thoumie <flz@FreeBSD.org>
-#
-# $FreeBSD$
-# $MCom: ports/net-im/telepathy-gabble/Makefile,v 1.9 2010/09/18 19:28:16 kwm Exp $
-
-PORTNAME= telepathy-gabble
-PORTVERSION= 0.10.4
-CATEGORIES= net-im
-MASTER_SITES= http://telepathy.freedesktop.org/releases/${PORTNAME}/
-
-MAINTAINER= gnome@FreeBSD.org
-COMMENT= Jabber Connection Manager for Telepathy Framework
-
-LIB_PC_DEPENDS= gobject-2.0.pc:${PORTSDIR}/devel/glib20 \
- dbus-glib-1.pc:${PORTSDIR}/devel/dbus-glib \
- nice.pc:${PORTSDIR}/net-im/libnice \
- uuid.pc:${PORTSDIR}/misc/e2fsprogs-libuuid \
- telepathy-glib.pc:${PORTSDIR}/net-im/telepathy-glib \
- loudmouth-1.0.pc:${PORTSDIR}/net-im/loudmouth
-
-BUILD_DEPENDS= xsltproc:${PORTSDIR}/textproc/libxslt
-
-BUILD_DEPENDS+= ${LIB_PC_DEPENDS:C|^|${LOCALBASE}/libdata/pkgconfig/|g}
-LIB_DEPENDS= soup-2.4.1:${PORTSDIR}/devel/libsoup \
- sqlite3.8:${PORTSDIR}/databases/sqlite3
-RUN_DEPENDS+= ${LIB_PC_DEPENDS:C|^|${LOCALBASE}/libdata/pkgconfig/|g}
-
-GNU_CONFIGURE= yes
-LDFLAGS= ${PTHREAD_LIBS}
-USE_GMAKE= yes
-USE_GNOME= gnomehack pkgconfig glib20
-USE_OPENSSL= yes
-USE_PYTHON_BUILD= yes
-
-MAN8= telepathy-gabble.8
-
-.include <bsd.port.pre.mk>
-
-.if defined(WITH_OPENSSL_BASE)
-CONFIGURE_ENV+= OPENSSL_LIBS="-L/usr/lib -ssl -crypto" OPENSSL_CFLAGS="-I/usr/include"
-.endif
-
-.include <bsd.port.post.mk>
diff --git a/net-im/telepathy-gabble/distinfo b/net-im/telepathy-gabble/distinfo
deleted file mode 100644
index 7f77130ac..000000000
--- a/net-im/telepathy-gabble/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (telepathy-gabble-0.10.4.tar.gz) = abdf07e833b934fa7cd0c9e34894a11da037adf03a4fdde4dc7818ed990a662c
-SIZE (telepathy-gabble-0.10.4.tar.gz) = 2936168
diff --git a/net-im/telepathy-gabble/files/patch-Makefile.in b/net-im/telepathy-gabble/files/patch-Makefile.in
deleted file mode 100644
index 6e8234229..000000000
--- a/net-im/telepathy-gabble/files/patch-Makefile.in
+++ /dev/null
@@ -1,11 +0,0 @@
---- Makefile.in.orig 2010-09-18 17:29:38.000000000 +0000
-+++ Makefile.in 2010-09-18 17:29:53.000000000 +0000
-@@ -267,7 +267,7 @@
- top_builddir = @top_builddir@
- top_srcdir = @top_srcdir@
- ACLOCAL_AMFLAGS = -I m4
--SUBDIRS = docs tools extensions lib src data m4 plugins tests gabble
-+SUBDIRS = docs tools extensions lib src data m4 plugins gabble
- DISTCHECK_CONFIGURE_FLAGS = --disable-debug --enable-gtk-doc
- CLEANFILES = FIXME.out
- LCOV_CHECK_ARGS = CHECK_TWISTED_SLEEP=6
diff --git a/net-im/telepathy-gabble/files/patch-lib_gibber_gibber-unix-transport.c b/net-im/telepathy-gabble/files/patch-lib_gibber_gibber-unix-transport.c
deleted file mode 100644
index c055de832..000000000
--- a/net-im/telepathy-gabble/files/patch-lib_gibber_gibber-unix-transport.c
+++ /dev/null
@@ -1,181 +0,0 @@
---- lib/gibber/gibber-unix-transport.c.orig 2010-06-09 16:09:58.000000000 +0000
-+++ lib/gibber/gibber-unix-transport.c 2010-09-18 21:24:44.000000000 +0000
-@@ -375,6 +375,167 @@ gibber_unix_transport_recv_credentials (
- return TRUE;
- }
-
-+/* End Linux part */
-+#elif defined(__FreeBSD__)
-+
-+gboolean
-+gibber_unix_transport_send_credentials (GibberUnixTransport *transport,
-+ const guint8 *data,
-+ gsize size)
-+{
-+ int fd, ret;
-+ struct msghdr msg;
-+ struct iovec iov;
-+ union {
-+ struct cmsghdr hdr;
-+ char cred[CMSG_SPACE (sizeof (struct cmsgcred))];
-+ } cmsg;
-+
-+ DEBUG ("send credentials");
-+ fd = GIBBER_FD_TRANSPORT (transport)->fd;
-+
-+ /* Set the message payload */
-+ memset (&iov, 0, sizeof (iov));
-+ iov.iov_base = (void *) data;
-+ iov.iov_len = size;
-+
-+ memset (&msg, 0, sizeof (msg));
-+ msg.msg_iov = &iov;
-+ msg.msg_iovlen = 1;
-+ msg.msg_control = (caddr_t) &cmsg;
-+ msg.msg_controllen = CMSG_SPACE (sizeof (struct cmsgcred));
-+ memset (&cmsg, 0, sizeof (cmsg));
-+ cmsg.hdr.cmsg_len = CMSG_LEN (sizeof (struct cmsgcred));
-+ cmsg.hdr.cmsg_level = SOL_SOCKET;
-+ cmsg.hdr.cmsg_type = SCM_CREDS;
-+
-+ ret = sendmsg (fd, &msg, 0);
-+ if (ret == -1)
-+ {
-+ DEBUG ("sendmsg failed: %s", g_strerror (errno));
-+ return FALSE;
-+ }
-+
-+ return TRUE;
-+}
-+
-+gboolean
-+gibber_unix_transport_recv_credentials (GibberUnixTransport *self,
-+ GibberUnixTransportRecvCredentialsCb callback,
-+ gpointer user_data)
-+{
-+ GibberUnixTransportPrivate *priv = GIBBER_UNIX_TRANSPORT_GET_PRIVATE (self);
-+
-+ if (priv->recv_creds_cb != NULL)
-+ {
-+ DEBUG ("already waiting for credentials");
-+ return FALSE;
-+ }
-+
-+ priv->recv_creds_cb = callback;
-+ priv->recv_creds_data = user_data;
-+ return TRUE;
-+}
-+
-+gboolean
-+gibber_unix_transport_supports_credentials (void)
-+{
-+ return TRUE;
-+}
-+
-+#define BUFSIZE 1024
-+
-+static GibberFdIOResult
-+gibber_unix_transport_read (GibberFdTransport *transport,
-+ GIOChannel *channel,
-+ GError **error)
-+{
-+ GibberUnixTransport *self = GIBBER_UNIX_TRANSPORT (transport);
-+ GibberUnixTransportPrivate *priv = GIBBER_UNIX_TRANSPORT_GET_PRIVATE (self);
-+ int fd;
-+ guint8 buffer[BUFSIZE];
-+ ssize_t bytes_read;
-+ GibberBuffer buf;
-+ struct iovec iov;
-+ struct msghdr msg;
-+ struct cmsgcred *cred;
-+ union {
-+ struct cmsghdr hdr;
-+ char cred[CMSG_SPACE (sizeof *cred)];
-+ } cmsg;
-+ int opt;
-+
-+ if (priv->recv_creds_cb == NULL)
-+ return gibber_fd_transport_read (transport, channel, error);
-+
-+ /* We are waiting for credentials */
-+ fd = transport->fd;
-+
-+ memset (buffer, 0, sizeof (buffer));
-+ memset (&iov, 0, sizeof (iov));
-+ iov.iov_base = buffer;
-+ iov.iov_len = sizeof (buffer);
-+
-+ memset (&msg, 0, sizeof (msg));
-+ msg.msg_iov = &iov;
-+ msg.msg_iovlen = 1;
-+ msg.msg_control = (caddr_t) &cmsg;
-+ msg.msg_controllen = CMSG_SPACE (sizeof *cred);
-+
-+ bytes_read = recvmsg (fd, &msg, 0);
-+
-+ if (bytes_read == -1)
-+ {
-+ GError *err = NULL;
-+
-+ g_set_error_literal (&err, G_IO_CHANNEL_ERROR,
-+ g_io_channel_error_from_errno (errno), "recvmsg failed");
-+
-+ priv->recv_creds_cb (self, NULL, NULL, err, priv->recv_creds_data);
-+ g_propagate_error (error, err);
-+
-+ priv->recv_creds_cb = NULL;
-+ priv->recv_creds_data = NULL;
-+ return GIBBER_FD_IO_RESULT_ERROR;
-+ }
-+
-+ buf.data = buffer;
-+ buf.length = bytes_read;
-+
-+ /* extract the credentials */
-+ if (cmsg.hdr.cmsg_len < CMSG_LEN (sizeof *cred) ||
-+ cmsg.hdr.cmsg_type != SCM_CREDS)
-+ {
-+ GError *err = NULL;
-+
-+ DEBUG ("Message doesn't contain credentials");
-+
-+ g_set_error_literal (&err, GIBBER_UNIX_TRANSPORT_ERROR,
-+ GIBBER_UNIX_TRANSPORT_ERROR_NO_CREDENTIALS,
-+ "no credentials received");
-+
-+ priv->recv_creds_cb (self, &buf, NULL, err, priv->recv_creds_data);
-+ g_error_free (err);
-+ }
-+ else
-+ {
-+ GibberCredentials credentials;
-+
-+ cred = (struct cmsgcred *) CMSG_DATA (&cmsg.hdr);
-+ credentials.pid = cred->cmcred_pid;
-+ credentials.uid = cred->cmcred_uid;
-+ credentials.gid = cred->cmcred_gid;
-+
-+ priv->recv_creds_cb (self, &buf, &credentials, NULL,
-+ priv->recv_creds_data);
-+ }
-+
-+ priv->recv_creds_cb = NULL;
-+ priv->recv_creds_data = NULL;
-+ return GIBBER_FD_IO_RESULT_SUCCESS;
-+}
-+
-+/* End FreeBSD part */
- #else /* OSs where we have no implementation */
-
- gboolean
-@@ -393,9 +554,7 @@ gibber_unix_transport_recv_credentials (
- }
-
- gboolean
--gibber_unix_transport_send_credentials (GibberUnixTransport *transport,
-- const guint8 *data,
-- gsize size)
-+gibber_unix_transport_send_credentials (void)
- {
- DEBUG ("stub implementation, failing");
- return FALSE;
diff --git a/net-im/telepathy-gabble/pkg-descr b/net-im/telepathy-gabble/pkg-descr
deleted file mode 100644
index 730ea4f1c..000000000
--- a/net-im/telepathy-gabble/pkg-descr
+++ /dev/null
@@ -1,9 +0,0 @@
-Gabble is a Jabber/XMPP connection manager for the Telepathy framework,
-currently supporting single user chats, multi user chats and voice/video
-calls. Install this package to use Telepathy instant messaging clients
-with Jabber/XMPP servers, including Google Talk.
-
-WWW: http://telepathy.freedesktop.org/
-
-- Florent Thoumie
-flz@FreeBSD.org
diff --git a/net-im/telepathy-gabble/pkg-plist b/net-im/telepathy-gabble/pkg-plist
deleted file mode 100644
index 2bd653be6..000000000
--- a/net-im/telepathy-gabble/pkg-plist
+++ /dev/null
@@ -1,14 +0,0 @@
-libexec/telepathy-gabble
-lib/telepathy/gabble-0/gateways.la
-lib/telepathy/gabble-0/gateways.so
-share/dbus-1/services/org.freedesktop.Telepathy.ConnectionManager.gabble.service
-%%DOCSDIR%%/muc-bytestream.html
-%%DOCSDIR%%/olpc.html
-%%DOCSDIR%%/si-multiple.html
-%%DOCSDIR%%/tubes.html
-share/telepathy/managers/gabble.manager
-@dirrmtry share/telepathy/managers
-@dirrmtry share/telepathy
-@dirrm %%DOCSDIR%%
-@dirrm lib/telepathy/gabble-0
-@dirrmtry lib/telepathy