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 ms9.migadu.com with LMTPS id UHU1I7dacGTYnAAASxT56A (envelope-from ) for ; Fri, 26 May 2023 09:07:35 +0200 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 AAYnI7dacGT97wAA9RJhRA (envelope-from ) for ; Fri, 26 May 2023 09:07:35 +0200 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 6CC451263D for ; Fri, 26 May 2023 09:07:35 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q2RXV-0002RH-5Z; Fri, 26 May 2023 03:07:05 -0400 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 1q2RXT-0002Qu-6D for guix-patches@gnu.org; Fri, 26 May 2023 03:07:03 -0400 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 1q2RXS-0008MT-U3 for guix-patches@gnu.org; Fri, 26 May 2023 03:07:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q2RXS-0007tY-CL for guix-patches@gnu.org; Fri, 26 May 2023 03:07:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#63721] [PATCH v2 2/2] gnu: mpd: Split outputs. Resent-From: Bruno Victal Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 26 May 2023 07:07:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63721 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 63721@debbugs.gnu.org Cc: Bruno Victal , liliana.prikler@gmail.com Received: via spool by 63721-submit@debbugs.gnu.org id=B63721.168508480730312 (code B ref 63721); Fri, 26 May 2023 07:07:02 +0000 Received: (at 63721) by debbugs.gnu.org; 26 May 2023 07:06:47 +0000 Received: from localhost ([127.0.0.1]:48658 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q2RXC-0007sq-WB for submit@debbugs.gnu.org; Fri, 26 May 2023 03:06:47 -0400 Received: from smtpmciv5.myservices.hosting ([185.26.107.241]:52432) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q2RX8-0007sX-RE for 63721@debbugs.gnu.org; Fri, 26 May 2023 03:06:43 -0400 Received: from mail1.netim.hosting (unknown [185.26.106.173]) by smtpmciv5.myservices.hosting (Postfix) with ESMTP id EDDF42081A; Fri, 26 May 2023 09:06:41 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mail1.netim.hosting (Postfix) with ESMTP id 7E271800A8; Fri, 26 May 2023 09:06:38 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mail1.netim.hosting Received: from mail1.netim.hosting ([127.0.0.1]) by localhost (mail1-2.netim.hosting [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id W6QXlmgSoSHs; Fri, 26 May 2023 09:06:38 +0200 (CEST) Received: from guix-nuc.home.arpa (unknown [10.192.1.83]) (Authenticated sender: lumen@makinata.eu) by mail1.netim.hosting (Postfix) with ESMTPSA id D7224800A7; Fri, 26 May 2023 09:06:37 +0200 (CEST) From: Bruno Victal Date: Fri, 26 May 2023 08:06:21 +0100 Message-Id: X-Mailer: git-send-email 2.39.2 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-Seal: i=1; s=key1; d=yhetil.org; t=1685084855; a=rsa-sha256; cv=none; b=BhfcOlNZMLy97J5QEKfOwPGWRTm2WJXnt4Krj8VTsIMggd0sxblI8nnGtudqC3YlSQkQvG pyry1lLjpf5rjKAzsD7VzHI8bcDzQdpIWcXnIaj9P3+4HZ/jGCpzi1PO1gYEEr0GHy0kJ8 yP6D3H9UpArrqqdfEBePtUwSJjH6ouNtO9JKgP5oxK97pjXm9d4JtklFS1nxl6/D+gTMfq uvS/DXV0+3Qg1TFsmzqhdpGFlDf1YQ+Rs0HAivIX8HJLmZB0Dx2YGbBP8fPoumQDyIQG+T cqsFBAmlvHKG9GyXaQn/QefS/zWr0jMFkCPob5ppSweaXVo8SgMxQHuZhlgLiQ== 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-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1685084855; 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=fV+17GDJZoyXObRnw3goMyjVYWbN2LqXS6ASdPeFmak=; b=ruAUntOTMxze8MUrecCRCbXUfe1zt5cjy2pjlDlIQFIYEpzsN04RFdYRd5Z130jKybIjDp EV1fMwQvId97hB9PWPV/BrfqaCDt3tWuCp0g/bDa9fP3DlC/sG3YusD5rVw3n34ijAqK3x 6puXInam+cubY0h7Fd9s9ppH2HVCCbx7lKN1Ivgf8VCcGaEtk0aAATOUSfs0+pqn492SB/ tKNXfZMBd5Ee+li56mXtumIr0i/twdz09f1/mp1sj9x4aeE2fBNdSmQeqhpAog7m4+3zyF 2pa3KFurRsnYif4tf+VRZEcDi2OtFZVQmNgJZ15NhiBsIR7h1tSufKkgjj29Iw== X-Migadu-Scanner: scn1.migadu.com 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-Migadu-Spam-Score: -1.67 X-Spam-Score: -1.67 X-Migadu-Queue-Id: 6CC451263D X-TUID: kWeGiVapAJYB The HTML manual accounts for more than 40% of the package size. * gnu/packages/mpd.scm (mpd)[outputs]: Add 'doc' output. [arguments]: Add split-package phase. --- gnu/packages/mpd.scm | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/gnu/packages/mpd.scm b/gnu/packages/mpd.scm index 3259217989..d4654d4842 100644 --- a/gnu/packages/mpd.scm +++ b/gnu/packages/mpd.scm @@ -146,7 +146,16 @@ (define-public mpd (("systemd_dep = declare_dependency" all) (string-append "_" all))) (substitute* "meson.build" - (("systemd_dep,") "systemd_dep, _systemd_dep,"))))))) + (("systemd_dep,") "systemd_dep, _systemd_dep,")))) + (add-after 'install 'split-package + (lambda _ + ;; The HTML manual accounts for over 40% of the disk + ;; space used by the package. + (let* ((path "/share/doc/mpd/html") + (htmldir (string-append #$output path)) + (htmldir* (string-append #$output:doc path))) + (mkdir-p (dirname htmldir*)) + (rename-file htmldir htmldir*))))))) (inputs (append (if (target-linux?) (list liburing) '()) (list ao @@ -189,6 +198,7 @@ (define-public mpd ;; ;; Used when zziplib feature is enabled. zip)) + (outputs (list "out" "doc")) ;; Missing optional inputs: ;; libcdio_paranoia ;; libmms -- 2.39.2