From patchwork Tue Jul 9 11:46:23 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: gemmaro X-Patchwork-Id: 66017 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 A520227BBEA; Tue, 9 Jul 2024 12:48:19 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, SPF_HELO_PASS autolearn=ham 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 DFA5F27BBE2 for ; Tue, 9 Jul 2024 12:48:18 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sR9KG-00038I-4Z; Tue, 09 Jul 2024 07:48:04 -0400 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 1sR9K9-0002jw-KA for guix-patches@gnu.org; Tue, 09 Jul 2024 07:47:58 -0400 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 1sR9K9-0005tq-BP for guix-patches@gnu.org; Tue, 09 Jul 2024 07:47:57 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sR9KE-0005Ox-IY; Tue, 09 Jul 2024 07:48:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#72006] [PATCH] gnu: emacs-empv: Update to 4.3.0 revision 2. Resent-From: gemmaro Original-Sender: "Debbugs-submit" Resent-CC: andrew@trop.in, cox.katherine.e+guix@gmail.com, liliana.prikler@gmail.com, guix-patches@gnu.org Resent-Date: Tue, 09 Jul 2024 11:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 72006 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 72006@debbugs.gnu.org Cc: gemmaro , Andrew Tropin , Katherine Cox-Buday , Liliana Marie Prikler X-Debbugs-Original-To: guix-patches@gnu.org X-Debbugs-Original-Xcc: Andrew Tropin , Katherine Cox-Buday , Liliana Marie Prikler Received: via spool by submit@debbugs.gnu.org id=B.172052565620723 (code B ref -1); Tue, 09 Jul 2024 11:48:02 +0000 Received: (at submit) by debbugs.gnu.org; 9 Jul 2024 11:47:36 +0000 Received: from localhost ([127.0.0.1]:52249 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sR9Jo-0005OA-3x for submit@debbugs.gnu.org; Tue, 09 Jul 2024 07:47:36 -0400 Received: from lists.gnu.org ([209.51.188.17]:35616) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sR9Jl-0005O2-N2 for submit@debbugs.gnu.org; Tue, 09 Jul 2024 07:47:34 -0400 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 1sR9Jf-0000nX-4D for guix-patches@gnu.org; Tue, 09 Jul 2024 07:47:27 -0400 Received: from mail-pf1-x435.google.com ([2607:f8b0:4864:20::435]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sR9Jd-0005ky-Dx for guix-patches@gnu.org; Tue, 09 Jul 2024 07:47:26 -0400 Received: by mail-pf1-x435.google.com with SMTP id d2e1a72fcca58-70b09c2ade6so2519513b3a.3 for ; Tue, 09 Jul 2024 04:47:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1720525644; x=1721130444; darn=gnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=KwukxcEACoIcr6DuVv7aVzug1jWceAI+9OuXTbgYdZI=; b=YpXsHAOihJKdAbVOYNTShhYFvRjafaPtXtsr+Vyu5MxiFPV5+ychy2DmSg+3zjYKtW 0LNa45YTADi4xgM4U5mp0rXPxA8pgBJhDmF3z4BN/AowFu01aB+S/B2QvOusLeYbnUGJ hEGVt2IYKIepc7/rqQN2KbA8zIqK3pr2635O2C+66aRuhg3al5L2/ZCLwf8lu1FwQBWE pOnJ+Qeg741N30HHwHDzXRTKee6JeEwZDwOgT6hu4mhJ/zYvHTO+ctZ//uFX+3nKVBso sev1RZdfe1QJkfska1V63LM6+dMju4bU+n3RQDI4BH+QOiDkTpjDIz4Ju3juJ2zCkx1T efCA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720525644; x=1721130444; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=KwukxcEACoIcr6DuVv7aVzug1jWceAI+9OuXTbgYdZI=; b=JDdqODkMLgPiPa/a1iWkYB9Vt11rKvY14JWlOH8Uf2tes1WnFM6Sn0dekgECBwpCSq hRJzytL7RifZQvx9rigMjflGgEWT6pUopoYgJb/iMpRLItEIcQKdZvcSOrKsgDWQH0BQ x9PCHDVEvirt6pHGSSTjQ0II8295sHhPdn738C1M3vi4gdhIuoKeFehMN4FGaJg0h8zR 2qmKPkd4KoY/Cly20KhbRc+IxgVvZPm+FSnkIpCX7FHZm4SbpneHe9oKn3dk/ES0N43d Mgdg0/9BHnupsbNJRvuz6SSYYrdpI2SETC3MkKbRFhqFEe6VtINW99Q6fg364KQEjD0G kGxA== X-Gm-Message-State: AOJu0YyHRLWN2QsVUURmZGNVq2O8wR/ddRU+RyRh1AMmyCqhxkLOlJst UVHlk9wDUaq/h1e/W1w5UJdQWeyofT52OZ3vJC9ZVPBP/7UHFwbbMTDM1BK/ X-Google-Smtp-Source: AGHT+IH3zJWNrv5/99n+hWYDs3AmBQcQgS3mbifOPS25vjR2eqUhvNapr/EU8LmqAo/6UcK2G7oNdQ== X-Received: by 2002:a05:6a20:a11b:b0:1c2:8cf4:7664 with SMTP id adf61e73a8af0-1c2982438bfmr2571815637.31.1720525643733; Tue, 09 Jul 2024 04:47:23 -0700 (PDT) Received: from mac.gemmaro.name ([240f:74:d1f0:1:1883:f3d1:907f:a2e3]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2c99aa8d0b2sm9806127a91.48.2024.07.09.04.47.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Jul 2024 04:47:23 -0700 (PDT) From: gemmaro Date: Tue, 9 Jul 2024 20:46:23 +0900 Message-ID: <78593d86ffd76ef7f1f5fc5f5ab8a6e820acfad4.1720525583.git.gemmaro.dev@gmail.com> X-Mailer: git-send-email 2.45.2 MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::435; envelope-from=gemmaro.dev@gmail.com; helo=mail-pf1-x435.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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/emacs-xyz.scm (emacs-empv): Update to 4.3.0 revision 2. [arguments]: Add a phase to set default binaries for fd and mpv. [inputs]: Add fd and mpv. [propagated-inputs]: Add emacs-consult. Change-Id: I0e627d3b3ec3e5515ff7da9cd601713840e2a9c7 --- gnu/packages/emacs-xyz.scm | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) base-commit: 6b496c071537e399710ff5ec0284f74a44b66c71 prerequisite-patch-id: 7243f4196faacbbb69b65baecf49b488e4c8a910 diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 45225f2051..d7b25af21c 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -3751,7 +3751,7 @@ (define-public emacs-emprise (define-public emacs-empv (let ((commit "8cc9b0a425b6989d30f91bf90e9b09bd00581f07") - (revision "1")) + (revision "2")) (package (name "emacs-empv") (version (git-version "4.3.0" revision commit)) @@ -3766,7 +3766,16 @@ (define-public emacs-empv (base32 "06dphwj9vi39dbpif3kzp6azs80klh13s9l22a6ddz91kmds2myy")))) (build-system emacs-build-system) - (propagated-inputs (list emacs-compat emacs-s)) + (arguments + (list + #:phases #~(modify-phases %standard-phases + (add-after 'unpack 'set-default-binaries + (lambda* (#:key inputs #:allow-other-keys) + (emacs-substitute-variables "empv.el" + ("empv-fd-binary" (search-input-file inputs "/bin/fd")) + ("empv-mpv-binary" (search-input-file inputs "/bin/mpv")))))))) + (inputs (list fd mpv)) + (propagated-inputs (list emacs-compat emacs-consult emacs-s)) (home-page "https://github.com/isamert/empv.el") (synopsis "Emacs multimedia player, media library manager, YouTube frontend")