From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id SF8rI1+scmeTqQAAe85BDQ:P1 (envelope-from ) for ; Mon, 30 Dec 2024 14:21:19 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id SF8rI1+scmeTqQAAe85BDQ (envelope-from ) for ; Mon, 30 Dec 2024 15:21:19 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b="h4A/i/WL"; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1735568479; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=uZi+BWLHMJPfrBcV/52t7kkqqPGK6AHwLeRFta2ZzyU=; b=EVztNnDo94zACBH63XEIqOP1ICppLP2nfVgmp1hUkBRnuHjhvPnbOnUN2f2ZbY/Kj2eG6R ejr8s+7+5PNF3t4/7V0nitHmtarRzYfCcXykxDUT8XDPEayVYD08zjRL85CGEbesDTACfK h0xY1Pm5rULoe67OV7KigW/v0W5IDMuBpAZhre6mZmwAhijOZNM7kCHqg99Sxno6RuOEFS o2zAPP0uwb0P6fIDti3w2KWmz19CM61OpGDNFGuGYhLcW803AaTNnXfA0n2dOgmPj4kadY kca9vuz1VIQq3XDASiCQLKQw1D0DWU9jggJMSEvvlsYqVDWatq2obKzyNgg9/g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b="h4A/i/WL"; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1735568479; a=rsa-sha256; cv=none; b=bzNSKD+oHF4sAjqFMLQZLo3O2hyco8GJ8opcvn66S8XFrbTLTScnH3Bh+43mkltHOqCREE JgsMXuhrnOMxsIFaqizNCG0CGfZOS15eCGf0o/S3H5+0De5ATM25/LQQMQikX/O33sBEA4 3Anz2dlnmYngHajnTEzBRIGu9xUdwgxQfFKD/UirzId0SPePP6rATDpdaWEOvhCTUAtQyD MAxb05CN351GjOOHjQrqQJqrZSEpz02NYbpjdH3oXR4BMtNVDPY0jalEQVpS6EEN4MLRb4 XXvElATGnLvPo8bGh+p2OKmdnawIHx35y+sw234Gl2mgOij3er5X/rhh044TeQ== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 38EC385E03 for ; Mon, 30 Dec 2024 15:21:19 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tSGdo-0006Wq-DC; Mon, 30 Dec 2024 09:21:08 -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 1tSGdl-0006Qg-S5 for guix-patches@gnu.org; Mon, 30 Dec 2024 09:21:05 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tSGdl-00021g-JM for guix-patches@gnu.org; Mon, 30 Dec 2024 09:21:05 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=uZi+BWLHMJPfrBcV/52t7kkqqPGK6AHwLeRFta2ZzyU=; b=h4A/i/WLac6XNr9LXZugieRVZ+pkWaOz2J5Jlf9JP+rOu/6emcr3R+Lm8LuJKxTDHoZUgHDw/rCgQX+BejjtmsJAjtlFphteqVddXXJwjoSrAMtJ8V6939d7Fv5sgRuXyL4rF/gvhj7JjZk8iYew17fynW/yudsJfmr+R+RmAuZJsW0CiD616hDsN86/unCDnWxr+y8LPBY0itTqGvE4lgqr+YAPhIYmV7Kk4NPXpP52/VTirM0zKfTL4KAv7+lVSZ7/a9O/i/klV/Zfz0XuWFqdfavqJ9nfE44qaqExINq32OAbDqtK3+Y96l5VsZeYrrScqtnWeGU8M9orH67U2Q==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tSGdi-00044h-LM; Mon, 30 Dec 2024 09:21:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#75146] [PATCH v3 16/16] gnu: catfish: Update to 4.20.0. Resent-From: iyzsong@envs.net Original-Sender: "Debbugs-submit" Resent-CC: all_but_last@163.com, iyzsong@envs.net, guix-patches@gnu.org Resent-Date: Mon, 30 Dec 2024 14:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 75146 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 75146@debbugs.gnu.org Cc: Ashvith Shetty , Zhu Zihao , =?UTF-8?Q?=E5=AE=8B=E6=96=87=E6=AD=A6?= X-Debbugs-Original-Xcc: Zhu Zihao , =?UTF-8?Q?=E5=AE=8B=E6=96=87=E6=AD=A6?= Received: via spool by 75146-submit@debbugs.gnu.org id=B75146.173556842715580 (code B ref 75146); Mon, 30 Dec 2024 14:21:02 +0000 Received: (at 75146) by debbugs.gnu.org; 30 Dec 2024 14:20:27 +0000 Received: from localhost ([127.0.0.1]:57986 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tSGd8-000438-Oa for submit@debbugs.gnu.org; Mon, 30 Dec 2024 09:20:27 -0500 Received: from mail.envs.net ([5.199.136.28]:55556) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tSGcb-0003tb-Lg for 75146@debbugs.gnu.org; Mon, 30 Dec 2024 09:19:54 -0500 Received: from localhost (mail.envs.net [127.0.0.1]) by mail.envs.net (Postfix) with ESMTP id 403D338A3E5E; Mon, 30 Dec 2024 14:19:53 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at mail.envs.net Received: from mail.envs.net ([127.0.0.1]) by localhost (mail.envs.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id lLIizn6yzKng; Mon, 30 Dec 2024 14:19:49 +0000 (UTC) Received: from localhost (unknown [112.44.106.216]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.envs.net (Postfix) with ESMTPSA; Mon, 30 Dec 2024 14:19:46 +0000 (UTC) Received: from localhost.localdomain (localhost.lan [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id 4ef9cb2f; Mon, 30 Dec 2024 14:22:20 +0000 (UTC) Date: Mon, 30 Dec 2024 22:22:01 +0800 Message-ID: <3727f43bdf685e7f1e539833e99942468f387807.1735568455.git.iyzsong@member.fsf.org> X-Mailer: git-send-email 2.47.1 In-Reply-To: <9998f582163c7c335786b23bd282a43c60734652.1735568455.git.iyzsong@member.fsf.org> References: <9998f582163c7c335786b23bd282a43c60734652.1735568455.git.iyzsong@member.fsf.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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: , Reply-to: iyzsong@envs.net X-ACL-Warn: , iyzsong--- via Guix-patches From: iyzsong--- via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx11.migadu.com X-Migadu-Spam-Score: -3.00 X-Spam-Score: -3.00 X-Migadu-Queue-Id: 38EC385E03 X-TUID: 8p0JsUyT1tvR From: Ashvith Shetty * gnu/packages/xfce.scm (catfish): Update to 4.20.0. [source]: Switch to git-fetch. [home-page]: Set to docs.xfce.org. [build-system]: Switch to meson-build-system [arguments]: Simpify phases. [native-inputs]: Add desktop-file-utils, gettext-minil (list gtk+ "bin") and python. Remove intltool and python-distutils-extra. Change-Id: Ieca091640912cfbe50d13623bcc0866aa5e3514c --- gnu/packages/xfce.scm | 87 +++++++++++++++++++++---------------------- 1 file changed, 43 insertions(+), 44 deletions(-) diff --git a/gnu/packages/xfce.scm b/gnu/packages/xfce.scm index 4d34d6930f..6873aa3d4a 100644 --- a/gnu/packages/xfce.scm +++ b/gnu/packages/xfce.scm @@ -81,7 +81,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) @@ -220,50 +220,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")))))))) + #:tests? #f)) + (native-inputs (list desktop-file-utils ;for update-desktop-database + gettext-minimal + (list gtk+ "bin") ;for gtk-update-icon-cache + pkg-config + python)) + (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