pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/chat/pidgin-facebookchat Add initial package for pidgi...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1bb2267b035c
branches:  trunk
changeset: 543879:1bb2267b035c
user:      smb <smb%pkgsrc.org@localhost>
date:      Mon Jun 23 21:00:50 2008 +0000

description:
Add initial package for pidgin-facebookchat.  The Makefile is ugly,
but so is the underlying code...

diffstat:

 chat/pidgin-facebookchat/DESCR            |   6 ++++++
 chat/pidgin-facebookchat/Makefile         |  29 +++++++++++++++++++++++++++++
 chat/pidgin-facebookchat/PLIST            |   9 +++++++++
 chat/pidgin-facebookchat/distinfo         |   6 ++++++
 chat/pidgin-facebookchat/patches/patch-aa |  26 ++++++++++++++++++++++++++
 5 files changed, 76 insertions(+), 0 deletions(-)

diffs (96 lines):

diff -r 6ddee962fc80 -r 1bb2267b035c chat/pidgin-facebookchat/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/pidgin-facebookchat/DESCR    Mon Jun 23 21:00:50 2008 +0000
@@ -0,0 +1,6 @@
+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, and send/receive messages.
diff -r 6ddee962fc80 -r 1bb2267b035c chat/pidgin-facebookchat/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/pidgin-facebookchat/Makefile Mon Jun 23 21:00:50 2008 +0000
@@ -0,0 +1,29 @@
+# $NetBSD: Makefile,v 1.1 2008/06/23 21:00:50 smb Exp $
+
+VERSION=       1.20
+DISTNAME=      pidgin-facebookchat-source-${VERSION}
+PKGNAME=       pidgin-facebookchat-${VERSION}
+CATEGORIES=    chat
+MASTER_SITES=  http://pidgin-facebookchat.googlecode.com/files/
+EXTRACT_SUFX=  .tar.bz2
+WRKSRC=                ${WRKDIR}
+
+MAINTAINER=    smb%NetBSD.org@localhost
+HOMEPAGE=      http://code.google.com/p/pidgin-facebookchat/
+COMMENT=       Plugin for pidgin to render LaTeX as images
+
+SUBST_CLASSES+=        paths
+SUBST_STAGE.paths=     pre-configure
+SUBST_MESSAGE.paths=   Fixing absolute paths.
+SUBST_FILES.paths=     Makefile
+SUBST_SED.paths=       -e 's+-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include+-I${BUILDLINK_DIR}/include/glib/glib-2.0/glib -I${BUILDLINK_DIR}/include/glib/glib-2.0 
-I${BUILDLINK_DIR}/lib/glib-2.0/include+g'
+SUBST_SED.paths+=      -e 's+-I/usr/include/libpurple+-I${BUILDLINK_DIR}/include/libpurple+g'
+SUBST_SED.paths+=      -e 's+/usr/share/+${PREFIX}/share/+g'
+SUBST_SED.paths+=      -e 's+/usr/lib/+${PREFIX}/lib/+g'
+
+.include "../../chat/pidgin/buildlink3.mk"
+.include "../../chat/libpurple/buildlink3.mk"
+.include "../../devel/glib2/buildlink3.mk"
+.include "../../x11/gtk2/buildlink3.mk"
+
+.include "../../mk/bsd.pkg.mk"
diff -r 6ddee962fc80 -r 1bb2267b035c chat/pidgin-facebookchat/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/pidgin-facebookchat/PLIST    Mon Jun 23 21:00:50 2008 +0000
@@ -0,0 +1,9 @@
+@comment $NetBSD: PLIST,v 1.1 2008/06/23 21:00:50 smb 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
+@dirrm share/pixmaps/pidgin/protocols/48
+@dirrm share/pixmaps/pidgin/protocols/22
+@dirrm share/pixmaps/pidgin/protocols/16
+@dirrm lib/purple-2
diff -r 6ddee962fc80 -r 1bb2267b035c chat/pidgin-facebookchat/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/pidgin-facebookchat/distinfo Mon Jun 23 21:00:50 2008 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2008/06/23 21:00:50 smb Exp $
+
+SHA1 (pidgin-facebookchat-source-1.20.tar.bz2) = 48a2ace2293ef6103237392e1c7c83ca084aa0c2
+RMD160 (pidgin-facebookchat-source-1.20.tar.bz2) = 45e4befb0c40646972b317a069925f8789b3dfe8
+Size (pidgin-facebookchat-source-1.20.tar.bz2) = 28872 bytes
+SHA1 (patch-aa) = 1ad35e329970bfc4333c526f9fec1b8cd42cf6de
diff -r 6ddee962fc80 -r 1bb2267b035c chat/pidgin-facebookchat/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/pidgin-facebookchat/patches/patch-aa Mon Jun 23 21:00:50 2008 +0000
@@ -0,0 +1,26 @@
+$NetBSD: patch-aa,v 1.1 2008/06/23 21:00:50 smb Exp $
+
+--- Makefile.orig      2008-06-23 16:53:09.000000000 -0400
++++ Makefile   2008-06-23 16:53:37.000000000 -0400
+@@ -1,5 +1,5 @@
+ #Customisable stuff here
+-LINUX32_COMPILER = i686-pc-linux-gnu-gcc
++LINUX32_COMPILER = gcc
+ LINUX64_COMPILER = x86_64-pc-linux-gnu-gcc
+ WIN32_COMPILER = /usr/bin/i586-mingw32-gcc
+ #LINUX_ARM_COMPILER = arm-pc-linux-gnu-gcc
+@@ -18,13 +18,10 @@
+ #Standard stuff here
+ .PHONY:       all clean install sourcepackage
+ 
+-all:  libfacebook.so libfacebook.dll libfacebook64.so libfacebookarm.so libfacebookppc.so installers sourcepackage
++all:  libfacebook.so
+ 
+ install:
+       cp libfacebook.so /usr/lib/purple-2/
+-      cp libfacebook64.so /usr/lib64/purple-2/
+-      cp libfacebookarm.so /usr/lib/pidgin/
+-      cp libfacebookppc.so /usr/lib/purple-2/
+       cp facebook16.png /usr/share/pixmaps/pidgin/protocols/16/facebook.png
+       cp facebook22.png /usr/share/pixmaps/pidgin/protocols/22/facebook.png
+       cp facebook48.png /usr/share/pixmaps/pidgin/protocols/48/facebook.png



Home | Main Index | Thread Index | Old Index