Description: Use DPF files provided by Debian packages Author: IOhannes m zmölnig Origin: Debian Forwarded: not-needed Last-Update: 2026-09-24 --- This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ --- hvcc.orig/hvcc/generators/c2dpf/c2dpf.py +++ hvcc/hvcc/generators/c2dpf/c2dpf.py @@ -70,6 +70,11 @@ shutil.copytree(Path(Path(__file__).parent, "static"), out_dir) shutil.copy(Path(Path(__file__).parent, "static/README.md"), f'{out_dir}/../') + # copy over DPF infrastructure from Debian + dpf_source = Path("/usr/share/dpf") + if dpf_source.exists(): + shutil.copytree(dpf_source, f'{out_dir}/../dpf') + # copy over generated C source files source_dir = Path(out_dir, "source") shutil.copytree(c_src_dir, source_dir)