unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#61007] [PATCH] gnu: emacs-origami-el: Fix cl package deprecation.
@ 2023-01-22 16:27 Nicolas Graves via Guix-patches via
  2023-01-22 16:39 ` Nicolas Goaziou
  2023-01-24 12:54 ` [bug#61007] [PATCH v2] gnu: emacs-origami-el: Add patch to fix " Nicolas Graves via Guix-patches via
  0 siblings, 2 replies; 4+ messages in thread
From: Nicolas Graves via Guix-patches via @ 2023-01-22 16:27 UTC (permalink / raw)
  To: 61007; +Cc: ngraves

* 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





^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [bug#61007] [PATCH] gnu: emacs-origami-el: Fix cl package deprecation.
  2023-01-22 16:27 [bug#61007] [PATCH] gnu: emacs-origami-el: Fix cl package deprecation Nicolas Graves via Guix-patches via
@ 2023-01-22 16:39 ` Nicolas Goaziou
  2023-01-24 12:54 ` [bug#61007] [PATCH v2] gnu: emacs-origami-el: Add patch to fix " Nicolas Graves via Guix-patches via
  1 sibling, 0 replies; 4+ messages in thread
From: Nicolas Goaziou @ 2023-01-22 16:39 UTC (permalink / raw)
  To: 61007; +Cc: ngraves

Hello,

Nicolas Graves via Guix-patches via <guix-patches@gnu.org> writes:

> * 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")

Please don't factor out URL, even if you can.

Otherwise, LGTM.

Regards,
-- 
Nicolas Goaziou




^ permalink raw reply	[flat|nested] 4+ messages in thread

* [bug#61007] [PATCH v2] gnu: emacs-origami-el: Add patch to fix cl package deprecation.
  2023-01-22 16:27 [bug#61007] [PATCH] gnu: emacs-origami-el: Fix cl package deprecation Nicolas Graves via Guix-patches via
  2023-01-22 16:39 ` Nicolas Goaziou
@ 2023-01-24 12:54 ` Nicolas Graves via Guix-patches via
  2023-01-25 17:44   ` Nicolas Goaziou
  1 sibling, 1 reply; 4+ messages in thread
From: Nicolas Graves via Guix-patches via @ 2023-01-24 12:54 UTC (permalink / raw)
  To: 61007; +Cc: ngraves

* gnu/packages/emacs-xyz.scm (emacs-origami-el):
[source] Add patch to fix cl package deprecation.
---
 gnu/packages/emacs-xyz.scm | 15 +++++++++++++--
 1 file changed, 13 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index a5143b13c5..5ebf8f0e1d 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -28750,7 +28750,8 @@ (define-public emacs-rjsx-mode
 (define-public emacs-origami-el
   (let ((commit "1f38085c8f9af7842765ed63f7d6dfe4dab59366")
         (version "1.0")
-        (revision "1"))
+        (revision "1")
+        (patch "1d9c4f120c027a5009b0424270e3aae59f1cb128"))
     (package
       (name "emacs-origami-el")
       (version (git-version version revision commit))
@@ -28763,7 +28764,17 @@ (define-public emacs-origami-el
          (file-name (git-file-name name version))
          (sha256
           (base32
-           "0ha1qsz2p36pqa0sa2sp83lspbgx5lr7930qxnwd585liajzdd9x"))))
+           "0ha1qsz2p36pqa0sa2sp83lspbgx5lr7930qxnwd585liajzdd9x"))
+         (patches
+          (list
+           (origin
+             (method url-fetch)
+             (uri (string-append
+                   "https://github.com/gregsexton/origami.el"
+                   "/commit/" patch ".patch"))
+             (sha256
+              (base32
+               "0yia4dhqjzdidxd77s2ggg6mmj05jbsnwc35myzzhzh1zbq8mrfy")))))))
       (build-system emacs-build-system)
       (propagated-inputs
        (list emacs-dash emacs-s))
-- 
2.39.1





^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [bug#61007] [PATCH v2] gnu: emacs-origami-el: Add patch to fix cl package deprecation.
  2023-01-24 12:54 ` [bug#61007] [PATCH v2] gnu: emacs-origami-el: Add patch to fix " Nicolas Graves via Guix-patches via
@ 2023-01-25 17:44   ` Nicolas Goaziou
  0 siblings, 0 replies; 4+ messages in thread
From: Nicolas Goaziou @ 2023-01-25 17:44 UTC (permalink / raw)
  To: 61007; +Cc: 61007-done, Nicolas Graves

Hello,

Nicolas Graves via Guix-patches via <guix-patches@gnu.org> 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




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-01-25 17:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-22 16:27 [bug#61007] [PATCH] gnu: emacs-origami-el: Fix cl package deprecation Nicolas Graves via Guix-patches via
2023-01-22 16:39 ` Nicolas Goaziou
2023-01-24 12:54 ` [bug#61007] [PATCH v2] gnu: emacs-origami-el: Add patch to fix " Nicolas Graves via Guix-patches via
2023-01-25 17:44   ` Nicolas Goaziou

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).