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:           Tue Nov 27 19:25:05 UTC 2018

Modified Files:
        pkgsrc/chat: Makefile
Added Files:
        pkgsrc/chat/carbons-purple: DESCR Makefile PLIST distinfo
        pkgsrc/chat/carbons-purple/patches: patch-Makefile

Log Message:
chat/carbons-purple: Import version 0.2.1

If you have multiple devices and want messages sent and received
by one device show up on all others, XEP-0280: Message Carbons is
what you are looking for.

This is an experimental XMPP XEP-0280: Message Carbons plugin for
libpurple (Pidgin, Finch, etc.)


To generate a diff of this commit:
cvs rdiff -u -r1.207 -r1.208 pkgsrc/chat/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/chat/carbons-purple/DESCR \
    pkgsrc/chat/carbons-purple/Makefile pkgsrc/chat/carbons-purple/PLIST \
    pkgsrc/chat/carbons-purple/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/chat/carbons-purple/patches/patch-Makefile

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.207 pkgsrc/chat/Makefile:1.208
--- pkgsrc/chat/Makefile:1.207  Tue Nov 27 18:21:54 2018
+++ pkgsrc/chat/Makefile        Tue Nov 27 19:25:05 2018
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.207 2018/11/27 18:21:54 maya Exp $
+# $NetBSD: Makefile,v 1.208 2018/11/27 19:25:05 nia Exp $
 #
 
 COMMENT=       Communication programs
@@ -10,6 +10,7 @@ SUBDIR+=      bitchx
 SUBDIR+=       bitlbee
 SUBDIR+=       bnc
 SUBDIR+=       bsflite
+SUBDIR+=       carbons-purple
 SUBDIR+=       centerim
 SUBDIR+=       cgiirc
 SUBDIR+=       climm

Added files:

Index: pkgsrc/chat/carbons-purple/DESCR
diff -u /dev/null pkgsrc/chat/carbons-purple/DESCR:1.1
--- /dev/null   Tue Nov 27 19:25:05 2018
+++ pkgsrc/chat/carbons-purple/DESCR    Tue Nov 27 19:25:05 2018
@@ -0,0 +1,6 @@
+If you have multiple devices and want messages sent and received
+by one device show up on all others, XEP-0280: Message Carbons is
+what you are looking for.
+
+This is an experimental XMPP XEP-0280: Message Carbons plugin for
+libpurple (Pidgin, Finch, etc.)
Index: pkgsrc/chat/carbons-purple/Makefile
diff -u /dev/null pkgsrc/chat/carbons-purple/Makefile:1.1
--- /dev/null   Tue Nov 27 19:25:05 2018
+++ pkgsrc/chat/carbons-purple/Makefile Tue Nov 27 19:25:05 2018
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1 2018/11/27 19:25:05 nia Exp $
+
+DISTNAME=      carbons-purple-0.2.1
+CATEGORIES=    chat
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=gkdr/}
+GITHUB_PROJECT=        carbons
+GITHUB_TAG=    v${PKGVERSION_NOREV}
+
+MAINTAINER=    nia%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/gkdr/carbons
+COMMENT=       XEP-0280: Message Carbons plugin for libpurple
+LICENSE=       gnu-gpl-v2
+
+EXTRACT_USING= bsdtar
+USE_TOOLS+=    gmake pkg-config
+
+MAKE_FLAGS+=   PURPLE_PLUGIN_DIR=${DESTDIR}${PREFIX}/lib/purple-2
+
+.include "../../chat/libpurple/buildlink3.mk"
+.include "../../mk/dlopen.buildlink3.mk"
+BUILDLINK_TRANSFORM+=  opt:-ldl:${BUILDLINK_LDADD.dl:Q}
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/chat/carbons-purple/PLIST
diff -u /dev/null pkgsrc/chat/carbons-purple/PLIST:1.1
--- /dev/null   Tue Nov 27 19:25:05 2018
+++ pkgsrc/chat/carbons-purple/PLIST    Tue Nov 27 19:25:05 2018
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2018/11/27 19:25:05 nia Exp $
+lib/purple-2/carbons.so
Index: pkgsrc/chat/carbons-purple/distinfo
diff -u /dev/null pkgsrc/chat/carbons-purple/distinfo:1.1
--- /dev/null   Tue Nov 27 19:25:05 2018
+++ pkgsrc/chat/carbons-purple/distinfo Tue Nov 27 19:25:05 2018
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2018/11/27 19:25:05 nia Exp $
+
+SHA1 (carbons-purple-0.2.1.tar.gz) = 7cc39a82ee562196f804f66ddb7f2d74ca67bbac
+RMD160 (carbons-purple-0.2.1.tar.gz) = 7b847baeace9eac5d56f3a648715357de5c9e405
+SHA512 (carbons-purple-0.2.1.tar.gz) = 1184ff3fa7f7a8f1c90d8a66ca050bf605dab6056a8f732648b0a6ba747e2975fb82bb411caf5e3752cbd74b702c74908388174d925787dbf3fe9de900cf9eb6
+Size (carbons-purple-0.2.1.tar.gz) = 21773 bytes
+SHA1 (patch-Makefile) = 1c0754391b4589a5741e58043155484427875536

