From patchwork Wed Nov 23 20:33:13 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Miguel_=C3=81ngel_Moreno?= X-Patchwork-Id: 44785 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 0031B27BBED; Wed, 23 Nov 2022 20:34:21 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 31B1327BBEC for ; Wed, 23 Nov 2022 20:34:21 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oxwRf-0004Gc-Ux; Wed, 23 Nov 2022 15:34:11 -0500 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 1oxwRX-00049g-56 for guix-patches@gnu.org; Wed, 23 Nov 2022 15:34:03 -0500 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 1oxwRW-0005R2-SC for guix-patches@gnu.org; Wed, 23 Nov 2022 15:34:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oxwRW-0007FR-3p for guix-patches@gnu.org; Wed, 23 Nov 2022 15:34:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#59524] [PATCH] gnu: Add portfolio. Resent-From: conses Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 23 Nov 2022 20:34:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 59524 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 59524@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.166923560727811 (code B ref -1); Wed, 23 Nov 2022 20:34:01 +0000 Received: (at submit) by debbugs.gnu.org; 23 Nov 2022 20:33:27 +0000 Received: from localhost ([127.0.0.1]:56368 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oxwQw-0007ET-JC for submit@debbugs.gnu.org; Wed, 23 Nov 2022 15:33:26 -0500 Received: from lists.gnu.org ([209.51.188.17]:50978) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oxwQs-0007EK-Sz for submit@debbugs.gnu.org; Wed, 23 Nov 2022 15:33:25 -0500 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 1oxwQs-00045u-OG for guix-patches@gnu.org; Wed, 23 Nov 2022 15:33:22 -0500 Received: from relay10.mail.gandi.net ([2001:4b98:dc4:8::230]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oxwQq-0005NS-Gz for guix-patches@gnu.org; Wed, 23 Nov 2022 15:33:22 -0500 Received: (Authenticated sender: contact@conses.eu) by mail.gandi.net (Postfix) with ESMTPSA id ADDA9240003 for ; Wed, 23 Nov 2022 20:33:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=conses.eu; s=gm1; t=1669235594; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=xheVquLA+NyPmWsQts2mN28kKEAmRKFVze7YYiM9aEA=; b=H4cRksVxJtfHOBmpcwNAY3CTSaCbHv6OmlY6h98qpmPokNdrqU5HJSWcXHbD4Sn62RN/fJ 2OlNI9f1xzxkH6uXiac23jFrJ1xGuvjnS9xGEm2fyVw01YnfsHjkXNLF8TIm9LXbTOc+Bj 3/CvXpzTvZRB1YRJwJsw9npVwB0IytxARTTvKdXFyDHN6GsFtu2OotJ7ynwB++rc2gq3r/ gWvzPRubL1J19rIkmWsT9Wy1DAdYoQ+Xmb7Zx9CjQOk1Vy+w6C9st7fkNj/qzdk+7yFbRQ LRZQlcxUDRxK5jdlH090J6yrSAIq42SpQR6GssptBWW/zF5ZuVZsv0WG1IlP3g== From: conses Date: Wed, 23 Nov 2022 21:33:13 +0100 Message-ID: <8635a9bed2.fsf@conses.eu> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Received-SPF: pass client-ip=2001:4b98:dc4:8::230; envelope-from=contact@conses.eu; helo=relay10.mail.gandi.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/gnome-xyz.scm (portfolio): New variable. --- gnu/packages/gnome-xyz.scm | 54 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) diff --git a/gnu/packages/gnome-xyz.scm b/gnu/packages/gnome-xyz.scm index b7e10100fb..e244b2d302 100644 --- a/gnu/packages/gnome-xyz.scm +++ b/gnu/packages/gnome-xyz.scm @@ -1536,3 +1536,57 @@ (define-public tiramisu notifications to STDOUT in order to allow the user to process notifications any way they prefer.") (license license:expat))) + +(define-public portfolio + (package + (name "portfolio") + (version "0.9.14") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/tchx84/Portfolio") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0h09v8lhz3kv6qmwjhx3gr7rp6ccfhrzm54gjnaixl4dcg9zddls")))) + (arguments + (list + #:glib-or-gtk? #t + #:imported-modules `(,@%meson-build-system-modules + (guix build python-build-system)) + #:modules '((guix build meson-build-system) + ((guix build python-build-system) #:prefix python:) + (guix build utils)) + #:phases + #~(modify-phases %standard-phases + (add-after 'install 'rename-executable + (lambda _ + (with-directory-excursion (string-append #$output "/bin") + (rename-file "dev.tchx84.Portfolio" "portfolio")))) + (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap + (lambda* (#:key inputs outputs #:allow-other-keys) + (wrap-program (search-input-file outputs "bin/portfolio") + `("GUIX_PYTHONPATH" = (,(getenv "GUIX_PYTHONPATH") + ,(python:site-packages inputs outputs))) + `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))))))) + (build-system meson-build-system) + (inputs + (list + bash-minimal + python-pygobject + gtk+ + libhandy)) + (native-inputs + (list + (list glib "bin") + desktop-file-utils + gettext-minimal + python + (list gtk+ "bin"))) + (home-page "https://github.com/tchx84/Portfolio") + (synopsis "A minimalist file manager for those who want to use Linux mobile devices.") + (description "Portfolio is a minimalist file manager for those who want to use Linux +mobile devices. Tap to activate and long press to select, to browse, open, copy, move, +delete, or edit your files.") + (license license:gpl3)))