all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Stefan Stefanović" <stefanx2ovic@gmail.com>
To: Marius Bakke <mbakke@fastmail.com>
Cc: Andy Wingo <wingo@igalia.com>, 33471@debbugs.gnu.org
Subject: [bug#33471] [PATCH] gnu: elogind: Update to 239.2.
Date: Sat, 24 Nov 2018 05:34:04 +0100	[thread overview]
Message-ID: <CAFBTj=h-fot9=1tEyt4UDpASdmLyP48WUpG=Dh-dwLCSNQtwGg@mail.gmail.com> (raw)
In-Reply-To: <CAFBTj=gSGP+JD4-Oi0zhaoHA2XQ=vk_6o2JPysgmcU_tdOmOng@mail.gmail.com>

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

> Can you split this into two patches: one that switches the current
> elogind package to use "git-fetch", and afterwards this update?

Here is the first patch, that switches to git-fetch method.

> Please also remove the let binding so that we can keep the original
> indentation.  Those bindings are usually only necessary for packages
> that don't have a proper versioning scheme, unlike elogind.

I will start working on the second patch, which will include the above
suggestions.

Stefan.

[-- Attachment #2: 0001-gnu-elogind-Use-git-fetch.patch --]
[-- Type: text/x-patch, Size: 1551 bytes --]

From 7b3dfe0ebf7fb1d47f965cde284c52c9734bc994 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Stefan=20Stefanovi=C4=87?= <stefanx2ovic@gmail.com>
Date: Sat, 24 Nov 2018 05:20:29 +0100
Subject: [PATCH] gnu: elogind: Use git-fetch.

* gnu/packages/freedesktop.scm (elogind)[source]: Use git-fetch.
---
 gnu/packages/freedesktop.scm | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm
index 431cbd0c3..afcd63b54 100644
--- a/gnu/packages/freedesktop.scm
+++ b/gnu/packages/freedesktop.scm
@@ -229,13 +229,14 @@ the freedesktop.org XDG Base Directory specification.")
     (name "elogind")
     (version "232.4")
     (source (origin
-              (method url-fetch)
-              (uri (string-append "https://github.com/elogind/elogind/"
-                                  "archive/v" version ".tar.gz"))
-              (file-name (string-append name "-" version ".tar.gz"))
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/elogind/elogind")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
               (sha256
                (base32
-                "1qcxian48z2dj5gfmp7brrngdydqf2jm00f4rjr5sy1myh8fy931"))
+                "06qqs6yfcwg8aiinqqvy5374pys6sspmvsrqz93c724hqq38d93z"))
               (patches (search-patches "elogind-glibc-2.27.patch"))
               (modules '((guix build utils)))
               (snippet
-- 
2.19.2


  reply	other threads:[~2018-11-24  4:35 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-23  7:11 [bug#33471] [PATCH] gnu: elogind: Update to 239.2 Stefan Stefanović
2018-11-23 18:47 ` Marius Bakke
2018-11-24  3:10   ` Stefan Stefanović
2018-11-24  4:34     ` Stefan Stefanović [this message]
2018-11-24  6:10       ` Stefan Stefanović
2018-11-25  7:02         ` Stefan Stefanović
2018-12-04 21:02         ` Marius Bakke
2018-12-05  1:18           ` Meiyo Peng
2018-12-06 19:25           ` bug#33471: " Marius Bakke

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAFBTj=h-fot9=1tEyt4UDpASdmLyP48WUpG=Dh-dwLCSNQtwGg@mail.gmail.com' \
    --to=stefanx2ovic@gmail.com \
    --cc=33471@debbugs.gnu.org \
    --cc=mbakke@fastmail.com \
    --cc=wingo@igalia.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.