Skip to contentSkip to conversation

gst1-validate: disable building documentation using sphinx

PATCH New Arnout Vandecappelle (Essensium/Mind) 2 participants 2 messages Aug 12, 2017 – Aug 16, 2017

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 gst1-validate: disable building documentation using sphinx

From: Peter Seiderer <[email protected]>

Fix a build failure in case (a non functional) sphinx documentation system is installed on the host (reported [1] and fix tested [2] by grunpferd at netscape.net).

Fixes:

sphinx-build -b html -d ./doctrees . ./html
Error: Source directory doesn't contain a conf.py file.

[1] http://lists.busybox.net/pipermail/buildroot/2017-August/200021.html
[2] http://lists.busybox.net/pipermail/buildroot/2017-August/200267.html

Cc grunpferd at netscape.net

[Arnout:
- use --disable-sphinx-doc instead of a cv variable
- remove the comment, it speaks for itself]

---
 package/gstreamer1/gst1-validate/gst1-validate.mk | 2 ++
 1 file changed, 2 insertions(+)
package/gstreamer1/gst1-validate/gst1-validate.mk +2 -0
index c5e3ec6fc9..31b01ef5fa 100644
@@ -18,4 +18,6 @@ GST1_VALIDATE_DEPENDENCIES = \
 	python \
 	$(if $(BR2_PACKAGE_CAIRO),cairo)
 
+GST1_VALIDATE_CONF_OPTS += --disable-sphinx-doc
+
 $(eval $(autotools-package))
Signature · 1 line
2.13.3
#1 lore raw

PATCH v2 1/1 gst1-validate: disable building documentation using sphinx

Hello,

Quoted 16 lines · Arnout Vandecappelle (Essensium/Mind)

From: Peter Seiderer <[email protected]>

Fix a build failure in case (a non functional) sphinx documentation system is installed on the host (reported [1] and fix tested [2] by grunpferd at netscape.net).

Fixes:

sphinx-build -b html -d ./doctrees . ./html
Error: Source directory doesn't contain a conf.py file.

[1] http://lists.busybox.net/pipermail/buildroot/2017-August/200021.html
[2] http://lists.busybox.net/pipermail/buildroot/2017-August/200267.html

Cc grunpferd at netscape.net
Quoted 7 lines

[Arnout:
- use --disable-sphinx-doc instead of a cv variable
- remove the comment, it speaks for itself]

---
 package/gstreamer1/gst1-validate/gst1-validate.mk | 2 ++
 1 file changed, 2 insertions(+)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com