From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id UPTXAQKtzGDHBwAAgWs5BA (envelope-from ) for ; Fri, 18 Jun 2021 16:26:10 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id oPElOQGtzGDbFgAAB5/wlQ (envelope-from ) for ; Fri, 18 Jun 2021 14:26:09 +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 AD540E595 for ; Fri, 18 Jun 2021 16:26:09 +0200 (CEST) Received: from localhost ([::1]:49104 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1luFRg-0007wn-PW for larch@yhetil.org; Fri, 18 Jun 2021 10:26:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53478) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1luFRa-0007wQ-9H for guix-patches@gnu.org; Fri, 18 Jun 2021 10:26:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:45996) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1luFRZ-00034E-Uf for guix-patches@gnu.org; Fri, 18 Jun 2021 10:26:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1luFRZ-0000Ag-LG for guix-patches@gnu.org; Fri, 18 Jun 2021 10:26:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49058] [PATCH] gnu: Add duc. Resent-From: Xinglu Chen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 18 Jun 2021 14:26:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49058 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Brice Waegeneire , 49058@debbugs.gnu.org Received: via spool by 49058-submit@debbugs.gnu.org id=B49058.1624026315598 (code B ref 49058); Fri, 18 Jun 2021 14:26:01 +0000 Received: (at 49058) by debbugs.gnu.org; 18 Jun 2021 14:25:15 +0000 Received: from localhost ([127.0.0.1]:57542 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1luFQp-00009a-7L for submit@debbugs.gnu.org; Fri, 18 Jun 2021 10:25:15 -0400 Received: from h87-96-130-155.cust.a3fiber.se ([87.96.130.155]:45634 helo=mail.yoctocell.xyz) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1luFQo-00009I-0N for 49058@debbugs.gnu.org; Fri, 18 Jun 2021 10:25:14 -0400 From: Xinglu Chen DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yoctocell.xyz; s=mail; t=1624026305; bh=NhoyAr70HC0YqdtrUNE5k8siZKJ0iE+7im1vpmHNtVE=; h=From:To:Subject:In-Reply-To:References:Date; b=RMSUnzsTPf/MbZyQVQOQnFF+ulxHCRx1hnkF7sPOW0sdHV/g44o4Bql5K0WAFdUCt Sp9PcyFshxcpd8bBKnlhwiQuLLWOTlD7fwbAnVhmH0w1rgBZ/wAZGtKYd9f74MnQmf jy9YYUIpNSQ/t8rYYtJ5NjQhiuw8CDwiNiESk9Y0= In-Reply-To: <20210616064352.13688-1-brice@waegenei.re> References: <20210616064352.13688-1-brice@waegenei.re> Date: Fri, 18 Jun 2021 16:25:03 +0200 Message-ID: <87a6nn6yio.fsf@yoctocell.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; 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" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1624026369; 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: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=7DMtuNE4mUhogGJSOaYllzivE9nCrG8wadqWyWMSa4M=; b=nKtzuFvLQ8i83ajDwiOfOXcjMMr9fNC6/EWTaHZKCY3fTGywKgSJJ+NQSIBvfYKf7eSBoZ ell5RGE3e5AKdAEhn2oqVAViRcopL7BTOT344NIzhfpq7d1S1Q+2ysYuY0+/1YlO6+50WH hQofY+rxZgLjp4qJHccSCZmKAFsiUo9xE2CJlFZcmiqh5Bq2YQ4OoKVQ7BmJ0xf9aWb8ow jUtoMfa4I3RDX4+DgnirQOhp//0G37UmjWFkXM+vuwXin/HqI/6puGiuP6NWtBNMUSJHUi ZsIKiQbqH9S2DDwqUNNH7DO2SP2DalIfR+EMYiTJku5whvfbjUiBHZ+w6epX3A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1624026369; a=rsa-sha256; cv=none; b=FbdPe8Ww/7mZMrX+m2eeaxS//epgLCrUkOv+tAhXgydoD5mlIenHnXWcnke9D8Y1nNljJ1 zlj167739bQ8cCAePf8HQlkeUSI2K5qksr3hM1+KmVJuT33qDjVoP4+0Czn0xUN3AnlVCL qVm2/KL3+0w3078YvASkgJ0vvT3q6mo27rD+rBXobBQ+P1snMhL/uII+P9P7st2P41DUcu jubVb54Xp1Bw9Ccu7xe+GM3hfdka/H4okmEH7wYIrRQdoOC1wUIuvkNwAt7uOq2R84Tgcl 9Y/N8BazS6I+jQsW9u1iOirPKZJvB5NsONuOIGTwwptXp9FyoRAziDYo8zs9ww== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=yoctocell.xyz header.s=mail header.b=RMSUnzsT; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -3.43 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=yoctocell.xyz header.s=mail header.b=RMSUnzsT; dmarc=fail reason="SPF not aligned (relaxed)" header.from=yoctocell.xyz (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: AD540E595 X-Spam-Score: -3.43 X-Migadu-Scanner: scn1.migadu.com X-TUID: Ia9Ew/jNv3DA --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On Wed, Jun 16 2021, Brice Waegeneire wrote: > +(define-public duc > + (package > + (name "duc") > + (version "1.4.4") > + (source (origin > + (method git-fetch) > + (uri (git-reference > + (url "https://github.com/zevv/duc") > + (commit version))) > + (file-name (git-file-name name version)) > + (sha256 > + (base32 > + "1i7ry25xzy027g6ysv6qlf09ax04q4vy0kikl8h0aq5jbxsl9q52"))= )) > + (build-system gnu-build-system) > + (arguments > + `(#:phases > + (modify-phases %standard-phases > + (add-after 'unpack 'patch > + (lambda* (#:key outputs #:allow-other-keys) > + (let* ((out (assoc-ref outputs "out"))) > + (substitute* "src/duc/cmd-ui.c" > + (("ncursesw/ncurses.h") "ncurses.h")) > + (substitute* "examples/index.cgi" > + (("/usr/local/bin/duc") > + (string-append out "/bin/duc"))) > + #t))) The trailing #t can be dropped, phases don=E2=80=99t need to end with #t on= ce the =E2=80=98core-updates=E2=80=99 branch gets merged (hopefully soon :)). > + (add-after 'install 'install-examples > + (lambda* (#:key outputs #:allow-other-keys) > + (let* ((out (assoc-ref outputs "out")) > + (doc (string-append out "/share/doc/" ,name "-" ,ver= sion))) > + (copy-recursively "examples" (string-append doc "/example= s")))))))) > + (native-inputs > + `(("autoconf" ,autoconf) > + ("automake" ,automake) > + ("libtool" ,libtool) > + ("pkg-config" ,pkg-config))) > + (inputs > + `(("cairo" ,cairo) > + ("pango" ,pango) > + ("tokyocabinet" ,tokyocabinet) > + ("ncurses" ,ncurses))) > + (synopsis "Library and suite of tools for inspecting disk usage") > + (description " Duc maintains a database of accumulated sizes of ^^ Redundant whitespace > +directories of the file system, and allows you to query this database wi= th > +some tools, or create fancy graphs showing you where your bytes are. > + > +Duc comes with console utilities, ncurses and X11 user interfaces and a = CGI > +wrapper for disk usage querying and visualisation.") > + (license license:lgpl3+) > + (home-page "http://duc.zevv.nl"))) Nit: the =E2=80=98home-page=E2=80=99 field usually comes before =E2=80=98sy= nopsis=E2=80=99 Otherwise, LGTM. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJJBAEBCAAzFiEEAVhh4yyK5+SEykIzrPUJmaL7XHkFAmDMrL8VHHB1YmxpY0B5 b2N0b2NlbGwueHl6AAoJEKz1CZmi+1x5a8UQAKGy4w9JJLi/fhZWA7ZNMVU+zBc2 7znshV4aTchpf2r83FAE2nUbafRjuKqwd5aNWMthtFkaISVV3zAz/E5yK0aOYHFj H8GsdA+RRM9CFEo9K9PWAUZgKqaQi367FDWqbhCFlyNZiJ5fT/Qnxhn+w5zMjvtV iIZaJqgTp6WhKBIcfuB8d06WivspsrYmT2wvr/RSAhaqEMiBt2gCaF6TEz5RLjN2 xB1HLe29c4sTLhMs5gBhK3MEIcPxadlCddfp8UOfEH+jQXvWZ0wP+vumADmvlDIy NHqSa2FQkWBAqZ8EexpKPCI0sKK53d+W4RlaDAag9QjP0mv3Y+NWp+hF4JBTZgy8 WfBzJWFkgzXWsf66YHiazZqGmCLycUQfMVrAD5ne+zqfWLHJNc1sZtXF5sqC6KT7 tMau3DvT+fYSViex1GQob2wgPOkrprU/Ab6iPx8wkBWRx4aN9Uc9gdpxd7rmNWl8 ghVvd+j/iR2NGA1t4gOBvy4J6I6wdFdeN+BO5RDndGNoYz9iIoGYOHAvK63jrir0 rwmLRq17Ic5HKxdM3x0BVEbmSesXdmqJb4CgPQeRLmtpfrieXcrauqhKkFxXpwb3 6JgEhB/SvbcgRqDi3poyMfWtdeLh22xiqHOrfeBY86XX3OfVxYQzLsCQKZRf6sq7 3j6ChvvK2go4o0/y =US+i -----END PGP SIGNATURE----- --=-=-=--