this time hopefully with whitespace errors fixed<div><br></div><div><br></div><div>$ git am --whitespace=fix megapile_8/*</div><div>Applying: ffmpeg 4.4 bluray lpcm encoder</div><div>Applying: Fix ffmpeg 4.4 bluray lpcm patch for 5.1 ?</div><div>Applying: Add simple m2ts lpcm profile</div><div>Applying: Improve truehd decoder/encoder from ffmpeg.git</div><div>Applying: EXPERIMENT: update bdwrite for lpcm/hevc</div><div>Applying: EXPERIMENTAL: add variable chapter interval to bdwrite</div><div>Applying: EXPERIMENTAL: add bd_profile array to bdcreate.C (so in future we can diff between encoders)</div><div>Applying: EXPERIMENTAL: bdcreate: add m2ts profiles, part 1</div><div>Applying: Fix bdcreate.C layout</div><div>Applying: EXPERIMENTAL: attempt to get value from popuptextbox</div><div>Applying: Rename m2ts_pcm.m2ts to bluray_lpcm.m2ts</div><div>Applying: truehd experimental bluray profile</div><div>Applying: EXPERIMENTAL: add truehd audio profile for bdcreate.C</div><div>Applying: EXPERIMENTAL: add tsmuxer checkbox</div><div>Applying: EXPERIMENTAL: fix layout in bdcreate after tsmuxer checkbox</div><div>Applying: NOT YET</div><div>Applying: EXPERIMENTAL: shell script run tsmuxer conditionally on bd.meta, bd.meta conditionally written on gui var</div><div>Applying: Attempt at fixing bdwrite (stream_type/coding_type confusion)</div><div>Applying: EXPERIMENTAL: attempt at fixing bdwrite on Android after my changes, still crash</div><div>Applying: EXPERIMENTAL: real fix for bdwrite?</div><div>Applying: EXPERIMENTAL: try to add lpcm to tsmuxer meta file</div><div>Applying: EXPERIMENTAL: really fix audio names fir tsmuxer meta?</div><div>Applying: mem and resource leaks in indexfile/indextate (cppcheck)</div><div>Applying: cppcheck in cursor.C</div><div>Applying: cppcheck in resourcepixmap.C</div><div>Applying: Add objrem target for thirdparty/Makefile, removes only .o objs</div><div>Applying: Freebsd 13 conditional include in exportedl.C</div><div>Applying: fileexr forward port (openexr 3)</div><div>Applying: filegif addition of nearly all quntize.c from giflib dist, needed on freebsd/external giflib > 5.1.9</div><div>Applying: unsigned long cast for freebsd in bctrace.C</div><div>Applying: dirent64 and readdir64 aliases for freebsd in guicast/filesystem.h</div><div>Applying: realtime prio only on linux and termux for now</div><div>Applying: freebsd includes in plugins/titler</div><div>Applying: freebsd defines in guicast/bcresources.C</div><div>Applying: freebsd in indexfile.C</div><div>Applying: freebsd in file.C</div><div>Applying: freebsd in bdcreate/bdwrite</div><div>Applying: freebsd in dvdcreate.C</div><div>Applying: pkg-config based dynamic openexr link fix for freebsdv13</div><div>Applying: disable frei0r and libvmaf for freebsd 13/dynamic ffmpeg</div><div>Applying: update blds/bsd.bld for freebsd 13</div><div>Applying: Attempt at adding freebsd detect in plugins/Makefile</div><div>Applying: Attempt at freebsd/netbsd detection in cinelerra/Makefile</div><div>Applying: experimental: switch python in guicast to python3 unconditionally</div><div>Applying: Add android-only hacked Dynamic makefile libs</div><div>Applying: Make cin compile with ffmpeg 5 (unconditionally)</div><div>Applying: Dynamic termux configure</div><div>Applying: Hopefully fixed dynamic liba52</div><div>Applying: Cinelerra/Makefile dynamic section fix for non-android, i hope</div><div>Applying: Hopefully fix dyn liba52 on termux</div><div>Applying: Dynamic termux + libzmpeg</div><div>Applying: Patches for attempting to make netbsd/i386 compile</div><div>Applying: video4linux2 and DVB support currently depend on libzmpeg</div><div>Applying: Try to abort earlier if xinerama/xfixes support not here</div><div>Applying: Beginning of ffmpeg versioned compilation</div><div>Applying: Ffmpeg versioning in bdwrite.C</div><div>Applying: More libavcodec versionkng in ffmpeg</div><div>Applying: Even more ffmpeg versioning in ffmpeg.C</div><div>Applying: Nearly all versioning in ffmpeg.C</div><div>Applying: Finished versioning in ffmpeg.C</div><div>Applying: Really fix ffmpeg.C for ffmpeg 4.4</div><div>Applying: ffmpeg.git conditional fixes</div><div>Applying: Limit git clone depth to 1 (faster download, less space)</div><div>Applying: More defines in ffmpeg.h</div><div>Applying: openexr dynamic libs in termux_dyn</div><div>Applying: Even more ffmpeg version ifdefs in ffmpeg.C</div><div>Applying: Hopefully fix 'or' conditional in cinelerra/Makefile</div><div>Applying: Hopefully fix dynamic openexr via pkg-config in <a href="http://configure.ac">configure.ac</a></div><div>Applying: Abort earlier if non-3rd party and openexr requested but not found</div><div>Applying: update termux_dyn, now detection of openexr moved to <a href="http://configure.ac">configure.ac</a></div><div>Applying: Add /usr/include/a52dec so libzmpeg3 can be compiled on Linux dynamically</div><div>Applying: HIGHLY EXPERIMENTAL: constify png_data</div><div>Applying: Defend against missed lv2 headers</div><div>Applying: Fix for dynamic libogg</div><div>Applying: Dynamic termux with ogg</div><div>Applying: Attempt at detecting OpenEXR 3</div><div><br></div><div><br></div><div>$ cp -ar megapile_8 ~/storage/downloads/</div><div>$ tar -cvzf megapile_8.tar.gz megapile_8/</div><div><br></div><div>megapile_8/</div><div>megapile_8/0001-ffmpeg-4.4-bluray-lpcm-encoder.patch</div><div>megapile_8/0002-Fix-ffmpeg-4.4-bluray-lpcm-patch-for-5.1.patch</div><div>megapile_8/0003-Add-simple-m2ts-lpcm-profile.patch</div><div>megapile_8/0004-Improve-truehd-decoder-encoder-from-ffmpeg.git.patch</div><div>megapile_8/0005-EXPERIMENT-update-bdwrite-for-lpcm-hevc.patch</div><div>megapile_8/0006-EXPERIMENTAL-add-variable-chapter-interval-to-bdwrit.patch</div><div>megapile_8/0007-EXPERIMENTAL-add-bd_profile-array-to-bdcreate.C-so-i.patch</div><div>megapile_8/0008-EXPERIMENTAL-bdcreate-add-m2ts-profiles-part-1.patch</div><div>megapile_8/0009-Fix-bdcreate.C-layout.patch</div><div>megapile_8/0010-EXPERIMENTAL-attempt-to-get-value-from-popuptextbox.patch</div><div>megapile_8/0011-Rename-m2ts_pcm.m2ts-to-bluray_lpcm.m2ts.patch</div><div>megapile_8/0012-truehd-experimental-bluray-profile.patch</div><div>megapile_8/0013-EXPERIMENTAL-add-truehd-audio-profile-for-bdcreate.C.patch</div><div>megapile_8/0014-EXPERIMENTAL-add-tsmuxer-checkbox.patch</div><div>megapile_8/0015-EXPERIMENTAL-fix-layout-in-bdcreate-after-tsmuxer-ch.patch</div><div>megapile_8/0016-NOT-YET.patch</div><div>megapile_8/0017-EXPERIMENTAL-shell-script-run-tsmuxer-conditionally-.patch</div><div>megapile_8/0018-Attempt-at-fixing-bdwrite-stream_type-coding_type-co.patch</div><div>megapile_8/0019-EXPERIMENTAL-attempt-at-fixing-bdwrite-on-Android-af.patch</div><div>megapile_8/0020-EXPERIMENTAL-real-fix-for-bdwrite.patch</div><div>megapile_8/0021-EXPERIMENTAL-try-to-add-lpcm-to-tsmuxer-meta-file.patch</div><div>megapile_8/0022-EXPERIMENTAL-really-fix-audio-names-fir-tsmuxer-meta.patch</div><div><br></div><div><br></div><div>=== blu-ray part end ===</div><div><br></div><div>megapile_8/0023-mem-and-resource-leaks-in-indexfile-indextate-cppche.patch</div><div>megapile_8/0024-cppcheck-in-cursor.C.patch</div><div>megapile_8/0025-cppcheck-in-resourcepixmap.C.patch</div><div><br></div><div>=== cppcheck (old) end ===</div><div><br></div><div>megapile_8/0026-Add-objrem-target-for-thirdparty-Makefile-removes-on.patch</div><div><br></div><div>=== personal space saver on termux end  ===</div><div><br></div><div>megapile_8/0027-Freebsd-13-conditional-include-in-exportedl.C.patch</div><div>megapile_8/0028-fileexr-forward-port-openexr-3.patch</div><div>megapile_8/0029-filegif-addition-of-nearly-all-quntize.c-from-giflib.patch</div><div><br></div><div><br></div><div>0029 a bit questionable - should I leave it as-is or split into another file? IMO CIinelerra adds stuff into one file... </div><div><br></div><div>megapile_8/0030-unsigned-long-cast-for-freebsd-in-bctrace.C.patch</div><div>megapile_8/0033-freebsd-includes-in-plugins-titler.patch</div><div>megapile_8/0031-dirent64-and-readdir64-aliases-for-freebsd-in-guicas.patch</div><div>megapile_8/0032-realtime-prio-only-on-linux-and-termux-for-now.patch</div><div>megapile_8/0034-freebsd-defines-in-guicast-bcresources.C.patch</div><div>megapile_8/0035-freebsd-in-indexfile.C.patch</div><div>megapile_8/0036-freebsd-in-file.C.patch</div><div>megapile_8/0037-freebsd-in-bdcreate-bdwrite.patch</div><div>megapile_8/0038-freebsd-in-dvdcreate.C.patch</div><div>megapile_8/0039-pkg-config-based-dynamic-openexr-link-fix-for-freebs.patch</div><div>megapile_8/0040-disable-frei0r-and-libvmaf-for-freebsd-13-dynamic-ff.patch</div><div>megapile_8/0041-update-blds-bsd.bld-for-freebsd-13.patch</div><div>megapile_8/0042-Attempt-at-adding-freebsd-detect-in-plugins-Makefile.patch</div><div>megapile_8/0043-Attempt-at-freebsd-netbsd-detection-in-cinelerra-Mak.patch</div><div><br></div><div>=== most of freebsd series, but see later===</div><div><br></div><div>megapile_8/0044-experimental-switch-python-in-guicast-to-python3-unc.patch</div><div><br></div><div>==== I think I'll rework this for conditionally call python3 on netbsd only or may be detect python binary at configure time ===</div><div><br></div><div>megapile_8/0045-Add-android-only-hacked-Dynamic-makefile-libs.patch</div><div>megapile_8/0046-Make-cin-compile-with-ffmpeg-5-unconditionally.patch</div><div>megapile_8/0047-Dynamic-termux-configure.patch</div><div>megapile_8/0048-Hopefully-fixed-dynamic-liba52.patch</div><div>megapile_8/0049-Cinelerra-Makefile-dynamic-section-fix-for-non-andro.patch</div><div>megapile_8/0050-Hopefully-fix-dyn-liba52-on-termux.patch</div><div>megapile_8/0051-Dynamic-termux-libzmpeg.patch</div><div>megapile_8/0052-Patches-for-attempting-to-make-netbsd-i386-compile.patch</div><div>megapile_8/0053-video4linux2-and-DVB-support-currently-depend-on-lib.patch</div><div>megapile_8/0054-Try-to-abort-earlier-if-xinerama-xfixes-support-not-.patch</div><div>megapile_8/0055-Beginning-of-ffmpeg-versioned-compilation.patch</div><div>megapile_8/0056-Ffmpeg-versioning-in-bdwrite.C.patch</div><div>megapile_8/0057-More-libavcodec-versionkng-in-ffmpeg.patch</div><div>megapile_8/0058-Even-more-ffmpeg-versioning-in-ffmpeg.C.patch</div><div>megapile_8/0059-Nearly-all-versioning-in-ffmpeg.C.patch</div><div>megapile_8/0060-Finished-versioning-in-ffmpeg.C.patch</div><div>megapile_8/0061-Really-fix-ffmpeg.C-for-ffmpeg-4.4.patch</div><div>megapile_8/0062-ffmpeg.git-conditional-fixes.patch</div><div>megapile_8/0063-Limit-git-clone-depth-to-1-faster-download-less-spac.patch</div><div>megapile_8/0064-More-defines-in-ffmpeg.h.patch</div><div>megapile_8/0068-Hopefully-fix-dynamic-openexr-via-pkg-config-in-conf.patch</div><div>megapile_8/0070-update-termux_dyn-now-detection-of-openexr-moved-to-.patch</div><div>megapile_8/0071-Add-usr-include-a52dec-so-libzmpeg3-can-be-compiled-.patch</div><div>megapile_8/0074-Fix-for-dynamic-libogg.patch</div><div>megapile_8/0076-Attempt-at-detecting-OpenEXR-3.patch</div><div>megapile_8/0065-openexr-dynamic-libs-in-termux_dyn.patch</div><div>megapile_8/0066-Even-more-ffmpeg-version-ifdefs-in-ffmpeg.C.patch</div><div><br></div><div>== dynamic compilation/fortifying configure/ffmpeg 4 +5 ===</div><div><br></div><div><br></div><div>megapile_8/0067-Hopefully-fix-or-conditional-in-cinelerra-Makefile.patch</div><div><br></div><div>=== 'OR' in Makefile a bit hard, picked answer from stackoverflow, not tested on BSD yet ===</div><div><br></div><div>megapile_8/0069-Abort-earlier-if-non-3rd-party-and-openexr-requested.patch</div><div>megapile_8/0072-HIGHLY-EXPERIMENTAL-constify-png_data.patch</div><div>megapile_8/0073-Defend-against-missed-lv2-headers.patch</div><div>megapile_8/0075-Dynamic-termux-with-ogg.patch</div><div><br></div><div>==latest attempts at fixing openexr3 confiigure check and libogg / libvorbis secret libs ===</div><div><br></div><div><br></div>