Subject: bug#61007: closed (Re: [bug#61007] [PATCH v2] gnu: emacs-origami-el: Add patch to fix cl package deprecation.)

From: [email-masked] (GNU bug Tracking System)
Date: Wed, 25 Jan 2023 17:45:02 +0000

Your bug report

#61007: [PATCH] gnu: emacs-origami-el: Fix cl package deprecation.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
61007: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=61007
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#61007] [PATCH v2] gnu: emacs-origami-el: Add patch to fix cl package deprecation.
From: Nicolas Goaziou <[email-masked]>
To: Nicolas Graves via Guix-patches via <[email-masked]>
Cc: [email-masked], Nicolas Graves <[email-masked]>
Date: Wed, 25 Jan 2023 18:44:19 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Hello,

Nicolas Graves via Guix-patches via <[email-masked]> writes:

> * gnu/packages/emacs-xyz.scm (emacs-origami-el):
> [source] Add patch to fix cl package deprecation.

Applied.

The linter seems unhappy with the patch, but I think the linter is wrong
in this case.

Regards,
-- 
Nicolas Goaziou

Subject: [PATCH] gnu: emacs-origami-el: Fix cl package deprecation.
From: Nicolas Graves <[email-masked]>
To: [email-masked]
Cc: [email-masked]
Date: Sun, 22 Jan 2023 17:27:02 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

* gnu/packages/emacs-xyz.scm (emacs-origami-el):
[source] Add patch to fix cl package deprecation.
[propagated-inputs] Formatting.
[home-page] Formatting.
---
 gnu/packages/emacs-xyz.scm | 24 +++++++++++++++---------
 1 file changed, 15 insertions(+), 9 deletions(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 41a0ccf09e..ed5c3bd71d 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -28753,24 +28753,30 @@ (define-public emacs-rjsx-mode
 (define-public emacs-origami-el
   (let ((commit "1f38085c8f9af7842765ed63f7d6dfe4dab59366")
         (version "1.0")
-        (revision "1"))
+        (revision "1")
+        (url "https://github.com/gregsexton/origami.el")
+        (patch "1d9c4f120c027a5009b0424270e3aae59f1cb128"))
     (package
       (name "emacs-origami-el")
       (version (git-version version revision commit))
       (source
        (origin
          (method git-fetch)
-         (uri (git-reference
-               (url "https://github.com/gregsexton/origami.el")
-               (commit commit)))
+         (uri (git-reference (url url) (commit commit)))
          (file-name (git-file-name name version))
          (sha256
-          (base32
-           "0ha1qsz2p36pqa0sa2sp83lspbgx5lr7930qxnwd585liajzdd9x"))))
+          (base32 "0ha1qsz2p36pqa0sa2sp83lspbgx5lr7930qxnwd585liajzdd9x"))
+         (patches
+          (list
+           (origin
+             (method url-fetch)
+             (uri (string-append url "/commit/" patch ".patch"))
+             (sha256
+              (base32
+               "0yia4dhqjzdidxd77s2ggg6mmj05jbsnwc35myzzhzh1zbq8mrfy")))))))
       (build-system emacs-build-system)
-      (propagated-inputs
-       (list emacs-dash emacs-s))
-      (home-page "https://github.com/gregsexton/origami.el")
+      (propagated-inputs (list emacs-dash emacs-s))
+      (home-page url)
       (synopsis "Flexible text-folding")
       (description "This package provides a minor mode for collapsing and
 expanding regions of text without modifying the actual contents.")
-- 
2.39.1