unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#30036] [PATCH] gnu: Update emacs-sr-speedbar to version 20161025.
@ 2018-01-08 23:11 Maxim Cournoyer
  2018-01-11 18:39 ` bug#30036: " Kei Kebreau
  0 siblings, 1 reply; 3+ messages in thread
From: Maxim Cournoyer @ 2018-01-08 23:11 UTC (permalink / raw)
  To: 30036


[-- Attachment #1.1: Type: text/plain, Size: 94 bytes --]

Hello,

This patch updates emacs-sr-speedbar to the latest version available.

Thanks!

Maxim

[-- Attachment #1.2: Type: text/html, Size: 174 bytes --]

[-- Attachment #2: 0001-gnu-Update-emacs-sr-speedbar-to-version-20161025.patch --]
[-- Type: text/x-patch, Size: 2810 bytes --]

From f1b8e41b19f44bd508eb49224e6fc491ef83b591 Mon Sep 17 00:00:00 2001
From: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Date: Mon, 8 Jan 2018 15:05:50 -0500
Subject: [PATCH] gnu: Update emacs-sr-speedbar to version 20161025.

* gnu/packages/emacs.scm (emacs-sr-speedbar): Update version to 20161025. Use
a git comit as there is no tag provided.
---
 gnu/packages/emacs.scm | 42 ++++++++++++++++++++++--------------------
 1 file changed, 22 insertions(+), 20 deletions(-)

diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index ebee6f61b..253707d7e 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -31,7 +31,7 @@
 ;;; Copyright © 2017 Peter Mikkelsen <petermikkelsen10@gmail.com>
 ;;; Copyright © 2017 Tobias Geerinckx-Rice <me@tobias.gr>
 ;;; Copyright © 2017 Mike Gerwitz <mtg@gnu.org>
-;;; Copyright © 2017 Maxim Cournoyer <maxim.cournoyer@gmail.com>
+;;; Copyright © 2017, 2018 Maxim Cournoyer <maxim.cournoyer@gmail.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -2331,27 +2331,29 @@ truncation.")
     (license license:gpl2+)))
 
 (define-public emacs-sr-speedbar
-  (package
-    (name "emacs-sr-speedbar")
-    (version "20140914.2339")
-    (source
-     (origin
-       (method url-fetch)
-       (uri (string-append
-             "https://github.com/emacsorphanage/sr-speedbar/archive/"
-             version ".tar.gz"))
-       (file-name (string-append name "-" version ".tar.gz"))
-       (sha256
-        (base32
-         "15xwwc6kgvmk4wdhx1j8w6m6ivxvc94028ppgdpa2m51a8c9vjm9"))))
-    (build-system emacs-build-system)
-    (home-page "https://www.emacswiki.org/emacs/SrSpeedbar")
-    (synopsis "Same frame Emacs @code{speedbar}")
-    (description
-     "This Emacs package allows you to show @code{M-x speedbar} in the
+  (let ((commit "77a83fb50f763a465c021eca7343243f465b4a47")
+        (revision "0"))
+    (package
+      (name "emacs-sr-speedbar")
+      (version (git-version "20161025" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/emacsorphanage/sr-speedbar.git")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32
+           "0sd12555hk7z721y00kv3crdybvcn1i08wmd148z5imayzibj153"))))
+      (build-system emacs-build-system)
+      (home-page "https://www.emacswiki.org/emacs/SrSpeedbar")
+      (synopsis "Same frame Emacs @code{speedbar}")
+      (description
+       "This Emacs package allows you to show @code{M-x speedbar} in the
 same frame (in an extra window).  You can customize the initial width of
 the speedbar window.")
-    (license license:gpl3+)))
+      (license license:gpl3+))))
 
 (define-public emacs-shell-switcher
   (package
-- 
2.15.1


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

* bug#30036: [PATCH] gnu: Update emacs-sr-speedbar to version 20161025.
  2018-01-08 23:11 [bug#30036] [PATCH] gnu: Update emacs-sr-speedbar to version 20161025 Maxim Cournoyer
@ 2018-01-11 18:39 ` Kei Kebreau
  2018-01-12 13:19   ` [bug#30036] " Maxim Cournoyer
  0 siblings, 1 reply; 3+ messages in thread
From: Kei Kebreau @ 2018-01-11 18:39 UTC (permalink / raw)
  To: Maxim Cournoyer; +Cc: 30036-done

[-- Attachment #1: Type: text/plain, Size: 3499 bytes --]

Maxim Cournoyer <maxim.cournoyer@gmail.com> writes:

> Hello,
>
> This patch updates emacs-sr-speedbar to the latest version available.
>
> Thanks!
>
> Maxim
>
>
> From f1b8e41b19f44bd508eb49224e6fc491ef83b591 Mon Sep 17 00:00:00 2001
> From: Maxim Cournoyer <maxim.cournoyer@gmail.com>
> Date: Mon, 8 Jan 2018 15:05:50 -0500
> Subject: [PATCH] gnu: Update emacs-sr-speedbar to version 20161025.
>
> * gnu/packages/emacs.scm (emacs-sr-speedbar): Update version to 20161025. Use
> a git comit as there is no tag provided.

I've changed the commit message so it's a bit more conventional. The
assumption when a package uses the fetch method to 'git-fetch' is that
'url-fetch' is not sufficient or a compressed source file is not available.

> ---
>  gnu/packages/emacs.scm | 42 ++++++++++++++++++++++--------------------
>  1 file changed, 22 insertions(+), 20 deletions(-)
>
> diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
> index ebee6f61b..253707d7e 100644
> --- a/gnu/packages/emacs.scm
> +++ b/gnu/packages/emacs.scm
> @@ -31,7 +31,7 @@
>  ;;; Copyright © 2017 Peter Mikkelsen <petermikkelsen10@gmail.com>
>  ;;; Copyright © 2017 Tobias Geerinckx-Rice <me@tobias.gr>
>  ;;; Copyright © 2017 Mike Gerwitz <mtg@gnu.org>
> -;;; Copyright © 2017 Maxim Cournoyer <maxim.cournoyer@gmail.com>
> +;;; Copyright © 2017, 2018 Maxim Cournoyer <maxim.cournoyer@gmail.com>
>  ;;;
>  ;;; This file is part of GNU Guix.
>  ;;;
> @@ -2331,27 +2331,29 @@ truncation.")
>      (license license:gpl2+)))
>  
>  (define-public emacs-sr-speedbar
> -  (package
> -    (name "emacs-sr-speedbar")
> -    (version "20140914.2339")
> -    (source
> -     (origin
> -       (method url-fetch)
> -       (uri (string-append
> -             "https://github.com/emacsorphanage/sr-speedbar/archive/"
> -             version ".tar.gz"))
> -       (file-name (string-append name "-" version ".tar.gz"))
> -       (sha256
> -        (base32
> -         "15xwwc6kgvmk4wdhx1j8w6m6ivxvc94028ppgdpa2m51a8c9vjm9"))))
> -    (build-system emacs-build-system)
> -    (home-page "https://www.emacswiki.org/emacs/SrSpeedbar")
> -    (synopsis "Same frame Emacs @code{speedbar}")
> -    (description
> -     "This Emacs package allows you to show @code{M-x speedbar} in the
> +  (let ((commit "77a83fb50f763a465c021eca7343243f465b4a47")
> +        (revision "0"))
> +    (package
> +      (name "emacs-sr-speedbar")
> +      (version (git-version "20161025" revision commit))
> +      (source
> +       (origin
> +         (method git-fetch)
> +         (uri (git-reference
> +               (url "https://github.com/emacsorphanage/sr-speedbar.git")
> +               (commit commit)))
> +         (file-name (git-file-name name version))
> +         (sha256
> +          (base32
> +           "0sd12555hk7z721y00kv3crdybvcn1i08wmd148z5imayzibj153"))))
> +      (build-system emacs-build-system)
> +      (home-page "https://www.emacswiki.org/emacs/SrSpeedbar")
> +      (synopsis "Same frame Emacs @code{speedbar}")
> +      (description
> +       "This Emacs package allows you to show @code{M-x speedbar} in the
>  same frame (in an extra window).  You can customize the initial width of
>  the speedbar window.")
> -    (license license:gpl3+)))
> +      (license license:gpl3+))))
>  
>  (define-public emacs-shell-switcher
>    (package

Other than that, this LGTM and I've pushed this to master. Thanks for
contributing!

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

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

* [bug#30036] [PATCH] gnu: Update emacs-sr-speedbar to version 20161025.
  2018-01-11 18:39 ` bug#30036: " Kei Kebreau
