2 Commits

Author SHA1 Message Date
Khem Raj 4b9bbc226c hotdoc: also drop verbose=1 from spawn.spawn() in setup.py patch
Newer setuptools/distutils' spawn() forwards **kwargs directly to
subprocess.check_call(), which does not accept a verbose argument,
causing do_compile to fail with:

  TypeError: Popen.__init__() got an unexpected keyword argument 'verbose'

Extend the existing 0004 patch, which already touches this exact
spawn.spawn() call for the --noline buildpaths fix, to also drop the
now-incompatible verbose=1 keyword.

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-08-13 23:09:51 -07:00
Liu Yiding 6efa5edcf2 hotdoc : Add new recipe
1. Backport following patch to solve build and runtime issue
  0001-c_comment_scanner-fix-function-prototypes.patch
  0002-avoid-third-party-backports-dependency-on-sufficient.patch
  0003-CMake-4-compatibility.patch

2. Add do_configure:prepend() to solve buildpaths QA check
  do_package_qa: QA Issue: File /usr/lib/python3.14/site-packages/hotdoc/parsers/cmark.cpython-314-x86_64-linux-gnu.so in package hotdoc contains reference to TMPDIR [buildpaths]

3. Add 0004-Use-flex-with-noline-option-to-prevent.patch to solve buildpaths QA check
  do_package_qa:QA Issue: File /usr/src/debug/hotdoc/0.17.4/hotdoc/parsers/c_comment_scanner/scanner.c in package hotdoc-src contains reference to TMPDIR [buildpaths]

4. Add clang as RDEPENDS for following reason
  Hotdoc has some Extensions including c-Extension.
  The c-Extension needs llvm and clang in runtime as introduced in doc of hotdoc.
  https://hotdoc.github.io/c-extension.html#c-extension
  "The extension uses Clang to build and walk an AST from the source code"

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2026-02-16 00:34:04 -08:00