gnu: libxkbcommon: Update to 1.11.0.

* gnu/packages/xdisorg.scm (libxkbcommon): Update to 1.11.0.
[source]: Use git-fetch instead of url-fetch.
[native-inputs]: Add xorg-server-for-tests and xkbcomp.  Reformat.
[arguments]<#:configure-flags>: Add flag to enable docs.
(libxkbcommon-1.5, libxkbcommon-1.8): Remove variables.
* gnu/packages/terminals.scm (foot)[inputs]: Use libxkbcommon instead of
libxkbcommon-1.8.

Change-Id: I0e4ce4cab04c059916ea7dddd31d2780c7b49b26
This commit is contained in:
John Kehayias 2025-09-14 17:49:37 -04:00
parent 65d78a4c49
commit b0511641fd
No known key found for this signature in database
GPG key ID: 499097AE5EA815D9
2 changed files with 23 additions and 48 deletions

View file

@ -887,7 +887,7 @@ eye-candy, customizable, and reasonably lightweight.")
(list (search-path-specification (list (search-path-specification
(variable "TERMINFO_DIRS") (variable "TERMINFO_DIRS")
(files '("share/terminfo"))))) (files '("share/terminfo")))))
(inputs (list fcft libxkbcommon-1.8 wayland wayland-protocols)) (inputs (list fcft libxkbcommon wayland wayland-protocols))
(synopsis "Wayland-native terminal emulator") (synopsis "Wayland-native terminal emulator")
(description (description
"@command{foot} is a terminal emulator for systems using the Wayland "@command{foot} is a terminal emulator for systems using the Wayland

View file

@ -633,14 +633,16 @@ avoiding password prompts when X11 forwarding has already been setup.")
(define-public libxkbcommon (define-public libxkbcommon
(package (package
(name "libxkbcommon") (name "libxkbcommon")
(version "1.6.0") (version "1.11.0")
(source (origin (source (origin
(method url-fetch) (method git-fetch)
(uri (string-append "https://xkbcommon.org/download/libxkbcommon-" (uri (git-reference
version ".tar.xz")) (url "https://github.com/xkbcommon/libxkbcommon")
(commit (string-append "xkbcommon-" version))))
(file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32
"0awwz5pg9x5bj0d7dpg4a7bd4gl6k55mlpxwb12534fkrpn19p0f")))) "1swa6rf63c0wi0qq5r661g63yk2iwa9l66148078xkrwcf05sp91"))))
(outputs '("out" "doc")) (outputs '("out" "doc"))
(build-system meson-build-system) (build-system meson-build-system)
(inputs (inputs
@ -652,12 +654,19 @@ avoiding password prompts when X11 forwarding has already been setup.")
xkeyboard-config)) xkeyboard-config))
(native-inputs (native-inputs
(append (append
(list bison doxygen pkg-config python (list bison
;; wayland-scanner is required at build time. doxygen
wayland) pkg-config
(if (%current-target-system) python
(list pkg-config-for-build) ;; wayland-scanner is required at build time.
'()))) wayland
;; Xvfb for tests.
xorg-server-for-tests
;; xkbcomp for tests.
xkbcomp)
(if (%current-target-system)
(list pkg-config-for-build)
'())))
(arguments (arguments
(list (list
#:configure-flags #:configure-flags
@ -666,7 +675,8 @@ avoiding password prompts when X11 forwarding has already been setup.")
%build-inputs "share/X11/xkb")) %build-inputs "share/X11/xkb"))
(string-append "-Dx-locale-root=" (string-append "-Dx-locale-root="
(search-input-directory (search-input-directory
%build-inputs "share/X11/locale"))) %build-inputs "share/X11/locale"))
"-Denable-docs=true")
#:phases #:phases
#~(modify-phases %standard-phases #~(modify-phases %standard-phases
(add-after 'install 'move-doc (add-after 'install 'move-doc
@ -695,41 +705,6 @@ X11 (yet).")
"See 'COPYING' in the distribution.")) "See 'COPYING' in the distribution."))
(properties '((cpe-name . "xkbcommon"))))) (properties '((cpe-name . "xkbcommon")))))
(define-public libxkbcommon-1.5
(package
(inherit libxkbcommon)
(version "1.5.0")
(source (origin
(inherit (package-source libxkbcommon))
(method url-fetch)
(uri (string-append "https://xkbcommon.org/download/libxkbcommon-"
version ".tar.xz"))
(sha256
(base32
"05z08rpa464x8myjxddhix7jp9jcmakd7xrybx4hz8dwpg2123sn"))))))
(define-public libxkbcommon-1.8
(package
(inherit libxkbcommon)
(version "1.8.1")
(source (origin
(inherit (package-source libxkbcommon))
(method git-fetch)
(uri (git-reference
(url "https://github.com/xkbcommon/libxkbcommon")
(commit (string-append "xkbcommon-" version))))
(file-name (git-file-name (package-name libxkbcommon) version))
(sha256
(base32
"0fz6mf99lyp7x6g6v33210hhpykbg32fjmckyvxfpd805cza0xrj"))))
(arguments
(substitute-keyword-arguments (package-arguments libxkbcommon)
((#:configure-flags flags #~(list))
#~(cons "-Denable-docs=true" #$flags))))
(native-inputs (modify-inputs (package-native-inputs libxkbcommon)
(append xorg-server ;; Xvfb for tests
xkbcomp))))) ;; xkbcomp for tests
(define-public libfakekey (define-public libfakekey
(package (package
(name "libfakekey") (name "libfakekey")