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: Thu Nov 19 15:32:32 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
Removed Files:
pkgsrc/chat/profanity/patches: patch-meson.build
Log Message:
profanity: update to 0.20.0
Packaging Updates:
(all required by upstream)
- dropped python depenency in favor of lua54
- dropped C and python plugins
- dropped libnotify, gtk3, xscrnsaver options
- added dbus option for tray and notification support
Upstream updates:
Features:
- Acknowledge new messages on tray alert click
- Add /form clear to unset form fields
- Add plugins enable and disable
- Add avatar_get_path to locate cached avatars
- Add desktop file
- Add option to automatically update avatars
- Add priority-ordered plugin execution pipeline
- Add scalable application icon and use it for notifications
- Add tab autocompletion for /plugins uninstall
- Complete all URLs across all window types
- Configure Lua package path for local plugin modules
- Decouple account readiness from component discovery
- Decouple plugin installation from loading
- Display contact avatar in desktop notification
- Don't reopen log file when changing log level
- Establish contact sessions lazily on demand
- Fetch bundles for new PEP devices in blind trust mode
- Implement Blind Trust Before Verification for blind trust mode
- Implement Lua plugin engine
- Load local history immediately when opening chat windows with MAM
- Modernize vCard editing using forms
- Redesign Lua API into idiomatic namespaces
- Replace GTK tray icon with StatusNotifierItem over D-Bus
- Replace libnotify with dbus desktop notifications
- Show current settings when /log is called without arguments
- Support global plugin search path
- Support joining room with nick in JID
- Surface Lua hook execution errors in UI console
- Track component discovery to prevent premature errors
- Drop /paste command and clipboard module
- Drop /script command
- Drop system wide idle detection
- Remove C plugin support
- Remove Python plugin support
Bug Fixes:
- Avoid memory leaks on Lua error in completer functions
- Avoid mutating Lua string memory in prof.send_line
- Check MUC room features for groupchat MAM support
- Clean up MAM loading indicator and fix startup query sequence
- Clean up plugin autocompleters on unload
- Clean up registered callbacks if plugin fails to load
- Clear GPathBuf in recursive plugin installation
- Correct resource parameter in redacted OMEMO chat logging
- Correct return type of plugin_settings_string_list_add in header
- Do not free roster-owned string in get_barejid_from_roster
- Do not leak disco#info ID handler on lookup failure
- Do not request bundles if session already exists
- Don't stall MAM and bookmarks on disco errors
- Drop nonnull attribute from omemo_receive_message
- Eliminate unreachable code
- Forward declare Bookmark in bookmark_ignore.h
- Free PluginsInstallResult in plugins_free_install_result
- Free new_groups list in roster group management
- Only start OMEMO session for MUC member if OMEMO is active
- Prevent commands from falling through to MUC nick completion
- Prevent crash on invalid room JID in rosterwin
- Prevent double free in OMEMO bundle request and publish
- Prevent leak of target_path in plugins_install
- Properly start sessions after acquiring device id
- Remove disco features on plugin unload
- Respect roster.count.zero preference
- Save vCard photos using bare JID
- Synchronize api_win_create callback parameter types
- Teardown callbacks before closing Lua states on shutdown
- Trigger wins_omemo_trust_changed() if firstusage gets skipped
- Trim resource from JID in `/roster add`
- Use g_free for settings string and auto_gchar for filter hooks
- Validate JID in roster handlers
- Validate constructed room JID in cmd_join
- Validate room JID in bookmark handling
- Validate room JID in muc_join and presence handlers
Build System:
- Add -Wduplicated-branches to debug compiler flags
- Add -Wduplicated-cond to debug compiler flags
- Add -Wlogical-op, -Wundef, and -Winit-self to debug flags
- Add -Wmissing-prototypes to debug compiler flags
- Add -Wnull-dereference to debug compiler flags
- Add -Wstrict-prototypes to debug compiler flags
- Bump glib to >=3D 2.80.0
- Require glib >=3D 2.68
- Stop silencing deprecated declarations
To generate a diff of this commit:
cvs rdiff -u -r1.56 -r1.57 pkgsrc/chat/profanity/Makefile
cvs rdiff -u -r1.5 -r1.6 pkgsrc/chat/profanity/PLIST
cvs rdiff -u -r1.14 -r1.15 pkgsrc/chat/profanity/distinfo
cvs rdiff -u -r1.2 -r1.3 pkgsrc/chat/profanity/options.mk
cvs rdiff -u -r1.2 -r0 pkgsrc/chat/profanity/patches/patch-meson.build
cvs rdiff -u -r1.5 -r1.6 \
pkgsrc/chat/profanity/patches/patch-src_config_preferences.c
cvs rdiff -u -r1.3 -r1.4 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.56 pkgsrc/chat/profanity/Makefile:1.57
--- pkgsrc/chat/profanity/Makefile:1.56 Tue Nov 17 22:09:41 2026
+++ pkgsrc/chat/profanity/Makefile Thu Nov 19 15:32:32 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.56 2026/11/17 22:09:41 ktnb Exp $
+# $NetBSD: Makefile,v 1.57 2026/11/19 15:32:32 ktnb Exp $
-DISTNAME= profanity-0.19.0
+DISTNAME= profanity-0.20.0
CATEGORIES= chat
MASTER_SITES= https://profanity-im.github.io/tarballs/
EXTRACT_SUFX= .tar.xz
@@ -10,16 +10,11 @@ HOMEPAGE= https://profanity-im.github.io
COMMENT= Console based XMPP client inspired by irssi
LICENSE= gnu-gpl-v3
-FAKE_NCURSES= yes
-USE_LIBTOOL= yes
-USE_TOOLS+= pkg-config cmake
-USE_CURSES= wide
-
-SUBST_CLASSES+= python
-SUBST_STAGE.python= pre-configure
-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'
+FAKE_NCURSES= yes
+USE_LIBTOOL= yes
+USE_TOOLS+= pkg-config cmake
+USE_CURSES= wide
+READLINE_DEFAULT= readline
SUBST_CLASSES+= paths
SUBST_STAGE.paths= pre-configure
@@ -27,8 +22,7 @@ SUBST_MESSAGE.paths= Setting path to Ope
SUBST_FILES.paths= src/config/preferences.c
SUBST_VARS.paths= SSLCERTS
-MESON_ARGS+= -Dpython-plugins=enabled
-MESON_ARGS+= -Dc-plugins=enabled
+MESON_ARGS+= -Dplugins=enabled
MESON_ARGS+= -Domemo=enabled
.include "options.mk"
@@ -41,10 +35,11 @@ BUILDLINK_API_DEPENDS.sqlite3+= sqlite3
.include "../../devel/libuuid/buildlink3.mk"
.include "../../devel/meson/build.mk"
.include "../../devel/readline/buildlink3.mk"
+.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
.include "../../security/gpgme/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
.include "../../textproc/libxml2/buildlink3.mk"
-.include "../../lang/python/application.mk"
+.include "../../lang/lua54/buildlink3.mk"
.include "../../www/curl/buildlink3.mk"
.include "../../mk/dlopen.buildlink3.mk"
.include "../../mk/curses.buildlink3.mk"
Index: pkgsrc/chat/profanity/PLIST
diff -u pkgsrc/chat/profanity/PLIST:1.5 pkgsrc/chat/profanity/PLIST:1.6
--- pkgsrc/chat/profanity/PLIST:1.5 Tue Nov 17 21:42:57 2026
+++ pkgsrc/chat/profanity/PLIST Thu Nov 19 15:32:32 2026
@@ -1,9 +1,5 @@
-@comment $NetBSD: PLIST,v 1.5 2026/11/17 21:42:57 ktnb Exp $
+@comment $NetBSD: PLIST,v 1.6 2026/11/19 15:32:32 ktnb Exp $
bin/profanity
-include/profapi.h
-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
@@ -51,7 +47,6 @@ man/man1/profanity-lastactivity.1
man/man1/profanity-log.1
man/man1/profanity-logging.1
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
@@ -63,7 +58,6 @@ man/man1/profanity-otr.1
man/man1/profanity-outtype.1
man/man1/profanity-ox-setup.1
man/man1/profanity-ox.1
-man/man1/profanity-paste.1
man/man1/profanity-pgp.1
man/man1/profanity-ping.1
man/man1/profanity-plugins.1
@@ -84,7 +78,6 @@ man/man1/profanity-room.1
man/man1/profanity-rooms.1
man/man1/profanity-roster.1
man/man1/profanity-save.1
-man/man1/profanity-script.1
man/man1/profanity-sendfile.1
man/man1/profanity-serversoftware.1
man/man1/profanity-silence.1
@@ -116,8 +109,10 @@ 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/icons/hicolor/scalable/apps/profanity.svg
+share/profanity/icons/profanity-msg-bubble.png
+share/profanity/icons/profanity-new-message.png
+share/profanity/icons/profanity.svg
share/profanity/themes/aqua
share/profanity/themes/batman
share/profanity/themes/bios
Index: pkgsrc/chat/profanity/distinfo
diff -u pkgsrc/chat/profanity/distinfo:1.14 pkgsrc/chat/profanity/distinfo:1.15
--- pkgsrc/chat/profanity/distinfo:1.14 Tue Nov 17 22:09:41 2026
+++ pkgsrc/chat/profanity/distinfo Thu Nov 19 15:32:32 2026
@@ -1,8 +1,7 @@
-$NetBSD: distinfo,v 1.14 2026/11/17 22:09:41 ktnb Exp $
+$NetBSD: distinfo,v 1.15 2026/11/19 15:32:32 ktnb Exp $
-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) = cfe32b799f19d78b2f2058d5a2d9217b475286b4
-SHA1 (patch-src_config_preferences.c) = 17bf3adea60a4934a655e59a48551724506e158b
-SHA1 (patch-src_ui_core.c) = 305dade110c4afd5e83590132a1410b1f8ff73fe
+BLAKE2s (profanity-0.20.0.tar.xz) = f13e8858dc1c03017e93678a5273b325d72f6234d586edd502ea0b3cd720db03
+SHA512 (profanity-0.20.0.tar.xz) = 0638cb940068fd1b513bf2442f4198d671e25ce800ce82d6a11a3a75c212b0b27e9641e5c65f35a5cb1ebebdd88e6700a8c237be0a2a5c363ac2eb374d1cd5cb
+Size (profanity-0.20.0.tar.xz) = 424636 bytes
+SHA1 (patch-src_config_preferences.c) = 438389bc0de81fc36d8d4b231c94e46185efda14
+SHA1 (patch-src_ui_core.c) = 858de60806451569e81f72f790e98e4664562c39
Index: pkgsrc/chat/profanity/options.mk
diff -u pkgsrc/chat/profanity/options.mk:1.2 pkgsrc/chat/profanity/options.mk:1.3
--- pkgsrc/chat/profanity/options.mk:1.2 Tue Nov 17 21:42:57 2026
+++ pkgsrc/chat/profanity/options.mk Thu Nov 19 15:32:32 2026
@@ -1,25 +1,14 @@
-# $NetBSD: options.mk,v 1.2 2026/11/17 21:42:57 ktnb Exp $
+# $NetBSD: options.mk,v 1.3 2026/11/19 15:32:32 ktnb Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.profanity
-PKG_SUPPORTED_OPTIONS= libnotify gtk3 xscrnsaver
+PKG_SUPPORTED_OPTIONS= dbus
PKG_SUGGESTED_OPTIONS=
.include "../../mk/bsd.options.mk"
-# gtk2
-.if !empty(PKG_OPTIONS:Mgtk3)
-MESON_ARGS+= -Dicons-and-clipboard=enabled
-.include "../../x11/gtk3/buildlink3.mk"
-.endif
-
-# libnotify
-.if !empty(PKG_OPTIONS:Mlibnotify)
+# dbus
+.if !empty(PKG_OPTIONS:Mdbus)
MESON_ARGS+= -Dnotifications=enabled
-.include "../../sysutils/libnotify/buildlink3.mk"
-.endif
-
-# xscrnsaver
-.if !empty(PKG_OPTIONS:Mxscrnsaver)
-MESON_ARGS+= -Dxscreensaver=enabled
-.include "../../x11/libXScrnSaver/buildlink3.mk"
+MESON_ARGS+= -Dtray=enabled
+.include "../../sysutils/dbus/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.5 pkgsrc/chat/profanity/patches/patch-src_config_preferences.c:1.6
--- pkgsrc/chat/profanity/patches/patch-src_config_preferences.c:1.5 Tue Nov 17 22:09:41 2026
+++ pkgsrc/chat/profanity/patches/patch-src_config_preferences.c Thu Nov 19 15:32:32 2026
@@ -1,29 +1,29 @@
-$NetBSD: patch-src_config_preferences.c,v 1.5 2026/11/17 22:09:41 ktnb Exp $
+$NetBSD: patch-src_config_preferences.c,v 1.6 2026/11/19 15:32:32 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-11-19 13:09:11.549078963 +0000
+++ src/config/preferences.c
-@@ -636,20 +636,8 @@ prefs_get_tls_certpath(void)
+@@ -660,20 +660,8 @@ prefs_get_tls_certpath(void)
}
if (setting == NULL) {
- if (g_file_test("/etc/ssl/certs", G_FILE_TEST_IS_DIR)) {
-- return strdup("/etc/ssl/certs");
+- return g_strdup("/etc/ssl/certs");
- }
- if (g_file_test("/etc/pki/tls/certs", G_FILE_TEST_IS_DIR)) {
-- return strdup("/etc/pki/tls/certs");
+- return g_strdup("/etc/pki/tls/certs");
- }
- if (g_file_test("/etc/ssl", G_FILE_TEST_IS_DIR)) {
-- return strdup("/etc/ssl");
+- return g_strdup("/etc/ssl");
- }
- if (g_file_test("/etc/pki/tls", G_FILE_TEST_IS_DIR)) {
-- return strdup("/etc/pki/tls");
+- return g_strdup("/etc/pki/tls");
- }
- if (g_file_test("/system/etc/security/cacerts", G_FILE_TEST_IS_DIR)) {
-- return strdup("/system/etc/security/cacerts");
+- return g_strdup("/system/etc/security/cacerts");
+ if (g_file_test("@SSLCERTS@", G_FILE_TEST_IS_DIR)) {
-+ return strdup("@SSLCERTS@");
++ return g_strdup("@SSLCERTS@");
}
return NULL;
Index: pkgsrc/chat/profanity/patches/patch-src_ui_core.c
diff -u pkgsrc/chat/profanity/patches/patch-src_ui_core.c:1.3 pkgsrc/chat/profanity/patches/patch-src_ui_core.c:1.4
--- pkgsrc/chat/profanity/patches/patch-src_ui_core.c:1.3 Tue Nov 17 22:09:41 2026
+++ pkgsrc/chat/profanity/patches/patch-src_ui_core.c Thu Nov 19 15:32:32 2026
@@ -1,10 +1,10 @@
-$NetBSD: patch-src_ui_core.c,v 1.3 2026/11/17 22:09:41 ktnb Exp $
+$NetBSD: patch-src_ui_core.c,v 1.4 2026/11/19 15:32:32 ktnb Exp $
sys/termios.h is needed for TIOCGWINZ on Solaris/Illumos
---- src/ui/core.c.orig 2026-10-15 13:56:02.000000000 +0000
+--- src/ui/core.c.orig 2026-11-19 09:24:26.000000000 +0000
+++ src/ui/core.c
-@@ -29,6 +29,10 @@
+@@ -25,6 +25,10 @@
#include <curses.h>
#endif
@@ -15,15 +15,15 @@ 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;
+@@ -51,6 +55,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)
+ static void _ui_draw_term_title(void);
+
+@@ -67,7 +72,7 @@ _ui_close(void)
endwin();
delwin(main_scr);
main_scr = NULL;
@@ -32,7 +32,7 @@ sys/termios.h is needed for TIOCGWINZ on
}
void
-@@ -84,7 +89,8 @@ ui_init(void)
+@@ -75,7 +80,8 @@ ui_init(void)
{
log_info("Initialising UI");
prof_add_shutdown_routine(_ui_close);
Home |
Main Index |
Thread Index |
Old Index