From patchwork Wed Nov 23 21:58:38 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: 44787 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 E847627BBEC; Wed, 23 Nov 2022 21:59:20 +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=unavailable 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 270A827BBE9 for ; Wed, 23 Nov 2022 21:59:19 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oxxlq-0005rF-0g; Wed, 23 Nov 2022 16:59:06 -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 1oxxlo-0005r4-K8 for guix-patches@gnu.org; Wed, 23 Nov 2022 16:59:04 -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 1oxxlo-0001vV-BG for guix-patches@gnu.org; Wed, 23 Nov 2022 16:59:04 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oxxlm-00012d-If for guix-patches@gnu.org; Wed, 23 Nov 2022 16:59:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#59525] [PATCH v2] gnu: Add portfolio Resent-From: conses Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 23 Nov 2022 21:59:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 59525 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 59525@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16692407333986 (code B ref -1); Wed, 23 Nov 2022 21:59:02 +0000 Received: (at submit) by debbugs.gnu.org; 23 Nov 2022 21:58:53 +0000 Received: from localhost ([127.0.0.1]:56463 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oxxlc-00012D-Cu for submit@debbugs.gnu.org; Wed, 23 Nov 2022 16:58:52 -0500 Received: from lists.gnu.org ([209.51.188.17]:37258) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oxxlW-000121-Mg for submit@debbugs.gnu.org; Wed, 23 Nov 2022 16:58:50 -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 1oxxlW-0005JT-H9 for guix-patches@gnu.org; Wed, 23 Nov 2022 16:58:46 -0500 Received: from relay1-d.mail.gandi.net ([217.70.183.193]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oxxlU-0001t5-11 for guix-patches@gnu.org; Wed, 23 Nov 2022 16:58:46 -0500 Received: (Authenticated sender: contact@conses.eu) by mail.gandi.net (Postfix) with ESMTPSA id 1ADCF240005 for ; Wed, 23 Nov 2022 21:58:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=conses.eu; s=gm1; t=1669240720; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=uKYcqD6iCDBB0I4+gOqJZWHWArJee/kYopWj/Eq8u+M=; b=A1LZ8N91emxr4Vk4mAbMzCd2okLICuOdpVCSvvDoei5JtLYe3bTDpotNiDkIBvO5QAMUyj LOTvuMGYZLAzkHRQW/JIvtK0LD82ycEiImcoUthctnTptMKaQyVJzcmy4r6kB4UjG1i3h4 i5UMWrZyQes+NW2L0l1t3kpDvcgJX0zLa/Gw/hNwd7ZQJnZ0VfWlFd3i2NnVQ0Llm40kf4 i217Xxg6VsLXIeaiYnyq9wWloi6qZwIL7L3NNsT5DZI19OxTKRl85RkFjzaD2j73ZAw5lP 9CQ5gyLI9uEIIG5Zhxyfvaimm1h/3mBAP88wcFemvJinnMOa9JnxXsOnxaYagA== From: conses In-Reply-To: <59524@debbugs.gnu.org> References: <59524@debbugs.gnu.org> Date: Wed, 23 Nov 2022 22:58:38 +0100 Message-ID: <86v8n59vu9.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=217.70.183.193; envelope-from=contact@conses.eu; helo=relay1-d.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, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, 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 | 55 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) diff --git a/gnu/packages/gnome-xyz.scm b/gnu/packages/gnome-xyz.scm index b7e10100fb..5a5c5b1700 100644 --- a/gnu/packages/gnome-xyz.scm +++ b/gnu/packages/gnome-xyz.scm @@ -55,6 +55,7 @@ (define-module (gnu packages gnome-xyz) #:use-module (gnu packages bash) #:use-module (gnu packages build-tools) #:use-module (gnu packages check) + #:use-module (gnu packages freedesktop) #:use-module (gnu packages gettext) #:use-module (gnu packages glib) #:use-module (gnu packages gnome) @@ -224,6 +225,60 @@ (define-public papirus-icon-theme and a few extra features.") (license license:gpl3))) +(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))) + (define-public gnome-plots (package (name "gnome-plots")