GNU bug report logs -
#44951
[PATCH] gnu: Add catfish.
Previous Next
Reported by: Kei Kebreau <kkebreau <at> posteo.net>
Date: Sun, 29 Nov 2020 18:56:01 UTC
Severity: normal
Tags: patch
Done: Kei <kkebreau <at> posteo.net>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 44951 in the body.
You can then email your comments to 44951 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#44951
; Package
guix-patches
.
(Sun, 29 Nov 2020 18:56:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Kei Kebreau <kkebreau <at> posteo.net>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Sun, 29 Nov 2020 18:56:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/xfce.scm (catfish): New variable.
---
gnu/packages/xfce.scm | 61 +++++++++++++++++++++++++++++++++++++++++++
1 file changed, 61 insertions(+)
diff --git a/gnu/packages/xfce.scm b/gnu/packages/xfce.scm
index fbe06a1c76..9d05da5853 100644
--- a/gnu/packages/xfce.scm
+++ b/gnu/packages/xfce.scm
@@ -53,7 +53,9 @@
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages polkit)
#:use-module (gnu packages popt)
+ #:use-module (gnu packages python-xyz)
#:use-module (gnu packages pulseaudio)
+ #:use-module (gnu packages search)
#:use-module (gnu packages web)
#:use-module (gnu packages wm)
#:use-module (gnu packages xml)
@@ -62,6 +64,7 @@
#:use-module (guix build-system cmake)
#:use-module (guix build-system glib-or-gtk)
#:use-module (guix build-system gnu)
+ #:use-module (guix build-system python)
#:use-module (guix build-system trivial)
#:use-module (guix download)
#:use-module (guix git-download)
@@ -203,6 +206,64 @@ storage system.")
to share commonly used Xfce widgets among the Xfce applications.")
(license lgpl2.0+)))
+(define-public catfish
+ (package
+ (name "catfish")
+ (version "1.4.13")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "https://archive.xfce.org/src/apps/"
+ "catfish/" (version-major+minor version)
+ "/catfish-" version ".tar.bz2"))
+ (sha256
+ (base32
+ "0fg89946z6n8njxn4mv29jksw8yavg8vypsljn9031pjwl3fmh2q"))))
+ (build-system python-build-system)
+ (arguments
+ '(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'patch-command-paths
+ (lambda* (#:key inputs #:allow-other-keys)
+ (substitute* "catfish/CatfishSearchEngine.py"
+ (("'which'") (string-append "'" (which "which") "'")))
+ (substitute* "catfish/CatfishWindow.py"
+ (("xdg-mime") (which "xdg-mime"))
+ (("xdg-open") (which "xdg-open")))))
+ ;; setup.py script does not support one of the Python build
+ ;; system's default flags, "--single-version-externally-managed".
+ (replace 'install
+ (lambda* (#:key outputs #:allow-other-keys)
+ (invoke "python" "setup.py" "install"
+ (string-append "--prefix=" (assoc-ref outputs "out"))
+ "--root=/")))
+ (add-after 'install 'wrap-program
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let ((out (assoc-ref outputs "out")))
+ (wrap-program (string-append out "/bin/catfish")
+ `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
+ `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))))))
+ #:tests? #f))
+ (native-inputs
+ `(("pkg-config" ,pkg-config)
+ ("python-distutils-extra" ,python-distutils-extra)
+ ("intltool" ,intltool)))
+ (inputs
+ `(("which" ,which)
+ ("xdg-utils" ,xdg-utils)))
+ (propagated-inputs
+ `(("gtk+" ,gtk+)
+ ("python-dbus" ,python-dbus)
+ ("python-pexpect" ,python-pexpect)
+ ("python-pycairo" ,python-pycairo)
+ ("python-pygobject" ,python-pygobject)))
+ (home-page "https://docs.xfce.org/apps/catfish/start")
+ (synopsis "File searching tool for Xfce")
+ (description
+ "Catfish is a handy file searching tool for Linux and Unix. The interface
+is intentionally lightweight and simple, using only GTK+ 3. You can configure
+it to your needs by using several command line options.")
+ (license gpl2+)))
+
(define-public elementary-xfce-icon-theme
(package
(name "elementary-xfce-icon-theme")
--
2.29.2
Information forwarded
to
guix-patches <at> gnu.org
:
bug#44951
; Package
guix-patches
.
(Wed, 02 Dec 2020 13:03:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 44951 <at> debbugs.gnu.org (full text, mbox):
Hello,
> + "Catfish is a handy file searching tool for Linux and Unix. The interface
> +is intentionally lightweight and simple, using only GTK+ 3. You can configure
> +it to your needs by using several command line options.")
I would remove "handy" to stay neutral. Otherwise, it looks nice!
Thanks,
Mathieu
Reply sent
to
Kei <kkebreau <at> posteo.net>
:
You have taken responsibility.
(Wed, 02 Dec 2020 14:24:01 GMT)
Full text and
rfc822 format available.
Notification sent
to
Kei Kebreau <kkebreau <at> posteo.net>
:
bug acknowledged by developer.
(Wed, 02 Dec 2020 14:24:01 GMT)
Full text and
rfc822 format available.
Message #13 received at 44951-done <at> debbugs.gnu.org (full text, mbox):
Thanks for reviewing this! It has been pushed to master with the suggested
change as commit 3c2cf75fb3.
Kei
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Thu, 31 Dec 2020 12:24:08 GMT)
Full text and
rfc822 format available.
This bug report was last modified 4 years and 250 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.