@ 2018-01-12 13:19   ` Maxim Cournoyer
  0 siblings, 0 replies; 3+ messages in thread
From: Maxim Cournoyer @ 2018-01-12 13:19 UTC (permalink / raw)
  To: Kei Kebreau; +Cc: 30036-done

Hi Kei,

Kei Kebreau <kkebreau@posteo.net> writes:

> Maxim Cournoyer <maxim.cournoyer@gmail.com> writes:
>
>> Hello,
>>
>> This patch updates emacs-sr-speedbar to the latest version available.
>>
>> Thanks!
>>
>> Maxim
>>
>>
>> From f1b8e41b19f44bd508eb49224e6fc491ef83b591 Mon Sep 17 00:00:00 2001
>> From: Maxim Cournoyer <maxim.cournoyer@gmail.com>
>> Date: Mon, 8 Jan 2018 15:05:50 -0500
>> Subject: [PATCH] gnu: Update emacs-sr-speedbar to version 20161025.
>>
>> * gnu/packages/emacs.scm (emacs-sr-speedbar): Update version to 20161025. Use
>> a git comit as there is no tag provided.
>
> I've changed the commit message so it's a bit more conventional. The
> assumption when a package uses the fetch method to 'git-fetch' is that
> 'url-fetch' is not sufficient or a compressed source file is not available.

Thanks for the feedback! Noted :)

Maxim

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

end of thread, other threads:[~2018-01-12 13:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-08 23:11 [bug#30036] [PATCH] gnu: Update emacs-sr-speedbar to version 20161025 Maxim Cournoyer
2018-01-11 18:39 ` bug#30036: " Kei Kebreau
2018-01-12 13:19   ` [bug#30036] " Maxim Cournoyer

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).