facebook chat plugin for pidgin and libpurple

feedback and ok alek@
This commit is contained in:
steven 2009-01-05 21:18:24 +00:00
parent 4c94105df2
commit 27c5827a2a
5 changed files with 86 additions and 0 deletions

View File

@ -0,0 +1,44 @@
# $OpenBSD: Makefile,v 1.1.1.1 2009/01/05 21:18:24 steven Exp $
SHARED_ONLY = Yes
COMMENT = Facebook plugin for Pidgin
V = 1.47
DISTNAME = pidgin-facebookchat-source-${V}
PKGNAME = pidgin-facebookchat-${V}
CATEGORIES = net
HOMEPAGE = http://code.google.com/p/pidgin-facebookchat/
MAINTAINER = Steven Mestdagh <steven@openbsd.org>
# GPL v3
PERMIT_PACKAGE_FTP = Yes
PERMIT_PACKAGE_CDROM = Yes
PERMIT_DISTFILES_FTP = Yes
PERMIT_DISTFILES_CDROM = Yes
MASTER_SITES = http://pidgin-facebookchat.googlecode.com/files/
EXTRACT_SUFX = .tar.bz2
WRKDIST = ${WRKDIR}/pidgin-facebookchat
BUILD_DEPENDS = ${RUN_DEPENDS}
RUN_DEPENDS = :pidgin->=2.0.0:net/pidgin
MAKE_FLAGS = LINUX32_COMPILER="${CC}"
ALL_TARGET = libfacebook.so
NO_REGRESS = Yes
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/lib/purple-2/
${INSTALL_DATA} ${WRKBUILD}/libfacebook.so ${PREFIX}/lib/purple-2/
.for i in 16 22 48
${INSTALL_DATA_DIR} ${PREFIX}/share/pixmaps/pidgin/protocols/${i}/
${INSTALL_DATA} ${WRKSRC}/facebook${i}.png \
${PREFIX}/share/pixmaps/pidgin/protocols/${i}/facebook.png
.endfor
.include <bsd.port.mk>

View File

@ -0,0 +1,5 @@
MD5 (pidgin-facebookchat-source-1.47.tar.bz2) = HVXYEXUXBMBYdjxTNl026g==
RMD160 (pidgin-facebookchat-source-1.47.tar.bz2) = 3QnzhCdwqv2N1QvVErDUs5D9bp0=
SHA1 (pidgin-facebookchat-source-1.47.tar.bz2) = AgGM6SoVNnfSR1cdbAVy5vFGQ0o=
SHA256 (pidgin-facebookchat-source-1.47.tar.bz2) = +R5PCAQfhytfwBBbcZd+WKL9/9ZCcgKQbemrSF8AcA4=
SIZE (pidgin-facebookchat-source-1.47.tar.bz2) = 39214

View File

@ -0,0 +1,25 @@
$OpenBSD: patch-Makefile,v 1.1.1.1 2009/01/05 21:18:24 steven Exp $
--- Makefile.orig Sat Jan 3 13:24:29 2009
+++ Makefile Sat Jan 3 13:24:37 2009
@@ -17,21 +17,13 @@ WIN32_LIBS = -L${WIN32_DEV_DIR}/gtk_2_0/lib -L${WIN32_
DEB_PACKAGE_DIR = ./debdir
FACEBOOK_SOURCES = \
- libfacebook.h \
libfacebook.c \
- fb_blist.h \
fb_blist.c \
- fb_connection.h \
fb_connection.c \
- fb_info.h \
fb_info.c \
- fb_managefriends.h \
fb_managefriends.c \
- fb_messages.h \
fb_messages.c \
- fb_notifications.h \
fb_notifications.c \
- fb_search.h \
fb_search.c
#Standard stuff here

View File

@ -0,0 +1,7 @@
This is a Facebook chat plugin for Pidgin and libpurple messengers. It
connects to the new Facebook Chat IM service without the need for an API
key.
Currently the plugin can log into the Facebook servers, grab the buddy
list, send/receive messages, add/remove friends, receive notifications,
search for Facebook friends and set your Facebook status.

View File

@ -0,0 +1,5 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2009/01/05 21:18:24 steven Exp $
lib/purple-2/libfacebook.so
share/pixmaps/pidgin/protocols/16/facebook.png
share/pixmaps/pidgin/protocols/22/facebook.png
share/pixmaps/pidgin/protocols/48/facebook.png