# HG changeset patch # User Chris Cannam # Date 1591360702 -3600 # Node ID a296bbde0861a9452386d9bbcb5dd35bda858718 # Parent f7b1e81991e46e53c6cb85d787ac89daa14fc55b Strive to include dynamic (because faster startup) and static (AppImage) builds diff -r f7b1e81991e4 -r a296bbde0861 deploy/clean-build-and-package --- a/deploy/clean-build-and-package Fri Jun 05 13:17:53 2020 +0100 +++ b/deploy/clean-build-and-package Fri Jun 05 13:38:22 2020 +0100 @@ -33,9 +33,11 @@ ( cd deploy/linux/docker/output - mkdir -p "$dir" - cp SonicAnnotator-"$current"-x86_64.AppImage "$dir/sonic-annotator" + mkdir -p "$dir/static" + cp sonic-annotator "$dir/sonic-annotator" + cp SonicAnnotator-"$current"-x86_64.AppImage "$dir/static/sonic-annotator" chmod +x "$dir/sonic-annotator" + chmod +x "$dir/static/sonic-annotator" cp ../../../../README.md "$dir" cp ../../../../CHANGELOG "$dir" cp ../../../../COPYING "$dir" diff -r f7b1e81991e4 -r a296bbde0861 deploy/linux/docker/Dockerfile_appimage.in --- a/deploy/linux/docker/Dockerfile_appimage.in Fri Jun 05 13:17:53 2020 +0100 +++ b/deploy/linux/docker/Dockerfile_appimage.in Fri Jun 05 13:38:22 2020 +0100 @@ -73,4 +73,4 @@ RUN make -j3 RUN deploy/linux/deploy-appimage.sh -RUN tar cvf output-appimage.tar *.AppImage && cp output-appimage.tar .. +RUN tar cvf output-appimage.tar sonic-annotator *.AppImage && cp output-appimage.tar .. diff -r f7b1e81991e4 -r a296bbde0861 package/sonic-annotator.spec --- a/package/sonic-annotator.spec Fri Jun 05 13:17:53 2020 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,42 +0,0 @@ -%define _topdir /home/cannam/rpm/sonic-annotator -%define name sonic-annotator -%define version 0.6 -%define release svn20100629 - -BuildRoot: %{_tmppath}/%{name}-buildroot -Summary: Sonic Annotator -License: GPL -Name: %{name} -Group: Sound -Version: %{version} -Release: %{release} - -%description -Sonic Annotator is a utility program for batch feature extraction -from audio files. It runs Vamp audio analysis plugins on audio files, -and can write the result features in a selection of formats including -CSV and RDF/Turtle. - -%prep -svn co http://sv1.svn.sourceforge.net/svnroot/sv1/sonic-annotator/trunk . -#%{name}-%{version}-%{release} - -%build -export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/lib/pkgconfig -#cd %{name}-%{version}-%{release} -/home/cannam/qt-4.6.2-static/bin/qmake -r "LIBS += -Wl,-Bstatic" "DEFINES += BUILD_STATIC" -make - -%install -#cd %{name}-%{version}-%{release} -mkdir -p $RPM_BUILD_ROOT/usr/bin -install runner/sonic-annotator $RPM_BUILD_ROOT/usr/bin - -%clean -rm -rf $RPM_BUILD_ROOT - -%files -%defattr(-,root,root) -%{_bindir}/sonic-annotator -%doc README COPYING CHANGELOG -