[Cin] Build from git

Andrew Randrianasulu randrianasulu at gmail.com
Sat Apr 9 21:30:35 CEST 2022


try this on top of pile...

for me it detects openEXR2 (recently added to termux on my request) and
compiles fine...

On Saturday, April 9, 2022, Andrew Randrianasulu <randrianasulu at gmail.com>
wrote:

>
>
> On Saturday, April 9, 2022, Andrea paz <gamberucci.andrea at gmail.com>
> wrote:
>
>> Sorry, I don't understand what I need to do.
>> In configure.ac I find the following line:
>>
>> 31      CFG_CFLAGS+=" -I/usr/include -I/usr/local/include
>> -I/data/data/com.termux/files/usr/include/a52dec"
>>
>> How should I edit it?
>> In my system a52dec is located in:
>>
>> /usr/include/a52dec (a52.h; a52_internal.h; attributes.h; audio_out.h;
>> mm_accel.h)
>>
>> /usr/bin/a52dec
>>
>>
>> I tried to do "CFLAGS=-I/usr/include/a52dec ./configure ...." and then
>> compile.
>>
>> Still error, but later than the other times. I think it's a new error.
>> I attach cin5.log and config.log.
>
>
>
>
> ah, openexr includes...
>
> either disable openexr or add more cflags before configure ...
>
> CFLAGS=$(pkg-config --cflags OpenEXR)
>
> i tend to create small sh script so i can modify those switches and
> variables without re-typing a lot..
>
> ps: for me libogg/libvorbis linking fail on termux, it may work better on
> Linux/gnu ld systems... but if you meet linking errs at very end you can
> add --without-ogg switch  too.
>
> sorry for rough edges!
>
>>
>>
>> PS: contrary to yesterday, a patch gives me error:
>>
>> Applicazione in corso: Slightly more conditions in probe order
>> error: patch non riuscita: cinelerra-5.1/cinelerra/file.C:390
>> error: cinelerra-5.1/cinelerra/file.C: la patch non si applica
>> correttamente
>> Patch non riuscita a 0063 Slightly more conditions in probe order
>> suggerimento: Usa 'git am --show-current-patch=diff' per visualizzare
>> la patch non riuscita
>> Una volta risolto questo problema, esegui "git am --continue".
>> Se preferisci saltare questa patch, esegui invece "git am --skip".
>> Per ripristinare il branch originario e terminare il patching, esegui
>> "git am --abort".
>>
>> And then:
>>
>> $ git am --show-current-patch=diff
>> ---
>>  cinelerra-5.1/cinelerra/file.C | 4 ++++
>>  1 file changed, 4 insertions(+)
>>
>> diff --git a/cinelerra-5.1/cinelerra/file.C
>> b/cinelerra-5.1/cinelerra/file.C
>> index 946cca1e..2a133005 100644
>> --- a/cinelerra-5.1/cinelerra/file.C
>> +++ b/cinelerra-5.1/cinelerra/file.C
>> @@ -390,7 +390,9 @@ const char *File::default_probes[] = {
>>  #ifdef HAVE_GIFLIB
>>         "GIF",
>>  #endif
>> +#ifdef HAVE_LIBDPX
>>         "DPX",
>> +#endif
>>  #ifdef HAVE_OPENEXR
>>         "EXR",
>>  #endif
>> @@ -402,7 +404,9 @@ const char *File::default_probes[] = {
>>         "OGG",
>>         "Vorbis",
>>  #endif
>> +#ifdef HAVE_LIBZMPEG
>>         "MPEG",
>> +#endif
>>         "EDL",
>>         "FFMPEG_Late",
>>  };
>> --
>> 2.35.1
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cinelerra-gg.org/pipermail/cin/attachments/20220409/e9580d60/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Hopefully-fix-dynamic-openexr-via-pkg-config-in-conf.patch
Type: text/x-diff
Size: 1173 bytes
Desc: not available
URL: <https://lists.cinelerra-gg.org/pipermail/cin/attachments/20220409/e9580d60/attachment.bin>


More information about the Cin mailing list