weechat: update to 3.3 pkgsrc changes: - re-enable man page generation - remove patch that upstream fixed in a different way == Version 3.3 (2021-09-19) New features:: * core: change key kbd:[Alt+h] to kbd:[Alt+h], kbd:[Alt+c] (clear hotlist) * core: add options "hotlist_remove_buffer", "hotlist_restore_buffer" and "hotlist_restore_all" in command /input, add default keys kbd:[Alt+h], kbd:[Alt+m] (remove buffer), kbd:[Alt+h], kbd:[Alt+r] (restore hotlist in current buffer) and kbd:[Alt+h], kbd:[Alt+Shift+R] (restore hotlist in all buffers) * core: add option "certs" in command /debug * core: add options "-o", "-ol", "-i" and "-il" in command "/plugin list" * api: add split of string and shell arguments in evaluation of expressions with "split:number,seps,flags,xxx" and "split_shell:number,xxx" * api: add `${re:repl_index}` to get the index of replacement in function string_eval_expression (issue #1689) * api: add random integer number in evaluation of expressions with "random:min,max" * api: add function string_cut * api: add function file_copy (issue #1667) * api: remember insertion order in hashtables * api: add keys/values with tags in output of irc_message_parse_to_hashtable (issue #1654) * irc: add option "-parted" in command /allchan (issue #1685) * irc: allow signals "irc_raw_in" and "irc_in" to eat messages (issue #1657) * irc: implement IRCv3.2 SASL authentication, add command /auth, reconnect by default to the server in case of SASL authentication failure (issue #413) * irc: add support of capability "message-tags" and TAGMSG messages (issue #1654) * irc: enable all capabilities by default (if supported by server and WeeChat), change default value of option irc.server_default.capabilities to "*" (issue #320) * irc: add options irc.look.display_account_message and irc.look.display_extended_join (issue #320) * irc: add command /setname, add support of message and capability "setname" (issue #1653) * irc: always set realname in nicks even when extended-join capability is not enabled (issue #1653) * irc: add support of FAIL/WARN/NOTE messages (issue #1653) * irc: drop support of DH-BLOWFISH and DH-AES SASL mechanisms (issue #175) * typing: new plugin "typing": display users currently writing messages on IRC channel/private buffers Bug fixes:: * core: fix decoding of attributes in basic ANSI colors (issue #1678) * api: fix function string_match with joker in the string if multiple words matched in input string * irc: fix send of empty JOIN when connecting to a server with only parted channels (issue #1638) * irc: fix SASL authentication when AUTHENTICATE message is received with a server name (issue #1679) * irc: remove unneeded message about Diffie-Hellman shared secret exchange during SSL connection to server (issue #857) * irc: escape/unescape IRC message tags values (issue #1654) * irc: set notify level to "private" for received WALLOPS * script: fix move of installed script on another filesystem (issue #1667) Documentation:: * add Spanish FAQ (issue #1656) * add Serbian translations (issue #1655) Tests:: * core: switch to PHP 8.0 in CI * core: add build on macOS in CI Build:: * core: fix build on macOS (issue #1662) * lua: add detection of Lua 5.4 * php: add support of PHP 8.0 and 8.1 (issue #1599, issue #1668)diff -r1.127 -r1.128 pkgsrc/chat/weechat/Makefile
(nia)
@@ -1,42 +1,46 @@ | @@ -1,42 +1,46 @@ | |||
1 | # $NetBSD: Makefile,v 1.127 2021/09/29 19:00:24 adam Exp $ | 1 | # $NetBSD: Makefile,v 1.128 2021/10/18 11:15:09 nia Exp $ | |
2 | 2 | |||
3 | DISTNAME= weechat-3.2.1 | 3 | DISTNAME= weechat-3.3 | |
4 | PKGREVISION= 1 | |||
5 | CATEGORIES= chat | 4 | CATEGORIES= chat | |
6 | MASTER_SITES= https://www.weechat.org/files/src/ | 5 | MASTER_SITES= https://www.weechat.org/files/src/ | |
7 | EXTRACT_SUFX= .tar.xz | 6 | EXTRACT_SUFX= .tar.xz | |
8 | 7 | |||
9 | MAINTAINER= tonio@NetBSD.org | 8 | MAINTAINER= tonio@NetBSD.org | |
10 | HOMEPAGE= https://www.weechat.org/ | 9 | HOMEPAGE= https://www.weechat.org/ | |
11 | COMMENT= Lightweight and user friendly curses based IRC client | 10 | COMMENT= Lightweight and user friendly curses based IRC client | |
12 | LICENSE= gnu-gpl-v3 | 11 | LICENSE= gnu-gpl-v3 | |
13 | 12 | |||
14 | TOOL_DEPENDS+= asciidoc-[0-9]*:../../textproc/asciidoc | 13 | .include "../../lang/ruby/rubyversion.mk" | |
14 | ||||
15 | TOOL_DEPENDS+= ${RUBY_PKGPREFIX}-asciidoctor-[0-9]*:../../textproc/ruby-asciidoctor | |||
15 | 16 | |||
16 | USE_TOOLS+= msgfmt pkg-config | 17 | USE_TOOLS+= msgfmt pkg-config | |
17 | USE_LANGUAGES= c99 | 18 | USE_LANGUAGES= c99 | |
18 | USE_CMAKE= yes | 19 | USE_CMAKE= yes | |
19 | FAKE_NCURSES= yes | 20 | FAKE_NCURSES= yes | |
20 | 21 | |||
22 | CMAKE_ARGS+= -DASCIIDOCTOR_FOUND=ON | |||
23 | CMAKE_ARGS+= -DASCIIDOCTOR_EXECUTABLE=${PREFIX}/bin/asciidoctor${RUBY_VER} | |||
21 | CMAKE_ARGS+= -DCA_FILE=${PREFIX}/share/mozilla-rootcerts/cacert.pem | 24 | CMAKE_ARGS+= -DCA_FILE=${PREFIX}/share/mozilla-rootcerts/cacert.pem | |
22 | CMAKE_ARGS+= -DENABLE_GUILE=OFF | 25 | CMAKE_ARGS+= -DENABLE_GUILE=OFF | |
23 | CMAKE_ARGS+= -DENABLE_TCL=OFF | 26 | CMAKE_ARGS+= -DENABLE_TCL=OFF | |
24 | CMAKE_ARGS+= -DENABLE_MAN=OFF # Requires ascii-doctor | |||
25 | CMAKE_ARGS+= -DENABLE_JAVASCRIPT=OFF | 27 | CMAKE_ARGS+= -DENABLE_JAVASCRIPT=OFF | |
26 | CMAKE_ARGS+= -DENABLE_PHP=OFF | 28 | CMAKE_ARGS+= -DENABLE_PHP=OFF | |
27 | CMAKE_ARGS+= -DENABLE_SPELL=OFF | 29 | CMAKE_ARGS+= -DENABLE_SPELL=OFF | |
28 | CMAKE_ARGS+= -DLOCALEDIR=${PKGLOCALEDIR}/locale | |||
29 | CMAKE_ARGS+= -DENABLE_CHARSET=ON | 30 | CMAKE_ARGS+= -DENABLE_CHARSET=ON | |
31 | CMAKE_ARGS+= -DENABLE_MAN=ON | |||
32 | CMAKE_ARGS+= -DLOCALEDIR=${PKGLOCALEDIR}/locale | |||
33 | CMAKE_ARGS+= -DMANDIR=${PREFIX}/${PKGMANDIR} | |||
30 | 34 | |||
31 | USE_PKGLOCALEDIR= yes | 35 | USE_PKGLOCALEDIR= yes | |
32 | 36 | |||
33 | LDFLAGS+= ${BUILDLINK_LDADD.gettext} | 37 | LDFLAGS+= ${BUILDLINK_LDADD.gettext} | |
34 | LDFLAGS.Darwin+= -lresolv | 38 | LDFLAGS.Darwin+= -lresolv | |
35 | LDFLAGS.SunOS+= -lresolv | 39 | LDFLAGS.SunOS+= -lresolv | |
36 | 40 | |||
37 | BUILDLINK_TRANSFORM+= rm:-Werror-implicit-function-declaration | 41 | BUILDLINK_TRANSFORM+= rm:-Werror-implicit-function-declaration | |
38 | 42 | |||
39 | .include "options.mk" | 43 | .include "options.mk" | |
40 | 44 | |||
41 | .if !empty(PKG_OPTIONS:Mpython) | 45 | .if !empty(PKG_OPTIONS:Mpython) | |
42 | SUBST_CLASSES+= python | 46 | SUBST_CLASSES+= python |
@@ -1,41 +1,61 @@ | @@ -1,41 +1,61 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.29 2019/12/10 13:04:05 nia Exp $ | 1 | @comment $NetBSD: PLIST,v 1.30 2021/10/18 11:15:09 nia Exp $ | |
2 | bin/weechat | 2 | bin/weechat | |
3 | bin/weechat-curses | 3 | bin/weechat-curses | |
4 | bin/weechat-headless | 4 | bin/weechat-headless | |
5 | include/weechat/weechat-plugin.h | 5 | include/weechat/weechat-plugin.h | |
6 | lib/pkgconfig/weechat.pc | 6 | lib/pkgconfig/weechat.pc | |
7 | lib/weechat/plugins/alias.so | 7 | lib/weechat/plugins/alias.so | |
8 | lib/weechat/plugins/buflist.so | 8 | lib/weechat/plugins/buflist.so | |
9 | lib/weechat/plugins/charset.so | 9 | lib/weechat/plugins/charset.so | |
10 | lib/weechat/plugins/exec.so | 10 | lib/weechat/plugins/exec.so | |
11 | lib/weechat/plugins/fifo.so | 11 | lib/weechat/plugins/fifo.so | |
12 | lib/weechat/plugins/fset.so | 12 | lib/weechat/plugins/fset.so | |
13 | lib/weechat/plugins/irc.so | 13 | lib/weechat/plugins/irc.so | |
14 | lib/weechat/plugins/logger.so | 14 | lib/weechat/plugins/logger.so | |
15 | ${PLIST.lua}lib/weechat/plugins/lua.so | 15 | ${PLIST.lua}lib/weechat/plugins/lua.so | |
16 | ${PLIST.perl}lib/weechat/plugins/perl.so | 16 | ${PLIST.perl}lib/weechat/plugins/perl.so | |
17 | ${PLIST.python}lib/weechat/plugins/python.so | 17 | ${PLIST.python}lib/weechat/plugins/python.so | |
18 | lib/weechat/plugins/relay.so | 18 | lib/weechat/plugins/relay.so | |
19 | ${PLIST.ruby}lib/weechat/plugins/ruby.so | 19 | ${PLIST.ruby}lib/weechat/plugins/ruby.so | |
20 | lib/weechat/plugins/script.so | 20 | lib/weechat/plugins/script.so | |
21 | lib/weechat/plugins/trigger.so | 21 | lib/weechat/plugins/trigger.so | |
22 | lib/weechat/plugins/typing.so | |||
22 | lib/weechat/plugins/xfer.so | 23 | lib/weechat/plugins/xfer.so | |
24 | man/cs/man1/weechat-headless.1 | |||
25 | man/cs/man1/weechat.1 | |||
26 | man/de/man1/weechat-headless.1 | |||
27 | man/de/man1/weechat.1 | |||
28 | man/fr/man1/weechat-headless.1 | |||
29 | man/fr/man1/weechat.1 | |||
30 | man/it/man1/weechat-headless.1 | |||
31 | man/it/man1/weechat.1 | |||
32 | man/ja/man1/weechat-headless.1 | |||
33 | man/ja/man1/weechat.1 | |||
34 | man/man1/weechat-headless.1 | |||
35 | man/man1/weechat.1 | |||
36 | man/pl/man1/weechat-headless.1 | |||
37 | man/pl/man1/weechat.1 | |||
38 | man/ru/man1/weechat-headless.1 | |||
39 | man/ru/man1/weechat.1 | |||
40 | man/sr/man1/weechat-headless.1 | |||
41 | man/sr/man1/weechat.1 | |||
23 | share/applications/weechat.desktop | 42 | share/applications/weechat.desktop | |
24 | share/icons/hicolor/128x128/apps/weechat.png | 43 | share/icons/hicolor/128x128/apps/weechat.png | |
25 | share/icons/hicolor/16x16/apps/weechat.png | 44 | share/icons/hicolor/16x16/apps/weechat.png | |
26 | share/icons/hicolor/256x256/apps/weechat.png | 45 | share/icons/hicolor/256x256/apps/weechat.png | |
27 | share/icons/hicolor/32x32/apps/weechat.png | 46 | share/icons/hicolor/32x32/apps/weechat.png | |
28 | share/icons/hicolor/512x512/apps/weechat.png | 47 | share/icons/hicolor/512x512/apps/weechat.png | |
29 | share/icons/hicolor/64x64/apps/weechat.png | 48 | share/icons/hicolor/64x64/apps/weechat.png | |
30 | share/locale/cs/LC_MESSAGES/weechat.mo | 49 | share/locale/cs/LC_MESSAGES/weechat.mo | |
31 | share/locale/de/LC_MESSAGES/weechat.mo | 50 | share/locale/de/LC_MESSAGES/weechat.mo | |
32 | share/locale/es/LC_MESSAGES/weechat.mo | 51 | share/locale/es/LC_MESSAGES/weechat.mo | |
33 | share/locale/fr/LC_MESSAGES/weechat.mo | 52 | share/locale/fr/LC_MESSAGES/weechat.mo | |
34 | share/locale/hu/LC_MESSAGES/weechat.mo | 53 | share/locale/hu/LC_MESSAGES/weechat.mo | |
35 | share/locale/it/LC_MESSAGES/weechat.mo | 54 | share/locale/it/LC_MESSAGES/weechat.mo | |
36 | share/locale/ja/LC_MESSAGES/weechat.mo | 55 | share/locale/ja/LC_MESSAGES/weechat.mo | |
37 | share/locale/pl/LC_MESSAGES/weechat.mo | 56 | share/locale/pl/LC_MESSAGES/weechat.mo | |
38 | share/locale/pt/LC_MESSAGES/weechat.mo | 57 | share/locale/pt/LC_MESSAGES/weechat.mo | |
39 | share/locale/pt_BR/LC_MESSAGES/weechat.mo | 58 | share/locale/pt_BR/LC_MESSAGES/weechat.mo | |
40 | share/locale/ru/LC_MESSAGES/weechat.mo | 59 | share/locale/ru/LC_MESSAGES/weechat.mo | |
60 | share/locale/sr/LC_MESSAGES/weechat.mo | |||
41 | share/locale/tr/LC_MESSAGES/weechat.mo | 61 | share/locale/tr/LC_MESSAGES/weechat.mo |
@@ -1,10 +1,9 @@ | @@ -1,10 +1,9 @@ | |||
1 | $NetBSD: distinfo,v 1.69 2021/10/07 13:23:35 nia Exp $ | 1 | $NetBSD: distinfo,v 1.70 2021/10/18 11:15:09 nia Exp $ | |
2 | 2 | |||
3 | RMD160 (weechat-3.2.1.tar.xz) = 175b2df833250dbc1e1709c6776dd586460746da | 3 | RMD160 (weechat-3.3.tar.xz) = f2c74ea964c1d6b09d5123ac8a9577ee3354188f | |
4 | SHA512 (weechat-3.2.1.tar.xz) = 3cd30ef555ae84c88485cae3a05cd65fbb2d1279e7feb2ff15c0a036e4e8454ee994e37d119b0e5cb0611a87552d5fde2698683abfbd6069e1ff2f1f538a9862 | 4 | SHA512 (weechat-3.3.tar.xz) = 18bbaa93620185ead64f64833e4c5df6a1cbc49dc6f60362614e955947221b78baaa93a2748f153bbb6f7867c7760f7a8fa8d6d9ed30040ad5e12af127526e13 | |
5 | Size (weechat-3.2.1.tar.xz) = 2261348 bytes | 5 | Size (weechat-3.3.tar.xz) = 2564280 bytes | |
6 | SHA1 (patch-cmake_FindNcurses.cmake) = 73d4bc9551c79ee967abe06eba09cfe1b10129d4 | 6 | SHA1 (patch-cmake_FindNcurses.cmake) = 73d4bc9551c79ee967abe06eba09cfe1b10129d4 | |
7 | SHA1 (patch-po_CMakeLists.txt) = 014b42ff303a4e4213de95339ab97f029f38a068 | 7 | SHA1 (patch-po_CMakeLists.txt) = 014b42ff303a4e4213de95339ab97f029f38a068 | |
8 | SHA1 (patch-src_core_weechat.c) = aeb3cb052976e6b4603d3515ffc40bed98434a9f | |||
9 | SHA1 (patch-src_plugins_lua_CMakeLists.txt) = 307dcba1a072411ec2b59c4e680a930e31d6d541 | 8 | SHA1 (patch-src_plugins_lua_CMakeLists.txt) = 307dcba1a072411ec2b59c4e680a930e31d6d541 | |
10 | SHA1 (patch-src_plugins_perl_weechat-perl.c) = 49e61419ea82157fa54a7847a653625944d3b341 | 9 | SHA1 (patch-src_plugins_perl_weechat-perl.c) = 49e61419ea82157fa54a7847a653625944d3b341 |
@@ -1,24 +1,24 @@ | @@ -1,24 +1,24 @@ | |||
1 | # $NetBSD: options.mk,v 1.27 2020/07/26 23:10:21 nia Exp $ | 1 | # $NetBSD: options.mk,v 1.28 2021/10/18 11:15:09 nia Exp $ | |
2 | 2 | |||
3 | PKG_OPTIONS_VAR= PKG_OPTIONS.weechat | 3 | PKG_OPTIONS_VAR= PKG_OPTIONS.weechat | |
4 | # mk/curses will handle wide-curses | 4 | # mk/curses will handle wide-curses | |
5 | PKG_SUPPORTED_OPTIONS= python lua wide-curses perl ruby | 5 | PKG_SUPPORTED_OPTIONS= python lua wide-curses perl ruby | |
6 | PKG_SUGGESTED_OPTIONS= python lua wide-curses perl ruby | 6 | PKG_SUGGESTED_OPTIONS= python lua wide-curses perl ruby | |
7 | 7 | |||
8 | .include "../../mk/bsd.options.mk" | 8 | .include "../../mk/bsd.options.mk" | |
9 | .include "../../mk/bsd.fast.prefs.mk" | 9 | .include "../../mk/bsd.fast.prefs.mk" | |
10 | 10 | |||
11 | PLIST_VARS+= lua plugin python perl ruby | 11 | PLIST_VARS+= lua python perl ruby | |
12 | 12 | |||
13 | .if !empty(PKG_OPTIONS:Mpython) | 13 | .if !empty(PKG_OPTIONS:Mpython) | |
14 | PYTHON_VERSIONS_INCOMPATIBLE= 27 | 14 | PYTHON_VERSIONS_INCOMPATIBLE= 27 | |
15 | .include "../../lang/python/extension.mk" | 15 | .include "../../lang/python/extension.mk" | |
16 | CMAKE_ARGS+= -DENABLE_PYTHON=ON | 16 | CMAKE_ARGS+= -DENABLE_PYTHON=ON | |
17 | PLIST.python= yes | 17 | PLIST.python= yes | |
18 | .else | 18 | .else | |
19 | CMAKE_ARGS+= -DENABLE_PYTHON=OFF | 19 | CMAKE_ARGS+= -DENABLE_PYTHON=OFF | |
20 | .endif | 20 | .endif | |
21 | 21 | |||
22 | .if !empty(PKG_OPTIONS:Mlua) | 22 | .if !empty(PKG_OPTIONS:Mlua) | |
23 | #LUA_VERSIONS_ACCEPTED= 53 52 51 | 23 | #LUA_VERSIONS_ACCEPTED= 53 52 51 | |
24 | .include "../../lang/lua/buildlink3.mk" | 24 | .include "../../lang/lua/buildlink3.mk" | |
@@ -38,18 +38,13 @@ CMAKE_ARGS+= -DENABLE_PERL=OFF | @@ -38,18 +38,13 @@ CMAKE_ARGS+= -DENABLE_PERL=OFF | |||
38 | .endif | 38 | .endif | |
39 | 39 | |||
40 | .if !empty(PKG_OPTIONS:Mruby) | 40 | .if !empty(PKG_OPTIONS:Mruby) | |
41 | .include "../../lang/ruby/buildlink3.mk" | 41 | .include "../../lang/ruby/buildlink3.mk" | |
42 | CMAKE_ARGS+= -DENABLE_RUBY=ON | 42 | CMAKE_ARGS+= -DENABLE_RUBY=ON | |
43 | CMAKE_ARGS+= -DRUBY_INCLUDE_DIRS=${PREFIX}/${RUBY_INC} | 43 | CMAKE_ARGS+= -DRUBY_INCLUDE_DIRS=${PREFIX}/${RUBY_INC} | |
44 | CMAKE_ARGS+= -DRUBY_LIB=${PREFIX}/lib/libruby${RUBY_SHLIB} | 44 | CMAKE_ARGS+= -DRUBY_LIB=${PREFIX}/lib/libruby${RUBY_SHLIB} | |
45 | PLIST.ruby= yes | 45 | PLIST.ruby= yes | |
46 | #BUILDLINK_INCDIRS.${RUBY_BASE}+= ${RUBY_INC} | 46 | #BUILDLINK_INCDIRS.${RUBY_BASE}+= ${RUBY_INC} | |
47 | #BUILDLINK_INCDIRS.${RUBY_BASE}+= ${RUBY_ARCHINC} | 47 | #BUILDLINK_INCDIRS.${RUBY_BASE}+= ${RUBY_ARCHINC} | |
48 | .else | 48 | .else | |
49 | CMAKE_ARGS+= -DENABLE_RUBY:BOOL=OFF | 49 | CMAKE_ARGS+= -DENABLE_RUBY:BOOL=OFF | |
50 | .endif | 50 | .endif | |
51 | ||||
52 | .if !empty(PKG_OPTIONS:Mpython) || \ | |||
53 | !empty(PKG_OPTIONS:Mlua) | |||
54 | PLIST.plugin= yes | |||
55 | .endif |