From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.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 CO3/KB46EmOm8wAAbAwnHQ (envelope-from ) for ; Fri, 02 Sep 2022 19:15:10 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id iPUIKR46EmOvNwEAauVa8A (envelope-from ) for ; Fri, 02 Sep 2022 19:15:10 +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 833551332D for ; Fri, 2 Sep 2022 19:15:10 +0200 (CEST) Received: from localhost ([::1]:34764 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oUAG5-0003YO-Ny for larch@yhetil.org; Fri, 02 Sep 2022 13:15:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49042) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oUAFy-0003YE-Cl for guix-patches@gnu.org; Fri, 02 Sep 2022 13:15:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:57846) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oUAFy-0003VL-3e for guix-patches@gnu.org; Fri, 02 Sep 2022 13:15:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oUAFx-0004Tu-SS for guix-patches@gnu.org; Fri, 02 Sep 2022 13:15:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#54454] [PATCH v2] ui: Describe package outputs. Resent-From: Liliana Marie Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 02 Sep 2022 17:15:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54454 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: Leo Famulari , Maxime Devos , 54454-done@debbugs.gnu.org Received: via spool by 54454-done@debbugs.gnu.org id=D54454.166213887017169 (code D ref 54454); Fri, 02 Sep 2022 17:15:01 +0000 Received: (at 54454-done) by debbugs.gnu.org; 2 Sep 2022 17:14:30 +0000 Received: from localhost ([127.0.0.1]:47595 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oUAFR-0004Sq-VM for submit@debbugs.gnu.org; Fri, 02 Sep 2022 13:14:30 -0400 Received: from mail-ed1-f65.google.com ([209.85.208.65]:41695) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oUAFQ-0004Sf-Vh for 54454-done@debbugs.gnu.org; Fri, 02 Sep 2022 13:14:29 -0400 Received: by mail-ed1-f65.google.com with SMTP id r4so3525423edi.8 for <54454-done@debbugs.gnu.org>; Fri, 02 Sep 2022 10:14:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:user-agent:references :in-reply-to:date:cc:to:from:subject:message-id:from:to:cc:subject :date; bh=ffkX7uCLjtc9IqRbg2aQYbtkiTbGnCEInz/ff1tNpkA=; b=L2Lpv2I8u3frRiQxtfGVRlRuAWxw8VWgmygDscckephNW0espboc9ROR4r8XvlYJrA OaTYtPpSvRSz4qzq96s6xfo8uozPk2IxfwLivBEZdcpg2lqAZCZcbPzvsfq/h0IA4h+e NbErezxxGE+Ts4QYDUcTljAbbhZjrz5L/whH+GvE8OZ73gBROV0J9nfyuJL78x1QEO2S MBPATX8kaj0AX9UdRtFGlKZdc1zvnIhgB4/rgyfE+MsFdj9tJyxReLme0rt8xRUq47wa dBbDAr+X91HynoJqtBwhBDKGfgkuc5UzMw7SbcYjIFksFmvKkpaQk5BUuRlK1KJrTYM8 wEmQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:user-agent:references :in-reply-to:date:cc:to:from:subject:message-id:x-gm-message-state :from:to:cc:subject:date; bh=ffkX7uCLjtc9IqRbg2aQYbtkiTbGnCEInz/ff1tNpkA=; b=zCJDmjB0iNkB/3aTonFtZPuv3kF0hBw8IKlPVHXqYx88BDNjpFBY6sVP+ffDZh79MF kL4nb5HwIDimN8LOgFxeih4Iwk25otQUldjkjVxRFaCKDJsmTMtDKvKFwLI5POVnENjw bQ3fMaw8WBNW4LgokBbyAtR1EDGi5R/fcKKPAUZrTEn4LUKhp1UshM5aybdrFfqG+CZ9 aGzM3R0Gdd+jhuenScteikE5tnSX9x8aUUeWiT1r69XvnEvVdwimKLfH7KF0joMom8dS uarPuT/Qpnbh9HpDvIbA6qFTRc/gbVcC8qgIUnaY4m1Estuxji1bQgwJVQNFmK7wcMmT Q0+w== X-Gm-Message-State: ACgBeo1c048p1c3mj6xMyxcaCReCg4I6cdmBQ+Kh/j5BUN1GPpqPiPMT /9D8X+RDInI2ro48BHbPMHY= X-Google-Smtp-Source: AA6agR5RMxPd2TEeFPtzxg9g07x8QBwIyy8klmo0GLTPkOx406h2xpOsTtkWVgarkLt7YLFANVavhA== X-Received: by 2002:aa7:c488:0:b0:448:d11:4830 with SMTP id m8-20020aa7c488000000b004480d114830mr27597076edq.97.1662138863218; Fri, 02 Sep 2022 10:14:23 -0700 (PDT) Received: from nijino.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id kx3-20020a170907774300b007314a01766asm1499339ejc.211.2022.09.02.10.14.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Sep 2022 10:14:22 -0700 (PDT) Message-ID: <9864efcca48f4c14303e965e2aeb61f7d2264466.camel@gmail.com> From: Liliana Marie Prikler Date: Fri, 02 Sep 2022 19:14:21 +0200 In-Reply-To: <87k06lu2l7.fsf@gnu.org> References: <19b47f93f45d15a366f3ec59ea8a6fa17b99d023.camel@gmail.com> <87k06lu2l7.fsf@gnu.org> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.42.1 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" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1662138910; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc: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:dkim-signature; bh=ffkX7uCLjtc9IqRbg2aQYbtkiTbGnCEInz/ff1tNpkA=; b=RuEAoZxUJbqmfvsTrGl7EwMAorZUW3VefWh4y2ghfMAPsTERjNweiiwKaaD4LUngxSNMof iJs+GzJFQJw0qWd5xOj+rP0I9EbQybRLOvZ6nbB10DBT8eWhfNVQZZ0dyeZ7PTTa+BnPV7 34nuv+iI4QAt9+tRHMvGnB8SfDLrY/bgne2TtmFjFw2U3h7p5QxKmn83KZz3oF2i5z1fSH wSxLKV1DWHTKl3QeEt3YMkJylm6URZAUbVBesu0Ki9j3GVwSrItC4ICIT5FvHnG+N/Y+Gl OlAZ5STNhxCIuwgf92G+ome9zt8c0yiE/QVdmn/tafCh73znJW4XFWOD66S1bQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1662138910; a=rsa-sha256; cv=none; b=F9iwQQvbKY7mJk4CU8/bCxNVM/dV9zvhy4t1N4uH9xDWBNh8k8CwkTojyAD78iDYjwuNlv DhQfdkaabi9uPgmsh8ll/mJAawKUDsAOWMdauxU9reRhGvjByVwtnqjiSqGsvqegYWo7WF 5NwtxlraV2ytpFOuxrTfLXtbv6EsQGNEkAUZgOshroTplSCrPAo75Pgm38HM3lOcCb7qV6 y0UMMSD32oWuiEOY+3z3AM3MbamIxEv5eptefHgROaaH0Sw1ydZtsxhrFfPPYU3SlNLtnS zJKRioH4vSF/LLWENVEE4fRekqWX+uPiPwtgmhiki4jXdPVqVqDb9slawBY1Ew== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=L2Lpv2I8; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=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: 6.93 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=L2Lpv2I8; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=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-Queue-Id: 833551332D X-Spam-Score: 6.93 X-Migadu-Scanner: scn0.migadu.com X-TUID: Xwl/bGJocLNb Am Freitag, dem 02.09.2022 um 19:07 +0200 schrieb Ludovic Courtès: > Hey, > > Liliana Marie Prikler skribis: > > > Am Sonntag, dem 26.06.2022 um 14:37 +0200 schrieb Liliana Marie > > Prikler: > > > * guix/ui.scm (package->recutils): Output outputs with their > > > descriptions, > > > one per line. > > > * po/packages/Makevars (XGETTEXT_OPTIONS): Add ‘output-synopsis’ > > > as > > > keyword. > > I pushed this now. > > Thanks for moving forward on this! > > I get: > > --8<---------------cut here---------------start------------->8--- > $ guix show git |head -10 > name: git > version: 2.37.2 > outputs: > + send-email: see Appendix H > + svn: see Appendix H > + credential-netrc: see Appendix H > + credential-libsecret: see Appendix H > + subtree: see Appendix H > + gui: see Appendix H > + out: everything else > --8<---------------cut here---------------end--------------->8--- > > Where can I see Appendix H though?  (Real question.) There is no appendix H, it's an obscure reference to the appendix H of the x86 instruction set (containing undocumented instructions or here undocumented outputs 🙂️). In order to have a more meaningful string, you'd need to add an output synopsis property to the package like so:  (properties `(... (output-synopsis "send-email" "the `git send-email' command") (output-synopsis "credential-libsecret" "the libsecret credential helper") ...)) The second string should (if I got everything right) be translatable without needing to wrap it in a G_. Cheers