From: Ashvith Shetty <ashvithshetty10@gmail.com>
To: 75146@debbugs.gnu.org
Cc: Ashvith Shetty <Ashvith@noreply.codeberg.org>
Subject: [bug#75146] [PATCH v0 07/15] gnu: catfish: Update to 4.20.0.
Date: Sat, 28 Dec 2024 01:23:18 +0530 [thread overview]
Message-ID: <20241227195320.27450-1-ashvith@noreply.codeberg.org> (raw)
In-Reply-To: <20241227194602.25785-1-ashvith@noreply.codeberg.org>
From: Ashvith Shetty <Ashvith@noreply.codeberg.org>
* gnu/packages/xfce.scm (catfish): Update to 4.20.0.
[source]: Update to XFCE's GitLab URL.
[home-page]: Set to docs.xfce.org.
[build-system]: Switch to meson-build-system
[arguments]: Enable tests
Do not replace phase 'install.
Do not delete 'sanity-check.
[native-inputs]: Add cmake, desktop-file-utils, (list gtk+ "bin")
and python.
Remove python-distutils-extra.
Change-Id: Ifc922b45308718b1a5586c15a0025f3e6d20ea4b
---
gnu/packages/xfce.scm | 88 +++++++++++++++++++++----------------------
1 file changed, 44 insertions(+), 44 deletions(-)
diff --git a/gnu/packages/xfce.scm b/gnu/packages/xfce.scm
index 152da5c12d..22557bd241 100644
--- a/gnu/packages/xfce.scm
+++ b/gnu/packages/xfce.scm
@@ -43,6 +43,7 @@ (define-module (gnu packages xfce)
#:use-module (gnu packages build-tools)
#:use-module (gnu packages calendar)
#:use-module (gnu packages cdrom)
+ #:use-module (gnu packages cmake)
#:use-module (gnu packages docbook)
#:use-module (gnu packages fonts)
#:use-module (gnu packages fontutils)
@@ -82,7 +83,7 @@ (define-module (gnu packages xfce)
#: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 meson)
#:use-module (guix build-system trivial)
#:use-module (guix download)
#:use-module (guix git-download)
@@ -223,50 +224,49 @@ (define-public libxfce4ui
(define-public catfish
(package
(name "catfish")
- (version "4.18.0")
- (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
- "16cbsnki7qragwhbfs3h0ja7xg8xlf59ajxhddqm0jkmrirrpbpx"))))
- (build-system python-build-system)
+ (version "4.20.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://gitlab.xfce.org/apps/catfish")
+ (commit (string-append name "-" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1vyf62n8j2pgxd30j8hf1x6d0yz8r86ng39p9smfpq7m3vll8i7c"))))
+ (build-system meson-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=/")))
- ;; The check failed to spawn a message bus without /etc/machine-id.
- (delete 'sanity-check)
- (add-after 'install 'wrap-program
- (lambda* (#:key outputs #:allow-other-keys)
- (let ((out (assoc-ref outputs "out")))
- (wrap-program (string-append out "/bin/catfish")
- `("GUIX_PYTHONPATH" = (,(getenv "GUIX_PYTHONPATH")))
- `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))))))
- #:tests? #f))
- (native-inputs
- (list pkg-config python-distutils-extra intltool))
- (inputs
- (list bash-minimal which xfconf xdg-utils))
- (propagated-inputs
- (list gtk+ python-dbus python-pexpect python-pycairo
- python-pygobject))
- (home-page "https://docs.xfce.org/apps/catfish/start")
+ (list
+ #: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")))))
+ (add-after 'install 'wrap-program
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let ((out (assoc-ref outputs "out")))
+ (wrap-program (string-append out "/bin/catfish")
+ `("GUIX_PYTHONPATH" =
+ (,(getenv "GUIX_PYTHONPATH")))
+ `("GI_TYPELIB_PATH" =
+ (,(getenv "GI_TYPELIB_PATH"))))))))))
+ (native-inputs (list cmake
+ desktop-file-utils
+ (list gtk+ "bin")
+ pkg-config
+ python
+ intltool))
+ (inputs (list bash-minimal which xfconf xdg-utils))
+ (propagated-inputs (list gtk+ python-dbus python-pexpect python-pycairo
+ python-pygobject))
+ (home-page "https://docs.xfce.org/apps/catfish/")
(synopsis "File searching tool for Xfce")
(description
"Catfish is a file searching tool for Linux and Unix. The interface is
--
2.46.0
next prev parent reply other threads:[~2024-12-27 19:55 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-27 19:43 [bug#75146] [PATCH v0 00/15] XFCE: Move source from generated archive to git Ashvith Shetty
2024-12-27 19:51 ` [bug#75146] [PATCH v0 01/15] gnu: gtk-xfce-engine: Remove variable Ashvith Shetty
2024-12-27 19:51 ` [bug#75146] [PATCH v0 02/15] gnu: xfce4-dev-tools: Update variable fields Ashvith Shetty
2024-12-27 19:52 ` [bug#75146] [PATCH v0 03/15] gnu: libxfce4util: " Ashvith Shetty
2024-12-27 19:52 ` [bug#75146] [PATCH v0 04/15] gnu: xfconf: " Ashvith Shetty
2024-12-27 19:52 ` [bug#75146] [PATCH v0 05/15] gnu: libxfce4ui: " Ashvith Shetty
2024-12-27 19:52 ` [bug#75146] [PATCH v0 06/15] gnu: libxfce4windowing: " Ashvith Shetty
2024-12-27 19:53 ` Ashvith Shetty [this message]
2024-12-27 19:53 ` [bug#75146] [PATCH v0 08/15] gnu: elementary-xfce-icon-theme: Use new style Ashvith Shetty
2024-12-27 19:53 ` [bug#75146] [PATCH v0 09/15] gnu: exo: Update variable fields Ashvith Shetty
2024-12-27 19:53 ` [bug#75146] [PATCH v0 10/15] gnu: garcon: " Ashvith Shetty
2024-12-27 19:54 ` [bug#75146] [PATCH v0 11/15] gnu: tumbler: " Ashvith Shetty
2024-12-27 19:54 ` [bug#75146] [PATCH v0 12/15] gnu: xfce4-panel: " Ashvith Shetty
2024-12-27 19:54 ` [bug#75146] [PATCH v0 13/15] gnu: xfce4-battery-plugin: Update to 1.1.6 Ashvith Shetty
2024-12-27 19:54 ` [bug#75146] [PATCH v0 14/15] gnu: xfce4-clipman-plugin: Update to 1.6.7 Ashvith Shetty
2024-12-27 19:54 ` [bug#75146] [PATCH v0 15/15] gnu: xfce4-pulseaudio-plugin: Update variable fields Ashvith Shetty
2024-12-28 11:52 ` [bug#75146] [PATCH v1 00/15] XFCE: Move source from archive to git Ashvith Shetty
2024-12-28 11:52 ` [bug#75146] [PATCH v1 01/15] gnu: gtk-xfce-engine: Remove variable Ashvith Shetty
2024-12-28 11:52 ` [bug#75146] [PATCH v1 02/15] gnu: xfce4-dev-tools: Update variable fields Ashvith Shetty
2024-12-28 11:52 ` [bug#75146] [PATCH v1 03/15] gnu: libxfce4util: " Ashvith Shetty
2024-12-28 11:52 ` [bug#75146] [PATCH v1 04/15] gnu: xfconf: " Ashvith Shetty
2024-12-28 11:52 ` [bug#75146] [PATCH v1 05/15] gnu: libxfce4ui: " Ashvith Shetty
2024-12-28 11:52 ` [bug#75146] [PATCH v1 06/15] gnu: libxfce4windowing: " Ashvith Shetty
2024-12-28 11:52 ` [bug#75146] [PATCH v1 07/15] gnu: catfish: Update to 4.20.0 Ashvith Shetty
2024-12-28 11:52 ` [bug#75146] [PATCH v1 08/15] gnu: elementary-xfce-icon-theme: Use new style Ashvith Shetty
2024-12-28 11:52 ` [bug#75146] [PATCH v1 09/15] gnu: exo: Update variable fields Ashvith Shetty
2024-12-28 11:53 ` [bug#75146] [PATCH v1 10/15] gnu: garcon: " Ashvith Shetty
2024-12-28 11:53 ` [bug#75146] [PATCH v1 11/15] gnu: tumbler: " Ashvith Shetty
2024-12-28 11:53 ` [bug#75146] [PATCH v1 12/15] gnu: xfce4-panel: " Ashvith Shetty
2024-12-28 11:53 ` [bug#75146] [PATCH v1 13/15] gnu: xfce4-battery-plugin: Update to 1.1.6 Ashvith Shetty
2024-12-28 11:53 ` [bug#75146] [PATCH v1 14/15] gnu: xfce4-clipman-plugin: Update to 1.6.7 Ashvith Shetty
2024-12-28 11:53 ` [bug#75146] [PATCH v1 15/15] gnu: xfce4-pulseaudio-plugin: Update variable fields Ashvith Shetty
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20241227195320.27450-1-ashvith@noreply.codeberg.org \
--to=ashvithshetty10@gmail.com \
--cc=75146@debbugs.gnu.org \
--cc=Ashvith@noreply.codeberg.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.