unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Maxime Devos <maximedevos@telenet.be>
To: Lilah Tascheter <lilah@lunabee.space>, 57347@debbugs.gnu.org
Subject: [bug#57347] [PATCH] packages: Add man-pages-posix.
Date: Tue, 23 Aug 2022 01:50:34 +0200	[thread overview]
Message-ID: <5c562c24-2a39-9b43-6c90-ef89724ac720@telenet.be> (raw)
In-Reply-To: <20220822204258.lbu3fc3ylqit6n57@pleiades>


[-- Attachment #1.1.1: Type: text/plain, Size: 1445 bytes --]

On 22-08-2022 22:42, Lilah Tascheter via Guix-patches via wrote:

> +    (home-page"https://www.kernel.org/doc/man-pages/")
> +    (synopsis "Man pages from the POSIX.1-2013 standard")
> +    (description "This package contains excerpts from the POSIX.1-2008 and TC1
> +standards (collectively, POSIX.1-2013) in manual page form.")

This package can easily be confused with 'man-pages' -- at least, I 
initially confused this as a duplicate of man-pages. Could the 
relationship be clarified in the description?

> +    (arguments
> +     '(#:tests? #f
> +       #:make-flags (list (string-append "prefix=" (assoc-ref %outputs "out")))
> +       #:license-file-regexp "POSIX-COPYRIGHT"
> +       #:phases (modify-phases %standard-phases
> +                  (delete 'configure)
> +                  (replace 'build
> +                    (lambda _
> +                      ;; make all is useless due to guix build semantics, so just gzip.
> +                      ;; Parallel builds are useless with how the Makefile's setup.
> +                      (invoke "make" "gz"))))))
Maybe (assoc-ref %outputs "out") -> #$output and '(#:tests? ...) -> 
(list #:tests? #f #:make-flags #~(list ...) #:phases #~(...)), now we 
have G-exps.

Also, IIRC there's a #:make-target and #:parallel-build? #false

As a bonus, you could update the 'man-pages' package to the new G-exps, 
though not required.

Greetings,
Maxime.


[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 929 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 236 bytes --]

  reply	other threads:[~2022-08-22 23:55 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-22 20:42 [bug#57347] [PATCH] packages: Add man-pages-posix Lilah Tascheter via Guix-patches via
2022-08-22 23:50 ` Maxime Devos [this message]
2022-08-23  3:33   ` Lilah Tascheter via Guix-patches via
2022-08-26 13:41     ` Maxime Devos
2022-08-27 23:37       ` [bug#57347] [PATCH v2 1/2] " Lilah Tascheter via Guix-patches via
2022-08-29 19:36         ` Maxime Devos
2022-09-08 12:55         ` bug#57347: [PATCH] " Ludovic Courtès
2022-08-27 23:37       ` [bug#57347] [PATCH v2 2/2] packages: Update man-pages package to newer style Lilah Tascheter via Guix-patches via
2022-08-23 13:08   ` [bug#57347] [PATCH] packages: Add man-pages-posix Lilah Tascheter 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=5c562c24-2a39-9b43-6c90-ef89724ac720@telenet.be \
    --to=maximedevos@telenet.be \
    --cc=57347@debbugs.gnu.org \
    --cc=lilah@lunabee.space \
    /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).