pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/chat/weechat weechat: update to 3.4



details:   https://anonhg.NetBSD.org/pkgsrc/rev/aaacd564842b
branches:  trunk
changeset: 771551:aaacd564842b
user:      nia <nia%pkgsrc.org@localhost>
date:      Sun Dec 19 13:22:21 2021 +0000

description:
weechat: update to 3.4

Version 3.4 (2021-12-18)

New features

* core: add support of static arrays in hdata
* core: add command /toggle
* api: add parameters pointers, extra_vars and options in function
  hdata_search
* api: add user variables in evaluation of expressions with
  "define:name,value"
* api: add IRC message parameters "param1" to "paramN" and "num_params"
  in output of irc_message_parse
* irc: allow quotes around IRC message in command /server fakerecv
* trigger: hide key and password in command "/msg nickserv setpass nick
  key password"
* trigger: add support of option "-server" when hiding passwords in
  command /msg nickserv register

Bug fixes

* core: fix memory leak in evaluated expression
  "split:number,seps,flags,xxx" when multiple "strip_items" are given
* core: fix random integer number with large range in evaluation of
  expressions on GNU/Hurd
* core: fix access to integer/long/time arrays in hdata
* api: fix search of option when the section is not given in functions
  config_search_option and config_search_section_option
* irc: fix join of channels with long name
* irc: fix parsing of parameters in all IRC messages
* irc: fix parsing of CAP message when there is no prefix
* irc: fix parsing of TAGMSG message when there is a colon before the
  channel

diffstat:

 chat/weechat/Makefile   |  8 +++-----
 chat/weechat/distinfo   |  8 ++++----
 chat/weechat/options.mk |  9 ++++++---
 3 files changed, 13 insertions(+), 12 deletions(-)

diffs (70 lines):

diff -r 9f5caa25725d -r aaacd564842b chat/weechat/Makefile
--- a/chat/weechat/Makefile     Sun Dec 19 13:22:04 2021 +0000
+++ b/chat/weechat/Makefile     Sun Dec 19 13:22:21 2021 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.129 2021/12/08 16:03:33 adam Exp $
+# $NetBSD: Makefile,v 1.130 2021/12/19 13:22:21 nia Exp $
 
-DISTNAME=      weechat-3.3
-PKGREVISION=   1
+DISTNAME=      weechat-3.4
 CATEGORIES=    chat
 MASTER_SITES=  https://www.weechat.org/files/src/
 EXTRACT_SUFX=  .tar.xz
@@ -22,7 +21,6 @@
 
 CMAKE_ARGS+=   -DASCIIDOCTOR_FOUND=ON
 CMAKE_ARGS+=   -DASCIIDOCTOR_EXECUTABLE=${PREFIX}/bin/asciidoctor${RUBY_VER}
-CMAKE_ARGS+=   -DCA_FILE=${PREFIX}/share/mozilla-rootcerts/cacert.pem
 CMAKE_ARGS+=   -DENABLE_GUILE=OFF
 CMAKE_ARGS+=   -DENABLE_TCL=OFF
 CMAKE_ARGS+=   -DENABLE_JAVASCRIPT=OFF
@@ -46,7 +44,7 @@
 .if !empty(PKG_OPTIONS:Mpython)
 SUBST_CLASSES+=                python
 SUBST_STAGE.python=    pre-configure
-SUBST_MESSAGE.python=  Adjust pkg-config python checks
+SUBST_MESSAGE.python=  Adjusting pkg-config python checks
 SUBST_FILES.python=    configure.ac cmake/FindPython.cmake
 SUBST_SED.python=      -e 's,python3,python-${PYVERSSUFFIX},g'
 .endif
diff -r 9f5caa25725d -r aaacd564842b chat/weechat/distinfo
--- a/chat/weechat/distinfo     Sun Dec 19 13:22:04 2021 +0000
+++ b/chat/weechat/distinfo     Sun Dec 19 13:22:21 2021 +0000
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.71 2021/10/26 10:05:28 nia Exp $
+$NetBSD: distinfo,v 1.72 2021/12/19 13:22:21 nia Exp $
 
-BLAKE2s (weechat-3.3.tar.xz) = 26c4bbebe447f8c3ae4351acf3ce86762098244bac03e3dc3002172bb07ef232
-SHA512 (weechat-3.3.tar.xz) = 18bbaa93620185ead64f64833e4c5df6a1cbc49dc6f60362614e955947221b78baaa93a2748f153bbb6f7867c7760f7a8fa8d6d9ed30040ad5e12af127526e13
-Size (weechat-3.3.tar.xz) = 2564280 bytes
+BLAKE2s (weechat-3.4.tar.xz) = e7abac6e913787bfda4aa9637c7741f588529e0d9dff4b2b3ea5a99790b12d3b
+SHA512 (weechat-3.4.tar.xz) = b5e36802bb8b8f0e518da590d675ca63b0fa0b88acd24c2803d4f8468e6bce775691d3994db5090570f1286ad38be31615921b0d3ead697ad51986cddca57330
+Size (weechat-3.4.tar.xz) = 2617640 bytes
 SHA1 (patch-cmake_FindNcurses.cmake) = 73d4bc9551c79ee967abe06eba09cfe1b10129d4
 SHA1 (patch-po_CMakeLists.txt) = 014b42ff303a4e4213de95339ab97f029f38a068
 SHA1 (patch-src_plugins_lua_CMakeLists.txt) = 307dcba1a072411ec2b59c4e680a930e31d6d541
diff -r 9f5caa25725d -r aaacd564842b chat/weechat/options.mk
--- a/chat/weechat/options.mk   Sun Dec 19 13:22:04 2021 +0000
+++ b/chat/weechat/options.mk   Sun Dec 19 13:22:21 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.28 2021/10/18 11:15:09 nia Exp $
+# $NetBSD: options.mk,v 1.29 2021/12/19 13:22:21 nia Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.weechat
 # mk/curses will handle wide-curses
@@ -40,9 +40,12 @@
 .if !empty(PKG_OPTIONS:Mruby)
 .include "../../lang/ruby/buildlink3.mk"
 CMAKE_ARGS+=   -DENABLE_RUBY=ON
-CMAKE_ARGS+=   -DRUBY_INCLUDE_DIRS=${PREFIX}/${RUBY_INC}
-CMAKE_ARGS+=   -DRUBY_LIB=${PREFIX}/lib/libruby${RUBY_SHLIB}
 PLIST.ruby=    yes
+SUBST_CLASSES+=                ruby
+SUBST_STAGE.ruby=      pre-configure
+SUBST_MESSAGE.ruby=    Adjusting pkg-config ruby checks
+SUBST_FILES.ruby=      cmake/FindRuby.cmake
+SUBST_SED.ruby=                -e 's,ruby-3.0,ruby-${RUBY_VERSION},g'
 #BUILDLINK_INCDIRS.${RUBY_BASE}+=      ${RUBY_INC}
 #BUILDLINK_INCDIRS.${RUBY_BASE}+=      ${RUBY_ARCHINC}
 .else



Home | Main Index | Thread Index | Old Index