ACLOCAL_AMFLAGS = -I m4
SUBDIRS = thirdparty libzmpeg3 mpeg2enc mplexlo \
- db guicast cinelerra plugins doc po
+ db guicast cinelerra plugins doc po db/utils
BUILT_SOURCES := bin
bin:
cp -a COPYING README models ffmpeg msg.txt bin/.
sed -e 's/\<cin\>/$(WANT_CIN)/g' < image/cin.desktop \
> "bin/applications/$(WANT_CIN).desktop"
- cp -a image/cin.svg "bin/pixmaps/?$(WANT_CIN)".svg
+ cp -a image/cin.svg "bin/pixmaps/$(WANT_CIN)".svg
cp -a image/cin.xpm "bin/pixmaps/$(WANT_CIN)".xpm
+ cp -a db/utils/new_db "bin/cin_db"
buninstall:
rm -rf bin
# with system_build
cinstall:
cd bin; $(inst_sh) "$(DESTDIR)$(bindir)" "$(WANT_CIN)" \
- mpeg3{cat,cc2txt,ifochk,show,toc}
+ cin_db mpeg3{cat,cc2txt,ifochk,show,toc}
cd bin; $(inst_sh) "$(DESTDIR)$(WANT_CINLIB_DIR)" \
bdwrite cutads hveg2enc mpeg2enc mplex mplexlo
cd bin; $(inst_sh) "$(DESTDIR)$(datadir)/$(WANT_CIN)" \
cuninstall:
rm -f "$(DESTDIR)$(bindir)/$(WANT_CIN)"
rm -f "$(DESTDIR)$(bindir)"/mpeg3{cat,cc2txt,ifochk,show,toc}
+ rm -f "$(DESTDIR)$(bindir)/cin_db"
rm -rf "$(DESTDIR)$(WANT_CINLIB_DIR)"
rm -rf "$(DESTDIR)$(datadir)/$(WANT_CIN)"
rm -rf "$(DESTDIR)$(localedir)"/*/"LC_MESSAGES/$(WANT_CIN).mo"
-#!/bin/bash
+#!/bin/bash -x
dir="$1"
shift
fi
cd "$path/$dir/$bld"
-rm -rf "$proj"
-git clone --depth 1 "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"
-
-./autogen.sh
-./configure --enable-static=no
-make all install >& log
+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
+++ /dev/null
-#!/bin/bash
-
-dir="$1"
-path="/home"
-bld="git-repo"
-proj="cinelerra5"
-base="cinelerra-5.1"
-
-if [ ! -d "$path/$dir/$bld/$proj" ]; then
- echo "$bld/$proj missing in $path/$dir"
- exit 1
-fi
-
-cd "$path/$dir/$bld/$proj"
-git pull
-if [ $? -ne 0 ]; then
- echo "git pull $bld/$proj failed"
- exit 1
-fi
-
-cd "$base"
-make rebuild_all >& log1
-
-echo "finished: scanning log for ***"
-grep -a "\*\*\*" log1
-
suse="opensuse-13.2"
ub14="ub14.04.1"
ub15="ub15.10"
+ub15="ub16.04"
ubuntu="ubuntu-14.04.1"
eval os="\${$dir}"
ln -s libtermcap.so.2 /usr/lib64/libtermcap.so
fi
;;
-"ubuntu" | "mint" | "ub14" | "ub15" | "debian")
+"ubuntu" | "mint" | "ub14" | "ub15" | "ub16" | "debian")
apt-get -y install apt-file sox nasm yasm g++ build-essential libz-dev \
texinfo libpng-dev freeglut3-dev libxv-dev libasound2-dev libbz2-dev \
libncurses5-dev libxinerama-dev libfreetype6-dev libxft-dev libgif-dev \
-#!/bin/bash
+#!/bin/bash -x
dir="$1"
shift
fi
cd "$path/$dir/$bld"
-rm -rf "$proj"
-git clone --depth 1 "git://git.cinelerra-cv.org/goodguy/cinelerra.git" "$proj"
-#rsh host tar -C /mnt0 -cf - cinelerra5 | tar -xf -
+rm -rf "$proj.sta"
+mkdir "$proj.sta"
+
+git clone "git://git.cinelerra-cv.org/goodguy/cinelerra.git" "$proj.sta"
+#rsh host tar -C "/mnt0/$proj" -cf - "$base" | tar -C "$proj.sta" -xf -
if [ $? -ne 0 ]; then
echo "git clone $proj failed"
exit 1
fi
-cd "$proj/$base"
-
-./autogen.sh
-./configure --enable-static=yes
-make all install >& log
+cd "$proj.sta/$base"
+{
+./autogen.sh && \
+./configure --with-single-user --enable-static-build && \
+make $@ && \
+make install
+} 2>&1 | tee log || true
echo "finished: scanning log for ***"
-grep -ai "\*\*\*.*error" log
+grep -ai "\*\*\*.*error" log | head
@echo c++ -pthread $(CXXFLAGS) xtv.C $(XTV_MEDIA_OBJS) -o xtv
@c++ -pthread $(XTV_INCLUDES) $(CXXFLAGS) xtv.C $(XTV_MEDIA_OBJS) $(XTV_LIBS) -o xtv
+install:
+
clean:
rm -f $(TARGETS) *.o a.out
mask.png \
mutepatch_up.png \
paste.png \
- picon.png \
projector.png \
protect.png \
recordpatch.png \
all: $(OUTPUT)
-$(OUTPUT):
- tar -C ../plugins/theme_suv/data/ -cf - $(IMAGES) | tar -xkf -
+$(OUTPUT): $(IMAGES)
makeinfo --html --no-split cinelerra.texi
# makeinfo --html cinelerra.texi
+$(IMAGES):
+ cp $(PLUGINS)/theme_suv/data/$@ .
+
install: all
mkdir -p $(TARGET_DIR)
cp -a *.png $(TARGET_DIR)/.
cp -a cinelerra.html $(TARGET_DIR)/.
- cp -a manual.pdf $(TARGET_DIR)/.
cp -a Features5.pdf $(TARGET_DIR)/.
clean:
- rm -f $(IMAGES) $(OUTPUT)
+ rm -f $(OUTPUT) $(IMAGES)