Subject: [bug#78710] [PATCH emacs-team] gnu: emacs-osm: Update to 1.7.

From: Cayetano Santos <[email-masked]>
Date: Fri, 6 Jun 2025 11:27:07 +0200

* gnu/packages/emacs-xyz.scm (emacs-osm): Update to 1.7.
[arguments]<#:phases>{makeinfo}: Execute after unpack and remove install-file.

Change-Id: Ia14d013f771da02f25cef956e0d140c21435fe43
---

Install-file is not necessary, as the build system takes care of moving the info file.

 gnu/packages/emacs-xyz.scm | 11 ++++-------
 1 file changed, 4 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 5f285d0761..7b49e52c17 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -43187,7 +43187,7 @@ (define-public emacs-straight-el
 (define-public emacs-osm
   (package
     (name "emacs-osm")
-    (version "1.6")
+    (version "1.7")
     (source (origin
               (method git-fetch)
               (uri (git-reference
@@ -43196,7 +43196,7 @@ (define-public emacs-osm
               (file-name (git-file-name name version))
               (sha256
                (base32
-                "078dd89jyz51755adrxm90ka0kvmgmm5h2w2c9f0986g3jmb9daq"))))
+                "0fw0hgi2542ivc05dbq07ybr8c2mf8ja0z3f07lnslvn7vn5xp9i"))))
     (build-system emacs-build-system)
     (arguments
      (list #:phases #~(modify-phases %standard-phases
@@ -43208,17 +43208,14 @@ (define-public emacs-osm
                                               (search-input-file inputs
                                                                  "/bin/curl")
                                               space "\"")))))
-                        (add-after 'install 'makeinfo
+                        (add-after 'unpack 'makeinfo
                           (lambda _
                             (invoke "emacs"
                              "--batch"
                              "--eval=(require 'ox-texinfo)"
                              "--eval=(setq org-export-with-broken-links t)"
                              "--eval=(find-file \"README.org\")"
-                             "--eval=(org-texinfo-export-to-info)")
-                            (install-file "osm.info"
-                                          (string-append #$output
-                                                         "/share/info")))))))
+                             "--eval=(org-texinfo-export-to-info)"))))))
     (inputs (list curl))
     (native-inputs (list texinfo))
     (propagated-inputs (list emacs-compat))

base-commit: 60e332adae600e230efb76e4027b764e3ae2c7dc
--
2.49.0