From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id aGEhCzIAzmMYSgAAbAwnHQ (envelope-from ) for ; Mon, 23 Jan 2023 04:34:10 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 4BcqCzIAzmPAxQAA9RJhRA (envelope-from ) for ; Mon, 23 Jan 2023 04:34:10 +0100 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 0115C3D6A8 for ; Mon, 23 Jan 2023 04:34:09 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pJnau-0006AZ-Ma; Sun, 22 Jan 2023 22:34:04 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pJnas-0006AR-Og for guix-patches@gnu.org; Sun, 22 Jan 2023 22:34:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pJnas-00082V-F7 for guix-patches@gnu.org; Sun, 22 Jan 2023 22:34:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pJnas-00054l-Ac for guix-patches@gnu.org; Sun, 22 Jan 2023 22:34:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#61015] [PATCH core-updates 1/9] gnu: docbook-xml: Use copy-build-system. Resent-From: Bruno Victal Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 23 Jan 2023 03:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61015 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 61015@debbugs.gnu.org Cc: Bruno Victal Received: via spool by 61015-submit@debbugs.gnu.org id=B61015.167444479019446 (code B ref 61015); Mon, 23 Jan 2023 03:34:02 +0000 Received: (at 61015) by debbugs.gnu.org; 23 Jan 2023 03:33:10 +0000 Received: from localhost ([127.0.0.1]:52942 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pJna1-00053a-Nd for submit@debbugs.gnu.org; Sun, 22 Jan 2023 22:33:09 -0500 Received: from smtpmciv6.myservices.hosting ([185.26.106.201]:38798) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pJnZx-00053P-23 for 61015@debbugs.gnu.org; Sun, 22 Jan 2023 22:33:07 -0500 Received: from mail1.netim.hosting (unknown [185.26.106.172]) by smtpmciv6.myservices.hosting (Postfix) with ESMTP id 100F92077E for <61015@debbugs.gnu.org>; Mon, 23 Jan 2023 04:33:03 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by mail1.netim.hosting (Postfix) with ESMTP id A589380096; Mon, 23 Jan 2023 04:33:03 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mail1.netim.hosting Received: from mail1.netim.hosting ([127.0.0.1]) by localhost (mail1-1.netim.hosting [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 9t20yrOS3-2B; Mon, 23 Jan 2023 04:33:03 +0100 (CET) Received: from guix-nuc.home.arpa (bl9-118-236.dsl.telepac.pt [85.242.118.236]) (Authenticated sender: lumen@makinata.eu) by mail1.netim.hosting (Postfix) with ESMTPSA id 09C6180093; Mon, 23 Jan 2023 04:33:02 +0100 (CET) From: Bruno Victal Date: Mon, 23 Jan 2023 03:32:47 +0000 Message-Id: X-Mailer: git-send-email 2.38.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1674444850; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: 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=58NzxchzAZ6i+1T7OoP/6DeV6pU1kCe8wyi1oktKdnU=; b=vBaGJZ9eSvi2FxqVjjm/EAp3ErlOTcPIHHwkHljRnxvxPFRLg1tVEhLuFjwUY/dk4qisxg q7VQQIsP5TsAXz26rUKgFumW/1Z65+/yTYdecVn8j/LmfYHy8f61NWjG8XzdLIkG+Ovn8B XDeh44w0+jvjw529W/ZJUFwHvA0uKzN9A1hVpdFHdu9HpTAbOeGNHiYlj8TN20jCZt9OHN Ytjk1wOgHqh7ck7uuqb5k2iHHmpbO6uSlwdKwrjcouc/NZiRlLeqerMFLDPIZqLd/MXB7m HOh7PHb5P6JngYIG/S9vny5M4h0vZGNcKZ1t5Z8OM0nKMAZGuTEqtyAemYAXVw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1674444850; a=rsa-sha256; cv=none; b=hY7CuGTH85ElbeRWYLdoiIEsWTDqcIiCz6Wa8b14Wn3DqZlAm+SOzlB6QMYR9Gb/0ZEbXP q7ZZuDdJfp8hlTfEaYJR4/5K1B/AY+oiYsLoADKfwpR0ygnPfHBcpqXQWnpWreTotkrbTH 6HUeAYmC/5KvY+w0cD6ATBmlXpOCOmws2sDrzvNRAvgR9L6tSjLzUpYqwU4P00IOLbZV5F ymXlwtb2JOHjyQjyxPVdrHe+te9+yF6CoQvhKOK6z9tCMX15tuCW1Nlcoh81gC0PincQbL DWVofgxxvZaDQTapJjHmzoda3bar5+1ZZjbLi7CeCXUmjvfkMxEFNjFZDompSw== X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -1.58 X-Spam-Score: -1.58 X-Migadu-Queue-Id: 0115C3D6A8 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-TUID: r4UOV0i/8X2M * gnu/packages/docbook.scm (docbook-xml-5) [build-system]: Switch to copy-build-system. [source][arguments]: Adapt to copy-build-system. --- gnu/packages/docbook.scm | 28 ++++++++-------------------- 1 file changed, 8 insertions(+), 20 deletions(-) diff --git a/gnu/packages/docbook.scm b/gnu/packages/docbook.scm index f66ce4b959..a670eaa7f4 100644 --- a/gnu/packages/docbook.scm +++ b/gnu/packages/docbook.scm @@ -59,27 +59,15 @@ (define-public docbook-xml-5 (sha256 (base32 "1iz3hq1lqgnshvlz4j9gvh4jy1ml74qf90vqf2ikbq0h4i2xzybs")))) - (build-system trivial-build-system) + (build-system copy-build-system) (arguments - `(#:modules ((guix build utils)) - #:builder - (begin - (use-modules (guix build utils)) - (let* ((unzip - (string-append (assoc-ref %build-inputs "unzip") - "/bin/unzip")) - (source (assoc-ref %build-inputs "source")) - (out (assoc-ref %outputs "out")) - (dtd (string-append out "/xml/dtd/docbook"))) - (invoke unzip source) - (mkdir-p dtd) - (copy-recursively (string-append "docbook-" ,version) dtd) - (with-directory-excursion dtd - (substitute* (string-append out "/xml/dtd/docbook/catalog.xml") - (("uri=\"") - (string-append - "uri=\"file://" dtd "/"))) - #t))))) + (list + #:phases + #~(modify-phases %standard-phases + (replace 'install + (lambda _ + (let ((dtd-path (string-append #$output "/xml/dtd/docbook"))) + (copy-recursively "." dtd-path))))))) (native-inputs (list unzip)) (home-page "https://docbook.org") (synopsis "DocBook XML DTDs for document authoring") -- 2.38.1