pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
slack-libpurple: Import slack-libpurple-0.0.20201029 as wip/slack-libpurple
Module Name: pkgsrc-wip
Committed By: Leonardo Taccari <leot%NetBSD.org@localhost>
Pushed By: leot
Date: Sun Nov 15 22:49:28 2020 +0100
Changeset: 385ec2c537d373e59b34c56f0e01be177d99e881
Modified Files:
Makefile
Added Files:
slack-libpurple/DESCR
slack-libpurple/Makefile
slack-libpurple/PLIST
slack-libpurple/distinfo
slack-libpurple/patches/patch-Makefile
Log Message:
slack-libpurple: Import slack-libpurple-0.0.20201029 as wip/slack-libpurple
A Slack protocol plugin for libpurple IM clients.
Here's how slack concepts are mapped to purple:
* Your "open" channels (on the slack bar) are mapped to the buddy list:
joining a channel is equivalent to creating a buddy
* Which conversations are open in purple is up to you, and has no effect
on slack... (how to deal with activity in open channels with no
conversation?)
* For bitlbee IRC connections, Slack channels are "chat channels" that
can be added to your configuration with
"`chat add <account id> #<channel>`"
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=385ec2c537d373e59b34c56f0e01be177d99e881
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
Makefile | 1 +
slack-libpurple/DESCR | 12 ++++++++++++
slack-libpurple/Makefile | 18 ++++++++++++++++++
slack-libpurple/PLIST | 5 +++++
slack-libpurple/distinfo | 7 +++++++
slack-libpurple/patches/patch-Makefile | 33 +++++++++++++++++++++++++++++++++
6 files changed, 76 insertions(+)
diffs:
diff --git a/Makefile b/Makefile
index 2f57bb9b1a..69c1565958 100644
--- a/Makefile
+++ b/Makefile
@@ -4740,6 +4740,7 @@ SUBDIR+= sjg-mk-files
SUBDIR+= skinlf
SUBDIR+= skippy-xd
SUBDIR+= skype4
+SUBDIR+= slack-libpurple
SUBDIR+= slack-term
SUBDIR+= slackpkg2pkgsrc
SUBDIR+= slashem
diff --git a/slack-libpurple/DESCR b/slack-libpurple/DESCR
new file mode 100644
index 0000000000..e98a7d25e4
--- /dev/null
+++ b/slack-libpurple/DESCR
@@ -0,0 +1,12 @@
+A Slack protocol plugin for libpurple IM clients.
+
+Here's how slack concepts are mapped to purple:
+
+ * Your "open" channels (on the slack bar) are mapped to the buddy list:
+ joining a channel is equivalent to creating a buddy
+ * Which conversations are open in purple is up to you, and has no effect
+ on slack... (how to deal with activity in open channels with no
+ conversation?)
+ * For bitlbee IRC connections, Slack channels are "chat channels" that
+ can be added to your configuration with
+ "`chat add <account id> #<channel>`"
diff --git a/slack-libpurple/Makefile b/slack-libpurple/Makefile
new file mode 100644
index 0000000000..e62d0f5ec8
--- /dev/null
+++ b/slack-libpurple/Makefile
@@ -0,0 +1,18 @@
+# $NetBSD$
+
+DISTNAME= slack-libpurple-0.0.20201029
+CATEGORIES= chat
+MASTER_SITES= ${MASTER_SITE_GITHUB:=dylex/}
+GITHUB_TAG= fbbd414ba03821cdfc8f91ee40a722c5bdd4dcc5
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://github.com/dylex/slack-libpurple/
+COMMENT= Slack protocol plugin for libpurple IM clients
+LICENSE= gnu-gpl-v2
+
+USE_TOOLS+= gmake pkg-config
+
+USE_LANGUAGES= c99
+
+.include "../../chat/libpurple/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/slack-libpurple/PLIST b/slack-libpurple/PLIST
new file mode 100644
index 0000000000..82430a010b
--- /dev/null
+++ b/slack-libpurple/PLIST
@@ -0,0 +1,5 @@
+@comment $NetBSD$
+lib/purple-2/libslack.so
+share/pixmaps/pidgin/protocols/16/slack.png
+share/pixmaps/pidgin/protocols/22/slack.png
+share/pixmaps/pidgin/protocols/48/slack.png
diff --git a/slack-libpurple/distinfo b/slack-libpurple/distinfo
new file mode 100644
index 0000000000..84198dae69
--- /dev/null
+++ b/slack-libpurple/distinfo
@@ -0,0 +1,7 @@
+$NetBSD$
+
+SHA1 (slack-libpurple-0.0.20201029-fbbd414ba03821cdfc8f91ee40a722c5bdd4dcc5.tar.gz) = 4ab577e9956f4e961b4b2dd0ab2818f4c3c81191
+RMD160 (slack-libpurple-0.0.20201029-fbbd414ba03821cdfc8f91ee40a722c5bdd4dcc5.tar.gz) = 1d45f9d856118f7fc9bc388442e3ca2418025420
+SHA512 (slack-libpurple-0.0.20201029-fbbd414ba03821cdfc8f91ee40a722c5bdd4dcc5.tar.gz) = 11c01989d76a8df0236cf1de561d16820a3bf31425f86b43ec5686a64274e58b8bcb4fced537635de2ba94f449803dd8b4c2fd48f99778e230b9229d298da93d
+Size (slack-libpurple-0.0.20201029-fbbd414ba03821cdfc8f91ee40a722c5bdd4dcc5.tar.gz) = 54847 bytes
+SHA1 (patch-Makefile) = 7262c4409f9e459d1153272873a2fc92289182d4
diff --git a/slack-libpurple/patches/patch-Makefile b/slack-libpurple/patches/patch-Makefile
new file mode 100644
index 0000000000..7990fd60f6
--- /dev/null
+++ b/slack-libpurple/patches/patch-Makefile
@@ -0,0 +1,33 @@
+$NetBSD$
+
+Honors user's {C,LD}FLAGS.
+
+--- Makefile.orig 2020-10-29 13:36:16.000000000 +0000
++++ Makefile
+@@ -35,7 +35,7 @@ CC = $(WIN32_DEV_TOP)/mingw-4.7.2/bin/gc
+
+ DATA_ROOT_DIR_PURPLE:="$(PROGFILES32)/Pidgin"
+ PLUGIN_DIR_PURPLE:="$(DATA_ROOT_DIR_PURPLE)/plugins"
+-CFLAGS = \
++CFLAGS += \
+ -g \
+ -O2 \
+ -Wall \
+@@ -54,7 +54,7 @@ PLUGIN_DIR_PURPLE:=$(DESTDIR)$(shell pkg
+ DATA_ROOT_DIR_PURPLE:=$(DESTDIR)$(shell pkg-config --variable=datarootdir $(PURPLE_MOD))
+ PKGS=$(PURPLE_MOD) glib-2.0 gobject-2.0
+
+-CFLAGS = \
++CFLAGS += \
+ -g \
+ -O2 \
+ -Wall \
+@@ -72,7 +72,7 @@ endif
+ .PHONY: all
+ all: $(LIBNAME)
+
+-LDFLAGS = -shared
++LDFLAGS += -shared
+
+ json.%: json-parser/json.%
+ cp $< $@
Home |
Main Index |
Thread Index |
Old Index