GNU bug report logs - #64864
[PATCH] gnu: Add emacs-sxiv.

Previous Next

Package: guix-patches;

Reported by: pinoaffe <pinoaffe <at> gmail.com>

Date: Tue, 25 Jul 2023 23:19:01 UTC

Severity: normal

Tags: patch

Done: Clément Lassieur <clement <at> lassieur.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: pinoaffe <pinoaffe <at> gmail.com>
Subject: bug#64864: closed (Re: bug#64864: [PATCH v2] gnu: Add emacs-sxiv.)
Date: Fri, 20 Oct 2023 16:32:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#64864: [PATCH] gnu: Add emacs-sxiv.

which was filed against the debbugs.gnu.org package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 64864 <at> debbugs.gnu.org.

-- 
64864: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=64864
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Clément Lassieur <clement <at> lassieur.org>
To: pinoaffe <pinoaffe <at> gmail.com>
Cc: 64864-done <at> debbugs.gnu.org
Subject: Re: bug#64864: [PATCH v2] gnu: Add emacs-sxiv.
Date: Fri, 20 Oct 2023 18:21:48 +0200
Hey,

Pushed with a small indentation change:

I ran `indent-region` and removed a space before "#:phases".

Thanks!

[Message part 3 (message/rfc822, inline)]
From: pinoaffe <pinoaffe <at> gmail.com>
Subject: [PATCH] gnu: Add emacs-sxiv.
Date: Tue, 25 Jul 2023 14:01:39 +0200
* gnu/packages/emacs-xyz.scm (emacs-sxiv): New variable.
---
 gnu/packages/emacs-xyz.scm | 33 ++++++++++++++++++++++++++++++++-
 1 file changed, 32 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index d7e45fffc6..cc350e4116 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -70,7 +70,7 @@
 ;;; Copyright © 2020 Jérémy Korwin-Zmijowski <jeremy <at> korwin-zmijowski.fr>
 ;;; Copyright © 2020 Alberto Eleuterio Flores Guerrero <barbanegra+guix <at> posteo.mx>
 ;;; Copyright © 2020 Marius Bakke <mbakke <at> fastmail.com>
-;;; Copyright © 2020, 2022 pinoaffe <pinoaffe <at> gmail.com>
+;;; Copyright © 2020, 2022, 2023 pinoaffe <pinoaffe <at> gmail.com>
 ;;; Copyright © 2020, 2021, 2022 Vinicius Monego <monego <at> posteo.net>
 ;;; Copyright © 2020 Ryan Desfosses <rdes <at> protonmail.com>
 ;;; Copyright © 2020 Marcin Karpezo <sirmacik <at> wioo.waw.pl>
@@ -207,6 +207,7 @@ (define-module (gnu packages emacs-xyz)
   #:use-module (gnu packages lesstif)
   #:use-module (gnu packages llvm)
   #:use-module (gnu packages image)
+  #:use-module (gnu packages image-viewers)
   #:use-module (gnu packages linux)
   #:use-module (gnu packages libevent)
   #:use-module (gnu packages lisp)
@@ -26431,6 +26432,36 @@ (define-public emacs-picpocket
 @end itemize")
       (license license:gpl3+))))
 
+(define-public emacs-sxiv
+  (package
+    (name "emacs-sxiv")
+    (version "0.4.1")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://tildegit.org/contrapunctus/sxiv")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "0gimq172pp143jckfhhyw319n3vpjvlkadm0vhypycas9i89mcg0"))))
+    (propagated-inputs (list sxiv emacs-dash))
+    (arguments
+     `( #:phases
+         (modify-phases %standard-phases
+           (add-after 'unpack 'set-sxiv-path
+             (lambda* (#:key inputs #:allow-other-keys)
+               (emacs-substitute-sexps "sxiv.el"
+                 (":command
+                  (append"
+                  `(list ,(string-append (assoc-ref inputs "sxiv")
+                                         "/bin/sxiv")))))))))
+    (build-system emacs-build-system)
+    (home-page "https://tildegit.org/contrapunctus/sxiv")
+    (synopsis "Launch sxiv from Emacs with Dired integration")
+    (description "")
+    (license license:unlicense)))
+
 (define-public emacs-mu4e-conversation
   (let ((commit "98110bb9c300fc9866dee8e0023355f9f79c9b96")
         (revision "5"))

base-commit: 005912c595bf7a3329f8aa51a4ccb1d91b6ecd9e
-- 
2.41.0




This bug report was last modified 1 year and 253 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.