[Cin] libaom 3.2.0 patch1 fixed for arm/linux?

Andrew Randrianasulu randrianasulu at gmail.com
Sun Jan 9 00:32:36 CET 2022

On Sunday, January 9, 2022, <mnieuw at zap.a2000.nl> wrote:

> On Sat, 8 Jan 2022 11:57:00 +0300
> Andrew Randrianasulu <randrianasulu at gmail.com> wrote:
> > I think i made error by uppercasing __LINUX__ in my patch..
> >
> > try this edited version on arm/Debian? just put in thirdparty/src and
> > rebuild...
> Ah, it finished just in time. Attached is the modified thirdparty
> Makefile.
> The thirdparty build process will always call ./configure in the
> unpacked source directory. If a source does not use ./configure, but
> e.g. cmake, it still needs a configure script that returns true.
> That dummy script creation needs to be done in the xxx.cfg_vars
> variable.
> This was needed for libaom to succeed.

it worked for me in its original form...

> Also, libgif was missing it too, I have seen there the fix before, seems
> to have gotten lost. I've added it again.

for some reason file has dos/win line endings. dos2unix fixed this and
resulting diff much smaller now:

$ dos2unix ~/storage/downloads/Browser/Makefile_thirdparty_matN
dos2unix: converting file
to Unix format...
$ mcedit ~/storage/downloads/Browser/Makefile_thirdparty_matN

$ diff -u thirdparty/Makefile
--- thirdparty/Makefile 2022-01-06 19:05:18.735393694 +0300 +++
2022-01-09 02:23:08.606957106 +0300
@@ -197,11 +197,11 @@ audiofile.mak_params?=LIBS="-lm -lstdc++"
 flac.cfg_params?= --enable-shared=no
 flac.cflags?="$(call inc_path,libogg) $(call ld_path,libogg,src/.libs)"
-giflib.cfg_params=echo "exec true" > ./configure; chmod +x ./configure;
+giflib.cfg_vars=echo "exec true" > ./configure; chmod +x ./configure;
 lame.cfg_vars?= CFLAGS+=" -O"
 lame.mak_params?= ; cd $(call bld_path,lame,include); ln -sf . lame
-libaom.cfg_vars?= mkdir aom.build && cd aom.build && $(call
+libaom.cfg_vars?= echo "exec true" > ./configure; chmod +x ./configure;
mkdir aom.build && cd aom.build && $(call cmake_config,..)
libaom.cfg_params?= -DENABLE_TESTS=no -DCMAKE_BUILD_TYPE=Release
bld_path,libaom)/usr/local libaom.mak_params?= ; $(MAKE) -C
libaom*/aom.build install

i'll try rebuild with your modifications and report back..

> MatN
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cinelerra-gg.org/pipermail/cin/attachments/20220109/84b32ed7/attachment.htm>

More information about the Cin mailing list