From patchwork Wed Nov 23 22:53:04 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: 44789 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 242D427BBEC; Wed, 23 Nov 2022 22:54:23 +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 1C5FB27BBE9 for ; Wed, 23 Nov 2022 22:54:21 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oxyd3-0007LD-3C; Wed, 23 Nov 2022 17:54:05 -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 1oxyd0-0007Ko-GM for guix-patches@gnu.org; Wed, 23 Nov 2022 17:54:02 -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 1oxyd0-00037h-3b for guix-patches@gnu.org; Wed, 23 Nov 2022 17:54:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oxycz-0002V0-Ku for guix-patches@gnu.org; Wed, 23 Nov 2022 17:54:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#59525] [PATCH v4] gnu: Add portfolio. Resent-From: conses Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 23 Nov 2022 22:54:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59525 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 59525@debbugs.gnu.org Received: via spool by 59525-submit@debbugs.gnu.org id=B59525.16692439949539 (code B ref 59525); Wed, 23 Nov 2022 22:54:01 +0000 Received: (at 59525) by debbugs.gnu.org; 23 Nov 2022 22:53:14 +0000 Received: from localhost ([127.0.0.1]:56533 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oxycE-0002Tn-8k for submit@debbugs.gnu.org; Wed, 23 Nov 2022 17:53:14 -0500 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:37551) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oxycB-0002TS-VE for 59525@debbugs.gnu.org; Wed, 23 Nov 2022 17:53:13 -0500 Received: (Authenticated sender: contact@conses.eu) by mail.gandi.net (Postfix) with ESMTPSA id 62B9CE0002 for <59525@debbugs.gnu.org>; Wed, 23 Nov 2022 22:53:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=conses.eu; s=gm1; t=1669243985; 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=hGwXAFnGmyalYvCdRR2vIoiPIkGAXb9AB+y15GuNoIs=; b=AY0xdcN8RtEFe1u+r4fVRpzf6VRkTS/saLt8Zop/HMfQwrZTirR9/2xjYGKeGfo33n5vSA O118cab2Uj0qEmidHIeyw4Zu9Eoq4VogW4lmQ5loUXoWCi+TTaCztUmt2rpPsrs5JOJ7Hp ixglK0osMdZDiJb9DnCLflOM9Dov90bbJ1qVfJZ29qScdgrjVO4TRibGI9D8ULzRxIfVwJ 8GrHVYEjIICDr9MwZ0s5+Dzu/31jH5I8D6hT7VrAsVpSbScJ9fDkrIZ6Vohi+kz8z02HOW AVO7wbUXV3zccEv3H9xrFZG9Sre50UN/6mHgI/4J8FZAqNIBYl4uN7s9c7WLZQ== From: conses In-Reply-To: <59525@debbugs.gnu.org> References: <59525@debbugs.gnu.org> Date: Wed, 23 Nov 2022 23:53:04 +0100 Message-ID: <86mt8h9tbj.fsf@conses.eu> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 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. --- This amends native-inputs package order. 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..9ae48b78ae 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,59 @@ (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 desktop-file-utils + gettext-minimal + `(,glib "bin") + `(,gtk+ "bin") + python)) + (home-page "https://github.com/tchx84/Portfolio") + (synopsis "Minimalist file manager for 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")