Subject: [PATCH 1/3] gnu: emacs-org-dynamic-agenda: Rename package to emacs-org-agenda-files-track.

From: Nicolas Graves <[email-masked]>
Date: Thu, 21 Dec 2023 23:26:59 +0100

* gnu/packages/emacs-xyz.scm (emacs-org-dynamic-agenda): Define in terms of
'deprecated-package'.
(emacs-org-agenda-files-track): New variable, formerly known as "emacs-org-dynamic-agenda".

Change-Id: If0e8e3fe5871b585880944fd73a5ae37c6fd3464
---
 gnu/packages/emacs-xyz.scm | 16 +++++++++-------
 1 file changed, 9 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 46cfbd5fc5..7fa2645288 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -31831,15 +31831,15 @@ (define-public emacs-org-drill-table
 current tree.")
       (license license:gpl3+))))
 
-(define-public emacs-org-dynamic-agenda
+(define-public emacs-org-agenda-files-track
   (package
-    (name "emacs-org-dynamic-agenda")
+    (name "emacs-org-agenda-files-track")
     (version "0.3.1")
     (source
      (origin
        (method git-fetch)
        (uri (git-reference
-             (url "https://git.sr.ht/~ngraves/org-dynamic-agenda")
+             (url "https://git.sr.ht/~ngraves/org-agenda-files-track")
              (commit version)))
        (file-name (git-file-name name version))
        (sha256
@@ -31847,13 +31847,15 @@ (define-public emacs-org-dynamic-agenda
     (build-system emacs-build-system)
     (arguments
      (list #:include
-           #~(list "org-dynamic-agenda\\.el" "README\\.org")))
-    (home-page "https://git.sr.ht/~ngraves/org-dynamic-agenda")
-    (synopsis "Dynamically generate org-agenda-files")
+           #~(list "org-agenda-files-track\\.el" "README\\.org")))
+    (home-page "https://git.sr.ht/~ngraves/org-agenda-files-track")
+    (synopsis "Fine-track org-agenda-files")
     (description
-     "This package dynamically generates org-agenda-files.")
+     "This package tracks org-agenda-files precisely to speed-up org-agenda.")
     (license license:gpl3+)))
 
+(define-deprecated emacs-org-dynamic-agenda emacs-org-agenda-files-track)
+
 (define-public emacs-org-dynamic-agenda-ql
   (package
     (inherit emacs-org-dynamic-agenda)
-- 
2.41.0