diff mbox series

[bug#64523] gnu: org-mode: Fix build for development version.

Message ID DM5PR03MB31636D482169CFCC122A615EC52DA@DM5PR03MB3163.namprd03.prod.outlook.com
State New
Headers show
Series [bug#64523] gnu: org-mode: Fix build for development version. | expand

Commit Message

Morgan Smith July 7, 2023, 8:21 p.m. UTC
This fixes "guix build emacs-org --with-branch=emacs-org=main".  Or at least
it will once they fix the recently broken indentation test.

* gnu/packages/emacs-xyz.scm (org-mode) [phases] <fix-tests>: Make all files
in examples directory writable instead of being very specific.
---

I'm sneakng in a copyright fix for me here as well.  Hope that's ok.  I did
non-trivial changes to this file in 2022 and 2023.

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

--
2.40.1

Comments

Morgan Smith July 10, 2023, 10:40 p.m. UTC | #1
Morgan Smith <Morgan.J.Smith@outlook.com> writes:

> This fixes "guix build emacs-org --with-branch=emacs-org=main".  Or at least
> it will once they fix the recently broken indentation test.

Update: they have fixed the indentation test
diff mbox series

Patch

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index dbe736e56e..fc1a6ec8de 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -76,7 +76,7 @@ 
 ;;; Copyright © 2020 Marcin Karpezo <sirmacik@wioo.waw.pl>
 ;;; Copyright © 2020, 2022 Fredrik Salomonsson <plattfot@posteo.net>
 ;;; Copyright © 2020 Eric Bavier <bavier@posteo.net>
-;;; Copyright © 2020, 2021 Morgan Smith <Morgan.J.Smith@outlook.com>
+;;; Copyright © 2020-2023 Morgan Smith <Morgan.J.Smith@outlook.com>
 ;;; Copyright © 2020 Peng Mei Yu <i@pengmeiyu.com>
 ;;; Copyright © 2020, 2021, 2022 Niklas Eklund <niklas.eklund@posteo.net>
 ;;; Copyright © 2020 Marco Grassi <marco.au.grassi98@protonmail.com>
@@ -15728,11 +15728,8 @@  (define-public emacs-org
               ;; These files are modified during testing.
               (with-directory-excursion "testing/examples"
                 (for-each make-file-writable
-                          '("babel.org"
-                            "ob-awk-test.org"
-                            "ob-sed-test.org"
-                            "ob-shell-test.org"))
+                          (find-files "."))
                 ;; Specify where sh executable is.
                 (let ((sh (search-input-file inputs "/bin/sh")))
                   (substitute* "babel.org"