gnu: tigervnc-client: Update to 1.15.0-0.83e9c55 and enable tests.

* gnu/packages/xorg.scm (tigervnc-client): Update to 1.15.0-0.83e9c55.
[inputs]: Add ffmpeg and nettle.
[#:tests?]: Delete argument.
[#:phases] {check}: New phase override.
[license]: Update to gpl2+.

Change-Id: I9fc2f2ff1f6552aac36800751045bf2744d6018b
This commit is contained in:
Maxim Cournoyer 2025-07-25 16:40:04 +09:00
parent 8ccbc8eb5b
commit 11d242baf5
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -25,7 +25,7 @@
;;; Copyright © 2020 Liliana Marie Prikler <liliana.prikler@gmail.com> ;;; Copyright © 2020 Liliana Marie Prikler <liliana.prikler@gmail.com>
;;; Copyright © 2020 Florian Pelz <pelzflorian@pelzflorian.de> ;;; Copyright © 2020 Florian Pelz <pelzflorian@pelzflorian.de>
;;; Copyright © 2020, 2021 Michael Rohleder <mike@rohleder.de> ;;; Copyright © 2020, 2021 Michael Rohleder <mike@rohleder.de>
;;; Copyright © 2020, 2021, 2022, 2023 Maxim Cournoyer <maxim.cournoyer@gmail.com> ;;; Copyright © 2020-2023, 2025 Maxim Cournoyer <maxim@guixotic.coop>
;;; Copyright © 2020 Jean-Baptiste Note <jean-baptiste.note@m4x.org> ;;; Copyright © 2020 Jean-Baptiste Note <jean-baptiste.note@m4x.org>
;;; Copyright © 2021 Matthew James Kraai <kraai@ftbfs.org> ;;; Copyright © 2021 Matthew James Kraai <kraai@ftbfs.org>
;;; Copyright © 2021 Nicolò Balzarotti <nicolo@nixo.xyz> ;;; Copyright © 2021 Nicolò Balzarotti <nicolo@nixo.xyz>
@ -113,6 +113,7 @@
#:use-module (gnu packages llvm) #:use-module (gnu packages llvm)
#:use-module (gnu packages m4) #:use-module (gnu packages m4)
#:use-module (gnu packages ncurses) #:use-module (gnu packages ncurses)
#:use-module (gnu packages nettle)
#:use-module (gnu packages onc-rpc) #:use-module (gnu packages onc-rpc)
#:use-module (gnu packages pciutils) #:use-module (gnu packages pciutils)
#:use-module (gnu packages perl) #:use-module (gnu packages perl)
@ -5374,29 +5375,41 @@ draggable titlebars and borders.")
;;; tigervnc-server and xorg-server, it must live here to avoid cyclic module ;;; tigervnc-server and xorg-server, it must live here to avoid cyclic module
;;; dependencies. ;;; dependencies.
(define-public tigervnc-client (define-public tigervnc-client
;; The latest version doesn't build with GCC 14 when enabling ffmpeg
;; support; pick the latest commit from the master branch.
(let ((commit "83e9c55d4c6a4a989d056a6ed9613bde74bcc50b")
(revision "0"))
(package (package
(name "tigervnc-client") (name "tigervnc-client")
(version "1.14.1") (version (git-version "1.15.0" revision commit))
(source (source
(origin (origin
(method git-fetch) (method git-fetch)
(uri (git-reference (uri (git-reference
(url "https://github.com/TigerVNC/tigervnc") (url "https://github.com/TigerVNC/tigervnc")
(commit (string-append "v" version)))) (commit commit)))
(sha256 (sha256
(base32 "1n6slj7i93gvf0ji4mb3azycv3c4wqzfd7zlx9260b79jv8jvsln")) (base32 "1gqa5lbin4qb2k6iapd4hjxk85byaj6zs8vx0az30i7v18jib1c6"))
(file-name (git-file-name name version)))) (file-name (git-file-name name version))))
(build-system cmake-build-system) (build-system cmake-build-system)
(arguments (arguments
'(#:tests? #f ; tests that do exists are not automated (list
#:phases (modify-phases %standard-phases #:phases
#~(modify-phases %standard-phases
(replace 'check
(lambda* (#:key parallel-tests? tests? #:allow-other-keys)
(when tests?
(invoke "ctest" "-j" (if parallel-tests?
(number->string (parallel-job-count))
"1")
"--test-dir" "tests/unit/"))))
(replace 'install (replace 'install
(lambda* (#:key outputs #:allow-other-keys) (lambda _
(with-directory-excursion "vncviewer" (with-directory-excursion "vncviewer"
(invoke "make" "install"))))))) (invoke "make" "install")))))))
(native-inputs (list gettext-minimal)) (native-inputs (list appstream gettext-minimal googletest))
(inputs (inputs
(list ;;ffmpeg ;TODO: add this for h264 encoding (list ffmpeg
fltk-1.3 fltk-1.3
gnutls gnutls
libjpeg-turbo libjpeg-turbo
@ -5406,6 +5419,7 @@ draggable titlebars and borders.")
libxrandr libxrandr
libxtst libxtst
linux-pam linux-pam
nettle
pixman pixman
zlib)) zlib))
(home-page "https://tigervnc.org/") (home-page "https://tigervnc.org/")
@ -5423,7 +5437,7 @@ and @acronym{TLS, Transport-Level Security} encryption.
This package installs only the VNC client (@command{vncviewer}), the application This package installs only the VNC client (@command{vncviewer}), the application
used to connect to VNC servers such as the tigervnc-server package.") used to connect to VNC servers such as the tigervnc-server package.")
(license license:gpl2))) (license license:gpl2+))))
(define %tigervnc-client-source (package-source tigervnc-client)) (define %tigervnc-client-source (package-source tigervnc-client))