Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Jan 2017 08:51:54 +0000 (UTC)
From:      Pietro Cerutti <gahr@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r431163 - in head/irc/bitlbee-facebook: . files
Message-ID:  <201701110851.v0B8psCF072063@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: gahr
Date: Wed Jan 11 08:51:54 2017
New Revision: 431163
URL: https://svnweb.freebsd.org/changeset/ports/431163

Log:
  irc/bitlbee-facebook: bring in upstreams support for init_plugin_info
  
  While at it, chase "port test" warnings.
  
  Obtained from:	https://github.com/bitlbee/bitlbee-facebook/commit/d60efe0

Added:
  head/irc/bitlbee-facebook/files/
  head/irc/bitlbee-facebook/files/patch-facebook_facebook.c   (contents, props changed)
Modified:
  head/irc/bitlbee-facebook/Makefile
  head/irc/bitlbee-facebook/distinfo

Modified: head/irc/bitlbee-facebook/Makefile
==============================================================================
--- head/irc/bitlbee-facebook/Makefile	Wed Jan 11 08:37:08 2017	(r431162)
+++ head/irc/bitlbee-facebook/Makefile	Wed Jan 11 08:51:54 2017	(r431163)
@@ -3,8 +3,9 @@
 
 PORTNAME=	bitlbee-facebook
 PORTVERSION=	1.0.0
-PORTEPOCH=	1
 DISTVERSIONPREFIX=v
+PORTREVISION=	1
+PORTEPOCH=	1
 CATEGORIES=	irc
 
 MAINTAINER=	gahr@FreeBSD.org
@@ -16,11 +17,12 @@ LICENSE_FILE=	${WRKSRC}/COPYING
 LIB_DEPENDS=	libjson-glib-1.0.so:devel/json-glib
 BUILD_DEPENDS=	bitlbee:irc/bitlbee
 
-USES=		autoreconf libtool pkgconfig
+USES=		autoreconf gettext-runtime libtool pkgconfig
+USE_GNOME=	glib20
 GNU_CONFIGURE=	yes
 
 USE_GITHUB=	yes
-GH_ACCOUNT=	jgeboski
+GH_ACCOUNT=	bitlbee
 
 MAKE_JOBS_UNSAFE=	yes
 

Modified: head/irc/bitlbee-facebook/distinfo
==============================================================================
--- head/irc/bitlbee-facebook/distinfo	Wed Jan 11 08:37:08 2017	(r431162)
+++ head/irc/bitlbee-facebook/distinfo	Wed Jan 11 08:51:54 2017	(r431163)
@@ -1,2 +1,3 @@
-SHA256 (jgeboski-bitlbee-facebook-v1.0.0_GH0.tar.gz) = 20e0c41393be151735463b206625c91977706db144ff8ff1d4d726e1f33fd124
-SIZE (jgeboski-bitlbee-facebook-v1.0.0_GH0.tar.gz) = 62389
+TIMESTAMP = 1484122554
+SHA256 (bitlbee-bitlbee-facebook-v1.0.0_GH0.tar.gz) = 20e0c41393be151735463b206625c91977706db144ff8ff1d4d726e1f33fd124
+SIZE (bitlbee-bitlbee-facebook-v1.0.0_GH0.tar.gz) = 62389

Added: head/irc/bitlbee-facebook/files/patch-facebook_facebook.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/irc/bitlbee-facebook/files/patch-facebook_facebook.c	Wed Jan 11 08:51:54 2017	(r431163)
@@ -0,0 +1,27 @@
+--- facebook/facebook.c.orig	2016-01-16 15:20:59 UTC
++++ facebook/facebook.c
+@@ -1082,3 +1082,24 @@ init_plugin(void)
+     root_command_add("fbcreate", 0, fb_cmd_fbcreate, 0);
+     root_command_add("fbjoin", 0, fb_cmd_fbjoin, 0);
+ }
++
++
++#ifdef BITLBEE_ABI_VERSION_CODE
++G_MODULE_EXPORT struct plugin_info *
++init_plugin_info(void);
++
++G_MODULE_EXPORT struct plugin_info *
++init_plugin_info(void)
++{
++    static struct plugin_info info = {
++        BITLBEE_ABI_VERSION_CODE,
++        "facebook",
++        PACKAGE_VERSION,
++        "Facebook protocol plugin",
++        "dequis <dx@dxzone.com.ar> (maintainer), James Geboski <jgeboski@gmail.com> (original author)",
++        PACKAGE_URL
++    };
++
++    return &info;
++}
++#endif /* BITLBEE_ABI_VERSION_CODE */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201701110851.v0B8psCF072063>