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: ktnb
Date: Mon Aug 25 20:03:22 UTC 2025
Modified Files:
pkgsrc/chat: Makefile
Added Files:
pkgsrc/chat/toxic: DESCR Makefile PLIST distinfo
pkgsrc/chat/toxic/patches: patch-Makefile patch-src_init__queue.c
Log Message:
Toxic is a Tox-based peer-to-peer messenger that provides end-to-end
encrypted communications without the use of centralized servers.
It supports text messaging, file sharing, 1-on-1 voice and video
calls, private audio conferences, public and private text group
chats, and a few built-in games you can play with your friends.
Toxic requires no registration or setup, and is ready to use out
of the box. Its interface is highly customizable to suit your
preferences.
To generate a diff of this commit:
cvs rdiff -u -r1.300 -r1.301 pkgsrc/chat/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/chat/toxic/DESCR pkgsrc/chat/toxic/Makefile \
pkgsrc/chat/toxic/PLIST pkgsrc/chat/toxic/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/chat/toxic/patches/patch-Makefile \
pkgsrc/chat/toxic/patches/patch-src_init__queue.c
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.300 pkgsrc/chat/Makefile:1.301
--- pkgsrc/chat/Makefile:1.300 Wed Aug 13 15:02:58 2025
+++ pkgsrc/chat/Makefile Mon Aug 25 20:03:21 2025
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.300 2025/08/13 15:02:58 gdt Exp $
+# $NetBSD: Makefile,v 1.301 2025/08/25 20:03:21 ktnb Exp $
#
COMMENT= Communication programs
@@ -146,6 +146,7 @@ SUBDIR+= tkirc2
SUBDIR+= toot
SUBDIR+= tootstream
SUBDIR+= toxcore
+SUBDIR+= toxic
SUBDIR+= twitch-tui
SUBDIR+= unrealircd
SUBDIR+= unrealircd6
Added files:
Index: pkgsrc/chat/toxic/DESCR
diff -u /dev/null pkgsrc/chat/toxic/DESCR:1.1
--- /dev/null Mon Aug 25 20:03:22 2025
+++ pkgsrc/chat/toxic/DESCR Mon Aug 25 20:03:21 2025
@@ -0,0 +1,8 @@
+Toxic is a Tox-based peer-to-peer messenger that provides end-to-end
+encrypted communications without the use of centralized servers.
+It supports text messaging, file sharing, 1-on-1 voice and video
+calls, private audio conferences, public and private text group
+chats, and a few built-in games you can play with your friends.
+Toxic requires no registration or setup, and is ready to use out
+of the box. Its interface is highly customizable to suit your
+preferences.
Index: pkgsrc/chat/toxic/Makefile
diff -u /dev/null pkgsrc/chat/toxic/Makefile:1.1
--- /dev/null Mon Aug 25 20:03:22 2025
+++ pkgsrc/chat/toxic/Makefile Mon Aug 25 20:03:22 2025
@@ -0,0 +1,42 @@
+# $NetBSD: Makefile,v 1.1 2025/08/25 20:03:22 ktnb Exp $
+
+DISTNAME= toxic-0.16.1
+CATEGORIES= chat
+MASTER_SITES= ${MASTER_SITE_GITHUB:=JFreegman/}
+GITHUB_TAG= v${PKGVERSION_NOREV}
+
+MAINTAINER= ktnb%NetBSD.org@localhost
+HOMEPAGE= https://github.com/JFreegman/toxic/
+COMMENT= Terminal-based Tox peer-to-peer messenger
+LICENSE= gnu-gpl-v3
+
+USE_LANGUAGES= c c++
+USE_TOOLS+= gmake pkg-config
+
+TOOL_DEPENDS+= asciidoc-[0-9]*:../../textproc/asciidoc
+
+MAKE_ENV+= ENABLE_RELEASE=1
+LDFLAGS+= ${COMPILER_RPATH_FLAG}${PREFIX}/lib/
+
+INSTALLATION_DIRS+= man/man1 man/man5
+
+post-install:
+ ${INSTALL_MAN} ${WRKSRC}/doc/toxic.1 \
+ ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+ ${INSTALL_MAN} ${WRKSRC}/doc/toxic.conf.5 \
+ ${DESTDIR}${PREFIX}/${PKGMANDIR}/man5
+ # the install target puts gzipped man pages here
+ ${RM} -r ${DESTDIR}${PREFIX}/share/man
+
+.include "../../audio/freealut/buildlink3.mk"
+.include "../../audio/openal-soft/buildlink3.mk"
+.include "../../chat/toxcore/buildlink3.mk"
+.include "../../converters/qrencode/buildlink3.mk"
+.include "../../devel/libconfig/buildlink3.mk"
+# segfaults without direct bl3 to ncurses
+.include "../../devel/ncurses/buildlink3.mk"
+.include "../../lang/python/application.mk"
+.include "../../www/curl/buildlink3.mk"
+.include "../../sysutils/libnotify/buildlink3.mk"
+.include "../../x11/libX11/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/chat/toxic/PLIST
diff -u /dev/null pkgsrc/chat/toxic/PLIST:1.1
--- /dev/null Mon Aug 25 20:03:22 2025
+++ pkgsrc/chat/toxic/PLIST Mon Aug 25 20:03:22 2025
@@ -0,0 +1,15 @@
+@comment $NetBSD: PLIST,v 1.1 2025/08/25 20:03:22 ktnb Exp $
+bin/toxic
+man/man1/toxic.1
+man/man5/toxic.conf.5
+share/applications/toxic.desktop
+share/toxic/nameservers
+share/toxic/sounds/ToxicContactOffline.wav
+share/toxic/sounds/ToxicContactOnline.wav
+share/toxic/sounds/ToxicError.wav
+share/toxic/sounds/ToxicIncomingCall.wav
+share/toxic/sounds/ToxicOutgoingCall.wav
+share/toxic/sounds/ToxicRecvMessage.wav
+share/toxic/sounds/ToxicTransferComplete.wav
+share/toxic/sounds/ToxicTransferStart.wav
+share/toxic/toxic.conf.example
Index: pkgsrc/chat/toxic/distinfo
diff -u /dev/null pkgsrc/chat/toxic/distinfo:1.1
--- /dev/null Mon Aug 25 20:03:22 2025
+++ pkgsrc/chat/toxic/distinfo Mon Aug 25 20:03:22 2025
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2025/08/25 20:03:22 ktnb Exp $
+
+BLAKE2s (toxic-0.16.1.tar.gz) = d4dd8f33b0fc59953cee1eabd4067e9828b45101625f57b9227ffa965778a383
+SHA512 (toxic-0.16.1.tar.gz) = 438f971b962ef4d7bf8e8bc2e44809348feadfcc547f44e879c909d60e18d5a9cd41bba2e4c0a1e7667f3fd92f832a981a7d9e284fcd18b004aac0d05a410713
+Size (toxic-0.16.1.tar.gz) = 1249306 bytes
+SHA1 (patch-Makefile) = 85e9ed289f28a0e529dc03097ad726e13e327c2f
+SHA1 (patch-src_init__queue.c) = 88d854fe7968d1166bda690e8effb01c561b447a
Index: pkgsrc/chat/toxic/patches/patch-Makefile
diff -u /dev/null pkgsrc/chat/toxic/patches/patch-Makefile:1.1
--- /dev/null Mon Aug 25 20:03:22 2025
+++ pkgsrc/chat/toxic/patches/patch-Makefile Mon Aug 25 20:03:22 2025
@@ -0,0 +1,15 @@
+$NetBSD: patch-Makefile,v 1.1 2025/08/25 20:03:22 ktnb Exp $
+
+binary will fail to link if we aren't expicit
+
+--- Makefile.orig 2025-01-09 14:41:43.000000000 +0000
++++ Makefile
+@@ -44,7 +44,7 @@ LDFLAGS += -lncursesw
+ endif
+ ifeq ($(UNAME_S), NetBSD)
+ LIBS := $(filter-out ncursesw, $(LIBS))
+-LDFLAGS += -lncursesw
++LDFLAGS += -lncursesw -ltoxcore -lconfig -lcurl
+ endif
+ ifeq ($(UNAME_S), Darwin)
+ -include $(CFG_DIR)/systems/Darwin.mk
Index: pkgsrc/chat/toxic/patches/patch-src_init__queue.c
diff -u /dev/null pkgsrc/chat/toxic/patches/patch-src_init__queue.c:1.1
--- /dev/null Mon Aug 25 20:03:22 2025
+++ pkgsrc/chat/toxic/patches/patch-src_init__queue.c Mon Aug 25 20:03:22 2025
@@ -0,0 +1,16 @@
+$NetBSD: patch-src_init__queue.c,v 1.1 2025/08/25 20:03:22 ktnb Exp $
+
+NetBSD requires stdarg to get va_list
+
+--- src/init_queue.c.orig 2025-01-09 14:41:43.000000000 +0000
++++ src/init_queue.c
+@@ -10,6 +10,9 @@
+
+ #include <stdint.h>
+ #include <stdlib.h>
++#if defined(__NetBSD__)
++#include <stdarg.h>
++#endif
+
+ #include "line_info.h"
+ #include "toxic.h"
Home |
Main Index |
Thread Index |
Old Index