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,43 +5375,56 @@ 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
(package ;; The latest version doesn't build with GCC 14 when enabling ffmpeg
(name "tigervnc-client") ;; support; pick the latest commit from the master branch.
(version "1.14.1") (let ((commit "83e9c55d4c6a4a989d056a6ed9613bde74bcc50b")
(source (revision "0"))
(origin (package
(method git-fetch) (name "tigervnc-client")
(uri (git-reference (version (git-version "1.15.0" revision commit))
(url "https://github.com/TigerVNC/tigervnc") (source
(commit (string-append "v" version)))) (origin
(sha256 (method git-fetch)
(base32 "1n6slj7i93gvf0ji4mb3azycv3c4wqzfd7zlx9260b79jv8jvsln")) (uri (git-reference
(file-name (git-file-name name version)))) (url "https://github.com/TigerVNC/tigervnc")
(build-system cmake-build-system) (commit commit)))
(arguments (sha256
'(#:tests? #f ; tests that do exists are not automated (base32 "1gqa5lbin4qb2k6iapd4hjxk85byaj6zs8vx0az30i7v18jib1c6"))
#:phases (modify-phases %standard-phases (file-name (git-file-name name version))))
(replace 'install (build-system cmake-build-system)
(lambda* (#:key outputs #:allow-other-keys) (arguments
(with-directory-excursion "vncviewer" (list
(invoke "make" "install"))))))) #:phases
(native-inputs (list gettext-minimal)) #~(modify-phases %standard-phases
(inputs (replace 'check
(list ;;ffmpeg ;TODO: add this for h264 encoding (lambda* (#:key parallel-tests? tests? #:allow-other-keys)
fltk-1.3 (when tests?
gnutls (invoke "ctest" "-j" (if parallel-tests?
libjpeg-turbo (number->string (parallel-job-count))
libx11 "1")
libxdamage "--test-dir" "tests/unit/"))))
libxext (replace 'install
libxrandr (lambda _
libxtst (with-directory-excursion "vncviewer"
linux-pam (invoke "make" "install")))))))
pixman (native-inputs (list appstream gettext-minimal googletest))
zlib)) (inputs
(home-page "https://tigervnc.org/") (list ffmpeg
(synopsis "High-performance VNC remote desktop client") fltk-1.3
(description "TigerVNC implements a @acronym{VNC, Virtual Network Computing} gnutls
libjpeg-turbo
libx11
libxdamage
libxext
libxrandr
libxtst
linux-pam
nettle
pixman
zlib))
(home-page "https://tigervnc.org/")
(synopsis "High-performance VNC remote desktop client")
(description "TigerVNC implements a @acronym{VNC, Virtual Network Computing}
client and server. @dfn{VNC} is a remote display system that lets you view and client and server. @dfn{VNC} is a remote display system that lets you view and
interact with a virtual desktop environment running on another computer on the interact with a virtual desktop environment running on another computer on the
network. Client and server may be running on different operating systems and network. Client and server may be running on different operating systems and
@ -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))