diff options
Diffstat (limited to 'gnu/packages/freedesktop.scm')
-rw-r--r-- | gnu/packages/freedesktop.scm | 306 |
1 files changed, 234 insertions, 72 deletions
diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm index 0ab0bb5104..721a0d4c38 100644 --- a/gnu/packages/freedesktop.scm +++ b/gnu/packages/freedesktop.scm @@ -26,7 +26,7 @@ ;;; Copyright © 2021 Sarah Morgensen <iskarian@mgsn.dev> ;;; Copyright © 2021 Robby Zambito <contact@robbyzambito.me> ;;; Copyright © 2021, 2022, 2023 Maxime Devos <maximedevos@telenet.be> -;;; Copyright © 2021, 2022 John Kehayias <john.kehayias@protonmail.com> +;;; Copyright © 2021, 2022, 2024 John Kehayias <john.kehayias@protonmail.com> ;;; Copyright © 2021-2024 Maxim Cournoyer <maxim.cournoyer@gmail.com> ;;; Copyright © 2022 Daniel Meißner <daniel.meissner-i4k@ruhr-uni-bochum.de> ;;; Copyright © 2022 Wamm K. D. <jaft.r@outlook.com> @@ -83,6 +83,7 @@ #:use-module (gnu packages check) #:use-module (gnu packages cmake) #:use-module (gnu packages compression) + #:use-module (gnu packages cpp) #:use-module (gnu packages crypto) #:use-module (gnu packages cryptsetup) #:use-module (gnu packages cups) @@ -95,6 +96,7 @@ #:use-module (gnu packages file) #:use-module (gnu packages fontutils) #:use-module (gnu packages gawk) + #:use-module (gnu packages gcc) #:use-module (gnu packages gettext) #:use-module (gnu packages ghostscript) #:use-module (gnu packages gl) @@ -140,6 +142,7 @@ #:use-module (gnu packages virtualization) #:use-module (gnu packages w3m) #:use-module (gnu packages web) + #:use-module (gnu packages wm) #:use-module (gnu packages xdisorg) #:use-module (gnu packages xml) #:use-module (gnu packages xorg) @@ -265,16 +268,8 @@ application-centers for distributions.") (lambda _ (delete-file "autogen.sh") (copy-recursively - #$(origin - (method git-fetch) - (uri - (git-reference - (url "https://gitlab.freedesktop.org/gstreamer/common.git") - (commit "52adcdb89a9eb527df38c569539d95c1c7aeda6e"))) - (file-name (git-file-name "common" "latest.52adcdb")) - (sha256 - (base32 - "1zlm1q1lgcb76gi82rial5bwy2j9sz1x6x48ijhiz89cml7xxd1r"))) + #$(this-package-native-input + (git-file-name "common" "latest.52adcdb")) "common"))) (add-after 'unpack 'disable-problematic-tests (lambda _ @@ -298,7 +293,17 @@ application-centers for distributions.") libxslt perl pkg-config - python-wrapper)) + python-wrapper + (origin + (method git-fetch) + (uri + (git-reference + (url "https://gitlab.freedesktop.org/gstreamer/common.git") + (commit "52adcdb89a9eb527df38c569539d95c1c7aeda6e"))) + (file-name (git-file-name "common" "latest.52adcdb")) + (sha256 + (base32 + "1zlm1q1lgcb76gi82rial5bwy2j9sz1x6x48ijhiz89cml7xxd1r"))))) (inputs (list glib gtk+ @@ -705,7 +710,7 @@ freedesktop.org project.") ;; Updating this will rebuild over 700 packages through libinput-minimal. (package (name "libinput") - (version "1.24.0") + (version "1.26.2") (source (origin (method git-fetch) (uri (git-reference @@ -714,7 +719,7 @@ freedesktop.org project.") (file-name (git-file-name name version)) (sha256 (base32 - "0xk0dljykjfmkks7kjxvbia6g3wadmy7lihfygm8icywkq8j0dw1")))) + "1zwwq7a0a6yznc6jxhp6gb50yw5vpfkvgbrabrpc5pwldpckfbrg")))) (build-system meson-build-system) (arguments `(#:configure-flags '("-Ddocumentation=false") @@ -1339,10 +1344,54 @@ For information about libevdev, see: Python.") (license license:lgpl2.0))) +(define-public hyprland-protocols + (package + (name "hyprland-protocols") + (version "0.4.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/hyprwm/hyprland-protocols") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0x86w7z3415qvixfhk9a8v5fnbnxdydzx366qz0mpmfg5h86qyha")))) + (build-system meson-build-system) + (home-page "https://github.com/hyprwm/hyprland-protocols") + (synopsis "Wayland protocol extensions for Hyprland") + (description + "This package provides Wayland protocol extensions for Hyprland.") + (license license:bsd-3))) + +(define-public hyprwayland-scanner + (package + (name "hyprwayland-scanner") + (version "0.4.2") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/hyprwm/hyprwayland-scanner") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0r7ay4zjkfyr0xd73wz99qhnqjq7nma98gm51wm9lmai4igw90qw")))) + (build-system cmake-build-system) + (arguments (list #:tests? #f)) ;No tests. + (inputs (list pugixml)) + (native-inputs (list gcc-13 pkg-config)) + (home-page "https://github.com/hyprwm/hyprwayland-scanner") + (synopsis "Hyprland implementation of @code{wayland-scanner}") + (description + "This package provides a Hyprland implementation of @code{wayland-scanner}, +in and for C++.") + (license license:bsd-3))) + (define-public wayland (package (name "wayland") - (version "1.22.0") + (version "1.23.1") (source (origin (method url-fetch) (uri (string-append "https://gitlab.freedesktop.org/" name @@ -1350,7 +1399,7 @@ Python.") name "-" version ".tar.xz")) (sha256 (base32 - "0hjq8b1cprxpxcv2klgir1hd63vy5hrqilp9v317394qlqgayh0m")))) + "1vg5h6d94hglh7724q6wx9dpg4y0afvxksankp1hwbcy76lb4kw6")))) (build-system meson-build-system) (outputs '("out" "doc")) (arguments @@ -1393,7 +1442,7 @@ fullscreen) or other display servers.") (define-public wayland-protocols (package (name "wayland-protocols") - (version "1.32") + (version "1.37") (source (origin (method url-fetch) (uri (string-append "https://gitlab.freedesktop.org/wayland/" @@ -1401,7 +1450,7 @@ fullscreen) or other display servers.") name "-" version ".tar.xz")) (sha256 (base32 - "04dsn79409mryxs6maq9kfhca97gvl3pr1ggjnv9d0hc6jfpjnbl")))) + "09pk3qhpc29x1a6srpqqw9dcvalg33vfmp14d276is7j4klrn3m7")))) (build-system meson-build-system) (inputs (list wayland)) @@ -1422,17 +1471,18 @@ protocol either in Wayland core, or some other protocol in wayland-protocols.") (license license:expat))) (define-public wayland-protocols-next - (package (inherit wayland-protocols) - (name "wayland-protocols-next") - (version "1.36") - (source (origin - (method url-fetch) - (uri (string-append "https://gitlab.freedesktop.org/wayland/" - "wayland-protocols/-/releases/" version "/downloads/" - "wayland-protocols-" version ".tar.xz")) - (sha256 - (base32 - "14kyxywpfkgpjpkrybs28q1s2prnz30k1b4zap5a3ybrbvh4vzbi")))))) + (package + (inherit wayland-protocols) + (name "wayland-protocols-next") + (version "1.38") + (source (origin + (method url-fetch) + (uri (string-append "https://gitlab.freedesktop.org/wayland/" + "wayland-protocols/-/releases/" version "/downloads/" + "wayland-protocols-" version ".tar.xz")) + (sha256 + (base32 + "1ghxb0w7rbq3kdv9lhm1iwcjh6p3sx1gxb3crqh2p78m0ln2j5zz")))))) (define-public wayland-utils (package @@ -1900,23 +1950,30 @@ these interfaces, based on the useradd, usermod and userdel commands.") (define-public libmbim (package (name "libmbim") - (version "1.26.4") - (source (origin - (method url-fetch) - (uri (string-append - "https://www.freedesktop.org/software/libmbim/" - "libmbim-" version ".tar.xz")) - (sha256 - (base32 - "1ncaarl4lgc7i52rwz50yq701wk2rr478cjybxbifsjqqk2cx27n")))) - (build-system gnu-build-system) + (version "1.30.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://gitlab.freedesktop.org/mobile-broadband/libmbim") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "00kbjvpka51zrfjigzd3rk6r4x8hkg1xfj7d9zl9lccysnxyjx5h")))) + (build-system meson-build-system) (native-inputs - (list `(,glib "bin") ; for glib-mkenums - pkg-config python-wrapper)) + (list `(,glib "bin") ;for glib-mkenums + gobject-introspection + help2man + pkg-config + python-minimal)) (propagated-inputs - (list glib)) ; required by mbim-glib.pc + (list glib)) ;required by mbim-glib.pc (inputs - (list libgudev)) + (list + bash-completion + libgudev)) (synopsis "Library to communicate with MBIM-powered modems") (home-page "https://www.freedesktop.org/wiki/Software/libmbim/") (description @@ -1927,26 +1984,69 @@ which speak the Mobile Interface Broadband Model (MBIM) protocol.") ;; The mbimcli tool is released under the GPLv2+ license. (list license:lgpl2.0+ license:gpl2+)))) +(define-public libqrtr-glib + (package + (name "libqrtr-glib") + (version "1.2.2") + (source + (origin + (method git-fetch) + (uri + (git-reference + (url "https://gitlab.freedesktop.org/mobile-broadband/libqrtr-glib") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0bfn5kfscli0rrxvmzdl6ix5ikh0kxia7ad83rmh1hksfcwynwlh")))) + (build-system meson-build-system) + (inputs + (list libgudev libmbim)) + (native-inputs + (list bash-completion + `(,glib "bin") + gtk-doc + gobject-introspection + pkg-config)) + (propagated-inputs + (list glib)) ;required by mm-glib.pc + (synopsis "Qualcomm IPC Router protocol helper library") + (description + "libqrtr-glib is a glib-based library to use and manage the QRTR (Qualcomm +IPC Router) bus.") + (home-page "https://gitlab.freedesktop.org/mobile-broadband/libqrtr-glib") + (license license:lgpl2.1+))) + (define-public libqmi (package (name "libqmi") - (version "1.30.8") - (source (origin - (method url-fetch) - (uri (string-append - "https://www.freedesktop.org/software/libqmi/" - "libqmi-" version ".tar.xz")) - (sha256 - (base32 - "140rmjw436rh6rqmnfw6yaflpffd27ilwcv4s9jvvl1skv784946")))) - (build-system gnu-build-system) + (version "1.34.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://gitlab.freedesktop.org/mobile-broadband/libqmi") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1m5y2sf14qd2i9mvbb68wxqlfwvpiprgz8zmcx6wb2cnjgsszmwp")))) + (build-system meson-build-system) (inputs - (list libgudev)) + (list + bash-completion + libgudev)) (native-inputs - (list `(,glib "bin") ; for glib-mkenums - pkg-config python-wrapper)) + (list `(,glib "bin") ;for glib-mkenums + gobject-introspection + help2man + pkg-config + python-minimal)) + ;; These are required by qmi-glib.pc. (propagated-inputs - (list glib)) ; required by qmi-glib.pc + (list glib + libmbim + libqrtr-glib)) (synopsis "Library to communicate with QMI-powered modems") (home-page "https://www.freedesktop.org/wiki/Software/libqmi/") (description @@ -1960,34 +2060,46 @@ which speak the Qualcomm MSM Interface (QMI) protocol.") (define-public modem-manager (package (name "modem-manager") - (version "1.18.12") - (source (origin - (method url-fetch) - (uri (string-append - "https://www.freedesktop.org/software/ModemManager/" - "ModemManager-" version ".tar.xz")) - (sha256 - (base32 - "0c74n5jl1qvq2qlbwzfkgxny8smjcgkid1nhdnl6qnlmbn9f8r5l")))) - (build-system gnu-build-system) + (version "1.22.0") + (source + (origin + (method git-fetch) + (uri + (git-reference + (url "https://gitlab.freedesktop.org/mobile-broadband/ModemManager") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0fj4ibjfsxal3xfk3hrj4l9vg7zbj42k9lj7151illl2n3d5ngzw")))) + (build-system meson-build-system) (arguments (list #:configure-flags - #~(list (string-append "--with-udev-base-dir=" #$output "/lib/udev")))) + #~(list (string-append "-Dudevdir=" #$output "/lib/udev") + "-Dsystemdsystemunitdir=no" + "-Dvapi=true"))) (native-inputs (list dbus gettext-minimal gobject-introspection `(,glib "bin") ;for glib-mkenums + libxslt ;for xsltproc pkg-config - python - python-dbus - python-pygobject + python-minimal + python-dbus ;for test + python-pygobject ;for test vala)) (propagated-inputs (list glib)) ;required by mm-glib.pc (inputs - (list libgudev libmbim libqmi polkit)) + (list bash-completion + elogind + libgudev + libmbim + libqmi + libqrtr-glib + polkit)) (synopsis "Mobile broadband modems manager") (home-page "https://www.freedesktop.org/wiki/Software/ModemManager/") (description @@ -3147,6 +3259,56 @@ which uses GTK+ and various pieces of GNOME infrastructure, such as the interfaces.") (license license:lgpl2.1+))) +(define-public xdg-desktop-portal-hyprland + (package + (name "xdg-desktop-portal-hyprland") + (version "1.3.6") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/hyprwm/xdg-desktop-portal-hyprland") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "17ba9jkccyp8gv79ds70khgm5wm6x8zs5m9nkilq4n2j7fsa8cfl")))) + (build-system qt-build-system) + (arguments + (list #:tests? #f ;No tests. + #:qtbase qtbase + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'fix-path + (lambda* (#:key inputs #:allow-other-keys) + (substitute* (find-files "." "\\.cp?*$") + (("/bin/sh") "sh") + (("\\<(sh|grim|hyprctl|slurp)\\>" _ cmd) + (search-input-file inputs (string-append "bin/" cmd)))) + (substitute* "src/shared/ScreencopyShared.cpp" + (("\\<(hyprland-share-picker)\\>" _ cmd) + (string-append #$output "/bin/" cmd)))))))) + (native-inputs + (list gcc-13 hyprwayland-scanner pkg-config)) + (inputs + (list bash-minimal + grim + hyprland + hyprland-protocols + hyprlang + hyprutils + mesa + pipewire + qtwayland + sdbus-c++ + slurp + wayland + wayland-protocols)) + (home-page "https://github.com/hyprwm/xdg-desktop-portal-hyprland") + (synopsis "Hyprland implementation of @code{xdg-desktop-portal} backend") + (description + "This package provides an @code{xdg-desktop-portal} backend for Hyprland.") + (license license:bsd-3))) + (define-public xdg-desktop-portal-kde (package (name "xdg-desktop-portal-kde") |