From a0a682e6e4b53282e9e45703c870132310764f3c Mon Sep 17 00:00:00 2001 From: "Jorge P. de Morais Neto" Date: Fri, 8 Jul 2022 09:23:29 -0300 Subject: [PATCH] gnu: Drop emacs-transient, emacs-project input from four packages Drop emacs-transient (and emacs-project) propagated input from: - emacs-git-timemachine - emacs-ytdl - emacs-geiser - emacs-magit I use Guix package manager (manually installed) atop Debian bullseye. My Emacs is from Guix package emacs-next with a package transformation option to pull from current Git master. When trying to use the new emoji commands on the "C-x 8e" prefix, I got an error message about transient. I solved it by modifying Guix recipes to not pull emacs-transient as propagated input of some Emacs packages I installed via Guix. Guix packages Emacs 28.1 and emacs-next 29.0.50, and both have Transient built-in. Therefore, pulling transient external package it as propagated input of other packages is wasteful redundancy, and, worse, causes errors. From emacs-geiser also drop emacs-project (also builtin on Emacs 28.1). For emacs-ytdl also add the required emacs-dash dependency. See email message ID 87sfnhalvo.fsf@disr.it on guix-devel mailing list. Several other unnecessary dependencies on builtin Emacs libraries (including transient and project) probably remain on emacs-xyz. --- gnu/packages/emacs-xyz.scm | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 2e259287b8..b68a15bc4a 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -278,8 +278,6 @@ (define-public emacs-geiser "-o" "geiser.info" "geiser.texi"))))))) (native-inputs (list texinfo)) - (propagated-inputs - (list emacs-project emacs-transient)) (home-page "https://www.nongnu.org/geiser/") (synopsis "Collection of Emacs modes for Scheme hacking") (description @@ -1005,7 +1003,7 @@ (define-public emacs-magit (inputs (list git perl)) (propagated-inputs - (list emacs-dash emacs-transient emacs-with-editor)) + (list emacs-dash emacs-with-editor)) (home-page "https://magit.vc/") (synopsis "Emacs interface for the Git version control system") (description @@ -4646,8 +4644,6 @@ (define-public emacs-git-timemachine (base32 "1pz4l1xnq6s67w5yq9107vm8dg7rqf8n9dmbn90jys97c722g70n")))) (build-system emacs-build-system) - (propagated-inputs - (list emacs-transient)) (home-page "https://gitlab.com/pidu/git-timemachine") (synopsis "Step through historic versions of Git-controlled files") (description "This package enables you to step through historic versions @@ -23308,7 +23304,7 @@ (define-public emacs-ytdl (inputs (list youtube-dl)) (propagated-inputs - (list emacs-async emacs-transient)) + (list emacs-async emacs-dash)) (home-page "https://gitlab.com/tuedachu/ytdl") (synopsis "Emacs interface for youtube-dl") (description -- 2.36.1