gnu: weechat: Update to 2.9.
* gnu/packages/irc.scm (weechat): Update to 2.9. [arguments]: Remove obsolete test fixes. JavaScript plugins are now disabled by default.master
parent
6a513960c4
commit
87257e6d37
|
@ -185,14 +185,14 @@ SILC and ICB protocols via plugins.")
|
||||||
(define-public weechat
|
(define-public weechat
|
||||||
(package
|
(package
|
||||||
(name "weechat")
|
(name "weechat")
|
||||||
(version "2.8")
|
(version "2.9")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (string-append "https://weechat.org/files/src/weechat-"
|
(uri (string-append "https://weechat.org/files/src/weechat-"
|
||||||
version ".tar.xz"))
|
version ".tar.xz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1301lrb3xnm9dcw3av82rkqjzqxxwwhrq0p6i37h6fxdxnas4gjm"))))
|
"03psmp4hxsb9sz35i4cyz6dcbs3ab73amhyx0w0hv8f3hp1hdd7a"))))
|
||||||
(build-system cmake-build-system)
|
(build-system cmake-build-system)
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("gettext" ,gettext-minimal)
|
`(("gettext" ,gettext-minimal)
|
||||||
|
@ -215,30 +215,14 @@ SILC and ICB protocols via plugins.")
|
||||||
("tcl" ,tcl)))
|
("tcl" ,tcl)))
|
||||||
(arguments
|
(arguments
|
||||||
`(#:configure-flags
|
`(#:configure-flags
|
||||||
(list "-DENABLE_JAVASCRIPT=OFF"
|
(list "-DENABLE_PHP=OFF"
|
||||||
"-DENABLE_PHP=OFF"
|
|
||||||
"-DENABLE_RUBY=OFF"
|
"-DENABLE_RUBY=OFF"
|
||||||
"-DENABLE_TESTS=ON") ; ‘make test’ fails otherwise
|
"-DENABLE_TESTS=ON") ; ‘make test’ fails otherwise
|
||||||
;; Tests hang indefinately on non-Intel platforms.
|
;; Tests hang indefinitely on non-Intel platforms.
|
||||||
#:tests? ,(if (any (cute string-prefix? <> (or (%current-target-system)
|
#:tests? ,(if (any (cute string-prefix? <> (or (%current-target-system)
|
||||||
(%current-system)))
|
(%current-system)))
|
||||||
'("i686" "x86_64"))
|
'("i686" "x86_64"))
|
||||||
'#t '#f)
|
'#t '#f)))
|
||||||
#:phases
|
|
||||||
(modify-phases %standard-phases
|
|
||||||
(add-after 'unpack 'disable-failing-tests
|
|
||||||
;; For reasons best left to the imagination, CppUTest cannot skip
|
|
||||||
;; more than one single test... Resort to manual patching instead.
|
|
||||||
;; See <https://cpputest.github.io/manual.html#command_line>.
|
|
||||||
(λ _
|
|
||||||
;; Don't test plugin support for languages we don't enable.
|
|
||||||
(substitute* "tests/unit/test-plugins.cpp"
|
|
||||||
((".*\\$\\{plugin.name\\} == (javascript|php|ruby)" all)
|
|
||||||
(string-append "// SKIP" all)))
|
|
||||||
(substitute* "tests/scripts/test-scripts.cpp"
|
|
||||||
((".*\\{ \"(javascript|php|ruby)\", " all)
|
|
||||||
(string-append "// SKIP" all)))
|
|
||||||
#t)))))
|
|
||||||
(synopsis "Extensible chat client")
|
(synopsis "Extensible chat client")
|
||||||
(description "WeeChat (Wee Enhanced Environment for Chat) is an
|
(description "WeeChat (Wee Enhanced Environment for Chat) is an
|
||||||
@dfn{Internet Relay Chat} (IRC) client, which is designed to be light and fast.
|
@dfn{Internet Relay Chat} (IRC) client, which is designed to be light and fast.
|
||||||
|
|
Reference in New Issue