Index: pkgsrc/chat/carbons-purple/patches/patch-Makefile
diff -u /dev/null pkgsrc/chat/carbons-purple/patches/patch-Makefile:1.1
--- /dev/null   Tue Nov 27 19:25:05 2018
+++ pkgsrc/chat/carbons-purple/patches/patch-Makefile   Tue Nov 27 19:25:05 2018
@@ -0,0 +1,40 @@
+$NetBSD: patch-Makefile,v 1.1 2018/11/27 19:25:05 nia Exp $
+
+Needs -lpurple.
+
+--- Makefile.orig      2018-10-14 19:45:13.000000000 +0000
++++ Makefile
+@@ -2,14 +2,13 @@ PURPLE_PLUGIN_DIR=~/.purple/plugins
+ PIDGIN_DIR=./pidgin-2.11.0
+ PURPLE_PLUGIN_SRC_DIR=$(PIDGIN_DIR)/libpurple/plugins
+ 
+-CC ?= gcc
+-
+ PKG_CONFIG ?= pkg-config
+ GLIB_CFLAGS ?= $(shell $(PKG_CONFIG) --cflags glib-2.0)
+ GLIB_LDFLAGS ?= $(shell $(PKG_CONFIG) --libs glib-2.0)
+ 
+ LIBPURPLE_CFLAGS ?= $(shell $(PKG_CONFIG) --cflags purple)
+-LIBPURPLE_LDFLAGS ?= $(shell $(PKG_CONFIG) --cflags purple) \
++LIBPURPLE_LDFLAGS=$(shell $(PKG_CONFIG) --libs purple) \
++                   -Wl,-R$(shell $(PKG_CONFIG) --variable=plugindir purple) \
+                    -L$(shell $(PKG_CONFIG) --variable=plugindir purple)
+ 
+ XML2_CONFIG ?= xml2-config
+@@ -32,14 +31,10 @@ PKGCFG_L=$(GLIB_LDFLAGS) \
+        $(LIBPURPLE_LDFLAGS) \
+        $(XML2_LDFLAGS)
+ 
+-CFLAGS=-std=c11 -Wall -g -Wstrict-overflow -fPIC -shared -D_XOPEN_SOURCE=700 -D_BSD_SOURCE -D_DEFAULT_SOURCE $(PKGCFG_C) $(HEADERS)
++CFLAGS+=-std=c11 -Wall -Wstrict-overflow -fPIC -shared -D_XOPEN_SOURCE=700 -D_BSD_SOURCE -D_DEFAULT_SOURCE $(PKGCFG_C) $(HEADERS)
+ PLUGIN_CPPFLAGS=-DPURPLE_PLUGINS
+ 
+-ifneq ("$(wildcard /etc/redhat-release)","")
+-      LJABBER?=-lxmpp
+-else
+-      LJABBER?=-ljabber
+-endif
++LJABBER?=-ljabber
+ LFLAGS= -ldl -lm $(PKGCFG_L) $(LJABBER)
+ 
+ all: $(BDIR)/carbons.so



Home | Main Index | Thread Index | Old Index