pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/chat
Module Name: pkgsrc
Committed By: nia
Date: Fri Sep 4 10:13:16 UTC 2020
Modified Files:
pkgsrc/chat: Makefile
Added Files:
pkgsrc/chat/libmesode: DESCR Makefile PLIST buildlink3.mk distinfo
pkgsrc/chat/libmesode/patches: patch-configure.ac
Log Message:
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.
To generate a diff of this commit:
cvs rdiff -u -r1.248 -r1.249 pkgsrc/chat/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/chat/libmesode/DESCR \
pkgsrc/chat/libmesode/Makefile pkgsrc/chat/libmesode/PLIST \
pkgsrc/chat/libmesode/buildlink3.mk pkgsrc/chat/libmesode/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/chat/libmesode/patches/patch-configure.ac
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/chat/Makefile
diff -u pkgsrc/chat/Makefile:1.248 pkgsrc/chat/Makefile:1.249
--- pkgsrc/chat/Makefile:1.248 Sat Jun 13 08:40:27 2020
+++ pkgsrc/chat/Makefile Fri Sep 4 10:13:16 2020
@@ -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-send-file
SUBDIR+= ktp-text-ui
SUBDIR+= libfolks
SUBDIR+= libgadu
+SUBDIR+= libmesode
SUBDIR+= libmsn
SUBDIR+= libotr
SUBDIR+= libpurple
Added files:
Index: pkgsrc/chat/libmesode/DESCR
diff -u /dev/null pkgsrc/chat/libmesode/DESCR:1.1
--- /dev/null Fri Sep 4 10:13:16 2020
+++ pkgsrc/chat/libmesode/DESCR Fri Sep 4 10:13:16 2020
@@ -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.
Index: pkgsrc/chat/libmesode/Makefile
diff -u /dev/null pkgsrc/chat/libmesode/Makefile:1.1
--- /dev/null Fri Sep 4 10:13:16 2020
+++ pkgsrc/chat/libmesode/Makefile Fri Sep 4 10:13:16 2020
@@ -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"
Index: pkgsrc/chat/libmesode/PLIST
diff -u /dev/null pkgsrc/chat/libmesode/PLIST:1.1
--- /dev/null Fri Sep 4 10:13:16 2020
+++ pkgsrc/chat/libmesode/PLIST Fri Sep 4 10:13:16 2020
@@ -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
Index: pkgsrc/chat/libmesode/buildlink3.mk
diff -u /dev/null pkgsrc/chat/libmesode/buildlink3.mk:1.1
--- /dev/null Fri Sep 4 10:13:16 2020
+++ pkgsrc/chat/libmesode/buildlink3.mk Fri Sep 4 10:13:16 2020
@@ -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
Index: pkgsrc/chat/libmesode/distinfo
diff -u /dev/null pkgsrc/chat/libmesode/distinfo:1.1
--- /dev/null Fri Sep 4 10:13:16 2020
+++ pkgsrc/chat/libmesode/distinfo Fri Sep 4 10:13:16 2020
@@ -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
Index: pkgsrc/chat/libmesode/patches/patch-configure.ac
diff -u /dev/null pkgsrc/chat/libmesode/patches/patch-configure.ac:1.1
--- /dev/null Fri Sep 4 10:13:16 2020
+++ pkgsrc/chat/libmesode/patches/patch-configure.ac Fri Sep 4 10:13:16 2020
@@ -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