* [wrynose][PATCH 1/2] flac: fix buildpaths with doxygen enabled
@ 2026-07-15 21:02 Peter Marko
2026-07-15 21:02 ` [wrynose][PATCH 2/2] flac: make documentation build deterministic Peter Marko
0 siblings, 1 reply; 2+ messages in thread
From: Peter Marko @ 2026-07-15 21:02 UTC (permalink / raw)
To: openembedded-core; +Cc: Peter Marko
From: Peter Marko <peter.marko@siemens.com>
When documentation is built, buildpaths errors occur.
There is one path to S and one to UNPACKDIR.
We can have a single sed rule to fix both.
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(From OE-Core rev: 9905d3d66c13045e2c422a36cafc8ce11db37c01)
Signed-off-by: Peter Marko <peter.marko@siemens.com>
---
meta/recipes-multimedia/flac/flac_1.5.0.bb | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/meta/recipes-multimedia/flac/flac_1.5.0.bb b/meta/recipes-multimedia/flac/flac_1.5.0.bb
index 2f43b4e84b..a667ea9f62 100644
--- a/meta/recipes-multimedia/flac/flac_1.5.0.bb
+++ b/meta/recipes-multimedia/flac/flac_1.5.0.bb
@@ -44,6 +44,6 @@ FILES:libflac++ = "${libdir}/libFLAC++.so.*"
do_install:append() {
# make the links in documentation relative to avoid buildpaths reproducibility problem
sed -i "s#${S}/include#${includedir}#g" ${D}${docdir}/flac/FLAC.tag ${D}${docdir}/flac/api/*.html
- # there is also one root path without trailing slash
- sed -i "s#${S}#/#g" ${D}${docdir}/flac/api/*.html
+ # there are also some root paths in API titles
+ sed -i "s#${UNPACKDIR}#sources#g" ${D}${docdir}/flac/api/*.html
}
^ permalink raw reply related [flat|nested] 2+ messages in thread* [wrynose][PATCH 2/2] flac: make documentation build deterministic
2026-07-15 21:02 [wrynose][PATCH 1/2] flac: fix buildpaths with doxygen enabled Peter Marko
@ 2026-07-15 21:02 ` Peter Marko
0 siblings, 0 replies; 2+ messages in thread
From: Peter Marko @ 2026-07-15 21:02 UTC (permalink / raw)
To: openembedded-core; +Cc: Peter Marko
From: Peter Marko <peter.marko@siemens.com>
doxygen is autodetected (e.g. from HOSTTOOLS or a transient dependency).
Add a knob to make it deterministic when the documentation is being built.
Keep it disabled by default to preserve current default behavior.
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(From OE-Core rev: facd4a7561f9e4c8b4b36329115634a586a0f7e1)
Signed-off-by: Peter Marko <peter.marko@siemens.com>
---
meta/recipes-multimedia/flac/flac_1.5.0.bb | 1 +
1 file changed, 1 insertion(+)
diff --git a/meta/recipes-multimedia/flac/flac_1.5.0.bb b/meta/recipes-multimedia/flac/flac_1.5.0.bb
index a667ea9f62..d55e157a9d 100644
--- a/meta/recipes-multimedia/flac/flac_1.5.0.bb
+++ b/meta/recipes-multimedia/flac/flac_1.5.0.bb
@@ -34,6 +34,7 @@ PACKAGECONFIG ??= " \
ogg \
"
PACKAGECONFIG[avx] = "--enable-avx,--disable-avx"
+PACKAGECONFIG[doxygen-docs] = "--enable-doxygen-docs,--disable-doxygen-docs,doxygen-native"
PACKAGECONFIG[ogg] = "--enable-ogg --with-ogg=${STAGING_DIR_HOST},--disable-ogg,libogg"
PACKAGES += "libflac libflac++"
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-07-15 21:03 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-15 21:02 [wrynose][PATCH 1/2] flac: fix buildpaths with doxygen enabled Peter Marko
2026-07-15 21:02 ` [wrynose][PATCH 2/2] flac: make documentation build deterministic Peter Marko
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox