summaryrefslogtreecommitdiff
path: root/gnu/packages/freedesktop.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages/freedesktop.scm')
-rw-r--r--gnu/packages/freedesktop.scm324
1 files changed, 73 insertions, 251 deletions
diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm
index 55ece1d96f..497dd076e2 100644
--- a/gnu/packages/freedesktop.scm
+++ b/gnu/packages/freedesktop.scm
@@ -5,7 +5,7 @@
;;; Copyright © 2015-2017, 2019, 2021-2022, 2025 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2015, 2017, 2018, 2019, 2021, 2022, 2023 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2015 David Hashe <david.hashe@dhashe.com>
-;;; Copyright © 2016, 2017, 2019, 2021-2024 Efraim Flashner <efraim@flashner.co.il>
+;;; Copyright © 2016, 2017, 2019, 2021-2025 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2016 Kei Kebreau <kkebreau@posteo.net>
;;; Copyright © 2017 Nikita <nikita@n0.is>
;;; Copyright © 2017, 2018 Mark H Weaver <mhw@netris.org>
@@ -27,7 +27,7 @@
;;; Copyright © 2021 Robby Zambito <contact@robbyzambito.me>
;;; Copyright © 2021, 2022, 2023 Maxime Devos <maximedevos@telenet.be>
;;; Copyright © 2021, 2022, 2024 John Kehayias <john.kehayias@protonmail.com>
-;;; Copyright © 2021-2025 Maxim Cournoyer <maxim.cournoyer@gmail.com>
+;;; Copyright © 2021-2025 Maxim Cournoyer <maxim@guixotic.coop>
;;; Copyright © 2022 Daniel Meißner <daniel.meissner-i4k@ruhr-uni-bochum.de>
;;; Copyright © 2022 Wamm K. D. <jaft.r@outlook.com>
;;; Copyright © 2022 Petr Hodina <phodina@protonmail.com>
@@ -36,7 +36,7 @@
;;; Copyright © 2023 Bruno Victal <mirai@makinata.eu>
;;; Copyright © 2024-2025 Zheng Junjie <z572@z572.online>
;;; Copyright © 2022 Samuel Culpepper <sculpepper@newstore.com>
-;;; Copyright © 2024 aurtzy <aurtzy@gmail.com>
+;;; Copyright © 2024-2025 Alvin Hsu <aurtzy@gmail.com>
;;; Copyright © 2024 Dariqq <dariqq@posteo.net>
;;; Copyright © 2024 Wilko Meyer <w@wmeyer.eu>
;;; Copyright © 2024 dan <i@dan.games>
@@ -94,7 +94,6 @@
#:use-module (gnu packages disk)
#:use-module (gnu packages docbook)
#:use-module (gnu packages documentation)
- #:use-module (gnu packages fcitx)
#:use-module (gnu packages file)
#:use-module (gnu packages fontutils)
#:use-module (gnu packages gawk)
@@ -239,90 +238,6 @@ application-centers for distributions.")
((#:configure-flags flags #~'())
#~(append '("-Dqt=true" "-Dqt-versions=6") #$flags))))))
-(define-public farstream
- (package
- (name "farstream")
- (version "0.2.9")
- (source
- (origin
- (method git-fetch)
- (uri
- (git-reference
- (url "https://gitlab.freedesktop.org/farstream/farstream.git")
- (commit version)))
- (file-name (git-file-name name version))
- (sha256
- (base32 "1sd8syldyq6bphfdm129s3gq554vfv7vh1vcwzk48gjryf101awk"))
- (patches
- (search-patches "farstream-gupnp.patch" ;for test 'transmitter/rawudp'
- "farstream-make.patch"))))
- (build-system glib-or-gtk-build-system)
- (outputs '("out" "doc"))
- (arguments
- (list
- #:configure-flags
- #~(list "--enable-gtk-doc"
- "--enable-glib-asserts"
- (string-append "--with-html-dir=" #$output
- "/share/gtk-doc/html"))
- #:phases
- #~(modify-phases %standard-phases
- (add-after 'unpack 'copy-common
- (lambda _
- (delete-file "autogen.sh")
- (copy-recursively
- #$(this-package-native-input
- (git-file-name "common" "latest.52adcdb"))
- "common")))
- (add-after 'unpack 'disable-problematic-tests
- (lambda _
- (substitute* "tests/check/Makefile.am"
- ;; This test fails since updating gstreamer to version 1.22.1
- ;; (see:
- ;; https://gitlab.freedesktop.org/farstream/farstream/-/issues/25).
- (("^\trtp/recvcodecs.*") "")
- ;; This test timeouts despite changing the value of
- ;; 'CK_DEFAULT_TIMEOUT' to 600 (see:
- ;; https://gitlab.freedesktop.org/farstream/farstream/-/issues/20).
- (("^\ttransmitter/nice.*") "")))))))
- (native-inputs
- (list autoconf
- automake
- docbook-xml-4.1.2
- docbook-xsl
- gobject-introspection
- gtk-doc/stable
- libtool
- libxslt
- perl
- pkg-config
- 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+
- gupnp-igd
- libnice))
- (propagated-inputs
- (list gstreamer
- gst-plugins-bad
- gst-plugins-base
- gst-plugins-good))
- (synopsis "The Farstream VVoIP framework")
- (description "Farstream is a collection of GStreamer modules and libraries
-for videoconferencing.")
- (home-page "https://www.freedesktop.org/wiki/Software/Farstream/")
- (license license:lgpl2.1+)))
-
(define-public libglib-testing
(package
(name "libglib-testing")
@@ -464,95 +379,6 @@ inappropriate content.")
license:gpl2+
license:lgpl2.1+))))
-(define-public maliit-framework
- (package
- (name "maliit-framework")
- (version "2.3.0")
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/maliit/framework")
- (commit version)))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "1dkjxvfxg56hfy70j6ibfklfyv57jiha4vgc3ggl60r5kjx65s5b"))))
- (build-system cmake-build-system)
- (arguments
- (list
- #:phases
- #~(modify-phases %standard-phases
- (replace 'check
- (lambda* (#:key tests? #:allow-other-keys)
- (when tests?
- ;; The Ft_MIMPluginManager::testPluginDescriptions test fails
- ;; with a QFATAL error: received signal 11, while
- ;; ut_mimpluginmanager fails at least on powerpc64le with a
- ;; subprocess aborted error (see:
- ;; https://github.com/maliit/framework/issues/120).
- (invoke "ctest" "-E"
- "(ft_mimpluginmanager|ut_mimpluginmanager)")))))))
- (native-inputs (list extra-cmake-modules
- wayland-protocols
- pkg-config
- doxygen
- graphviz
- `(,glib "bin"))) ;for gdbus-codegen))
- (inputs (list qtbase-5
- qtdeclarative-5
- qtwayland-5
- wayland
- libxkbcommon
- dbus
- eudev
- glib))
- (home-page "https://github.com/maliit/framework")
- (synopsis "Core libraries of Maliit")
- (description "This package provides Maliit provides a flexible input
-method framework.")
- (license license:lgpl2.1+)))
-
-(define-public maliit-keyboard
- (package
- (name "maliit-keyboard")
- (version "2.3.1")
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/maliit/keyboard")
- (commit version)))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "0g89lckl4wzwamc89hs8871fbiyrsjwzk5b6ic4vhc4d1clyqzaw"))))
- (build-system cmake-build-system)
- (arguments
- (list #:tests? #f
- #:phases #~(modify-phases %standard-phases
- (add-after 'install 'install-schemas
- (lambda* (#:key source outputs #:allow-other-keys)
- (with-directory-excursion (string-append #$output
- "/share/glib-2.0/schemas")
- (invoke "glib-compile-schemas" ".")))))))
- (native-inputs (list extra-cmake-modules pkg-config gettext-minimal
- `(,glib "bin")))
- (inputs (list hunspell
- glib
- libchewing
- libpinyin
- maliit-framework
- presage
- qtbase-5
- qtdeclarative-5
- qtmultimedia-5
- qtquickcontrols2-5))
- (home-page "https://github.com/maliit/keyboard")
- (synopsis "Maliit Keyboard")
- (description
- "This package provides virtual keyboard for Wayland and X11
-display servers. It supports many different languages and emoji.")
- (license license:gpl3+)))
-
;; Private package used by shared-mime-info.
(define xdgmime
;; No public release, match commit to the one used in the
@@ -760,7 +586,7 @@ freedesktop.org project.")
;; Updating this will rebuild over 700 packages through libinput-minimal.
(package
(name "libinput")
- (version "1.26.2")
+ (version "1.29.0")
(source (origin
(method git-fetch)
(uri (git-reference
@@ -769,7 +595,7 @@ freedesktop.org project.")
(file-name (git-file-name name version))
(sha256
(base32
- "1zwwq7a0a6yznc6jxhp6gb50yw5vpfkvgbrabrpc5pwldpckfbrg"))))
+ "1kgr18p7n9bvim9bx24jbr5nwp6icla3bgzfskr04f68mirmx561"))))
(build-system meson-build-system)
(arguments
`(#:configure-flags '("-Ddocumentation=false")
@@ -777,7 +603,16 @@ freedesktop.org project.")
;; XXX: Using 'debug' or 'debugoptimized' pulls in an additional test that
;; hangs, and the comments around it suggests that we should be using this
;; Meson target anyway.
- #:build-type "release"))
+ #:build-type "release"
+ #:phases
+ ,@(if (target-64bit?)
+ `(%standard-phases)
+ `((modify-phases %standard-phases
+ ;; Backported from a commit after the 1.29.0 release.
+ (add-after 'unpack 'correct-value-type-in-atou64_test
+ (lambda _
+ (substitute* "test/test-utils.c"
+ (("unsigned long val") "uint64_t val")))))))))
(native-inputs
(append (list check pkg-config python-minimal-wrapper python-pytest)
(if (%current-target-system)
@@ -816,21 +651,6 @@ other applications that need to directly deal with input devices.")
"-Ddebug-gui=false" ;requires gtk+@3
,flags))))))
-;; TODO: Remove this package when libinput-minimal >= 1.28
-(define-public libinput-minimal-next
- (package/inherit libinput-minimal
- (name "libinput-minimal")
- (version "1.28.903")
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://gitlab.freedesktop.org/libinput/libinput.git")
- (commit version)))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "0i5yljdff4fjchpa8ifscbcssnmiim58ai1zy3v41vim2illprv5"))))))
-
(define-public libei
(package
(name "libei")
@@ -1456,40 +1276,33 @@ For information about libevdev, see:
(define-public python-pyxdg
(package
(name "python-pyxdg")
- (version "0.27")
+ (version "0.28")
(source
(origin
(method url-fetch)
(uri (pypi-uri "pyxdg" version))
(sha256
(base32
- "19f5j5mxp7ff0vp33s32qbpdi65iiwha0bj641gl70pdwnm97gc0"))))
- (build-system python-build-system)
+ "1d48bqwkbnpid80cpwz6h62i112laxl0ivpj58hdyd79fhqbnrrj"))))
+ (build-system pyproject-build-system)
(arguments
- '(#:phases
- (modify-phases %standard-phases
- (replace 'check
- (lambda* (#:key inputs #:allow-other-keys)
- (setenv "XDG_DATA_DIRS"
- (string-append (assoc-ref inputs "shared-mime-info")
- "/share/"))
- (substitute* "test/test-icon.py"
- (("/usr/share/icons/hicolor/index.theme")
- (string-append (assoc-ref inputs "hicolor-icon-theme")
- "/share/icons/hicolor/index.theme")))
-
- ;; These two tests are known to fail in strange ways.
- (substitute* "test/test-mime.py"
- (("def test_get_type\\(self") "def _test_get_type(self")
- (("def test_get_type2\\(self") "def _test_get_type2(self"))
-
- ;; There are test files not shipped in the release tarball
- (substitute* "test/test-icon.py"
- (("def test_validate_icon_theme") "def _test_validate_icon_theme"))
- (invoke "nosetests" "-v"))))))
+ (list
+ #:test-flags
+ ;; Tests failing with error: AssertionError: 'image' != 'inode'
+ #~(list "--deselect=test/test_mime.py::MimeTest::test_get_type"
+ "--deselect=test/test_mime.py::MimeTest::test_get_type2")
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-before 'check 'pre-check
+ (lambda _
+ (setenv "XDG_DATA_DIRS"
+ (string-append #$(this-package-native-input "shared-mime-info")
+ "/share/")))))))
(native-inputs
- ;; For tests.
- (list shared-mime-info hicolor-icon-theme python-nose))
+ (list shared-mime-info
+ hicolor-icon-theme
+ python-pytest
+ python-setuptools))
(home-page "https://www.freedesktop.org/wiki/Software/pyxdg")
(synopsis "Implementations of freedesktop.org standards in Python")
(description
@@ -1500,7 +1313,7 @@ Python.")
(define-public hyprland-protocols
(package
(name "hyprland-protocols")
- (version "0.6.4")
+ (version "0.7.0")
(source (origin
(method git-fetch)
(uri (git-reference
@@ -1509,7 +1322,7 @@ Python.")
(file-name (git-file-name name version))
(sha256
(base32
- "0njqyl6vsqlb8dv4wdn5h34dk67yqzc99gvwa13j252cv3n0bpya"))))
+ "10mnr5sni5cnc0n5q4jhp197gh8d32pjwlx7dgz0rwsyl2f1b8gq"))))
(build-system meson-build-system)
(home-page "https://github.com/hyprwm/hyprland-protocols")
(synopsis "Wayland protocol extensions for Hyprland")
@@ -1544,7 +1357,7 @@ in and for C++.")
(define-public wayland
(package
(name "wayland")
- (version "1.23.1")
+ (version "1.24.0")
(source (origin
(method url-fetch)
(uri (string-append "https://gitlab.freedesktop.org/" name
@@ -1552,12 +1365,11 @@ in and for C++.")
name "-" version ".tar.xz"))
(sha256
(base32
- "1vg5h6d94hglh7724q6wx9dpg4y0afvxksankp1hwbcy76lb4kw6"))))
+ "0dh5bldg24ajxz7xmylwm01nmj572x1vb0ya9qrppmhsl23j92c2"))))
(build-system meson-build-system)
(outputs '("out" "doc"))
(arguments
- (list #:parallel-tests? #f
- #:phases
+ (list #:phases
#~(modify-phases %standard-phases
(add-after 'install 'move-doc
(lambda _
@@ -1595,7 +1407,7 @@ fullscreen) or other display servers.")
(define-public wayland-protocols
(package
(name "wayland-protocols")
- (version "1.44")
+ (version "1.45")
(source (origin
(method git-fetch)
(uri (git-reference
@@ -1604,7 +1416,7 @@ fullscreen) or other display servers.")
(file-name (git-file-name name version))
(sha256
(base32
- "1gjhfiah8hkhqlfan2pr8jvf9h8rjkyz79kkxddi8js2q7dy4bbq"))))
+ "1d2fv41vq75pvgkd3ykjypnp8zv0afv71p36cd91h19lbmwaia8h"))))
(build-system meson-build-system)
(inputs
(list wayland))
@@ -2005,6 +1817,10 @@ Analysis and Reporting Technology) functionality.")
(("\"eject %s\"")
(format #f "\"~a %s\""
(search-input-file inputs "bin/eject"))))
+ (substitute* "src/udiskslinuxmanager.c"
+ (("\"mkswap\"")
+ (format #f "~s"
+ (search-input-file inputs "sbin/mkswap"))))
(substitute* "src/udisksstate.c"
(("\"umount -l %s\"")
(format #f "\"~a -l %s\""
@@ -2954,25 +2770,31 @@ encoding names are iconv-compatible.")
(define-public python-cchardet
(package
- (name "python-cchardet")
- (version "2.2.0a2")
- (source
- (origin
- (method url-fetch)
- (uri (pypi-uri "cchardet" version))
- (sha256
- (base32
- "08wq5yfaafbjipabfc6kpyvivkk2394w7isv0mwx5agcf8cbnwnx"))))
- (build-system pyproject-build-system)
- (inputs
- (list uchardet))
- (native-inputs
- (list python-setuptools python-wheel))
- (home-page "https://github.com/PyYoshi/cChardet")
- (synopsis "High-performance character encoding detection for Python")
- (description "cChardet is a character encoding detector, written in
-Python, that binds to the C library @code{uchardet} to increase performance.")
- (license license:gpl2+)))
+ (name "python-cchardet")
+ (version "2.2.0a2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "cchardet" version))
+ (sha256
+ (base32 "08wq5yfaafbjipabfc6kpyvivkk2394w7isv0mwx5agcf8cbnwnx"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ #:test-flags
+ ;; No test data in PyPI archive:
+ ;; '<...>/tests/samples/wikipediaJa_One_Thousand_and_One_Nights_SJIS.txt'
+ #~(list "--deselect=tests/test_1.py::TestCChardet::test_detector")))
+ (inputs
+ (list uchardet))
+ (native-inputs
+ (list python-pytest python-setuptools))
+ (home-page "https://github.com/PyYoshi/cChardet")
+ (synopsis "High-performance character encoding detection for Python")
+ (description
+ "cChardet is a character encoding detector, written in Python, that binds
+to the C library @code{uchardet} to increase performance.")
+ (license license:gpl2+)))
(define-public udiskie
(package
@@ -3450,7 +3272,7 @@ interfaces.")
(define-public xdg-desktop-portal-hyprland
(package
(name "xdg-desktop-portal-hyprland")
- (version "1.3.9")
+ (version "1.3.10")
(source
(origin
(method git-fetch)
@@ -3459,7 +3281,7 @@ interfaces.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "0k1bgdpg5ixxqg9r4vraszbnl4rl9gh87dhyc7rr332rf0j9n0xh"))))
+ (base32 "079k4zni2ammd2407av55b9vqcsfv8h3hx1xd4zl0fbc3cnsrkcf"))))
(build-system qt-build-system)
(arguments
(list #:tests? #f ;No tests.
@@ -3476,7 +3298,7 @@ interfaces.")
(("\\<(hyprland-share-picker)\\>" _ cmd)
(string-append #$output "/bin/" cmd))))))))
(native-inputs
- (list gcc-14 hyprwayland-scanner pkg-config))
+ (list gcc-15 hyprwayland-scanner pkg-config))
(inputs
(list bash-minimal
grim