GNU bug report logs -
#59525
[PATCH v2] gnu: Add portfolio
Previous Next
Reported by: conses <contact <at> conses.eu>
Date: Wed, 23 Nov 2022 21:59:02 UTC
Severity: normal
Tags: patch
Done: Christopher Baines <mail <at> cbaines.net>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your message dated Fri, 25 Nov 2022 10:54:57 +0000
with message-id <87bkovz4ix.fsf <at> cbaines.net>
and subject line Re: [bug#59525] [PATCH v5] gnu: Add portfolio.
has caused the debbugs.gnu.org bug report #59525,
regarding [PATCH v2] gnu: Add portfolio
to be marked as done.
(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)
--
59525: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=59525
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
* 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")
--
2.38.1
--
Best regards,
conses
[Message part 3 (message/rfc822, inline)]
[Message part 4 (text/plain, inline)]
conses <contact <at> conses.eu> writes:
> * gnu/packages/gnome-xyz.scm (portfolio): New variable.
> ---
> Symlinks executable instead of renaming it.
> gnu/packages/gnome-xyz.scm | 54 ++++++++++++++++++++++++++++++++++++++
> 1 file changed, 54 insertions(+)
Thanks! I tweaked the license, as it looks to be gpl3+ (gpl3 or later)
rather than gpl3, and pushed to master as
6827d76d383be2a0ef655767fb1420cf641f9790.
Chris
[signature.asc (application/pgp-signature, inline)]
This bug report was last modified 2 years and 230 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.