unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Janneke Nieuwenhuizen <janneke@gnu.org>
To: Josselin Poiret <dev@jpoiret.xyz>
Cc: 63641@debbugs.gnu.org
Subject: [bug#63641] [PATCH 7/8] gnu: mig: Update to 04bfe7a91223ba15d868f7165e49328b1c6e86c3.
Date: Tue, 23 May 2023 14:17:28 +0200	[thread overview]
Message-ID: <87h6s344yv.fsf@gnu.org> (raw)
In-Reply-To: <84209beabc07d273034f85ce97841519188daa1c.1684745752.git.dev@jpoiret.xyz> (Josselin Poiret via Guix-patches via's message of "Mon, 22 May 2023 11:04:17 +0200")

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

Josselin Poiret via Guix-patches via writes:

Hi,

> From: Josselin Poiret <dev@jpoiret.xyz>
>
> * gnu/packages/hurd.scm (mig): Update to
> 04bfe7a91223ba15d868f7165e49328b1c6e86c3.

Did you have a specific reason not to use v1.8+git20230520, or was that
tagged after you created the patch set?  I've tested with that version
(see https://gitlab.com/janneke/guix/-/tree/wip-hurd22) and it seems to
work fine (see attached).

Greetings,
Janneke


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: mig-v1.8+git20230520.patch --]
[-- Type: text/x-patch, Size: 3978 bytes --]

diff --git a/gnu/packages/hurd.scm b/gnu/packages/hurd.scm
index ae8aff3760..5479940326 100644
--- a/gnu/packages/hurd.scm
+++ b/gnu/packages/hurd.scm
@@ -100,47 +100,45 @@ (define-public gnumach-headers
     (license gpl2+)))
 
 (define-public mig
-  (let ((revision "1")
-        (commit "04bfe7a91223ba15d868f7165e49328b1c6e86c3"))
-    (package
-      (name "mig")
-      (version (git-version "1.8" revision commit))
-      (source (origin
-                (method git-fetch)
-                (uri (git-reference
-                      (url "https://git.savannah.gnu.org/git/hurd/mig.git")
-                      (commit commit)))
-                (file-name (git-file-name name version))
-                (sha256
-                 (base32
-                  "0zw2w3hnz76f9602znshciqabylmvavx0h04y01qjlmhd9wh8iw5"))))
-      (build-system gnu-build-system)
-      ;; Flex is needed both at build and run time.
-      (inputs (list gnumach-headers flex))
-      (native-inputs (list autoconf automake flex bison))
-      (arguments
-       (list #:tests? #f
-             #:phases
-             #~(modify-phases %standard-phases
-                 (add-after 'install 'avoid-perl-dependency
-                   (lambda* (#:key build inputs outputs #:allow-other-keys)
-                     (let* ((out (assoc-ref outputs "out"))
-                            (bin (string-append out "/bin")))
-                       ;; By default 'mig' (or 'TARGET-mig') uses Perl to
-                       ;; compute 'libexecdir_rel'.  Avoid it.
-                       (substitute* (find-files bin "mig$")
-                         (("^libexecdir_rel=.*")
-                          "libexecdir_rel=../libexec\n"))))))))
-      (home-page "https://www.gnu.org/software/hurd/microkernel/mach/mig/gnu_mig.html")
-      (synopsis "Mach 3.0 interface generator for the Hurd")
-      (description
-       "GNU MIG is the GNU distribution of the Mach 3.0 interface generator
+  (package
+    (name "mig")
+    (version "1.8+git20230520")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://git.savannah.gnu.org/git/hurd/mig.git")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "10r0fdjqjzqsy6ajb21rifvhw0wpjvrw6a1zdyliqlzqny5k0qlz"))))
+    (build-system gnu-build-system)
+    ;; Flex is needed both at build and run time.
+    (inputs (list gnumach-headers flex))
+    (native-inputs (list autoconf automake flex bison))
+    (arguments
+     (list #:tests? #f
+           #:phases
+           #~(modify-phases %standard-phases
+               (add-after 'install 'avoid-perl-dependency
+                 (lambda* (#:key build inputs outputs #:allow-other-keys)
+                   (let* ((out (assoc-ref outputs "out"))
+                          (bin (string-append out "/bin")))
+                     ;; By default 'mig' (or 'TARGET-mig') uses Perl to
+                     ;; compute 'libexecdir_rel'.  Avoid it.
+                     (substitute* (find-files bin "mig$")
+                       (("^libexecdir_rel=.*")
+                        "libexecdir_rel=../libexec\n"))))))))
+    (home-page "https://www.gnu.org/software/hurd/microkernel/mach/mig/gnu_mig.html")
+    (synopsis "Mach 3.0 interface generator for the Hurd")
+    (description
+     "GNU MIG is the GNU distribution of the Mach 3.0 interface generator
 MIG, as maintained by the GNU Hurd developers for the GNU project.
 You need this tool to compile the GNU Mach and GNU Hurd distributions,
 and to compile the GNU C library for the Hurd.  Also, you will need it
 for other software in the GNU system that uses Mach-based inter-process
 communication.")
-      (license gpl2+))))
+    (license gpl2+)))
 
 (define-public hurd-headers
   ;; This commit is now slightly behind 0.9.git20220818 as this one needs a

[-- Attachment #3: Type: text/plain, Size: 164 bytes --]


-- 
Janneke Nieuwenhuizen <janneke@gnu.org>  | GNU LilyPond https://LilyPond.org
Freelance IT https://www.JoyOfSource.com | Avatar® https://AvatarAcademy.com

  reply	other threads:[~2023-05-23 12:18 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-22  9:00 [bug#63641] [PATCH 0/8] Add libc specific to Hurd and update components Josselin Poiret via Guix-patches via
2023-05-22  9:04 ` [bug#63641] [PATCH 1/8] hurd-boot: Add urandom and default-pager translators Josselin Poiret via Guix-patches via
2023-05-23 21:28   ` Janneke Nieuwenhuizen
2023-05-28  8:26     ` Janneke Nieuwenhuizen
2023-05-22  9:04 ` [bug#63641] [PATCH 2/8] gnu: glibc/hurd-headers: Properly cross-build Josselin Poiret via Guix-patches via
2023-05-23 16:11   ` Janneke Nieuwenhuizen
2023-05-22  9:04 ` [bug#63641] [PATCH 3/8] gnu: gnumach-headers: Cross-build without relying on x86 Josselin Poiret via Guix-patches via
2023-05-23 21:32   ` Janneke Nieuwenhuizen
2023-05-22  9:04 ` [bug#63641] [PATCH 4/8] gnu: hurd: Update supported systems Josselin Poiret via Guix-patches via
2023-05-24  8:11   ` Janneke Nieuwenhuizen
2023-05-22  9:04 ` [bug#63641] [PATCH 5/8] gnu: Add libc-for-target and glibc/hurd Josselin Poiret via Guix-patches via
2023-05-22  9:37   ` Josselin Poiret via Guix-patches via
2023-05-22  9:42     ` [bug#63641] [PATCH v2 " Josselin Poiret via Guix-patches via
2023-05-24  8:11       ` Janneke Nieuwenhuizen
2023-05-24  8:57       ` [bug#63641] [PATCH 0/8] Add libc specific to Hurd and update components Ludovic Courtès
2023-06-02  5:18       ` [bug#63641] [PATCH v2 5/8] gnu: Add libc-for-target and glibc/hurd Janneke Nieuwenhuizen
2023-06-08  8:17         ` Janneke Nieuwenhuizen
2023-06-14  9:29           ` [bug#63641] [PATCH 0/8] Add libc specific to Hurd and update components Ludovic Courtès
2023-06-14 10:33             ` Janneke Nieuwenhuizen
2023-05-22  9:04 ` [bug#63641] [PATCH 6/8] gnu: gnumach: Update to 1.8+git20221224 Josselin Poiret via Guix-patches via
2023-05-24  8:12   ` Janneke Nieuwenhuizen
2023-05-22  9:04 ` [bug#63641] [PATCH 7/8] gnu: mig: Update to 04bfe7a91223ba15d868f7165e49328b1c6e86c3 Josselin Poiret via Guix-patches via
2023-05-23 12:17   ` Janneke Nieuwenhuizen [this message]
2023-05-22  9:04 ` [bug#63641] [PATCH 8/8] gnu: hurd: Update to v0.9.git20230216 Josselin Poiret via Guix-patches via
2023-05-24  8:48   ` [bug#63641] [PATCH 0/8] Add libc specific to Hurd and update components Ludovic Courtès
2023-05-23 12:17 ` Janneke Nieuwenhuizen
2023-05-24  9:02   ` Ludovic Courtès
2023-07-13 17:12 ` Josselin Poiret via Guix-patches via

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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to=87h6s344yv.fsf@gnu.org \
    --to=janneke@gnu.org \
    --cc=63641@debbugs.gnu.org \
    --cc=dev@jpoiret.xyz \
    /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 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).