pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/chat/pidgin-silc Import pidgin-silc-2.1.0. This is the...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/01f413715405
branches:  trunk
changeset: 532219:01f413715405
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Tue Aug 14 01:16:26 2007 +0000

description:
Import pidgin-silc-2.1.0. This is the SILC protocol plugin for chat/pidgin.

diffstat:

 chat/pidgin-silc/DESCR    |   1 +
 chat/pidgin-silc/Makefile |  53 +++++++++++++++++++++++++++++++++++++++++++++++
 chat/pidgin-silc/PLIST    |   2 +
 chat/pidgin-silc/distinfo |  12 ++++++++++
 4 files changed, 68 insertions(+), 0 deletions(-)

diffs (84 lines):

diff -r a10f462b4ebf -r 01f413715405 chat/pidgin-silc/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/pidgin-silc/DESCR    Tue Aug 14 01:16:26 2007 +0000
@@ -0,0 +1,1 @@
+This is a SILC protocol plugin for the Pidgin instant messenger.
diff -r a10f462b4ebf -r 01f413715405 chat/pidgin-silc/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/pidgin-silc/Makefile Tue Aug 14 01:16:26 2007 +0000
@@ -0,0 +1,53 @@
+# $NetBSD: Makefile,v 1.1.1.1 2007/08/14 01:16:26 tnn Exp $
+#
+
+PKGNAME=               pidgin-silc-${PIDGIN_VERSION}
+COMMENT=               SILC plugin for the Pidgin instant messenger
+
+PKG_DESTDIR_SUPPORT=   user-destdir
+
+.include "../../chat/libpurple/Makefile.common"
+
+CONFIGURE_ARGS+=       --disable-gevolution
+CONFIGURE_ARGS+=       --disable-gtkui
+CONFIGURE_ARGS+=       --disable-consoleui
+
+BUILD_DIRS=            libpurple/protocols/silc
+
+# Because pkgsrc's silc-toolkit is too old, we have to jump through some very,
+# very, VERY nasty hoops to build this package. Hopefully this hack can be
+# removed soon.
+
+BUNDLE_SILC=yes
+.if defined(BUNDLE_SILC)
+
+DISTINFO_FILE=         ${.CURDIR}/../../chat/pidgin-silc/distinfo
+SITES.silc-toolkit-1.1.2.tar.gz= \
+                       http://www.silcnet.org/download/toolkit/sources/
+DISTFILES+=            pidgin-${PIDGIN_VERSION}.tar.bz2 silc-toolkit-1.1.2.tar.gz
+CFLAGS+=               -fPIC
+pre-configure:
+       # Build libsilc statically and install it into the buildlink dir
+       cd ${WRKDIR}/silc-toolkit-1.1.2 && ${SETENV} ${CONFIGURE_ENV} \
+       ./configure --disable-asm --enable-static --disable-shared \
+       --without-libtoolfix --prefix=${BUILDLINK_DIR} && \
+       ${SETENV} ${MAKE_ENV} gmake && \
+       ${SETENV} ${MAKE_ENV} gmake install && \
+       cp ${WRKDIR}/silc-toolkit-1.1.2/lib/.libs/*.a \
+       ${WRKSRC}/libpurple/protocols/silc
+
+SUBST_CLASSES+=                linkage
+SUBST_STAGE.linkage=   post-configure
+SUBST_MESSAGE.linkage= Fixing static linkage
+SUBST_FILES.linkage=   libpurple/protocols/silc/Makefile
+SUBST_SED.linkage=     -e 's/-lsilcclient -lsilc/-Wl,--whole-archive,libsilcclient.a,libsilc.a,--no-whole-archive/'
+
+.endif
+
+.include "../../chat/libpurple/buildlink3.mk"
+.include "../../converters/libiconv/buildlink3.mk"
+.include "../../devel/GConf2/schemas.mk"
+.include "../../devel/glib2/buildlink3.mk"
+#.include "../../devel/silc-toolkit/buildlink3.mk"
+.include "../../textproc/libxml2/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r a10f462b4ebf -r 01f413715405 chat/pidgin-silc/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/pidgin-silc/PLIST    Tue Aug 14 01:16:26 2007 +0000
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2007/08/14 01:16:26 tnn Exp $
+lib/purple-2/libsilcpurple.la
diff -r a10f462b4ebf -r 01f413715405 chat/pidgin-silc/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/pidgin-silc/distinfo Tue Aug 14 01:16:26 2007 +0000
@@ -0,0 +1,12 @@
+$NetBSD: distinfo,v 1.1.1.1 2007/08/14 01:16:26 tnn Exp $
+
+SHA1 (pidgin-2.1.0.tar.bz2) = 33f78d07c3c7797a710bb7d2032a8d0bd89a6ab3
+RMD160 (pidgin-2.1.0.tar.bz2) = d04437251fbea8a1902621ebdf98f6fdc826a6d4
+Size (pidgin-2.1.0.tar.bz2) = 7772942 bytes
+SHA1 (silc-toolkit-1.1.2.tar.gz) = 7a68acc2e819d6f4f02bf28d02daf191d41693e4
+RMD160 (silc-toolkit-1.1.2.tar.gz) = e03045ae82679f9062e4e94e8fb131f1a9043a48
+Size (silc-toolkit-1.1.2.tar.gz) = 2678868 bytes
+SHA1 (patch-ab) = cba3d381e62a5c4976467eee106a3700c4e771be
+SHA1 (patch-ae) = 82cc41e44609480f30062f922ca6001d57336862
+SHA1 (patch-af) = 047d03f91ef386a92e302e7fa2c46ad2d08214e4
+SHA1 (patch-ag) = 0ec16d0937584f63cded37e3085425d0153c24ee



Home | Main Index | Thread Index | Old Index