Received: by mail.netbsd.org (Postfix, from userid 605) id B251484DB2; Mon, 13 Feb 2023 13:58:58 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id E3E2084D66 for ; Mon, 13 Feb 2023 13:58:57 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id FZU0E1zUx6S4 for ; Mon, 13 Feb 2023 13:58:56 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id DE5A384CEA for ; Mon, 13 Feb 2023 13:58:56 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id D7CF1FA90; Mon, 13 Feb 2023 13:58:56 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_167629673617540" MIME-Version: 1.0 Date: Mon, 13 Feb 2023 13:58:56 +0000 From: "Ryo ONODERA" Subject: CVS commit: pkgsrc/chat/weechat To: pkgsrc-changes@NetBSD.org Reply-To: ryoon@netbsd.org X-Mailer: log_accum Message-Id: <20230213135856.D7CF1FA90@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_167629673617540 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="UTF-8" Module Name: pkgsrc Committed By: ryoon Date: Mon Feb 13 13:58:56 UTC 2023 Modified Files: pkgsrc/chat/weechat: Makefile distinfo Log Message: weechat: Update to 3.8 * Add PYTHON_VERSIONS_INCOMPATIBLE=27 for 3.8 Changelog: Version 3.8 (2023-01-08) Move of options out of command /input Some options of /input command have been moved to other commands (they can still be used with /input but marked as deprecated and completion has been removed): Old command New command Default key /input jump_smart /buffer jump smart kbd:[Alt+a] /input /buffer jump kbd:[Alt+<] jump_previously_visited_buffer prev_visited /input /buffer jump kbd:[Alt+>] jump_next_visited_buffer next_visited /input /buffer jump kbd:[Alt+/] jump_last_buffer_displayed last_displayed /input hotlist_clear /hotlist clear kbd:[Alt+h], kbd:[Alt+c] /input hotlist_remove_buffer /hotlist remove kbd:[Alt+h], kbd:[Alt+m] /input hotlist_restore_buffer /hotlist restore kbd:[Alt+h], kbd:[Alt+r] /input hotlist_restore_all /hotlist restore -all kbd:[Alt+h], kbd: [Alt+Shift+R] /input set_unread /allbuf /buffer set kbd:[Ctrl+s], kbd: unread [Ctrl+u] /input /buffer set unread (none) set_unread_current_buffer /input switch_active_buffer /buffer switch kbd:[Ctrl+x] /input /buffer switch (none) switch_active_buffer_previous -previous /input zoom_merged_buffer /buffer zoom kbd:[Alt+x] The following default keys can be reset to use the new command: /key reset meta-a /key reset meta-< /key reset meta-> /key reset meta-/ /key reset meta-hmeta-c /key reset meta-hmeta-m /key reset meta-hmeta-r /key reset meta-hmeta-R /key reset ctrl-Sctrl-U /key reset ctrl-X /key reset meta-x Return code of string comparison functions The following functions now return arithmetic result of subtracting the last compared UTF-8 char in string2 from the last compared UTF-8 char in string1: * string_charcmp * string_charcasecmp * string_charcasecmp_range * string_strcasecmp * string_strcasecmp_range * string_strncasecmp * string_strncasecmp_range * string_strcmp_ignore_chars In addition, the case conversion has been extended, now in addition to range A-Z, all chars that have a lower case version are handled. That means for example the case insensitive comparison of "é" and "É" is 0 (chars are considered equal). Example with WeeChat 3.8: int diff = string_strcasecmp ("aaa", "CCC"); /* == -2 */ With older releases: int diff = string_strcasecmp ("aaa", "CCC"); /* == -1 */ API functions string_tolower and string_toupper The functions string_tolower and string_toupper now return newly allocated string instead of doing the change in place. The returned string must then be freed after use. Trigger regex command The trigger regex now starts with a command, which is "s" (regex replace, default) or "y" (translate chars). For compatibility, any regex starting with a delimiter different from a letter will still work. If you defined some triggers with a regex starting with a letter (used as delimiter), then you must change them before upgrading WeeChat, otherwise they ’ll be lost after upgrade (with an error when WeeChat tries to load them from configuration file). For example this regex is now invalid: XabcXdefX And must be replaced by: sXabcXdefX For more information on the regex format, see the trigger chapter in the WeeChat User’s guide. Remove Python 2 support The CMake option ENABLE_PYTHON2 and autotools option --enable-python2 have been removed, and WeeChat can not be compiled with Python 2.x any more. Callbacks of function config_new_option The two callbacks "callback_change" and "callback_delete" in scripting API function config_new_option have been changed: an integer return value was expected by error, now any return value is ignored (like it has always been in the C API). Version 3.7.1 (2022-10-21) Bug fix and maintenance release. Version 3.7 (2022-10-09) Argument "object_id" in callback of upgrade_new In all script languages (except PHP), the argument "object_id" sent to the callback of "upgrade_new" is now an integer (it was a string in older releases). To be compatible with all versions, it is recommended to convert the argument to integer before testing it, for example in Python: if int(object_id) == 1: # ... Argument "remaining_calls" in callback of hook_timer In all script languages (except PHP), the argument "remaining_calls" sent to the callback of "hook_timer" is now an integer (it was a string in older releases). To be compatible with all versions, it is recommended to convert the argument to integer before testing it, for example in Python: if int(remaining_calls) > 0: # ... Delete previous word until whitespace A new parameter delete_previous_word_whitespace has been added in /input command to delete previous word until backspace. This is now bound by default to the key kbd:[Ctrl+w] (see issue #559). A new key kbd:[Alt+Backspace] has been added to delete word, like kbd:[Ctrl+w] did in previous releases. You can get the new behavior for kbd:[Ctrl+w] with this command: /key bind ctrl-W /input delete_previous_word_whitespace And add the new key kbd:[Alt+Backspace] with this command: /key missing Function string_rebuild_split_string The API function string_build_with_split_string has been renamed to string_rebuild_split_string and two new arguments have been added: _index_start and index_end. To stay compatible, the existing calls to the function must be done with the new function name and these values: * index_start: 0 * index_end: -1 Version 3.6 (2022-07-10) Hook print on empty messages The "hook_print" callback is now called even when an empty message is displayed (with or without prefix). This was a bug, but is mentioned here just in case some scripts callbacks would be surprised to be called with such empty messages. Default trigger "beep" The command of "beep" trigger is now executed only if the buffer notify is NOT set to none (in addition to existing conditions). You can restore the default trigger "beep" with the following command: /trigger restore beep To generate a diff of this commit: cvs rdiff -u -r1.134 -r1.135 pkgsrc/chat/weechat/Makefile cvs rdiff -u -r1.75 -r1.76 pkgsrc/chat/weechat/distinfo Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_167629673617540 Content-Disposition: inline Content-Length: 2233 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/chat/weechat/Makefile diff -u pkgsrc/chat/weechat/Makefile:1.134 pkgsrc/chat/weechat/Makefile:1.135 --- pkgsrc/chat/weechat/Makefile:1.134 Wed Oct 26 10:31:16 2022 +++ pkgsrc/chat/weechat/Makefile Mon Feb 13 13:58:56 2023 @@ -1,7 +1,6 @@ -# $NetBSD: Makefile,v 1.134 2022/10/26 10:31:16 wiz Exp $ +# $NetBSD: Makefile,v 1.135 2023/02/13 13:58:56 ryoon Exp $ -DISTNAME= weechat-3.5 -PKGREVISION= 2 +DISTNAME= weechat-3.8 CATEGORIES= chat MASTER_SITES= https://www.weechat.org/files/src/ EXTRACT_SUFX= .tar.xz @@ -15,6 +14,7 @@ LICENSE= gnu-gpl-v3 TOOL_DEPENDS+= ${RUBY_PKGPREFIX}-asciidoctor-[0-9]*:../../textproc/ruby-asciidoctor +PYTHON_VERSIONS_INCOMPATIBLE= 27 USE_TOOLS+= msgfmt pkg-config USE_LANGUAGES= c99 USE_CMAKE= yes @@ -37,6 +37,7 @@ USE_PKGLOCALEDIR= yes LDFLAGS+= ${BUILDLINK_LDADD.gettext} LDFLAGS.Darwin+= -lresolv LDFLAGS.SunOS+= -lresolv +LDFLAGS.NetBSD+= -Wl,--copy-dt-needed-entries BUILDLINK_TRANSFORM+= rm:-Werror-implicit-function-declaration Index: pkgsrc/chat/weechat/distinfo diff -u pkgsrc/chat/weechat/distinfo:1.75 pkgsrc/chat/weechat/distinfo:1.76 --- pkgsrc/chat/weechat/distinfo:1.75 Tue Mar 29 16:42:17 2022 +++ pkgsrc/chat/weechat/distinfo Mon Feb 13 13:58:56 2023 @@ -1,8 +1,8 @@ -$NetBSD: distinfo,v 1.75 2022/03/29 16:42:17 ryoon Exp $ +$NetBSD: distinfo,v 1.76 2023/02/13 13:58:56 ryoon Exp $ -BLAKE2s (weechat-3.5.tar.xz) = 0dd171727cbaa6dd4eedb11974b3b49c0a273f287e39b5ac39d13d2544d3195a -SHA512 (weechat-3.5.tar.xz) = 493be6219da4fa4b4862064de3d286d99d36018a61ba226f5abdc18c9ff43076d92f0b12fce96e04d31fed5c3931c7bf8615947cd19059dbf2c3aa75deead35f -Size (weechat-3.5.tar.xz) = 2693072 bytes +BLAKE2s (weechat-3.8.tar.xz) = 3f9ac7305d5514124e00e48b146112fd8fde0cf215585cec5e6f9c7bfe620642 +SHA512 (weechat-3.8.tar.xz) = f2fe125d03e9c8f8b5b03e2cdd340c6cd65c463187bd213c9128a3df19da56ae38f1a6d20a47c09606d1504448e3d554de042e33cc57b73753ce8491595ef516 +Size (weechat-3.8.tar.xz) = 2777420 bytes SHA1 (patch-cmake_FindNcurses.cmake) = 73d4bc9551c79ee967abe06eba09cfe1b10129d4 SHA1 (patch-po_CMakeLists.txt) = 014b42ff303a4e4213de95339ab97f029f38a068 SHA1 (patch-src_plugins_lua_CMakeLists.txt) = 307dcba1a072411ec2b59c4e680a930e31d6d541 --_----------=_167629673617540--