src:

https://www.cinelerra-gg.org/bugtracker/view.php?id=646

=====
I made two customizations: "--disable-doc" to keep the build from
crashing is adding "AC_CONFIG_MACRO_DIRS([m4])" in configure.ac
otherwise autogen.sh doesn't work. The second one has been years in
the making.
====

I just re-run autogen.sh after first patch, second one is untested yet
(need full rebuild for this, rn I have shared (system) ffmpeg build
for recompilation speeeeed.
From 2eb4bc327e2254de19986c6a8d46267c0784f6b8 Mon Sep 17 00:00:00 2001
From: Andrew Randrianasulu <[email protected]>
Date: Mon, 20 Nov 2023 22:05:22 +0300
Subject: [PATCH 1/2] Add AC_CONFIG_MACRO_DIRS([m4]) for configure.ac to fix
 Andrea's Arch

---
 cinelerra-5.1/configure.ac | 1 +
 1 file changed, 1 insertion(+)

diff --git a/cinelerra-5.1/configure.ac b/cinelerra-5.1/configure.ac
index f0a87279..4814f8b8 100644
--- a/cinelerra-5.1/configure.ac
+++ b/cinelerra-5.1/configure.ac
@@ -5,6 +5,7 @@ AC_INIT([cinelerra],[5.1],[[email protected]])
 # Put autogenerated stuff in subdir m4, which must be created
 # externally. This macro must be set before calling AC_INIT_AUTOMAKE
 AC_CONFIG_AUX_DIR(m4)
+AC_CONFIG_MACRO_DIRS([m4])
 AM_INIT_AUTOMAKE([foreign])
 LT_INIT()
 
-- 
2.35.7

From 53dea515ec88f55772c061549e2f13f2542924c3 Mon Sep 17 00:00:00 2001
From: Andrew Randrianasulu <[email protected]>
Date: Mon, 20 Nov 2023 22:06:49 +0300
Subject: [PATCH 2/2] Disable ffmpeg's documentation generation

---
 cinelerra-5.1/thirdparty/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/cinelerra-5.1/thirdparty/Makefile b/cinelerra-5.1/thirdparty/Makefile
index 659ab3fe..8c7aaf91 100644
--- a/cinelerra-5.1/thirdparty/Makefile
+++ b/cinelerra-5.1/thirdparty/Makefile
@@ -132,6 +132,7 @@ fftw.cfg_params= --disable-fortran --enable-shared=no
 ffmpeg.cfg_vars?= PKG_CONFIG_PATH="$(call bld_path,libwebp)/usr/local/lib/pkgconfig"
 ffmpeg.cfg_params= \
 	--enable-pthreads --disable-avdevice --enable-gpl --disable-ffplay \
+	--disable-doc \
 	$(call if_want,VAAPI,--enable-vaapi,--disable-vaapi) \
 	$(call if_want,VDPAU,--enable-vdpau,--disable-vdpau) \
 	$(call if_want,NV, --enable-nvenc --enable-nvdec --enable-ffnvcodec) \
-- 
2.35.7

-- 
Cin mailing list
[email protected]
https://lists.cinelerra-gg.org/mailman/listinfo/cin

Reply via email to