From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id yuoVHLqgNWb2rQAA62LTzQ:P1 (envelope-from ) for ; Sat, 04 May 2024 04:43:06 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id yuoVHLqgNWb2rQAA62LTzQ (envelope-from ) for ; Sat, 04 May 2024 04:43:06 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debian.org header.s=1.vagrant.user header.b=QMYzEkcx; 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=1714790586; 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: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=iVzJeyDDLO/GhMkpyYe0ATlt58K5/ntx5lVlJhktYyk=; b=Zpd252jQme0zN9xEoQ6dsjv3hkkkiTAWLyIFWRmevqRee+IEfMBovLoahxeELNZRjC6tu3 N3HuUL2i++7ASJK/QkfMWLR1URIZT0KwiQ2r8GiPVHbr9yF5l60PSYsztmhGbvPuN+FVfV 8tLP9lwpok99FAZh2fo03NSLy8WgsBoN0WY/B8UUWOGOZ39vnKwVxuAbNMsHGF1opuxLQi LmGZQuy9b0yrL+fQxQPWiX+fmsJZnd9SMNfspoFnBIff8f3GFfBwEZdgSYL6+h2lG8A+Zg d6I65PWqEEHkqsoMH5uVtQdnc7OMDfuNKSSgPmn8WHFLLKIUCydzkQ2QCSZGDg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1714790586; a=rsa-sha256; cv=none; b=Z21ASuLjZPgYNcppayBl0G+pWBCL6ZJ33D3CSCtGTtlCL26l8VlBkBX743bvalpb/j/EcU QavN6tnalJKzZRJ3Sfjup3hyHVJp+Ijtf069CwNn03DbZFBrZUKq9QfWNqelcPzOanRY3X 81txTAW033oltoCjapbK2dJ20/Z6unOyCsEUdDIhxfnI0HJmRpQSLVkSqwPNK9lGWQ0BGs /pFuYDgPNzwQ/Botd62QHxUdfLtpl/EwhRcNnpwtUO70L4b+LT1gLGinOblBpXoNeffiZb 1C0cYso8yyVqAbJ7Knokwon6ezirPykK/Uo6VFfG509R4/K5TmT9zELBLhjfNw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debian.org header.s=1.vagrant.user header.b=QMYzEkcx; 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" 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 767F760128 for ; Sat, 04 May 2024 04:43:03 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s35MS-0007rp-Rl; Fri, 03 May 2024 22:42:53 -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 1s35MG-0007pa-6b for guix-patches@gnu.org; Fri, 03 May 2024 22:42:41 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s35MF-0004Iu-EJ for guix-patches@gnu.org; Fri, 03 May 2024 22:42:39 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s35Mb-0001GC-TC for guix-patches@gnu.org; Fri, 03 May 2024 22:43:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#70020] [PATCH v3 1/1] gnu: Add debian-devscripts. Resent-From: Vagrant Cascadian Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 04 May 2024 02:43:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70020 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Steve George Cc: 70020@debbugs.gnu.org, jlicht@fsfe.org Received: via spool by 70020-submit@debbugs.gnu.org id=B70020.17147905734835 (code B ref 70020); Sat, 04 May 2024 02:43:01 +0000 Received: (at 70020) by debbugs.gnu.org; 4 May 2024 02:42:53 +0000 Received: from localhost ([127.0.0.1]:50644 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s35MT-0001Fv-Fm for submit@debbugs.gnu.org; Fri, 03 May 2024 22:42:53 -0400 Received: from cascadia.aikidev.net ([173.255.214.101]:52200) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s35MP-0001Fp-OA for 70020@debbugs.gnu.org; Fri, 03 May 2024 22:42:51 -0400 Received: from localhost (unknown [IPv6:2600:3c01:e000:21:7:77:0:50]) (Authenticated sender: vagrant@cascadia.debian.net) by cascadia.aikidev.net (Postfix) with ESMTPSA id BDBA21AA97; Fri, 3 May 2024 19:42:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=debian.org; s=1.vagrant.user; t=1714790537; bh=XfhFsTV3NSM8HgFejo4bMcGXK9gkfqpAiU/oFaKeYXY=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=QMYzEkcxiBqYfP+WUn+pb2+sWd3lguycUdN6M/WbSqEZEse77gnRTNFwrO1uwMq92 b01hvUlMDLJ3i9rOJt1jGUvwyOvTF7G/BLK5TiXDsEj88N4O0uTo770vDNaEHN/EbN kIkMPKZH8Mcul4odObiNSNGuAFMsn2jwxhEJDyQIDW7Kah6gvrUD9MUvuYiSYa7I6Z Cmvd1+vnR6AmCgX+ITi6Aw4INXcho09pME5If6B/NmgYrhcKqZhoSzQQYJDx1HgeSM Kd3VX8DSsMHkm7SPqKitCWO/lSEp0UwDWqk5QQocNSivpoS4Ao58WcpleEr7Zc6GIn 8U81LbMNLhdUA== From: Vagrant Cascadian In-Reply-To: <03f2e0ee39ee8112655feccb2a72dc4764c4412b.1713173193.git.steve@futurile.net> References: <03f2e0ee39ee8112655feccb2a72dc4764c4412b.1713173193.git.steve@futurile.net> Date: Fri, 03 May 2024 19:42:11 -0700 Message-ID: <87ikzuwb5o.fsf@wireframe> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" 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 X-Migadu-Spam-Score: -3.99 X-Spam-Score: -3.99 X-Migadu-Queue-Id: 767F760128 X-Migadu-Scanner: mx11.migadu.com X-TUID: R0Y20gHQuI4r --=-=-= Content-Type: text/plain On 2024-04-15, Steve George wrote: > * gnu/packages/debian.scm (debian-devscripts): New variable. > > Change-Id: Iff64afdb1f730f3d941617bc428a57d09c0381b2 > --- > gnu/packages/debian.scm | 151 ++++++++++++++++++++++++++++++++++++++++ > 1 file changed, 151 insertions(+) > > diff --git a/gnu/packages/debian.scm b/gnu/packages/debian.scm > index a88fb04feb..2c79afdc75 100644 > --- a/gnu/packages/debian.scm > +++ b/gnu/packages/debian.scm ... > +(define-public debian-devscripts > + (package > + (name "debian-devscripts") As someone who has used devscripts for years (decades?), I would find it very surprising that it includes a single script! :) It is essentially a huge grab bag of scripts (most of which I have never used) ... so I would suggest "debian-devscripts-bts" or simply "debian-bts". Or packaging more of the scripts? Not sure what would be generally useful on guix as most are very debian-specific, but I am sometimes surprised. :) > + (add-after 'install 'manpage > + ;; FIXME: missing the man page for bts, how is it created? I have not quite figured out exactly how it gets there, but according the last build on debian: https://buildd.debian.org/status/fetch.php?pkg=devscripts&arch=all&ver=2.23.7&stamp=1702422001&raw=0 it calls: pod2man --utf8 --center=" " --release="Debian Utilities" bts.pl > bts.1 Presumably this is in one of the scripts/Makefile targets: %.1: %.pl podchecker $< pod2man --utf8 --center=" " --release="Debian Utilities" $< > $@ Seems like they get pulled into SCRIPTS via a wildcard: PL_FILES := $(wildcard *.pl) SH_FILES = $(wildcard *.sh) SCRIPTS = $(patsubst %.pl,%,$(PL_FILES)) $(patsubst %.sh,%,$(SH_FILES)) So it might be possible to get the Makefile to do the right thing ... or just call pod2man (from "perl") directly since you're only packaging bts.pl... > + (synopsis "BTS script from Debian's devscripts") > + (description "This package only provides the bts script from the Debian > +devscripts archive. It's useful for Guix Developers that interacting with GNU's > +debbugs server.") > + (license license:gpl2))) This should definitely be changed to gpl2+ looking at scripts/bts.pl and debian/copyright documents some exceptions; a few of the common files might actually be a smattering of other licenses; this is where shipping only a subset is very nice. :) Hope that is helpful! :) live well, vagrant --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCZjWggwAKCRDcUY/If5cW qnGuAQDuvpApduGOHhyW5DpHWzCkFZc7wp+S3fveR6yBlkVkBQEA5TYpSCRK7gZe Lj4Eh1G4C1xtixNHDuPkfnpLqP+ZpwQ= =Eg2S -----END PGP SIGNATURE----- --=-=-=--