public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Ulrich Müller" <ulm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emacs/org-mode/files/, app-emacs/org-mode/
Date: Wed, 22 Dec 2021 08:41:17 +0000 (UTC)	[thread overview]
Message-ID: <1640162462.1c908871e0a615a3a4ce3e21dabfa5c1b1712011.ulm@gentoo> (raw)

commit:     1c908871e0a615a3a4ce3e21dabfa5c1b1712011
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Wed Dec 22 08:39:02 2021 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Wed Dec 22 08:41:02 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c908871

app-emacs/org-mode: Fix parallel build failure

Closes: https://bugs.gentoo.org/829055
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>

 .../files/org-mode-9.5-parallel-make.patch         | 73 ++++++++++++++++++++++
 app-emacs/org-mode/org-mode-9.5.ebuild             |  2 +
 2 files changed, 75 insertions(+)

diff --git a/app-emacs/org-mode/files/org-mode-9.5-parallel-make.patch b/app-emacs/org-mode/files/org-mode-9.5-parallel-make.patch
new file mode 100644
index 000000000000..92ff5d3182f8
--- /dev/null
+++ b/app-emacs/org-mode/files/org-mode-9.5-parallel-make.patch
@@ -0,0 +1,73 @@
+https://bugs.gentoo.org/829055
+
+From b6c5f028a061557e2edb64eef897cd4a28b2afeb Mon Sep 17 00:00:00 2001
+From: Marco Wahl <marcowahlsoft@gmail.com>
+Date: Mon, 20 Dec 2021 22:27:50 +0100
+Subject: [PATCH] Fix parallel make of docs
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+* doc/Makefile: Split multiple target "org.texi orgguide.texi".
+* mk/org-fixup.el (org-make-manual, org-make-guide):  New functions.
+  (org-make-manuals): Make obsolete.
+
+Reported by Ulrich Müller.  https://list.orgmode.org/uee67gr96@gentoo.org/
+---
+ doc/Makefile    | 10 ++++++++--
+ mk/org-fixup.el | 15 +++++++++++++++
+ 2 files changed, 23 insertions(+), 2 deletions(-)
+
+diff --git a/doc/Makefile b/doc/Makefile
+index 7fb96e65d..cb6d72bdc 100644
+--- a/doc/Makefile
++++ b/doc/Makefile
+@@ -27,11 +27,17 @@ guide::		orgguide.texi org-version.inc
+ 	../mk/guidesplit.pl $@/*
+ endif
+ 
+-org.texi orgguide.texi:	org-manual.org org-guide.org
++org.texi:	org-manual.org
+ 	$(BATCH) 				      \
+ 	  --eval '(add-to-list `load-path "../lisp")' \
+ 	  --eval '(load "../mk/org-fixup.el")' 	      \
+-	  --eval '(org-make-manuals)'
++	  --eval '(org-make-manual)'
++
++orgguide.texi:	org-guide.org
++	$(BATCH) 				      \
++	  --eval '(add-to-list `load-path "../lisp")' \
++	  --eval '(load "../mk/org-fixup.el")' 	      \
++	  --eval '(org-make-guide)'
+ 
+ org-version.inc:	org.texi
+ 	@echo "org-version: $(ORGVERSION) ($(GITVERSION))"
+diff --git a/mk/org-fixup.el b/mk/org-fixup.el
+index c0eef23cb..0e26cc7e7 100644
+--- a/mk/org-fixup.el
++++ b/mk/org-fixup.el
+@@ -27,6 +27,21 @@
+ (require 'autoload)
+ (require 'org-compat "org-compat.el")
+ 
++(defun org-make-manual ()
++  "Generate the Texinfo file out of the Org manual."
++  (require 'ox-texinfo)
++  (find-file "../doc/org-manual.org")
++  (org-texinfo-export-to-texinfo))
++
++(defun org-make-guide ()
++  "Generate the Texinfo file out of the Org guide."
++  (require 'ox-texinfo)
++  (find-file "../doc/org-guide.org")
++  (org-texinfo-export-to-texinfo))
++
++(make-obsolete 'org-make-manuals
++               "use org-make-manual and org-make-guide."
++               "9.6")
+ (defun org-make-manuals ()
+   "Generate the Texinfo files out of Org manuals."
+   (require 'ox-texinfo)
+-- 
+2.34.1
+

diff --git a/app-emacs/org-mode/org-mode-9.5.ebuild b/app-emacs/org-mode/org-mode-9.5.ebuild
index d4f4644be22f..064ab2444a98 100644
--- a/app-emacs/org-mode/org-mode-9.5.ebuild
+++ b/app-emacs/org-mode/org-mode-9.5.ebuild
@@ -22,6 +22,8 @@ BDEPEND="doc? ( virtual/texi2dvi )"
 
 SITEFILE="50${PN}-gentoo.el"
 
+PATCHES=("${FILESDIR}/${P}-parallel-make.patch")
+
 src_compile() {
 	emake datadir="${EPREFIX}${SITEETC}/${PN}"
 	use doc && emake pdf card


             reply	other threads:[~2021-12-22  8:41 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-22  8:41 Ulrich Müller [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-02-13 22:40 [gentoo-commits] repo/gentoo:master commit in: app-emacs/org-mode/files/, app-emacs/org-mode/ Ulrich Müller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1640162462.1c908871e0a615a3a4ce3e21dabfa5c1b1712011.ulm@gentoo \
    --to=ulm@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox