Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/chat chat: Add libmesode. Based on work by js in pkgsr...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2aec776d2ab3
branches:  trunk
changeset: 437991:2aec776d2ab3
user:      nia <nia%pkgsrc.org@localhost>
date:      Fri Sep 04 10:13:16 2020 +0000

description:
chat: Add libmesode. Based on work by js in pkgsrc-wip.

libmesode is a libstrophe fork.

libstrophe is a minimal XMPP library written in C. It has almost no
external dependencies, only an XML parsing library.

diffstat:

 chat/Makefile                             |   3 ++-
 chat/libmesode/DESCR                      |   4 ++++
 chat/libmesode/Makefile                   |  26 ++++++++++++++++++++++++++
 chat/libmesode/PLIST                      |   4 ++++
 chat/libmesode/buildlink3.mk              |  15 +++++++++++++++
 chat/libmesode/distinfo                   |   7 +++++++
 chat/libmesode/patches/patch-configure.ac |  20 ++++++++++++++++++++
 7 files changed, 78 insertions(+), 1 deletions(-)

diffs (117 lines):

diff -r 9a126039f0fb -r 2aec776d2ab3 chat/Makefile
--- a/chat/Makefile     Fri Sep 04 10:10:28 2020 +0000
+++ b/chat/Makefile     Fri Sep 04 10:13:16 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.248 2020/06/13 08:40:27 wiz Exp $
+# $NetBSD: Makefile,v 1.249 2020/09/04 10:13:16 nia Exp $
 #
 
 COMMENT=       Communication programs
@@ -65,6 +65,7 @@
 SUBDIR+=       ktp-text-ui
 SUBDIR+=       libfolks
 SUBDIR+=       libgadu
+SUBDIR+=       libmesode
 SUBDIR+=       libmsn
 SUBDIR+=       libotr
 SUBDIR+=       libpurple
diff -r 9a126039f0fb -r 2aec776d2ab3 chat/libmesode/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/libmesode/DESCR      Fri Sep 04 10:13:16 2020 +0000
@@ -0,0 +1,4 @@
+libmesode is a libstrophe fork.
+
+libstrophe is a minimal XMPP library written in C. It has almost no
+external dependencies, only an XML parsing library.
diff -r 9a126039f0fb -r 2aec776d2ab3 chat/libmesode/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/libmesode/Makefile   Fri Sep 04 10:13:16 2020 +0000
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.1 2020/09/04 10:13:16 nia Exp $
+
+DISTNAME=      libmesode-0.9.3
+CATEGORIES=    chat
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=profanity-im/}
+GITHUB_RELEASE=        ${PKGVERSION_NOREV}
+EXTRACT_SUFX=  .tar.xz
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/boothj5/libmesode
+COMMENT=       Fork of libstrophe for use with the Profanity XMPP client
+LICENSE=       mit OR gnu-gpl-v3
+
+GNU_CONFIGURE= yes
+USE_LIBTOOL=   yes
+USE_TOOLS+=    autoconf automake autoreconf pkg-config
+USE_LANGUAGES= c c++
+
+PKGCONFIG_OVERRIDE+=   libmesode.pc.in
+
+pre-configure:
+       cd ${WRKSRC} && autoreconf -i
+
+.include "../../textproc/expat/buildlink3.mk"
+.include "../../security/openssl/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 9a126039f0fb -r 2aec776d2ab3 chat/libmesode/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/libmesode/PLIST      Fri Sep 04 10:13:16 2020 +0000
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1 2020/09/04 10:13:16 nia Exp $
+include/mesode.h
+lib/libmesode.la
+lib/pkgconfig/libmesode.pc
diff -r 9a126039f0fb -r 2aec776d2ab3 chat/libmesode/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/libmesode/buildlink3.mk      Fri Sep 04 10:13:16 2020 +0000
@@ -0,0 +1,15 @@
+# $NetBSD: buildlink3.mk,v 1.1 2020/09/04 10:13:16 nia Exp $
+
+BUILDLINK_TREE+=       libmesode
+
+.if !defined(LIBMESODE_BUILDLINK3_MK)
+LIBMESODE_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.libmesode+=      libmesode>=0.9.1
+BUILDLINK_PKGSRCDIR.libmesode?=                ../../chat/libmesode
+
+.include "../../textproc/expat/buildlink3.mk"
+.include "../../security/openssl/buildlink3.mk"
+.endif # LIBMESODE_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -libmesode
diff -r 9a126039f0fb -r 2aec776d2ab3 chat/libmesode/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/libmesode/distinfo   Fri Sep 04 10:13:16 2020 +0000
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2020/09/04 10:13:16 nia Exp $
+
+SHA1 (libmesode-0.9.3.tar.xz) = d997b5136a99f853ee5caece1916a7fef766bd11
+RMD160 (libmesode-0.9.3.tar.xz) = acadbf04165a9c9978e0b1a0aa420b21772ff4a3
+SHA512 (libmesode-0.9.3.tar.xz) = 6da39a26809092093fb4610f51b8002e9046c44efbadcc802a670e4eedd8c388b6c527d4afbfc2341157a19811dc30cfd1b06f342e66652a9272fbd237694f57
+Size (libmesode-0.9.3.tar.xz) = 337992 bytes
+SHA1 (patch-configure.ac) = 72f6d77a9f0edbe6f681bb872e7f0ce1fefe210a
diff -r 9a126039f0fb -r 2aec776d2ab3 chat/libmesode/patches/patch-configure.ac
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/libmesode/patches/patch-configure.ac Fri Sep 04 10:13:16 2020 +0000
@@ -0,0 +1,20 @@
+$NetBSD: patch-configure.ac,v 1.1 2020/09/04 10:13:16 nia Exp $
+
+Fix quoting.
+
+--- configure.ac.orig  2016-09-17 16:34:38.000000000 +0000
++++ configure.ac
+@@ -18,11 +18,11 @@ AS_CASE([$host_os],
+                    [PLATFORM="nix"])
+ 
+ PKG_CHECK_MODULES([expat], [expat >= 2.0.0],
+-                  [PC_REQUIRES+=(expat)],
++                  [PC_REQUIRES+=expat],
+                   [AC_CHECK_HEADER([expat.h],
+                                    [
+                                     expat_LIBS="-lexpat"
+-                                    PC_LIBS+=($expat_LIBS)
++                                    PC_LIBS+=$expat_LIBS
+                                    ],
+                                    [AC_MSG_ERROR([expat not found; expat required.])]
+                                   )



Home | Main Index | Thread Index | Old Index