X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fbld_scripts%2Fbld_dynamic.sh;h=40fd50ab757831744af35f37784f99970e5d6b75;hb=49d684c03f57629c656d81d76b84737c6449e0b4;hp=2be6c4baeee47cb0ffc6f702d465f7dde11469dd;hpb=235c9cc4df8306babbbfda46189108fe262d44ef;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.1/bld_scripts/bld_dynamic.sh b/cinelerra-5.1/bld_scripts/bld_dynamic.sh index 2be6c4ba..40fd50ab 100755 --- a/cinelerra-5.1/bld_scripts/bld_dynamic.sh +++ b/cinelerra-5.1/bld_scripts/bld_dynamic.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/bash -x dir="$1" shift @@ -13,31 +13,24 @@ if [ ! -d "$path/$dir/$bld" ]; then fi cd "$path/$dir/$bld" -rm -rf "$proj" -git clone "git://git.cinelerra-cv.org/goodguy/cinelerra.git" "$proj" -#rsh host tar -C /mnt0 -cf - cinelerra5 | tar -xf - +rm -rf "$proj.dyn" +mkdir "$proj.dyn" + +git clone "git://git.cinelerra-cv.org/goodguy/cinelerra.git" "$proj.dyn" +#rsh host tar -C "/mnt0/$proj" -cf - "$base" | tar -C "$proj.dyn" -xf - if [ $? -ne 0 ]; then echo "git clone $proj failed" exit 1 fi -cd "$proj/$base" -#case "$dir" in -# "ubuntu" | "mint" | "ub14" | "ub15") -# echo "CFLAGS += -DPNG_SKIP_SETJMP_CHECK=1" >> global_config ;; -# "centos") -# echo "CFLAGS += -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS" >> global_config -## echo "EXTRA_LIBS += -lnuma" >> global_config ;; -# "suse" | "leap") -# echo "EXTRA_LIBS += -lnuma" >> global_config ;; -# "fedora") -# echo "EXTRA_LIBS += -lnuma" >> global_config ;; -#esac - -./configure shared >& log -make >> log 2>&1 $@ -make install >> log 2>&1 +cd "$proj.dyn/$base" +{ +./autogen.sh && \ +./configure --with-single-user --disable-static-build && \ +make $@ && \ +make install +} 2>&1 | tee log || true echo "finished: scanning log for ***" -grep -ai "\*\*\*.*error" log +grep -ai "\*\*\*.*error" log | head