comparison build/update-version.sh @ 337:d5c5a52e6c9f

Make the simple base-fft implementation accessible for use by plugins as well. Bump version to 2.4
author Chris Cannam
date Thu, 12 Jul 2012 11:37:31 +0100
parents f9e13bc35b3e
children 3bfc44d26963
comparison
equal deleted inserted replaced
336:50df48a51c97 337:d5c5a52e6c9f
58 build/libvamp-hostsdk.la.in 58 build/libvamp-hostsdk.la.in
59 59
60 $p 's/(age)=.*/$1='$hostminor'/' \ 60 $p 's/(age)=.*/$1='$hostminor'/' \
61 build/libvamp-hostsdk.la.in 61 build/libvamp-hostsdk.la.in
62 62
63 $p 's/(PROJECT_NUMBER[^=]*)=.*/$1= '$version'/' \
64 build/Doxyfile
65
63 $p 's/(VAMP_API_VERSION).*/$1 '$major'/' \ 66 $p 's/(VAMP_API_VERSION).*/$1 '$major'/' \
64 vamp/vamp.h 67 vamp/vamp.h
65 68
66 $p 's/(VAMP_SDK_VERSION) +"[^"]*"/$1 "'$version'"/' \ 69 $p 's/(VAMP_SDK_VERSION) +"[^"]*"/$1 "'$version'"/' \
67 vamp-sdk/PluginBase.h 70 vamp-sdk/plugguard.h
68 71
69 $p 's/(VAMP_SDK_MAJOR_VERSION).*/$1 '$major'/' \ 72 $p 's/(VAMP_SDK_MAJOR_VERSION).*/$1 '$major'/' \
70 vamp-sdk/PluginBase.h 73 vamp-sdk/plugguard.h
71 74
72 $p 's/(VAMP_SDK_MINOR_VERSION).*/$1 '$minor'/' \ 75 $p 's/(VAMP_SDK_MINOR_VERSION).*/$1 '$minor'/' \
73 vamp-sdk/PluginBase.h 76 vamp-sdk/plugguard.h
77
78 $p 's/(VAMP_SDK_VERSION) +"[^"]*"/$1 "'$version'"/' \
79 vamp-hostsdk/hostguard.h
80
81 $p 's/(VAMP_SDK_MAJOR_VERSION).*/$1 '$major'/' \
82 vamp-hostsdk/hostguard.h
83
84 $p 's/(VAMP_SDK_MINOR_VERSION).*/$1 '$minor'/' \
85 vamp-hostsdk/hostguard.h
86
87 $p 's/(VAMP_SDK_MAJOR_VERSION !=) [\d\.]+/$1 '$major'/' \
88 src/vamp-sdk/FFT.cpp
89
90 $p 's/(VAMP_SDK_MINOR_VERSION !=) [\d\.]+/$1 '$minor'/' \
91 src/vamp-sdk/FFT.cpp
74 92
75 $p 's/(VAMP_SDK_MAJOR_VERSION !=) [\d\.]+/$1 '$major'/' \ 93 $p 's/(VAMP_SDK_MAJOR_VERSION !=) [\d\.]+/$1 '$major'/' \
76 src/vamp-sdk/PluginAdapter.cpp 94 src/vamp-sdk/PluginAdapter.cpp
77 95
78 $p 's/(VAMP_SDK_MINOR_VERSION !=) [\d\.]+/$1 '$minor'/' \ 96 $p 's/(VAMP_SDK_MINOR_VERSION !=) [\d\.]+/$1 '$minor'/' \
86 104
87 for pc in pkgconfig/*.pc.in ; do 105 for pc in pkgconfig/*.pc.in ; do
88 $p 's/(Version:) .*/$1 '$version'/' $pc 106 $p 's/(Version:) .*/$1 '$version'/' $pc
89 done 107 done
90 108
91 $p 's/^$/\nextern void libvampsdk_v_'$acs'_present(void) { }/' \ 109 fgrep -q 'libvampsdk_v_'$acs'_present' src/vamp-sdk/acsymbols.c || \
110 $p 's/^$/\nextern void libvampsdk_v_'$acs'_present(void) { }/' \
92 src/vamp-sdk/acsymbols.c 111 src/vamp-sdk/acsymbols.c
93 112
113 fgrep -q 'libvamphostsdk_v_'$acs'_present' src/vamp-hostsdk/acsymbols.c || \
94 $p 's/^$/\nextern void libvamphostsdk_v_'$acs'_present(void) { }/' \ 114 $p 's/^$/\nextern void libvamphostsdk_v_'$acs'_present(void) { }/' \
95 src/vamp-hostsdk/acsymbols.c 115 src/vamp-hostsdk/acsymbols.c
96 116
97 echo "Done, now check with e.g. hg diff -- and don't forget to update CHANGELOG" 117 echo "Done, now check with e.g. hg diff -- and don't forget to update CHANGELOG"