[Cin] Build from git

Andrew Randrianasulu randrianasulu at gmail.com
Fri Apr 8 18:14:24 CEST 2022


On Friday, April 8, 2022, Andrea paz <gamberucci.andrea at gmail.com> wrote:

> The application of the patch archive occurs without errors this time.
> However I report the terminal messages (sorry for italian):
>
> $ git am --ignore-whitespace /home/paz/patch/*.patch
> Applicazione in corso: ffmpeg 4.4 bluray lpcm encoder
> Applicazione in corso: Fix ffmpeg 4.4 bluray lpcm patch for 5.1 ?
> Applicazione in corso: Add simple m2ts lpcm profile
> Applicazione in corso: Improve truehd decoder/encoder from ffmpeg.git
> Applicazione in corso: EXPERIMENT: update bdwrite for lpcm/hevc
> Applicazione in corso: EXPERIMENTAL: add variable chapter interval to
> bdwrite
> Applicazione in corso: EXPERIMENTAL: add bd_profile array to
> bdcreate.C (so in future we can diff between encoders)
> Applicazione in corso: EXPERIMENTAL: bdcreate: add m2ts profiles, part 1
> Applicazione in corso: Fix bdcreate.C layout
> Applicazione in corso: EXPERIMENTAL: attempt to get value from popuptextbox
> .git/rebase-apply/patch:44: new blank line at EOF.
> +
> warning: 1 riga aggiunge errori di spazi bianchi.
> Applicazione in corso: Rename m2ts_pcm.m2ts to bluray_lpcm.m2ts
> Applicazione in corso: truehd experimental bluray profile
> Applicazione in corso: EXPERIMENTAL: add truehd audio profile for
> bdcreate.C
> Applicazione in corso: EXPERIMENTAL: add tsmuxer checkbox
> Applicazione in corso: EXPERIMENTAL: fix layout in bdcreate after
> tsmuxer checkbox
> Applicazione in corso: NOT YET
> Applicazione in corso: EXPERIMENTAL: shell script run tsmuxer
> conditionally on bd.meta, bd.meta conditionally written on gui var
> Applicazione in corso: Attempt at fixing bdwrite
> (stream_type/coding_type confusion)
> Applicazione in corso: EXPERIMENTAL: attempt at fixing bdwrite on
> Android after my changes, still crash
> Applicazione in corso: EXPERIMENTAL: real fix for bdwrite?
> Applicazione in corso: EXPERIMENTAL: try to add lpcm to tsmuxer meta file
> Applicazione in corso: EXPERIMENTAL: really fix audio names fir tsmuxer
> meta?
> Applicazione in corso: mem and resource leaks in indexfile/indextate
> (cppcheck)
> Applicazione in corso: cppcheck in cursor.C
> Applicazione in corso: cppcheck in resourcepixmap.C
> Applicazione in corso: Add objrem target for thirdparty/Makefile,
> removes only .o objs
> Applicazione in corso: Freebsd 13 conditional include in exportedl.C
> Applicazione in corso: fileexr forward port (openexr 3)
> Applicazione in corso: filegif addition of nearly all quntize.c from
> giflib dist, needed on freebsd/external giflib > 5.1.9
> .git/rebase-apply/patch:257: trailing whitespace.
>                       sizeof(QuantizedColorType *) *
> warning: 1 riga aggiunge errori di spazi bianchi.
> Applicazione in corso: unsigned long cast for freebsd in bctrace.C
> Applicazione in corso: dirent64 and readdir64 aliases for freebsd in
> guicast/filesystem.h
> Applicazione in corso: realtime prio only on linux and termux for now
> Applicazione in corso: freebsd includes in plugins/titler
> Applicazione in corso: freebsd defines in guicast/bcresources.C
> Applicazione in corso: freebsd in indexfile.C
> Applicazione in corso: freebsd in file.C
> Applicazione in corso: freebsd in bdcreate/bdwrite
> Applicazione in corso: freebsd in dvdcreate.C
> Applicazione in corso: pkg-config based dynamic openexr link fix for
> freebsdv13
> Applicazione in corso: disable frei0r and libvmaf for freebsd 13/dynamic
> ffmpeg
> Applicazione in corso: update blds/bsd.bld for freebsd 13
> Applicazione in corso: Attempt at adding freebsd detect in plugins/Makefile
> Applicazione in corso: Attempt at freebsd/netbsd detection in
> cinelerra/Makefile
> Applicazione in corso: experimental: switch python in guicast to
> python3 unconditionally
> Applicazione in corso: Add android-only hacked Dynamic makefile libs
> .git/rebase-apply/patch:20: trailing whitespace.
> LIBS += -lgif -l:libtheora.a -l:libvorbis.a -ltiff
> warning: 1 riga aggiunge errori di spazi bianchi.
> Applicazione in corso: Make cin compile with ffmpeg 5 (unconditionally)
> .git/rebase-apply/patch:132: trailing whitespace.
>                         //ret = avcodec_parameters_from_context(codec_ctx,
> warning: 1 riga aggiunge errori di spazi bianchi.
> Applicazione in corso: Dynamic termux configure
> Applicazione in corso: Hopefully fixed dynamic liba52
> Applicazione in corso: Cinelerra/Makefile dynamic section fix for
> non-android, i hope
> Applicazione in corso: Hopefully fix dyn liba52 on termux
> Applicazione in corso: Dynamic termux + libzmpeg
> Applicazione in corso: Really fix build without dpx
> Applicazione in corso: Patches for attempting to make netbsd/i386 compile
> .git/rebase-apply/patch:49: trailing whitespace.
>
> .git/rebase-apply/patch:54: trailing whitespace.
>
> .git/rebase-apply/patch:95: trailing whitespace.
>
> .git/rebase-apply/patch:99: trailing whitespace.
>
> .git/rebase-apply/patch:102: trailing whitespace.
> +LDFLAGS2 = $(LDFLAGS)
> warning: 101 errori di spazi bianchi soppressi
> warning: 106 righe aggiungono errori di spazi bianchi.
> Applicazione in corso: video4linux2 and DVB support currently depend on
> libzmpeg
> Applicazione in corso: Try to abort earlier if xinerama/xfixes support not
> here
> Applicazione in corso: Beginning of ffmpeg versioned compilation
> Applicazione in corso: Ffmpeg versioning in bdwrite.C
> Applicazione in corso: More libavcodec versionkng in ffmpeg
> Applicazione in corso: Even more ffmpeg versioning in ffmpeg.C
> Applicazione in corso: Nearly all versioning in ffmpeg.C
> Applicazione in corso: Finished versioning in ffmpeg.C
> Applicazione in corso: Really fix ffmpeg.C for ffmpeg 4.4
> Applicazione in corso: Slightly more conditions in probe order
> Applicazione in corso: ffmpeg.git conditional fixes
> Applicazione in corso: Limit git clone depth to 1 (faster download, less
> space)
> Applicazione in corso: Add c++11 std override for filedox (fixes
> compile on gcc 5.5)
>
>
> Building with --without-thirdparty leads to error, I attach the
> cin5.log. I tried the build "with thirdparty" and everything is fine.
> Can you try to write me the ./configure that you would use?


>
> #!/bin/sh
./configure --with-single-user --without-thirdparty \
    --without-dv \
    --without-firewire --without-vaapi \
    --without-vdpau --without-lv2 --without-openexr --without-ogg \
    --without-gl

but this is on termux, I think more libs here dynamic-only.

you can also look at bsd.bld:

./configure --with-single-user \
    --disable-static-build --without-lv2 --disable-lame --disable-twolame \
    --with-oss --without-alsa --without-firewire --without-dv --without-dvb
\
    --without-video4linux2 --without-xxf86vm --without-ladspa-build \
    --without-libzmpeg --without-commercial --without-thirdparty \
    --without-vaapi --without-vdpau --without-shuttle --without-shuttle-usb
\
    --without-x10tv --with-jobs=4 --without-wintv

--disable-static-build hopefully will force dynamic build even if bith
shared and static versions of libs oresent on system?

I'll look into your  build log...


>
>
> Maybe I'm
> wrong with mine (which is the following:
> ./configure --with-single-user --without-thirdparty --with-booby)
> Maybe this configure leads to a static build and a dynamic one is
> needed instead? Or should I also use --prefix=/usr/?
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cinelerra-gg.org/pipermail/cin/attachments/20220408/1d531c3b/attachment.htm>


More information about the Cin mailing list