From f70195eb3d20d36fad006d7e55a9c99ea869f01d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nguy=E1=BB=85n=20Gia=20Phong?= Date: Tue, 17 Feb 2026 12:58:56 +0900 Subject: [PATCH] gnu: python-xdg: Deprecate in favor of python-xdg-base-dirs. The upstream package name has been changed since version 6. * gnu/packages/python-xyz.scm (python-xdg-base-dirs): Rename from python-xdg. (python-xdg): Deprecate in favor of python-xdg-base-dirs. * gnu/packages/cinnamon.scm (python3-xapp)[propagated-inputs]: Replace python-xdg with python-xdg-base-dirs. * gnu/packages/speech.scm (speech-dispatcher)[inputs]: Replace python-xdg with python-xdg-base-dirs. References: https://github.com/srstevenson/xdg-base-dirs/pull/141 Change-Id: Ie81d0010d4c08147cf7fd1698fb11876f8b233b3 Signed-off-by: Liliana Marie Prikler --- gnu/packages/cinnamon.scm | 2 +- gnu/packages/python-xyz.scm | 10 +++++++--- gnu/packages/speech.scm | 2 +- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/gnu/packages/cinnamon.scm b/gnu/packages/cinnamon.scm index 8a6f8a53c7..eda844ac32 100644 --- a/gnu/packages/cinnamon.scm +++ b/gnu/packages/cinnamon.scm @@ -159,7 +159,7 @@ cross-DE solutions.") python-setproctitle python-setuptools python-unidecode - python-xdg + python-xdg-base-dirs python-xlib)) (home-page "https://github.com/linuxmint/python3-xapp") (synopsis "Python 3 XApp library") diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 722a6c9c5d..190381f8df 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -40794,13 +40794,13 @@ and directories in the file system. They are stored as name:data pairs associated with file system objects (files, directories, symlinks, etc).") (license license:expat))) -(define-public python-xdg +(define-public python-xdg-base-dirs (package - (name "python-xdg") + (name "python-xdg-base-dirs") (version "6.0.0") (source (origin (method url-fetch) - (uri (pypi-uri "xdg" version)) + (uri (pypi-uri "xdg-base-dirs" version)) (sha256 (base32 "14hwk9j5zjc8rvirw95mrb07zdnpjaxjx2mj3rnq8pnlyaa809r4")))) @@ -40817,6 +40817,10 @@ Python utility you write that deals with user cache, configuration, or data files.") (license license:isc))) +;; XXX: Deprecated on <2026-02-19>. +(define-deprecated-package python-xdg + python-xdg-base-dirs) + (define-public python-xlib (package (name "python-xlib") diff --git a/gnu/packages/speech.scm b/gnu/packages/speech.scm index 4ee5962c59..e183b87e6b 100644 --- a/gnu/packages/speech.scm +++ b/gnu/packages/speech.scm @@ -296,7 +296,7 @@ efficiency through the use of a compact vector representation of n-grams.") pipewire pulseaudio python - python-xdg)) + python-xdg-base-dirs)) (synopsis "Common interface to speech synthesizers") (description "The Speech Dispatcher project provides a high-level device independent layer for access to speech synthesis through a simple,