From patchwork Fri Jul 7 14:13:54 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ahmad Draidi X-Patchwork-Id: 51619 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 13F3D27BBE9; Fri, 7 Jul 2023 15:15:10 +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_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable 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 468EF27BBE2 for ; Fri, 7 Jul 2023 15:15:08 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qHmEj-0000Iy-AV; Fri, 07 Jul 2023 10:15:05 -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 1qHmEh-0000Ii-97 for guix-patches@gnu.org; Fri, 07 Jul 2023 10:15:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qHmEh-0004Tc-0V for guix-patches@gnu.org; Fri, 07 Jul 2023 10:15:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qHmEg-0005yB-9w; Fri, 07 Jul 2023 10:15:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#64511] [PATCH] gnu: emacs-undo-fu-session: Update to 0.6-0.a6c4f73. Resent-From: Ahmad Draidi Original-Sender: "Debbugs-submit" Resent-CC: andrew@trop.in, liliana.prikler@gmail.com, guix-patches@gnu.org Resent-Date: Fri, 07 Jul 2023 14:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 64511 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 64511@debbugs.gnu.org Cc: Ahmad Draidi , Andrew Tropin , Liliana Marie Prikler X-Debbugs-Original-To: guix-patches@gnu.org X-Debbugs-Original-Xcc: Andrew Tropin , Liliana Marie Prikler Received: via spool by submit@debbugs.gnu.org id=B.168873925922867 (code B ref -1); Fri, 07 Jul 2023 14:15:02 +0000 Received: (at submit) by debbugs.gnu.org; 7 Jul 2023 14:14:19 +0000 Received: from localhost ([127.0.0.1]:43558 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qHmDz-0005wk-4p for submit@debbugs.gnu.org; Fri, 07 Jul 2023 10:14:19 -0400 Received: from lists.gnu.org ([209.51.188.17]:37902) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qHmDv-0005wb-Im for submit@debbugs.gnu.org; Fri, 07 Jul 2023 10:14:17 -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 1qHmDv-00008b-AR for guix-patches@gnu.org; Fri, 07 Jul 2023 10:14:15 -0400 Received: from rainycloud.ext.redscript.org ([103.105.48.212]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qHmDs-0004B1-Dv for guix-patches@gnu.org; Fri, 07 Jul 2023 10:14:15 -0400 Received: from localhost.localdomain (bba-2-49-241-172.alshamil.net.ae [2.49.241.172]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by rainycloud.ext.redscript.org (Postfix) with ESMTPSA id E05343CF1; Fri, 7 Jul 2023 14:14:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redscript.org; s=mail1-rsa; t=1688739247; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=uWbCgYAqcuGR0HXcLalIz8LLqoikimndkSh8usD8lS0=; b=rDFFogEKG/GCpldkn3SoIBcouV9nmGXJcYzZ3rXg6MOCYGXAu0WJqDaJgvXR47m7v+rYgw dcy3E3lnjDe8KDyNgodCHEXv2wOOoM2sJLFmcsLNQfWWEl9syjRNK86nhfdtwSX9aGiwIf iq+M50DM0b/t4gruwAsuzMr2w1NrMjeFBFgDDapsV37B/hfP0IUXXtvoo6bsiKg8invY2e bPEBHtHdNyAyPOLnuH+5Uc/POV2/KeroMP65wDPA/GcescAjnulkaUBpKno+pPE7mHeVAm yIgiMfGmwXfOGOzVx4xH6ziTY7LOAhAEFM6HxnL8BJ3BZjf79XW02EVRG4vbjMiiHCR/4u P0jbeYww8ReVWlJq0IC3P/oyT7MoFhOWBqBGkSRezAOOihgnuA2Qxurs7JMlkmCOsGCpPW LgCOzGlutuHjZKTwSRbbgasBrK3O2xCA/YyZKbU963LP6szrnjrmkZHuO3vTG5i9oHbP3l 2fgaj0KIVWrJeT8o1Jac2Vup9chHq9kFG5b5ThXl0qm8/YrovEa1eyox/uN0+QxlzMFe4X 1nII3zd7grNmRt1aShatZLLlBN9bYYwb2OmtfyYLiKYdRyKJe4epxt50rUvd4iAVzlQXf0 cdAJ43tgZQmAy0tU02P0r6EW4ydooqvHuv+xCq+s78clHx9pOM7JQ= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=redscript.org; s=mail1-ed25519; t=1688739247; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=uWbCgYAqcuGR0HXcLalIz8LLqoikimndkSh8usD8lS0=; b=Q1Cu7D8TMzMEwdQw9ZO7U2IpFUlZaT15sG96b/mmmmUmdpSA6uVxkGPAetxmg7inxGH3oL GP6U9B4t4zWbvMAg== Date: Fri, 7 Jul 2023 18:13:54 +0400 Message-Id: <859136654c2210e89c432c941cfae8acd9082865.1688739200.git.a.r.draidi@redscript.org> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 Received-SPF: pass client-ip=103.105.48.212; envelope-from=a.r.draidi@redscript.org; helo=rainycloud.ext.redscript.org 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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: , Reply-to: Ahmad Draidi X-ACL-Warn: , Ahmad Draidi via Guix-patches X-Patchwork-Original-From: Ahmad Draidi via Guix-patches via From: Ahmad Draidi 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-undo-fu-session): Update to 0.6-0.a6c4f73. [source]: Download from new upstream URL. [arguments]: Update #:test-command. Fix tests by adding '--eval (setq undo-fu-session-ignore-temp-files nil)' to #:test-command. [home-page]: Use new home-page. --- gnu/packages/emacs-xyz.scm | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) base-commit: fcfdb8f05ed0228ede47e9d2a0de5b05b09dd7be diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 21aa820f0b..186eaf59a7 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -5508,34 +5508,38 @@ (define-public emacs-undo-fu (license license:gpl3+)))) (define-public emacs-undo-fu-session - ;; There are no tagged releases upstream on gitlab, instead we are using the + ;; There are no tagged releases upstream, instead we are using the ;; most recent commit. - (let ((commit "56cdd3538a058c6916bdf2d9010c2179f2505829") + (let ((commit "a6c4f73bc22401fd36e0f2fd4fe058bb28566d84") (revision "0")) (package (name "emacs-undo-fu-session") - (version (git-version "0.2" revision commit)) + (version (git-version "0.6" revision commit)) (source (origin (method git-fetch) (uri (git-reference - (url "https://gitlab.com/ideasman42/emacs-undo-fu-session") + (url "https://codeberg.org/ideasman42/emacs-undo-fu-session") (commit commit))) (file-name (git-file-name name version)) (sha256 - (base32 "04wq1alrzzlidcb4mjb5j7pg68pks1vgv7kvvmi6dzb3l602mb2a")))) + (base32 "03pb88bi5z4f01972jbk9z6w9iqamqflfp20mih29ghvbiyn6ahj")))) (build-system emacs-build-system) (arguments (list #:tests? #t - #:test-command #~(list "emacs" "--batch" "-l" "undo-fu-session.el" - "-l" "undo-fu-session-test.el") + ;; The tests require temp files handling which a recent change disabled + ;; by default. We re-enable it here to make tests work again. + #:test-command #~(list "emacs" "--batch" "--eval" + "(setq undo-fu-session-ignore-temp-files nil)" + "-l" "tests/undo-fu-session-test.el" + "-f" "undo-fu-session-test-run-all") #:phases #~(modify-phases %standard-phases (add-before 'check 'set-home (lambda _ (setenv "HOME" "/tmp")))))) - (home-page "https://gitlab.com/ideasman42/emacs-undo-fu-session") + (home-page "https://codeberg.org/ideasman42/emacs-undo-fu-session") (synopsis "Save & recover undo steps between Emacs sessions") (description "This package writes undo/redo information upon file save which is restored where possible when the file is loaded again.")