From: Good Guy Date: Mon, 3 Feb 2020 21:59:55 +0000 (-0700) Subject: configure tweaks, loadmode_edl icons from igor X-Git-Tag: 2020-02~4 X-Git-Url: https://git.cinelerra-gg.org/git/?p=goodguy%2Fcinelerra.git;a=commitdiff_plain;h=0d4f705fef0176dad348fe0b4d4a1af841eb1a1f configure tweaks, loadmode_edl icons from igor --- diff --git a/cinelerra-5.1/Makefile.am b/cinelerra-5.1/Makefile.am index 603f285e..64e1e8df 100644 --- a/cinelerra-5.1/Makefile.am +++ b/cinelerra-5.1/Makefile.am @@ -61,6 +61,7 @@ sys_install: $(CIN_INSTALLS) sys_uninstall: $(CIN_UNINSTALLS) rm -f "$(DESTDIR)$(bindir)/$(WANT_CIN)" + rm -f "$(DESTDIR)$(bindir)/bdwrite" rm -rf "$(DESTDIR)$(WANT_CINLIB_DIR)" rm -rf "$(DESTDIR)$(datadir)/$(WANT_CIN)" rm -rf "$(DESTDIR)$(localedir)"/*/"LC_MESSAGES/$(WANT_CIN).mo" diff --git a/cinelerra-5.1/configure.ac b/cinelerra-5.1/configure.ac index 36ce8185..a2d5b501 100644 --- a/cinelerra-5.1/configure.ac +++ b/cinelerra-5.1/configure.ac @@ -623,20 +623,17 @@ fi AC_DEFUN([CHECK_WANT], [ RESULT=yes # WANT_$1 -if test "x$WANT_$1" != "xno" ; then AC_ARG_WITH(m4_tolower([$1]), AC_HELP_STRING([m4_join([-],[--with],m4_tolower([$1]))], [$3] (auto)), [WANT_$1=$withval],[WANT_$1=$2]) m4_quote($4) - if test "x$RESULT" = "xno" -a "x$PKG_$1" = "x"; then - if test "x$WANT_$1" = "xyes" ; then + if test "x$WANT_$1" = "xauto" ; then + WANT_$1="$RESULT" + elif test "x$WANT_$1" = "xyes" ; then + if test "x$RESULT" = "xno" -a "x$PKG_$1" = "x"; then AC_MSG_ERROR([required for $1 support.]) fi - WANT_$1=no - elif test "x$WANT_$1" = "xauto" ; then - WANT_$1=yes fi -fi CFG_WANTS+=" $1" AC_SUBST([WANT_$1]) ]) @@ -670,6 +667,15 @@ CHECK_WANT([FIREWIRE], [auto], [use firewire], [ CHECK_HEADERS([libiec61883], [libiec61883 headers], [libiec61883/iec61883.h]) CHECK_LIB([libraw1394], [raw1394], [raw1394_iso_recv_init]) CHECK_HEADERS([libraw1394], [libraw1394 headers], [libraw1394/raw1394.h])]) +# have all or none +test "x$HAVE_libavc1394" = "xyes" && \ +test "x$HAVE_libiec61883" = "xyes" && \ +test "x$HAVE_libraw1394" = "xyes" && \ + HAVE_FIREWIRE=yes || \ +HAVE_libavc1394=no && \ +HAVE_libiec61883=no && \ +HAVE_libraw1394=no && \ + HAVE_FIREWIRE=no CHECK_WANT([DV], [auto], [use dv], [ CHECK_LIB([libdv], [dv], [dv_init]) @@ -689,6 +695,13 @@ CHECK_WANT([ESOUND], [no], [use esd], [ CHECK_HEADERS([esound], [esound headers], [esd.h]) CHECK_LIB([audiofile], [audiofile], [afOpenFile]) CHECK_HEADERS([audiofile], [audiofile headers], [audiofile.h])]) +# have all or none +test "x$HAVE_esound" = "xyes" && \ +test "x$HAVE_audiofile" = "xyes" && \ + HAVE_ESOUND=yes || \ +HAVE_esound=no && \ +HAVE_audiofile=no && \ + HAVE_ESOUND=no CHECK_WANT([PULSE], [auto], [use pulseaudio], [ CHECK_LIB([pulse_simple], [pulse-simple], [pa_simple_new]) @@ -727,19 +740,21 @@ CHECK_WANT([LV2], [auto], [use lv2], [ CFLAGS="-I/usr/include/suil-0 -I/usr/local/include/suil-0" CHECK_HEADERS([lv2], [suil headers], [suil/suil.h]) CFLAGS="$saved_CFLAGS"]) - -test "x$HAVE_lilv" = "xno" || \ -test "x$HAVE_sord" = "xno" || \ -test "x$HAVE_serd" = "xno" || \ -test "x$HAVE_sratom" = "xno" || \ -test "x$HAVE_lv2" = "xno" || \ -test "x$HAVE_suil" = "xno" && \ - HAVE_lilv=no && \ - HAVE_sord=no && \ - HAVE_serd=no && \ - HAVE_sratom=no && \ - HAVE_lv2=no && \ - HAVE_suil=no +# have all or none +test "x$HAVE_lv2" = "xyes" && \ +test "x$HAVE_lilv" = "xyes" && \ +test "x$HAVE_sord" = "xyes" && \ +test "x$HAVE_serd" = "xyes" && \ +test "x$HAVE_sratom" = "xyes" && \ +test "x$HAVE_suil" = "xyes" && \ + HAVE_LV2=yes || \ +HAVE_lv2=no && \ +HAVE_lilv=no && \ +HAVE_sord=no && \ +HAVE_serd=no && \ +HAVE_sratom=no && \ +HAVE_suil=no && \ + HAVE_LV2=no CHECK_WANT([CUDA], [auto], [build cuda plugins], [ CHECK_HEADERS([CUDA], [cuda sdk], [${CUDA_PATH:-/usr/local/cuda}/include/cuda.h])]) @@ -777,11 +792,15 @@ EXRIStream() : Imf::IStream("mypath") {} }; class EXROStream : public Imf::OStream { public: EXROStream() : Imf::OStream("mypath") {} }; ]])], [HAVE_OPENEXR=yes], [HAVE_OPENEXR=no]) - RESULT="$HAVE_OPENEXR" - if test "x$RESULT" = "xyes"; then - SHARED_openexr="$LIBS" - SHARED_LIBS+=" $LIBS" - CFG_CFLAGS+=" -I/usr/include/OpenEXR -I/usr/local/include/OpenEXR" + if test "x$WANT_OPENEXR" = "xauto"; then + WANT_OPENEXR="yes" + fi + if test "x$WANT_OPENEXR" = "xyes" -a "x$HAVE_OPENEXR" = "xyes"; then + if test "x$WANT_STATIC_BUILD" = "xno"; then + SHARED_openexr="$LIBS" + SHARED_LIBS+=" $LIBS" + CFG_CFLAGS+=" -I/usr/include/OpenEXR -I/usr/local/include/OpenEXR" + fi fi LIBS="$saved_LIBS" CXXFLAGS="$saved_CXXFLAGS" @@ -789,6 +808,13 @@ EXROStream() : Imf::OStream("mypath") {} }; AC_MSG_RESULT([$HAVE_OPENEXR]) ]) AC_SUBST([HAVE_OPENEXR]) +# have all or none +test "x$HAVE_openexr" = "xyes" && \ +test "x$HAVE_ilmbase" = "xyes" && \ + HAVE_OPENEXR=yes || \ +HAVE_openexr=no && \ +HAVE_ilmbase=no && + HAVE_OPENEXR=no # build global_config OBJDIR=`uname -m` @@ -831,7 +857,7 @@ for dep in \ openexr/ilmbase ilmbase/libogg \ libtheora/libogg libtheora/libvorbis ; do lib=`dirname $dep`; needs=`basename $dep` - eval pkg_lib="\$PKG_$lib"; eval needs_lib="\$HAVE_$needs"; + eval pkg_lib="\$PKG_$lib" if test "x$pkg_lib" != "xno"; then eval "PKG_$needs=yes" fi diff --git a/cinelerra-5.1/plugins/theme_blond/data/loadmode_edl_clip.png b/cinelerra-5.1/plugins/theme_blond/data/loadmode_edl_clip.png index 0567a007..56f51a11 100644 Binary files a/cinelerra-5.1/plugins/theme_blond/data/loadmode_edl_clip.png and b/cinelerra-5.1/plugins/theme_blond/data/loadmode_edl_clip.png differ diff --git a/cinelerra-5.1/plugins/theme_blond/data/loadmode_edl_fileref.png b/cinelerra-5.1/plugins/theme_blond/data/loadmode_edl_fileref.png index 135de294..159d5567 100644 Binary files a/cinelerra-5.1/plugins/theme_blond/data/loadmode_edl_fileref.png and b/cinelerra-5.1/plugins/theme_blond/data/loadmode_edl_fileref.png differ diff --git a/cinelerra-5.1/plugins/theme_blond/data/loadmode_edl_nested.png b/cinelerra-5.1/plugins/theme_blond/data/loadmode_edl_nested.png index 51d6d768..072a60dc 100644 Binary files a/cinelerra-5.1/plugins/theme_blond/data/loadmode_edl_nested.png and b/cinelerra-5.1/plugins/theme_blond/data/loadmode_edl_nested.png differ diff --git a/cinelerra-5.1/plugins/theme_blond_cv/data/loadmode_edl_clip.png b/cinelerra-5.1/plugins/theme_blond_cv/data/loadmode_edl_clip.png index 0567a007..56f51a11 100644 Binary files a/cinelerra-5.1/plugins/theme_blond_cv/data/loadmode_edl_clip.png and b/cinelerra-5.1/plugins/theme_blond_cv/data/loadmode_edl_clip.png differ diff --git a/cinelerra-5.1/plugins/theme_blond_cv/data/loadmode_edl_fileref.png b/cinelerra-5.1/plugins/theme_blond_cv/data/loadmode_edl_fileref.png index 135de294..159d5567 100644 Binary files a/cinelerra-5.1/plugins/theme_blond_cv/data/loadmode_edl_fileref.png and b/cinelerra-5.1/plugins/theme_blond_cv/data/loadmode_edl_fileref.png differ diff --git a/cinelerra-5.1/plugins/theme_blond_cv/data/loadmode_edl_nested.png b/cinelerra-5.1/plugins/theme_blond_cv/data/loadmode_edl_nested.png index 51d6d768..072a60dc 100644 Binary files a/cinelerra-5.1/plugins/theme_blond_cv/data/loadmode_edl_nested.png and b/cinelerra-5.1/plugins/theme_blond_cv/data/loadmode_edl_nested.png differ diff --git a/cinelerra-5.1/plugins/theme_blue/data/loadmode_edl_clip.png b/cinelerra-5.1/plugins/theme_blue/data/loadmode_edl_clip.png index 0567a007..56f51a11 100644 Binary files a/cinelerra-5.1/plugins/theme_blue/data/loadmode_edl_clip.png and b/cinelerra-5.1/plugins/theme_blue/data/loadmode_edl_clip.png differ diff --git a/cinelerra-5.1/plugins/theme_blue/data/loadmode_edl_fileref.png b/cinelerra-5.1/plugins/theme_blue/data/loadmode_edl_fileref.png index 135de294..159d5567 100644 Binary files a/cinelerra-5.1/plugins/theme_blue/data/loadmode_edl_fileref.png and b/cinelerra-5.1/plugins/theme_blue/data/loadmode_edl_fileref.png differ diff --git a/cinelerra-5.1/plugins/theme_blue/data/loadmode_edl_nested.png b/cinelerra-5.1/plugins/theme_blue/data/loadmode_edl_nested.png index 51d6d768..072a60dc 100644 Binary files a/cinelerra-5.1/plugins/theme_blue/data/loadmode_edl_nested.png and b/cinelerra-5.1/plugins/theme_blue/data/loadmode_edl_nested.png differ diff --git a/cinelerra-5.1/plugins/theme_blue_dot/data/loadmode_edl_clip.png b/cinelerra-5.1/plugins/theme_blue_dot/data/loadmode_edl_clip.png index 0567a007..56f51a11 100644 Binary files a/cinelerra-5.1/plugins/theme_blue_dot/data/loadmode_edl_clip.png and b/cinelerra-5.1/plugins/theme_blue_dot/data/loadmode_edl_clip.png differ diff --git a/cinelerra-5.1/plugins/theme_blue_dot/data/loadmode_edl_fileref.png b/cinelerra-5.1/plugins/theme_blue_dot/data/loadmode_edl_fileref.png index 135de294..159d5567 100644 Binary files a/cinelerra-5.1/plugins/theme_blue_dot/data/loadmode_edl_fileref.png and b/cinelerra-5.1/plugins/theme_blue_dot/data/loadmode_edl_fileref.png differ diff --git a/cinelerra-5.1/plugins/theme_blue_dot/data/loadmode_edl_nested.png b/cinelerra-5.1/plugins/theme_blue_dot/data/loadmode_edl_nested.png index 51d6d768..072a60dc 100644 Binary files a/cinelerra-5.1/plugins/theme_blue_dot/data/loadmode_edl_nested.png and b/cinelerra-5.1/plugins/theme_blue_dot/data/loadmode_edl_nested.png differ diff --git a/cinelerra-5.1/plugins/theme_bright/data/loadmode_edl_clip.png b/cinelerra-5.1/plugins/theme_bright/data/loadmode_edl_clip.png index 0567a007..56f51a11 100644 Binary files a/cinelerra-5.1/plugins/theme_bright/data/loadmode_edl_clip.png and b/cinelerra-5.1/plugins/theme_bright/data/loadmode_edl_clip.png differ diff --git a/cinelerra-5.1/plugins/theme_bright/data/loadmode_edl_fileref.png b/cinelerra-5.1/plugins/theme_bright/data/loadmode_edl_fileref.png index 135de294..159d5567 100644 Binary files a/cinelerra-5.1/plugins/theme_bright/data/loadmode_edl_fileref.png and b/cinelerra-5.1/plugins/theme_bright/data/loadmode_edl_fileref.png differ diff --git a/cinelerra-5.1/plugins/theme_bright/data/loadmode_edl_nested.png b/cinelerra-5.1/plugins/theme_bright/data/loadmode_edl_nested.png index 51d6d768..072a60dc 100644 Binary files a/cinelerra-5.1/plugins/theme_bright/data/loadmode_edl_nested.png and b/cinelerra-5.1/plugins/theme_bright/data/loadmode_edl_nested.png differ diff --git a/cinelerra-5.1/plugins/theme_cakewalk/data/loadmode_edl_clip.png b/cinelerra-5.1/plugins/theme_cakewalk/data/loadmode_edl_clip.png index 0567a007..56f51a11 100644 Binary files a/cinelerra-5.1/plugins/theme_cakewalk/data/loadmode_edl_clip.png and b/cinelerra-5.1/plugins/theme_cakewalk/data/loadmode_edl_clip.png differ diff --git a/cinelerra-5.1/plugins/theme_cakewalk/data/loadmode_edl_fileref.png b/cinelerra-5.1/plugins/theme_cakewalk/data/loadmode_edl_fileref.png index 135de294..159d5567 100644 Binary files a/cinelerra-5.1/plugins/theme_cakewalk/data/loadmode_edl_fileref.png and b/cinelerra-5.1/plugins/theme_cakewalk/data/loadmode_edl_fileref.png differ diff --git a/cinelerra-5.1/plugins/theme_cakewalk/data/loadmode_edl_nested.png b/cinelerra-5.1/plugins/theme_cakewalk/data/loadmode_edl_nested.png index 51d6d768..072a60dc 100644 Binary files a/cinelerra-5.1/plugins/theme_cakewalk/data/loadmode_edl_nested.png and b/cinelerra-5.1/plugins/theme_cakewalk/data/loadmode_edl_nested.png differ diff --git a/cinelerra-5.1/plugins/theme_hulk/data/loadmode_edl_clip.png b/cinelerra-5.1/plugins/theme_hulk/data/loadmode_edl_clip.png index 0567a007..56f51a11 100644 Binary files a/cinelerra-5.1/plugins/theme_hulk/data/loadmode_edl_clip.png and b/cinelerra-5.1/plugins/theme_hulk/data/loadmode_edl_clip.png differ diff --git a/cinelerra-5.1/plugins/theme_hulk/data/loadmode_edl_fileref.png b/cinelerra-5.1/plugins/theme_hulk/data/loadmode_edl_fileref.png index 135de294..159d5567 100644 Binary files a/cinelerra-5.1/plugins/theme_hulk/data/loadmode_edl_fileref.png and b/cinelerra-5.1/plugins/theme_hulk/data/loadmode_edl_fileref.png differ diff --git a/cinelerra-5.1/plugins/theme_hulk/data/loadmode_edl_nested.png b/cinelerra-5.1/plugins/theme_hulk/data/loadmode_edl_nested.png index 51d6d768..072a60dc 100644 Binary files a/cinelerra-5.1/plugins/theme_hulk/data/loadmode_edl_nested.png and b/cinelerra-5.1/plugins/theme_hulk/data/loadmode_edl_nested.png differ diff --git a/cinelerra-5.1/plugins/theme_neophyte/data/loadmode_edl_clip.png b/cinelerra-5.1/plugins/theme_neophyte/data/loadmode_edl_clip.png index 0567a007..56f51a11 100644 Binary files a/cinelerra-5.1/plugins/theme_neophyte/data/loadmode_edl_clip.png and b/cinelerra-5.1/plugins/theme_neophyte/data/loadmode_edl_clip.png differ diff --git a/cinelerra-5.1/plugins/theme_neophyte/data/loadmode_edl_fileref.png b/cinelerra-5.1/plugins/theme_neophyte/data/loadmode_edl_fileref.png index 135de294..159d5567 100644 Binary files a/cinelerra-5.1/plugins/theme_neophyte/data/loadmode_edl_fileref.png and b/cinelerra-5.1/plugins/theme_neophyte/data/loadmode_edl_fileref.png differ diff --git a/cinelerra-5.1/plugins/theme_neophyte/data/loadmode_edl_nested.png b/cinelerra-5.1/plugins/theme_neophyte/data/loadmode_edl_nested.png index 51d6d768..072a60dc 100644 Binary files a/cinelerra-5.1/plugins/theme_neophyte/data/loadmode_edl_nested.png and b/cinelerra-5.1/plugins/theme_neophyte/data/loadmode_edl_nested.png differ diff --git a/cinelerra-5.1/plugins/theme_pinklady/data/loadmode_edl_clip.png b/cinelerra-5.1/plugins/theme_pinklady/data/loadmode_edl_clip.png index 0567a007..56f51a11 100644 Binary files a/cinelerra-5.1/plugins/theme_pinklady/data/loadmode_edl_clip.png and b/cinelerra-5.1/plugins/theme_pinklady/data/loadmode_edl_clip.png differ diff --git a/cinelerra-5.1/plugins/theme_pinklady/data/loadmode_edl_fileref.png b/cinelerra-5.1/plugins/theme_pinklady/data/loadmode_edl_fileref.png index 135de294..159d5567 100644 Binary files a/cinelerra-5.1/plugins/theme_pinklady/data/loadmode_edl_fileref.png and b/cinelerra-5.1/plugins/theme_pinklady/data/loadmode_edl_fileref.png differ diff --git a/cinelerra-5.1/plugins/theme_pinklady/data/loadmode_edl_nested.png b/cinelerra-5.1/plugins/theme_pinklady/data/loadmode_edl_nested.png index 51d6d768..072a60dc 100644 Binary files a/cinelerra-5.1/plugins/theme_pinklady/data/loadmode_edl_nested.png and b/cinelerra-5.1/plugins/theme_pinklady/data/loadmode_edl_nested.png differ diff --git a/cinelerra-5.1/plugins/theme_suv/data/loadmode_edl_clip.png b/cinelerra-5.1/plugins/theme_suv/data/loadmode_edl_clip.png index 0567a007..56f51a11 100644 Binary files a/cinelerra-5.1/plugins/theme_suv/data/loadmode_edl_clip.png and b/cinelerra-5.1/plugins/theme_suv/data/loadmode_edl_clip.png differ diff --git a/cinelerra-5.1/plugins/theme_suv/data/loadmode_edl_fileref.png b/cinelerra-5.1/plugins/theme_suv/data/loadmode_edl_fileref.png index 135de294..159d5567 100644 Binary files a/cinelerra-5.1/plugins/theme_suv/data/loadmode_edl_fileref.png and b/cinelerra-5.1/plugins/theme_suv/data/loadmode_edl_fileref.png differ diff --git a/cinelerra-5.1/plugins/theme_suv/data/loadmode_edl_nested.png b/cinelerra-5.1/plugins/theme_suv/data/loadmode_edl_nested.png index 51d6d768..072a60dc 100644 Binary files a/cinelerra-5.1/plugins/theme_suv/data/loadmode_edl_nested.png and b/cinelerra-5.1/plugins/theme_suv/data/loadmode_edl_nested.png differ diff --git a/cinelerra-5.1/plugins/theme_unflat/data/loadmode_edl_clip.png b/cinelerra-5.1/plugins/theme_unflat/data/loadmode_edl_clip.png index 0567a007..56f51a11 100644 Binary files a/cinelerra-5.1/plugins/theme_unflat/data/loadmode_edl_clip.png and b/cinelerra-5.1/plugins/theme_unflat/data/loadmode_edl_clip.png differ diff --git a/cinelerra-5.1/plugins/theme_unflat/data/loadmode_edl_fileref.png b/cinelerra-5.1/plugins/theme_unflat/data/loadmode_edl_fileref.png index 135de294..159d5567 100644 Binary files a/cinelerra-5.1/plugins/theme_unflat/data/loadmode_edl_fileref.png and b/cinelerra-5.1/plugins/theme_unflat/data/loadmode_edl_fileref.png differ diff --git a/cinelerra-5.1/plugins/theme_unflat/data/loadmode_edl_nested.png b/cinelerra-5.1/plugins/theme_unflat/data/loadmode_edl_nested.png index 51d6d768..072a60dc 100644 Binary files a/cinelerra-5.1/plugins/theme_unflat/data/loadmode_edl_nested.png and b/cinelerra-5.1/plugins/theme_unflat/data/loadmode_edl_nested.png differ