From: IOhannes m zmölnig (Debian/GNU) Date: Wed, 1 Sep 2021 15:26:31 +0000 (+0200) Subject: Make documentation reproducible X-Git-Tag: archive/raspbian/6.1.5_ds0-1+rpi1^2~57 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=3987ecfea156a262cdc21233551ef139b627948d;p=juce.git Make documentation reproducible --- diff --git a/debian/patches/debian_python3-doxygen.patch b/debian/patches/debian_python3-doxygen.patch new file mode 100644 index 00000000..87e4dbcc --- /dev/null +++ b/debian/patches/debian_python3-doxygen.patch @@ -0,0 +1,35 @@ +From: =?utf-8?q?IOhannes_m_zm=C3=B6lnig?= +Date: Sat, 10 Feb 2018 00:00:00 +0100 +Subject: Doc build fixes + + use Python3 rather than Python2 + make docs reproducible +Forwarded: no +--- + docs/doxygen/Makefile | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +--- juce.orig/docs/doxygen/Makefile ++++ juce/docs/doxygen/Makefile +@@ -8,7 +8,7 @@ + doxygen + + build/juce_modules.dox: process_source_files.py $(SOURCE_FILES) +- python $< ../../modules build ++ python3 $< ../../modules build + + clean: + rm -rf build doc +--- juce.orig/docs/doxygen/Doxyfile ++++ juce/docs/doxygen/Doxyfile +@@ -801,9 +801,7 @@ + # spaces. See also FILE_PATTERNS and EXTENSION_MAPPING + # Note: If this tag is empty the current directory is searched. + +-INPUT = build \ +- "../JUCE Module Format.md" \ +- "../CMake API.md" ++INPUT = build + + # This tag can be used to specify the character encoding of the source files + # that doxygen parses. Internally doxygen uses the UTF-8 encoding. Doxygen uses diff --git a/debian/patches/debian_python3.patch b/debian/patches/debian_python3.patch deleted file mode 100644 index 5d47356a..00000000 --- a/debian/patches/debian_python3.patch +++ /dev/null @@ -1,21 +0,0 @@ -From: =?utf-8?q?IOhannes_m_zm=C3=B6lnig?= -Date: Sat, 10 Feb 2018 00:00:00 +0100 -Subject: use Python3 rather than Python2 - - for building the documentation -Forwarded: no ---- - docs/doxygen/Makefile | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - ---- juce.orig/docs/doxygen/Makefile -+++ juce/docs/doxygen/Makefile -@@ -8,7 +8,7 @@ - doxygen - - build/juce_modules.dox: process_source_files.py $(SOURCE_FILES) -- python $< ../../modules build -+ python3 $< ../../modules build - - clean: - rm -rf build doc diff --git a/debian/patches/series b/debian/patches/series index c1d3c359..442a4dca 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -2,7 +2,7 @@ LV2-audioprocessor.patch debian_fixed-defines.patch debian_no-update-check.patch debian_system_modules.patch -debian_python3.patch +debian_python3-doxygen.patch debian_unittests_globalpaths.patch debian_vst.patch debian_link_systemlibs.patch diff --git a/debian/rules b/debian/rules index 06273b6d..fe66d0e0 100755 --- a/debian/rules +++ b/debian/rules @@ -57,6 +57,8 @@ override_dh_auto_build-arch: > $(DEBIAN_BUILD_ARTIFACTS)/Projucer.1 override_dh_auto_build-indep: + mkdir -p docs/doxygen/build + cp docs/JUCE*.md docs/CMake*.md docs/doxygen/build/ make -C docs/doxygen override_dh_auto_install-arch: