From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 4ISQMjBAtmGyYAEAgWs5BA (envelope-from ) for ; Sun, 12 Dec 2021 19:32:16 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id gBcrLjBAtmGkfAAAbx9fmQ (envelope-from ) for ; Sun, 12 Dec 2021 18:32:16 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 4C34374DC for ; Sun, 12 Dec 2021 19:32:16 +0100 (CET) Received: from localhost ([::1]:45844 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mwTdv-0002Aq-Dk for larch@yhetil.org; Sun, 12 Dec 2021 13:32:15 -0500 Received: from eggs.gnu.org ([209.51.188.92]:56936) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mwTdh-0002AM-VG for bug-guix@gnu.org; Sun, 12 Dec 2021 13:32:01 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:41538) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mwTdh-0000St-MF for bug-guix@gnu.org; Sun, 12 Dec 2021 13:32:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mwTdh-0003iE-JN for bug-guix@gnu.org; Sun, 12 Dec 2021 13:32:01 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#47606: [PATCH] gnu: postgresql: Add manuals. References: In-Reply-To: Resent-From: Brice Waegeneire Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 12 Dec 2021 18:32:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47606 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 47606@debbugs.gnu.org Received: via spool by 47606-submit@debbugs.gnu.org id=B47606.163933390714250 (code B ref 47606); Sun, 12 Dec 2021 18:32:01 +0000 Received: (at 47606) by debbugs.gnu.org; 12 Dec 2021 18:31:47 +0000 Received: from localhost ([127.0.0.1]:53084 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mwTdS-0003hl-Oc for submit@debbugs.gnu.org; Sun, 12 Dec 2021 13:31:47 -0500 Received: from relay1-d.mail.gandi.net ([217.70.183.193]:41623) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mwTdR-0003hX-1I for 47606@debbugs.gnu.org; Sun, 12 Dec 2021 13:31:45 -0500 Received: (Authenticated sender: brice@waegenei.re) by relay1-d.mail.gandi.net (Postfix) with ESMTPSA id 55942240006 for <47606@debbugs.gnu.org>; Sun, 12 Dec 2021 18:31:37 +0000 (UTC) From: Brice Waegeneire Date: Sun, 12 Dec 2021 19:31:34 +0100 Message-ID: <87ee6had4p.fsf@waegenei.re> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1639333936; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=f640gvLliHBFEK2XF80F17KZjH6brzu0L5eY18iMTmo=; b=WYZy6/ie4CoC1W60dHp3Q/Tg4fdCAAEVgWqYut/b/65g+g1MPjvDgcS1wrPv3vIpjRFI7F 2algXJLhE4EAwwjnjEE/weuUmh68BwMHgaD1zHsGa6DpOe1NyjiRb0U/zOX8XpFrWZQt2a IdvnbyduZT9odQp8CBBMfEsWwt/LjFisREnqIApjXEjS7K8RXtfzLdloAmBBhodHumDh1P 6/pwQYbFsiLaLSSeWx5zz/uTsrXB2iO6fGKWe9b8nF4I1FLTj2cm+ALwaEI0fPZwsC3PLR 5M6Zvv6BrHC+w66uILNkGstjlnCa3eId8oamByk1+iMzn9vldro8o5IHHmYarg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1639333936; a=rsa-sha256; cv=none; b=e62glvu6Sec3uzqhIVjGCok0rjrBds/nWYc5LrID0Oprc5IWiqfzLnwHaHQP6TAFxQTL0G SBOPiScwr4bCSJdBmDiK8nXxOuueI5jHXMNRabMFTND4G1pGsaNY86EQInYtdqN8H0pmHf Kxo2VRmXhwMPh2qv71m9HgYO03o7WiohX3eByZLVbEEC/hh6rkHq8gFwVaVYVtbnmqsqrz CNA97EK+fxjaMsLzBVzBucpzItE/5/ELbXFwk9t38mtDKJ/HfOBGs8zbcTGCGc5oYS6zVU p/zEnf/zXowjN0+MHN8yHJZs6kmHxNsKvcS621PZwNW7x2M5xpm1Max3QZgulw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.07 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 4C34374DC X-Spam-Score: -3.07 X-Migadu-Scanner: scn1.migadu.com X-TUID: uPBAOjzKPKJm Fixes . * gnu/packages/databases.scm (postgresql)[arguments]: Add configure flag '--mandir'. Add phase 'install-man'. --- gnu/packages/databases.scm | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm index 7cff0f99c5..76e99283ed 100644 --- a/gnu/packages/databases.scm +++ b/gnu/packages/databases.scm @@ -54,6 +54,7 @@ ;;; Copyright =C2=A9 2021 Alexandre Hannud Abdo ;;; Copyright =C2=A9 2021 Simon Tournier ;;; Copyright =C2=A9 2021 jgart +;;; Copyright =C2=A9 2021 Brice Waegeneire ;;; ;;; This file is part of GNU Guix. ;;; @@ -1118,12 +1119,14 @@ (define-public postgresql-13 (patches (search-patches "postgresql-disable-resolve_symlink= s.patch")))) (build-system gnu-build-system) (arguments - `(#:configure-flags '("--with-uuid=3De2fs" "--with-openssl" - ;; PostgreSQL installs its own Makefile (should= it?). - ;; Prevent it from retaining needless reference= s to - ;; the build tools in order to save size. - "MKDIR_P=3Dmkdir -p" "INSTALL_BIN=3Dinstall -c" - "LD=3Dld" "TAR=3Dtar") + `(#:configure-flags + (list "--with-uuid=3De2fs" "--with-openssl" + (string-append "--mandir=3D" (assoc-ref %outputs "out") "/sha= re/man") + ;; PostgreSQL installs its own Makefile (should it?). + ;; Prevent it from retaining needless references to + ;; the build tools in order to save size. + "MKDIR_P=3Dmkdir -p" "INSTALL_BIN=3Dinstall -c" + "LD=3Dld" "TAR=3Dtar") #:phases (modify-phases %standard-phases (add-before 'configure 'patch-/bin/sh @@ -1138,7 +1141,10 @@ (define-public postgresql-13 (invoke "make" "-C" "contrib"))) (add-after 'install 'install-contrib (lambda _ - (invoke "make" "-C" "contrib" "install")))))) + (invoke "make" "-C" "contrib" "install"))) + (add-after 'install 'install-man + (lambda _ + (invoke "make" "-C" "doc/src/sgml" "install-man")))))) (inputs `(("readline" ,readline) ("libuuid" ,util-linux "lib") base-commit: 604880ae22e1a7662acb1d3f282242470de0cd03 prerequisite-patch-id: ecd20aaded80566551ed0bd654517209ad239de5 prerequisite-patch-id: 96a62566ab07f5d80f2edd43cd0f89c7191e7ee6 prerequisite-patch-id: 5f8c05b16a80862bfc759169d05d1b03d48284a6 prerequisite-patch-id: 4a455af71d83d984fe88b3cdbc1f8f477b27f2a9 --=20 2.34.0