В сообщении от Thursday 04 February 2021 02:25:17 Phyllis Smith via Cin
написал(а):
> Andrew,
> Yes, I will test on an older distro too (if I can figure out how to boot
> into that!).
> So far I can not get it to build and get the following error BUT I have to
> figure it out myself so I learn how.
>
> > g++: error:
> > /mnt0/build5/cinelerra-5.1/mplexlo/../thirdparty/openjpeg-2.4.0/bin/libopenjp2.a:
> > No such file or directory
> >
Do not forgot to re-run autgen.sh after patching? (while I think in this case
it stopped at ffmpeg build for me, when I forgot this step)
Also, apparently even libdav1d 0.5.1 unbuildable on Ubuntu 16.04.7 ?
So far I added --disable-dav1d for my configure ....
I think I had patch for building new nasm as thirdparty (attached)
do not forgot to add nasm's tar.gz into thirdparty/src
if you want to test this too ....
>
> On Wed, Feb 3, 2021 at 4:11 PM Andrew Randrianasulu via Cin <
> [email protected]> wrote:
>
> > В сообщении от Thursday 04 February 2021 01:05:18 Phyllis Smith via Cin
> > написал(а):
> > > Andrew,
> > > I checked into GIT, your new openjpeg.qt just now and am looking at the
> > > updated jpeg library as you provided next. Thank you!
> > >
> >
> >
> > Well, this was simple ....
> > But concern about new library suddently breaking on old-ish distros
> > still stand .... :(
> >
> > So, if you have old-ish distro unpacked somewhere - try to test it there
> > too?
> >
> > Or I can try to build it in VM
> > --
> > Cin mailing list
> > [email protected]
> > https://lists.cinelerra-gg.org/mailman/listinfo/cin
> >
>
diff --git a/cinelerra-5.1/configure.ac b/cinelerra-5.1/configure.ac
index f61ef275..54378a47 100644
--- a/cinelerra-5.1/configure.ac
+++ b/cinelerra-5.1/configure.ac
@@ -328,6 +328,9 @@ PKG_3RD([mjpegtools],[yes],
mpeg2enc/.libs/libmpeg2encpp.a ],
[ . lavtools utils ])
+
+
+
PKG_3RD([openexr],[auto],
[openexr-2.4.1],
[ usr/local/lib/libHalf.a \
@@ -459,20 +462,26 @@ I86=[`expr "x$ARCH" : 'xi[346]86.*'`]
X86=[`expr "x$ARCH" : 'x..._64*'`]
if test "x$I86$X86" != "x00" ; then
+
# Checks for ix86 programs.
- REQUIRE_PROG(NASM, [nasm])
+# REQUIRE_PROG(NASM, [nasm])
# libx264 nasm fix
- AC_MSG_CHECKING([nasm x264 compatible])
- echo "vmovdqa32 [[eax]]{k1}{z}, zmm0" > conftest.asm
- nasm conftest.asm -o conftest.o > /dev/null 2>&1
- if test $? != 0 ; then
- AC_MSG_RESULT([no])
- AC_MSG_WARN([libx264 built without assembly code])
- X264_CFG_PARAMS="$X264_CFG_PARAMS --disable-asm"
- else
- AC_MSG_RESULT([yes])
- fi
- rm -f conftest.asm conftest.o
+# AC_MSG_CHECKING([nasm x264 compatible])
+# echo "vmovdqa32 [[eax]]{k1}{z}, zmm0" > conftest.asm
+# nasm conftest.asm -o conftest.o > /dev/null 2>&1
+# if test $? != 0 ; then
+# AC_MSG_RESULT([no])
+# AC_MSG_WARN([libx264 built without assembly code])
+# X264_CFG_PARAMS="$X264_CFG_PARAMS --disable-asm"
+# else
+# AC_MSG_RESULT([yes])
+# fi
+# rm -f conftest.asm conftest.o
+PKG_3RD([nasm],[yes],
+ [nasm-2.14.02],
+ [ ],
+ [ . ])
+
REQUIRE_PROG(YASM, [yasm])
fi
@@ -911,6 +920,9 @@ PKG_PROVIDE([mjpegtools])
PKG_PROVIDE([libaom])
PKG_PROVIDE([dav1d])
PKG_PROVIDE([libwebp])
+if test "x$I86$X86" != "x00" ; then
+PKG_PROVIDE([nasm])
+fi
PKG_PROVIDE([openExr], [$WANT_OPENEXR])
PKG_PROVIDE([openexr], [$WANT_OPENEXR])
PKG_PROVIDE([openjpeg])
@@ -1219,6 +1231,7 @@ echo ""
echo "export thirdparty_libraries libraries"
echo "export CFLAGS_ CXXFLAGS_ LDFLAGS_"
echo "unexport CFLAGS CXXFLAGS LDFLAGS"
+echo "export PATH=`realpath $(echo $PWD)`/thirdparty/nasm-2.14.02:$PATH"
if test "x$HAVE_tiff" = "xyes"; then
if test "x$HAVE_jbig" != "xyes"; then
diff --git a/cinelerra-5.1/thirdparty/Makefile b/cinelerra-5.1/thirdparty/Makefile
index e343f39a..af13d14d 100644
--- a/cinelerra-5.1/thirdparty/Makefile
+++ b/cinelerra-5.1/thirdparty/Makefile
@@ -235,6 +235,7 @@ libtheora.ldflags?="$(call ld_path,libvorbis,lib/.libs) $(call ld_path,libogg,sr
libtheora.cfg_params?= --disable-examples --disable-spec --enable-shared=no
libuuid.cfg_params?=--enable-shared=no
libvorbis.cfg_params?= --disable-oggtest --enable-shared=no
+nasm.cfg_params?= --disable-doc
openjpeg.cfg_params?= -DBUILD_SHARED_LIBS:BOOL=OFF
openjpeg.cfg_vars?=$(call cmake_config,.)
openjpeg.mak_params?= ; cd $(call bld_path,openjpeg,src/lib/openjp2); ln -sf . openjpeg-2.1
@@ -315,6 +316,7 @@ else
rules=$(eval $(1))
endif
+$(call rules,$(call std-build,nasm))
$(call rules,$(call std-build,a52dec,djbfft))
$(call rules,$(call std-build,djbfft))
$(call rules,$(call std-build,audiofile))
@@ -328,9 +330,9 @@ $(call rules,$(call std-build,flac,libogg))
$(call rules,$(call std-build,giflib))
$(call rules,$(call std-build,ilmBase, openexr))
$(call rules,$(call std-build,ladspa))
-$(call rules,$(call std-build,lame))
+$(call rules,$(call std-build,lame,nasm))
$(call rules,$(call std-build,libaom))
-$(call rules,$(call std-build,dav1d))
+$(call rules,$(call std-build,dav1d,nasm))
$(call rules,$(call std-build,libwebp))
$(call rules,$(call std-build,libavc1394,libraw1394))
$(call rules,$(call std-build,libdv))
@@ -351,8 +353,8 @@ $(call rules,$(call std-build,opus))
$(call rules,$(call std-build,speech_tools))
$(call rules,$(call std-build,tiff, libwebp))
$(call rules,$(call std-build,twolame))
-$(call rules,$(call std-build,x264))
-$(call rules,$(call std-build,x265))
+$(call rules,$(call std-build,x264,nasm))
+$(call rules,$(call std-build,x265,nasm))
$(call rules,$(call std-build,libvpx))
$(call rules,$(call std-build,lv2))
$(call rules,$(call std-build,serd))
--
Cin mailing list
[email protected]
https://lists.cinelerra-gg.org/mailman/listinfo/cin