pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/chat/profanity
Module Name: pkgsrc
Committed By: ktnb
Date: Tue Nov 17 21:42:57 UTC 2026
Modified Files:
pkgsrc/chat/profanity: Makefile PLIST distinfo options.mk
pkgsrc/chat/profanity/patches: patch-src_config_preferences.c
patch-src_ui_core.c
Added Files:
pkgsrc/chat/profanity/patches: patch-meson.build
Removed Files:
pkgsrc/chat/profanity/patches: patch-configure patch-src_config.h.in
patch-src_pgp_gpg.c
Log Message:
profanity: update to 0.19.0
Packaging updates:
- gtk2 option replaces with gtk3 as the project does not support
gtk2 anymore
- Switched to meson as the project does not use configure anymore
Upstream updates:
Features:
- Add `/mam verify` autocompleter
- Add `/mucping` command
- Add end of archive visual indicator
- Add state management for activity aware selfpings
- Add support for encrypted file sharing via HTTP upload
- Deduplicate user mood notifications
- Display correct timestamps on historical mentions and triggers
- Distinguish between MAM and regular MUC message
- Enable MAM by default
- Generalize mam and rsm functions to work on more window types
- Implement XEP-0410 timer loop
- Implement ondemand history loading
- Implement pong handler and autorejoin recovery
- Implement room-targeted MAM stanza creation
- Make AES-256-GCM file encryption optional for OX sendfile
- Print MAM and Silence setting in /prefs chat
- Print message when voice is requested in MUC
- Print mucping setting in /prefs conn
- Strip all unicode bidi control characters in messages
- Strip terminal control characters in incoming messages
- Support XMPP URI 'join' query type in `/join`
- Suppress duplicate history replay on room join
- Track MAM support for MUCs
- Trigger MAM queries on joined MUC rooms
- Trigger automatic MAM catchup sync on reconnection
- Update `/mam` command description
- Update room activity on incoming messages and presence
- Validate MUC selfping interval and timeout range
Bug Fixes:
- Accept MAM results without 'by' attribute for active MUCs
- Add space between titlebar name and SCROLLED indicator
- Align autoaway state on reconnect
- Correct RSM pagination to use last and after
- Correctly display our own sent OMEMO messages in MUCs and 1:1 chats
- Correctly roll the groupchat log
- Delay bookmark autojoin to prevent muc history
- Do not discard self sent messages received via MAM if sent offline
- Enable message carbons conditionally
- Enforce mandatory TLS during in-band registration
- Ensure cleanup and prevent command execution on GCM verification failure
- Ensure end of archive is visible and redrawn correctly
- Filter keys listed by `/ox keys` to those matching `xmpp:` prefix
- Filter out non-groupchat messages from MUC archives
- Fix client name not getting loaded from config
- Fix compiler warnings and add missing casts
- Fix rendering corruption when wrapping long words
- Fix repeated message corrections in MUCs
- Implement join queue for autojoined bookmarks
- Make connection metadata lifecycle safer
- Mitigate sensitive memory exposure and add padding bounds check
- Only autocomplete open windows for /win
- Optimize MAM history fetching
- Prevent double free on incoming messages during cleanup
- Prevent duplicate messages if MAM is enabled
- Prevent duplicated and out-of-order history messages
- Prevent plaintext fallback on encryption failure
- Prevent redundant MAM requests after archive ends
- Prevent sending message when contact goes offline
- Print message when /invite is used incorrectly
- Query bare JID for PEP features during discovery
- Resolve endless loading and database log pollution
- Resolve outgoing display name in history
- Revert "Optimize MAM history fetching"
- Support scrollback pagination for MUC windows in win_page_down
- Use RSM for catch-up to prevent duplicate message fetch
- Use case insensitive window lookup for JIDs
- Use raw UTF-8 bytes for C1 control characters
- Zeroize account passwords and GPG passphrases on destruction
Documentation:
- Explain OMEMO titlebar status in manpage
- Explain OTR titlebar meanings in /help otr
- Explain OTR titlebar status in manpage
- Fix grammar in /help silence
Refactorings:
- Actually make it possible to disable MUC self-pings
- Add JID validation to /sub and /blocked
- Check the JID in bookmark command in a better way
- Consolidate SQLite history parsing functions
- Consolidate database limit and count functions
- DRY up delay timestamp parsing in stanza.c
- Deduplicate string cleaner functions
- Don't duplicate JID in iq_mam_verify_request
- Format openpgp timestamp thread safely
- Guard /roster add against invalid JIDs
- Make MAM timestamp conversion robust
- Modernise string concatenation with g_strconcat
- Modernise timestamp and ISO8601 conversions
- Permit editing of latest correction in LMC
- Remove not used parameter
- Remove unused function get_nick_from_full_ji
- Replace obsolete gettimeofday with g_get_real_time
- Resolve NULL pointer warnings and memory management in chatlog
- Use FREE_SET_NULL and GFREE_SET_NULL macros
- Use a const for "End of archive reached"
Cleanup:
- Move NULL check from _muc_occupant_new to muc_roster_add
Tests:
- Add unit tests for `/mucping`
Chores:
- Add --issue option to changelog-helper.py
- Add XEP-0410 to DOAP
- Describe a way to report bugs for non GH users
- Fix bogus hint for omemo.trustmode
- Heavily extend the profrc.example file
- Improve OMEMO help formatting
A zillion updates since 0.14.x
To generate a diff of this commit:
cvs rdiff -u -r1.54 -r1.55 pkgsrc/chat/profanity/Makefile
cvs rdiff -u -r1.4 -r1.5 pkgsrc/chat/profanity/PLIST
cvs rdiff -u -r1.12 -r1.13 pkgsrc/chat/profanity/distinfo
cvs rdiff -u -r1.1 -r1.2 pkgsrc/chat/profanity/options.mk
cvs rdiff -u -r1.1 -r0 pkgsrc/chat/profanity/patches/patch-configure \
pkgsrc/chat/profanity/patches/patch-src_config.h.in \
pkgsrc/chat/profanity/patches/patch-src_pgp_gpg.c
cvs rdiff -u -r0 -r1.1 pkgsrc/chat/profanity/patches/patch-meson.build
cvs rdiff -u -r1.3 -r1.4 \
pkgsrc/chat/profanity/patches/patch-src_config_preferences.c
cvs rdiff -u -r1.1 -r1.2 pkgsrc/chat/profanity/patches/patch-src_ui_core.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/profanity/Makefile
diff -u pkgsrc/chat/profanity/Makefile:1.54 pkgsrc/chat/profanity/Makefile:1.55
--- pkgsrc/chat/profanity/Makefile:1.54 Wed Nov 11 11:52:02 2026
+++ pkgsrc/chat/profanity/Makefile Tue Nov 17 21:42:57 2026
@@ -1,10 +1,9 @@
-# $NetBSD: Makefile,v 1.54 2026/11/11 11:52:02 wiz Exp $
+# $NetBSD: Makefile,v 1.55 2026/11/17 21:42:57 ktnb Exp $
-DISTNAME= profanity-0.14.0
-PKGREVISION= 28
+DISTNAME= profanity-0.19.0
CATEGORIES= chat
-MASTER_SITES= ${MASTER_SITE_GITHUB:=profanity-im/}
-GITHUB_RELEASE= ${PKGVERSION_NOREV}
+MASTER_SITES= https://profanity-im.github.io/tarballs/
+EXTRACT_SUFX= .tar.xz
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
HOMEPAGE= https://profanity-im.github.io/
@@ -12,30 +11,19 @@ COMMENT= Console based XMPP client inspi
LICENSE= gnu-gpl-v3
FAKE_NCURSES= yes
-GNU_CONFIGURE= yes
USE_LIBTOOL= yes
-USE_TOOLS+= pkg-config gmake
-
+USE_TOOLS+= pkg-config cmake
USE_CURSES= wide
SUBST_CLASSES+= python
SUBST_STAGE.python= pre-configure
-SUBST_FILES.python= configure
-SUBST_SED.python= -e 's,"python",\"python-${PYVERSSUFFIX}\",g'
-SUBST_SED.python+= -e 's,"python-embed",\"python-${PYVERSSUFFIX}-embed\",g'
-SUBST_SED.python+= -e 's,\"python\",\"python-${PYVERSSUFFIX}\",g'
-SUBST_SED.python+= -e 's,\"python-embed\",\"python-${PYVERSSUFFIX}-embed\",g'
-
-SUBST_CLASSES+= paths
-SUBST_STAGE.paths= pre-configure
-SUBST_MESSAGE.paths= Setting path to OpenSSL certificates.
-SUBST_FILES.paths= src/config/preferences.c
-SUBST_VARS.paths= SSLCERTS
-
-CONFIGURE_ARGS+= --enable-plugins
-CONFIGURE_ARGS+= --enable-c-plugins
-CONFIGURE_ARGS+= --enable-python-plugins
-CONFIGURE_ARGS+= --enable-omemo
+SUBST_FILES.python= meson.build
+SUBST_SED.python+= -e 's,'python-embed','python-${PYVERSSUFFIX}-embed',g'
+SUBST_SED.python+= -e 's,'python3-embed','python-${PYVERSSUFFIX}-embed',g'
+
+MESON_ARGS+= -Dpython-plugins=enabled
+MESON_ARGS+= -Dc-plugins=enabled
+MESON_ARGS+= -Domemo=enabled
.include "options.mk"
.include "../../chat/libstrophe/buildlink3.mk"
@@ -45,6 +33,7 @@ BUILDLINK_API_DEPENDS.sqlite3+= sqlite3
.include "../../databases/sqlite3/buildlink3.mk"
.include "../../devel/glib2/buildlink3.mk"
.include "../../devel/libuuid/buildlink3.mk"
+.include "../../devel/meson/build.mk"
.include "../../devel/readline/buildlink3.mk"
.include "../../security/gpgme/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
Index: pkgsrc/chat/profanity/PLIST
diff -u pkgsrc/chat/profanity/PLIST:1.4 pkgsrc/chat/profanity/PLIST:1.5
--- pkgsrc/chat/profanity/PLIST:1.4 Thu Nov 2 13:50:47 2023
+++ pkgsrc/chat/profanity/PLIST Tue Nov 17 21:42:57 2026
@@ -1,7 +1,9 @@
-@comment $NetBSD: PLIST,v 1.4 2023/11/02 13:50:47 nros Exp $
+@comment $NetBSD: PLIST,v 1.5 2026/11/17 21:42:57 ktnb Exp $
bin/profanity
include/profapi.h
-lib/libprofanity.la
+lib/libprofanity.so
+lib/libprofanity.so.0
+lib/libprofanity.so.0.0.0
man/man1/profanity-about.1
man/man1/profanity-account.1
man/man1/profanity-affiliation.1
@@ -17,6 +19,7 @@ man/man1/profanity-bookmark.1
man/man1/profanity-caps.1
man/man1/profanity-carbons.1
man/man1/profanity-changepassword.1
+man/man1/profanity-changes.1
man/man1/profanity-charset.1
man/man1/profanity-clear.1
man/man1/profanity-close.1
@@ -51,6 +54,7 @@ man/man1/profanity-mainwin.1
man/man1/profanity-mam.1
man/man1/profanity-mood.1
man/man1/profanity-msg.1
+man/man1/profanity-mucping.1
man/man1/profanity-nick.1
man/man1/profanity-notify.1
man/man1/profanity-occupants.1
@@ -71,6 +75,7 @@ man/man1/profanity-privileges.1
man/man1/profanity-quit.1
man/man1/profanity-receipts.1
man/man1/profanity-reconnect.1
+man/man1/profanity-redraw.1
man/man1/profanity-register.1
man/man1/profanity-reload.1
man/man1/profanity-resource.1
@@ -85,6 +90,7 @@ man/man1/profanity-serversoftware.1
man/man1/profanity-silence.1
man/man1/profanity-slashguard.1
man/man1/profanity-software.1
+man/man1/profanity-spellcheck.1
man/man1/profanity-splash.1
man/man1/profanity-stamp.1
man/man1/profanity-states.1
@@ -108,6 +114,8 @@ man/man1/profanity-wintitle.1
man/man1/profanity-wrap.1
man/man1/profanity-xmlconsole.1
man/man1/profanity.1
+share/doc/profanity/profrc.example
+share/doc/profanity/theme_template
share/profanity/icons/proIcon.png
share/profanity/icons/proIconMsg.png
share/profanity/themes/aqua
Index: pkgsrc/chat/profanity/distinfo
diff -u pkgsrc/chat/profanity/distinfo:1.12 pkgsrc/chat/profanity/distinfo:1.13
--- pkgsrc/chat/profanity/distinfo:1.12 Sat Jan 31 23:07:00 2026
+++ pkgsrc/chat/profanity/distinfo Tue Nov 17 21:42:57 2026
@@ -1,10 +1,8 @@
-$NetBSD: distinfo,v 1.12 2026/01/31 23:07:00 wiz Exp $
+$NetBSD: distinfo,v 1.13 2026/11/17 21:42:57 ktnb Exp $
-BLAKE2s (profanity-0.14.0.tar.gz) = a22eb5183294fef1008611e50a9f1b54520d49ecc258374e4a83bb22bd2651ad
-SHA512 (profanity-0.14.0.tar.gz) = 25afd2f3146e6ed9f573f0e073cad0f06f7f8a21441c3c2c61641442d1aa5b9a7a817cdccc17354b32045ab9a965a95495a30c49088577a5060e8969725ea86e
-Size (profanity-0.14.0.tar.gz) = 936272 bytes
-SHA1 (patch-configure) = 90e14f5fa3945afd2b4edd9925ef13b1258780fd
-SHA1 (patch-src_config.h.in) = 455700982a35a7eb277908971f3978f27a77a308
-SHA1 (patch-src_config_preferences.c) = 17bf3adea60a4934a655e59a48551724506e158b
-SHA1 (patch-src_pgp_gpg.c) = c3f76e648431678cd37efb603be8e4b22e53b739
-SHA1 (patch-src_ui_core.c) = 31a530cb3d485162fd647374c2cfe57815f3019f
+BLAKE2s (profanity-0.19.0.tar.xz) = 1f96cab534e1c62659e1a2649768b19d6a3fcb7824670f768eee4dc3a6e60a98
+SHA512 (profanity-0.19.0.tar.xz) = 4886d5d5bc3d8b39a8a449fc0a86338b5c77ce51a61a79297706489fbac8501fb7de0bfa5e7fab4536acbe08c089126744899dede89e1364ad682e1e22032732
+Size (profanity-0.19.0.tar.xz) = 454992 bytes
+SHA1 (patch-meson.build) = c43185679743ab0f823a96dee3151996a1cd4512
+SHA1 (patch-src_config_preferences.c) = dd1011db67bc4cef0ac33ab9164d918ba3dba97d
+SHA1 (patch-src_ui_core.c) = 305dade110c4afd5e83590132a1410b1f8ff73fe
Index: pkgsrc/chat/profanity/options.mk
diff -u pkgsrc/chat/profanity/options.mk:1.1 pkgsrc/chat/profanity/options.mk:1.2
--- pkgsrc/chat/profanity/options.mk:1.1 Thu Jan 14 12:50:25 2021
+++ pkgsrc/chat/profanity/options.mk Tue Nov 17 21:42:57 2026
@@ -1,23 +1,25 @@
-# $NetBSD: options.mk,v 1.1 2021/01/14 12:50:25 nia Exp $
+# $NetBSD: options.mk,v 1.2 2026/11/17 21:42:57 ktnb Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.profanity
-PKG_SUPPORTED_OPTIONS= libnotify gtk2 xscrnsaver
+PKG_SUPPORTED_OPTIONS= libnotify gtk3 xscrnsaver
PKG_SUGGESTED_OPTIONS=
.include "../../mk/bsd.options.mk"
# gtk2
-.if !empty(PKG_OPTIONS:Mgtk2)
-.include "../../x11/gtk2/buildlink3.mk"
+.if !empty(PKG_OPTIONS:Mgtk3)
+MESON_ARGS+= -Dicons-and-clipboard=enabled
+.include "../../x11/gtk3/buildlink3.mk"
.endif
# libnotify
.if !empty(PKG_OPTIONS:Mlibnotify)
+MESON_ARGS+= -Dnotifications=enabled
.include "../../sysutils/libnotify/buildlink3.mk"
-CONFIGURE_ARGS+= --enable-notifications
.endif
# xscrnsaver
.if !empty(PKG_OPTIONS:Mxscrnsaver)
+MESON_ARGS+= -Dxscreensaver=enabled
.include "../../x11/libXScrnSaver/buildlink3.mk"
.endif
Index: pkgsrc/chat/profanity/patches/patch-src_config_preferences.c
diff -u pkgsrc/chat/profanity/patches/patch-src_config_preferences.c:1.3 pkgsrc/chat/profanity/patches/patch-src_config_preferences.c:1.4
--- pkgsrc/chat/profanity/patches/patch-src_config_preferences.c:1.3 Fri Mar 4 09:16:05 2022
+++ pkgsrc/chat/profanity/patches/patch-src_config_preferences.c Tue Nov 17 21:42:57 2026
@@ -1,10 +1,10 @@
-$NetBSD: patch-src_config_preferences.c,v 1.3 2022/03/04 09:16:05 nia Exp $
+$NetBSD: patch-src_config_preferences.c,v 1.4 2026/11/17 21:42:57 ktnb Exp $
Set paths for security/mozilla-rootcerts.
---- src/config/preferences.c.orig 2021-09-08 10:03:47.000000000 +0000
+--- src/config/preferences.c.orig 2026-10-15 13:56:02.000000000 +0000
+++ src/config/preferences.c
-@@ -636,20 +636,8 @@ prefs_get_tls_certpath(void)
+@@ -707,20 +707,8 @@ prefs_get_tls_certpath(void)
}
if (setting == NULL) {
@@ -22,8 +22,8 @@ Set paths for security/mozilla-rootcerts
- }
- if (g_file_test("/system/etc/security/cacerts", G_FILE_TEST_IS_DIR)) {
- return strdup("/system/etc/security/cacerts");
-+ if (g_file_test("@SSLCERTS@", G_FILE_TEST_IS_DIR)) {
-+ return strdup("@SSLCERTS@");
++ if (g_file_test("/etc/openssl/certs", G_FILE_TEST_IS_DIR)) {
++ return strdup("/etc/openssl/certs");
}
return NULL;
Index: pkgsrc/chat/profanity/patches/patch-src_ui_core.c
diff -u pkgsrc/chat/profanity/patches/patch-src_ui_core.c:1.1 pkgsrc/chat/profanity/patches/patch-src_ui_core.c:1.2
--- pkgsrc/chat/profanity/patches/patch-src_ui_core.c:1.1 Wed Nov 8 16:37:46 2023
+++ pkgsrc/chat/profanity/patches/patch-src_ui_core.c Tue Nov 17 21:42:57 2026
@@ -1,10 +1,10 @@
-$NetBSD: patch-src_ui_core.c,v 1.1 2023/11/08 16:37:46 nros Exp $
+$NetBSD: patch-src_ui_core.c,v 1.2 2026/11/17 21:42:57 ktnb Exp $
sys/termios.h is needed for TIOCGWINZ on Solaris/Illumos
---- src/ui/core.c.orig 2023-11-08 17:16:57.233823491 +0000
+--- src/ui/core.c.orig 2026-10-15 13:56:02.000000000 +0000
+++ src/ui/core.c
-@@ -55,6 +55,10 @@
+@@ -29,6 +29,10 @@
#include <curses.h>
#endif
@@ -15,3 +15,30 @@ sys/termios.h is needed for TIOCGWINZ on
#include "log.h"
#include "common.h"
#include "command/cmd_defs.h"
+@@ -56,6 +60,7 @@ static WINDOW* main_scr;
+ static gboolean perform_resize = FALSE;
+ static GTimer* ui_idle_time;
+ static WINDOW* main_scr;
++static SCREEN* main_screen;
+
+ #ifdef HAVE_LIBXSS
+ static Display* display;
+@@ -76,7 +81,7 @@ _ui_close(void)
+ endwin();
+ delwin(main_scr);
+ main_scr = NULL;
+- delscreen(set_term(NULL));
++ delscreen(main_screen);
+ }
+
+ void
+@@ -84,7 +89,8 @@ ui_init(void)
+ {
+ log_info("Initialising UI");
+ prof_add_shutdown_routine(_ui_close);
+- main_scr = initscr();
++ main_screen = newterm(NULL, stdout, stdin);
++ main_scr = stdscr;
+ nonl();
+ cbreak();
+ noecho();
Added files:
Index: pkgsrc/chat/profanity/patches/patch-meson.build
diff -u /dev/null pkgsrc/chat/profanity/patches/patch-meson.build:1.1
--- /dev/null Tue Nov 17 21:42:57 2026
+++ pkgsrc/chat/profanity/patches/patch-meson.build Tue Nov 17 21:42:57 2026
@@ -0,0 +1,15 @@
+$NetBSD: patch-meson.build,v 1.1 2026/11/17 21:42:57 ktnb Exp $
+
+Added NetBSD to the libnotify section
+
+--- meson.build.orig 2026-11-17 21:14:45.990130389 +0000
++++ meson.build
+@@ -184,7 +184,7 @@ if get_option('notifications').enabled()
+ terminal_notifier = find_program('terminal-notifier', required: true)
+ have_osxnotify = true
+ conf_data.set('HAVE_OSXNOTIFY', 1)
+- elif platform in ['nix', 'freebsd']
++ elif platform in ['nix', 'freebsd', 'netbsd']
+ libnotify_dep = dependency('libnotify', required: true)
+ conf_data.set('HAVE_LIBNOTIFY', 1)
+ else
Home |
Main Index |
Thread Index |
Old Index