All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 1/6] alsa-utils: build more manpages with rst2man
@ 2026-01-09 13:58 Ross Burton
  2026-01-09 13:58 ` [PATCH v2 2/6] alsa-utils: no need to install scripts manually Ross Burton
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Ross Burton @ 2026-01-09 13:58 UTC (permalink / raw)
  To: openembedded-core

alsa-utils uses both xmlto and rst2man (from docutils) to build manpages,
but we were only enabling xmlto.  Enable/disable both xmlto and rst2man
depending on whether manpages are being requested.

Signed-off-by: Ross Burton <ross.burton@arm.com>
---
 meta/recipes-multimedia/alsa/alsa-utils_1.2.15.1.bb | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/meta/recipes-multimedia/alsa/alsa-utils_1.2.15.1.bb b/meta/recipes-multimedia/alsa/alsa-utils_1.2.15.1.bb
index dad5478f39..e231acbfc0 100644
--- a/meta/recipes-multimedia/alsa/alsa-utils_1.2.15.1.bb
+++ b/meta/recipes-multimedia/alsa/alsa-utils_1.2.15.1.bb
@@ -21,18 +21,12 @@ PACKAGECONFIG ??= "udev"
 PACKAGECONFIG[bat] = "--enable-bat,--disable-bat,fftwf"
 
 PACKAGECONFIG[udev] = "--with-udev-rules-dir=`pkg-config --variable=udevdir udev`/rules.d,--with-udev-rules-dir=/unwanted/rules.d,udev"
-PACKAGECONFIG[manpages] = "--enable-xmlto, --disable-xmlto, xmlto-native docbook-xml-dtd4-native docbook-xsl-stylesheets-native"
+PACKAGECONFIG[manpages] = "--enable-rst2man --enable-xmlto, --disable-rst2man --disable-xmlto, python3-docutils-native xmlto-native docbook-xml-dtd4-native docbook-xsl-stylesheets-native"
 
 # alsa-utils specified in SRC_URI due to alsa-utils-scripts recipe
 SRC_URI = "https://www.alsa-project.org/files/pub/utils/alsa-utils-${PV}.tar.bz2"
 SRC_URI[sha256sum] = "5ad79f349e59c30c9a4929ad4995ebee33267473e0e632d7c1a30e2b093d3327"
 
-# On build machines with python-docutils (not python3-docutils !!) installed
-# rst2man (not rst2man.py) is detected and compile fails with
-# | make[1]: *** No rule to make target 'alsaucm.1', needed by 'all-am'.  Stop.
-# Avoid this by disabling expicitly
-EXTRA_OECONF = "--disable-rst2man"
-
 inherit autotools gettext pkgconfig manpages
 
 # This are all packages that we need to make. Also, the now empty alsa-utils
-- 
2.43.0



^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2026-01-09 16:17 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-09 13:58 [PATCH v2 1/6] alsa-utils: build more manpages with rst2man Ross Burton
2026-01-09 13:58 ` [PATCH v2 2/6] alsa-utils: no need to install scripts manually Ross Burton
2026-01-09 13:58 ` [PATCH v2 3/6] alsa-utils: clean up udev PACKAGECONFIG Ross Burton
2026-01-09 13:58 ` [PATCH v2 4/6] alsa-utils: dynamically split the packages instead of doing it manually Ross Burton
2026-01-09 13:58 ` [PATCH v2 5/6] alsa-utils: reorder recipe Ross Burton
2026-01-09 13:58 ` [PATCH v2 6/6] pulseaudio: depend on alsa-utils-alsa-info as that is the new package name Ross Burton
2026-01-09 16:16 ` [OE-core] [PATCH v2 1/6] alsa-utils: build more manpages with rst2man Antonin Godard

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.