From patchwork Sun May 3 00:28:20 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: "vasilii.smirnov--- via Guix-patches\" via" X-Patchwork-Id: 21866 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id BD33D27BBE4; Sun, 3 May 2020 08:40:40 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, FREEMAIL_FROM,MAILING_LIST_MULTI,T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:470:142::17]) by mira.cbaines.net (Postfix) with ESMTP id 7C31727BBE1 for ; Sun, 3 May 2020 08:40:40 +0100 (BST) Received: from localhost ([::1]:53400 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jV9Eu-0000Rv-1E for patchwork@mira.cbaines.net; Sun, 03 May 2020 03:40:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45086) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jV4LQ-0007A3-Rl for guix-patches@gnu.org; Sat, 02 May 2020 22:27:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jV4LP-0004lg-4c for guix-patches@gnu.org; Sat, 02 May 2020 22:27:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:42847) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jV4LO-0004kt-Nw for guix-patches@gnu.org; Sat, 02 May 2020 22:27:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jV4LO-0004Yy-Ji for guix-patches@gnu.org; Sat, 02 May 2020 22:27:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#41040] [PATCH] Package Definition for QDirStat Resent-From: Thovthe Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 03 May 2020 02:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 41040 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 41040@debbugs.gnu.org X-Debbugs-Original-To: "guix-patches@gnu.org" Received: via spool by submit@debbugs.gnu.org id=B.158847281917523 (code B ref -1); Sun, 03 May 2020 02:27:02 +0000 Received: (at submit) by debbugs.gnu.org; 3 May 2020 02:26:59 +0000 Received: from localhost ([127.0.0.1]:54391 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jV4LK-0004YY-Vn for submit@debbugs.gnu.org; Sat, 02 May 2020 22:26:59 -0400 Received: from lists.gnu.org ([209.51.188.17]:46796) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jV2bg-0003mR-Kf for submit@debbugs.gnu.org; Sat, 02 May 2020 20:35:48 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51782) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jV2bf-0003yt-TK for guix-patches@gnu.org; Sat, 02 May 2020 20:35:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jV2aX-0005II-5E for guix-patches@gnu.org; Sat, 02 May 2020 20:35:43 -0400 Received: from mail-40141.protonmail.ch ([185.70.40.141]:31717) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jV2aW-0005C8-Am for guix-patches@gnu.org; Sat, 02 May 2020 20:34:32 -0400 Date: Sun, 03 May 2020 00:28:20 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1588465710; bh=CUkC3fQ+cPgPPiSXLiPn7NNf6qQhY000w9CcIIGZZ3Q=; h=Date:To:From:Reply-To:Subject:From; b=ueouITGMwGxka3CvG94eO3sIRWy67Z9CsaYTljhDKwks+b92C0Nu9RBAtAIzCl4LP FXQTgzTQFocMyhQuTv5pwv+pVJmHmeoVmZwwpboxbnJCvKzsShxD2pY2EKsjFo1xvE rnk3Oa6hSLNGU853quEMZwynwYjmSSSvYQwfA0Ac= Message-ID: <27uwM7nMqpAz-RfKtxXzIOJWs0UnmDO3vqxoqkN1VeXR7GHQJTCgM5B0f8bCMuG2y5QsbCDj_AScqxM-4c1NO5YTf-ZAg3psDt-_FC27LJI=@protonmail.com> MIME-Version: 1.0 Received-SPF: pass client-ip=185.70.40.141; envelope-from=Thovthe@protonmail.com; helo=mail-40141.protonmail.ch X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/02 20:34:27 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Mailman-Approved-At: Sat, 02 May 2020 22:26:57 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Received-From: 209.51.188.43 X-Mailman-Approved-At: Sun, 03 May 2020 03:40:11 -0400 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: Thovthe , Thovthe via Guix-patches X-Patchwork-Original-From: Thovthe via Guix-patches via From: "vasilii.smirnov--- via Guix-patches\" via" X-getmail-retrieved-from-mailbox: Patches Here is a package definition for QDirStat, an excellent tool for checking what files are taking up space on your system.  This is my first guix module and it was made with help from Ryan Prior (github.com/sponsors/ryanprior). I have confirmed that it builds and runs on aarch64 but the only system I have available is this fairly anemic arm laptop so I haven't tested the other architectures. Suggestions, testing, questions, comments and education welcomed. From 9e56b8c2f5602c20ee5796de7af019ef640167cb Mon Sep 17 00:00:00 2001 From: Thovthe Date: Sat, 2 May 2020 22:48:30 +0000 Subject: [PATCH] 2020-05-02 Thovthe thovthe@protonmail.com * added new package definition for QDirStat at gnu/packages/qdirstat.scm --- gnu/packages/qdirstat.scm | 46 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 gnu/packages/qdirstat.scm -- 2.26.1 diff --git a/gnu/packages/qdirstat.scm b/gnu/packages/qdirstat.scm new file mode 100644 index 0000000000..91581a206e --- /dev/null +++ b/gnu/packages/qdirstat.scm @@ -0,0 +1,46 @@ +(define-module (qdirstat) + #:use-module (gnu packages qt) + #:use-module (gnu packages compression) + #:use-module (guix build-system gnu) + #:use-module (guix git-download) + #:use-module ((guix licenses) #:prefix license:) + #:use-module (guix packages)) + + +(define-public qdirstat + (package + (name "qdirstat") + (version "1.6.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/shundhammer/qdirstat.git") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0q77a347qv1aka6sni6l03zh5jzyy9s74aygg554r73g01kxczpb")))) + (build-system gnu-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (replace 'configure + (lambda* (#:key outputs #:allow-other-keys) + (invoke "qmake" + (string-append "PREFIX=" + (assoc-ref outputs "out")) + (string-append "INSTALL_PREFIX=" + (assoc-ref outputs "out")))))))) + + (inputs + `(("qtbase" ,qtbase))) + (native-inputs + `(("zlib" ,zlib) + ("qttools" ,qttools))) + (home-page "https://github.com/shundhammer/qdirstat") + (synopsis "Graphical disk space inspection utility") + (description + "QDirStat is a graphical application to show where your disk space has +gone and to help you to clean it up. Shaded boxes represent files and files +are grouped by directory structure." ) + (license license:gpl2+)))