On Sunday, January 9, 2022, Andrew Randrianasulu <[email protected]> wrote:
> > > On Sunday, January 9, 2022, <[email protected]> wrote: > >> On Sat, 8 Jan 2022 11:57:00 +0300 >> Andrew Randrianasulu <[email protected]> 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 /data/data/com.termux/files/ > home/storage/downloads/Browser/Makefile_thirdparty_matN to Unix format... > $ mcedit ~/storage/downloads/Browser/Makefile_thirdparty_matN > > $ diff -u thirdparty/Makefile ~/storage/downloads/Browser/ > Makefile_thirdparty_matN > --- thirdparty/Makefile 2022-01-06 19:05:18.735393694 +0300 +++ > /data/data/com.termux/files/home/storage/downloads/ > Browser/Makefile_thirdparty_matN 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.cfg_params?=--enable-shared=no > lame.mak_params?= ; cd $(call bld_path,lame,include); ln -sf . lame > -libaom.cfg_vars?= mkdir aom.build && cd aom.build && $(call > cmake_config,..) > +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 > -DENABLE_DOCS=no -DENABLE_SHARED=no -DCMAKE_INSTALL_LIBDIR=lib \ > -DENABLE_EXAMPLES=no -DCMAKE_INSTALL_PREFIX=$(call > bld_path,libaom)/usr/local libaom.mak_params?= ; $(MAKE) -C > libaom*/aom.build install > $ > > i'll try rebuild with your modifications and report back.. > it rebuilds ok with your changes.. still, it seems cmake_config=echo 'cmake "$$$$@" "$(1)"' > ./configure; chmod +x ./configure; a bit above already does this step, not sure why it failed for you.. > >> MatN >> >
-- Cin mailing list [email protected] https://lists.cinelerra-gg.org/mailman/listinfo/cin

