From 41513c587fb5311461a2872ab27f52fb9fc044a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?No=C3=A9=20Lopez?= Date: Thu, 18 Dec 2025 21:50:19 +0100 Subject: [PATCH] gnu: dialect: Move to (gnu packages gnome-circle). * gnu/packages/gnome-circle.scm (dialect): New variable. * gnu/packages/gnome.scm (dialect): Replace with deprecated alias. Change-Id: I15c393cf12906886912529d758fddc16d0951ec3 Signed-off-by: Liliana Marie Prikler --- gnu/packages/gnome-circle.scm | 41 +++++++++++++++++++++++++++++++++++ gnu/packages/gnome.scm | 40 ++-------------------------------- 2 files changed, 43 insertions(+), 38 deletions(-) diff --git a/gnu/packages/gnome-circle.scm b/gnu/packages/gnome-circle.scm index 577d4198c2c..bf2e77cc7b9 100644 --- a/gnu/packages/gnome-circle.scm +++ b/gnu/packages/gnome-circle.scm @@ -5,6 +5,7 @@ ;;; Copyright © 2019, 2024, 2025 Giacomo Leidi ;;; Copyright © 2020, 2021, 2022, 2023 Vinicius Monego ;;; Copyright © 2020, 2021 Brice Waegeneire +;;; Copyright © 2023 Dominik Delgado Steuter ;;; Copyright © 2025 Noé Lopez ;;; ;;; This file is part of GNU Guix. @@ -45,6 +46,7 @@ #:use-module (gnu packages linux) #:use-module (gnu packages pkg-config) #:use-module (gnu packages python) + #:use-module (gnu packages python-web) #:use-module (gnu packages python-xyz) #:use-module (gnu packages rust) #:use-module (gnu packages sqlite) @@ -206,6 +208,45 @@ uses duplicity as the backend, which supports incremental backups and storage either on a local, or remote machine via a number of methods.") (license license:gpl3+))) +(define-public dialect + (package + (name "dialect") + (version "2.1.1") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/dialect-app/dialect") + (commit version) + (recursive? #t))) ;po module + (file-name (git-file-name name version)) + (sha256 + (base32 + "0wac9r33zslyhvadyj7iaapskk7f9pfvia7zlqfksfhkaji6gmna")))) + (build-system meson-build-system) + (arguments + `(#:glib-or-gtk? #t)) + (native-inputs (list blueprint-compiler + desktop-file-utils + `(,glib "bin") + gettext-minimal + gobject-introspection + `(,gtk "bin") + pkg-config)) + (propagated-inputs (list gstreamer + libadwaita + libsoup + python + python-gtts + python-pygobject + python-requests)) + (home-page "https://apps.gnome.org/app/app.drey.Dialect") + (synopsis "Translation application for GNOME") + (description + "Dialect is a simple translation application that uses Google Translate +(default), LibreTranslate or Lingva Translate. It includes features +like automatic language detection, text-to-speech and clipboard buttons.") + (license license:gpl3+))) + (define-public gnome-authenticator (package (name "gnome-authenticator") diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index f1d622c9844..3aa55516fca 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -10789,44 +10789,8 @@ desktop. It supports multiple calendars, month, week and year view.") to perfectly fit the GNOME desktop.") (license license:gpl3+))) -(define-public dialect - (package - (name "dialect") - (version "2.1.1") - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/dialect-app/dialect") - (commit version) - (recursive? #t))) ;po module - (file-name (git-file-name name version)) - (sha256 - (base32 - "0wac9r33zslyhvadyj7iaapskk7f9pfvia7zlqfksfhkaji6gmna")))) - (build-system meson-build-system) - (arguments - `(#:glib-or-gtk? #t)) - (native-inputs (list blueprint-compiler - desktop-file-utils - `(,glib "bin") - gettext-minimal - gobject-introspection - `(,gtk "bin") - pkg-config)) - (propagated-inputs (list gstreamer - libadwaita - libsoup - python - python-gtts - python-pygobject - python-requests)) - (home-page "https://apps.gnome.org/app/app.drey.Dialect") - (synopsis "Translation application for GNOME") - (description - "Dialect is a simple translation application that uses Google Translate -(default), LibreTranslate or Lingva Translate. It includes features -like automatic language detection, text-to-speech and clipboard buttons.") - (license license:gpl3+))) +(define-deprecated/public-alias dialect + (@ (gnu packages gnome-circle) dialect)) (define-public gnome-dictionary (package