From 0e83d5e352be123dc7e19a7ba534dff520b45831 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?No=C3=A9=20Lopez?= Date: Fri, 19 Dec 2025 20:50:30 +0100 Subject: [PATCH] gnu: blanket: Move to (gnu packages gnome-circle). * gnu/packages/gnome-circle.scm (blanket): New variable. * gnu/packages/text-editors.scm (blanket): Replace with deprecated alias. Change-Id: I857152cd67b034795ba3ee77f841a1a08db9d851 Signed-off-by: Liliana Marie Prikler --- gnu/packages/gnome-circle.scm | 56 ++++++++++++++++++++++++++++++ gnu/packages/task-management.scm | 58 ++------------------------------ 2 files changed, 59 insertions(+), 55 deletions(-) diff --git a/gnu/packages/gnome-circle.scm b/gnu/packages/gnome-circle.scm index 89a5c938cb4..843b7cc05ac 100644 --- a/gnu/packages/gnome-circle.scm +++ b/gnu/packages/gnome-circle.scm @@ -139,6 +139,62 @@ It uses pandoc as back-end for parsing Markdown.") (license license:gpl3))) +(define-public blanket + (package + (name "blanket") + (version "0.8.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/rafaelmardojai/blanket/") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1inqb8z2vbmfybcrqbla76sny7cg2qz932agynqj4pn9a3zwnw9f")))) + (build-system meson-build-system) + (arguments + (list + #:glib-or-gtk? #t + #:phases + #~(modify-phases %standard-phases + (add-after 'glib-or-gtk-wrap 'wrap-libs + (lambda* (#:key outputs #:allow-other-keys) + (let ((gi-typelib-path (getenv "GI_TYPELIB_PATH")) + (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")) + (python-path (getenv "GUIX_PYTHONPATH"))) + (wrap-program (search-input-file outputs "/bin/blanket") + `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)) + `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path)) + `("GUIX_PYTHONPATH" ":" prefix (,python-path))))))))) + (native-inputs + (list blueprint-compiler + desktop-file-utils + gettext-minimal + `(,glib "bin") + gobject-introspection + `(,gtk+ "bin") + pkg-config)) + (inputs + (list appstream-glib + bash-minimal + gsettings-desktop-schemas + gst-plugins-bad + gst-plugins-good ;for ScaleTempo plugin + gtk + libhandy + libadwaita + python + python-gst + python-pygobject)) + (home-page "https://github.com/rafaelmardojai/blanket") + (synopsis "Ambient sound and noise player") + (description + "Blanket provides different ambient sounds and types of noise to listen +to with the goal of improving your focus and enhancing your productivity. +You can also use it to fall asleep in a noisy environment.") + (license license:gpl3+))) + (define-public deja-dup (package (name "deja-dup") diff --git a/gnu/packages/task-management.scm b/gnu/packages/task-management.scm index d18383f31e2..ab23c51f3bb 100644 --- a/gnu/packages/task-management.scm +++ b/gnu/packages/task-management.scm @@ -65,6 +65,7 @@ #:use-module (gnu packages time) #:use-module (gnu packages tls) #:use-module (gnu packages version-control) + #:use-module (guix deprecation) #:use-module (guix download) #:use-module (guix git-download) #:use-module (guix hg-download) @@ -455,61 +456,8 @@ a task.") (home-page "https://github.com/naggie/dstask") (license license:expat))) -(define-public blanket - (package - (name "blanket") - (version "0.8.0") - (source - (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/rafaelmardojai/blanket/") - (commit version))) - (file-name (git-file-name name version)) - (sha256 - (base32 "1inqb8z2vbmfybcrqbla76sny7cg2qz932agynqj4pn9a3zwnw9f")))) - (build-system meson-build-system) - (arguments - (list - #:glib-or-gtk? #t - #:phases - #~(modify-phases %standard-phases - (add-after 'glib-or-gtk-wrap 'wrap-libs - (lambda* (#:key outputs #:allow-other-keys) - (let ((gi-typelib-path (getenv "GI_TYPELIB_PATH")) - (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")) - (python-path (getenv "GUIX_PYTHONPATH"))) - (wrap-program (search-input-file outputs "/bin/blanket") - `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)) - `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path)) - `("GUIX_PYTHONPATH" ":" prefix (,python-path))))))))) - (native-inputs - (list blueprint-compiler - desktop-file-utils - gettext-minimal - `(,glib "bin") - gobject-introspection - `(,gtk+ "bin") - pkg-config)) - (inputs - (list appstream-glib - bash-minimal - gsettings-desktop-schemas - gst-plugins-bad - gst-plugins-good ;for ScaleTempo plugin - gtk - libhandy - libadwaita - python - python-gst - python-pygobject)) - (home-page "https://github.com/rafaelmardojai/blanket") - (synopsis "Ambient sound and noise player") - (description - "Blanket provides different ambient sounds and types of noise to listen -to with the goal of improving your focus and enhancing your productivity. -You can also use it to fall asleep in a noisy environment.") - (license license:gpl3+))) +(define-deprecated/public-alias blanket + (@ (gnu packages gnome-circle) blanket)) (define-public feathernotes (package