diff --git a/NEWS b/NEWS index 20d5db734..2203fb9ce 100644 --- a/NEWS +++ b/NEWS @@ -32,6 +32,11 @@ ver 0.22 (not yet released) * switch to C++17 - GCC 7 or clang 4 (or newer) recommended +ver 0.21.17 (not yet released) +* outputs + - jack: mark ports as terminal +* fix build failure with -Ddatabase=false + ver 0.21.16 (2019/10/16) * queue - fix relative destination offset when moving a range diff --git a/android/AndroidManifest.xml b/android/AndroidManifest.xml index e6bf686a9..80fa55394 100644 --- a/android/AndroidManifest.xml +++ b/android/AndroidManifest.xml @@ -2,8 +2,8 @@ + android:versionCode="40" + android:versionName="0.21.17"> diff --git a/meson.build b/meson.build index 3bc69e1be..526c31af5 100644 --- a/meson.build +++ b/meson.build @@ -401,8 +401,11 @@ endif if archive_glue_dep.found() sources += [ 'src/TagArchive.cxx', - 'src/db/update/Archive.cxx', ] + + if enable_database + sources += ['src/db/update/Archive.cxx'] + endif endif if is_windows diff --git a/python/build/libs.py b/python/build/libs.py index bf45eb573..fea21a282 100644 --- a/python/build/libs.py +++ b/python/build/libs.py @@ -112,8 +112,8 @@ liblame = AutotoolsProject( ) ffmpeg = FfmpegProject( - 'http://ffmpeg.org/releases/ffmpeg-4.2.tar.xz', - '023f10831a97ad93d798f53a3640e55cd564abfeba807ecbe8524dac4fedecd5', + 'http://ffmpeg.org/releases/ffmpeg-4.2.1.tar.xz', + 'cec7c87e9b60d174509e263ac4011b522385fd0775292e1670ecc1180c9bb6d4', 'lib/libavcodec.a', [ '--disable-shared', '--enable-static', @@ -341,8 +341,8 @@ ffmpeg = FfmpegProject( ) curl = AutotoolsProject( - 'http://curl.haxx.se/download/curl-7.65.3.tar.xz', - 'f2d98854813948d157f6a91236ae34ca4a1b4cb302617cebad263d79b0235fea', + 'http://curl.haxx.se/download/curl-7.66.0.tar.xz', + 'dbb48088193016d079b97c5c3efde8efa56ada2ebf336e8a97d04eb8e2ed98c1', 'lib/libcurl.a', [ '--disable-shared', '--enable-static', diff --git a/src/SongUpdate.cxx b/src/SongUpdate.cxx index a4142f11c..6b183c508 100644 --- a/src/SongUpdate.cxx +++ b/src/SongUpdate.cxx @@ -87,8 +87,6 @@ Song::UpdateFile(Storage &storage) return true; } -#endif - #ifdef ENABLE_ARCHIVE SongPtr @@ -130,6 +128,8 @@ Song::UpdateFileInArchive(ArchiveFile &archive) noexcept #endif +#endif /* ENABLE_DATABASE */ + bool DetachedSong::LoadFile(Path path) { diff --git a/src/lib/sqlite/meson.build b/src/lib/sqlite/meson.build index 77a5f19ff..6a5d07ef5 100644 --- a/src/lib/sqlite/meson.build +++ b/src/lib/sqlite/meson.build @@ -1,4 +1,9 @@ -sqlite_dep = dependency('sqlite3', version: '>= 3.7.3', required: get_option('sqlite')) +if enable_database + sqlite_dep = dependency('sqlite3', version: '>= 3.7.3', required: get_option('sqlite')) +else + sqlite_dep = dependency('', required: false) +endif + conf.set('ENABLE_SQLITE', sqlite_dep.found()) if not sqlite_dep.found() subdir_done() diff --git a/src/neighbor/meson.build b/src/neighbor/meson.build index 00033bd26..c27f3361b 100644 --- a/src/neighbor/meson.build +++ b/src/neighbor/meson.build @@ -1,4 +1,4 @@ -if not get_option('neighbor') +if not get_option('neighbor') or not enable_database conf.set('ENABLE_NEIGHBOR_PLUGINS', false) neighbor_glue_dep = dependency('', required: false) subdir_done() diff --git a/src/output/plugins/JackOutputPlugin.cxx b/src/output/plugins/JackOutputPlugin.cxx index 6b6289eb7..0dd4d69b0 100644 --- a/src/output/plugins/JackOutputPlugin.cxx +++ b/src/output/plugins/JackOutputPlugin.cxx @@ -405,10 +405,11 @@ JackOutput::Connect() jack_on_info_shutdown(client, OnShutdown, this); for (unsigned i = 0; i < num_source_ports; ++i) { + unsigned long portflags = JackPortIsOutput | JackPortIsTerminal; ports[i] = jack_port_register(client, source_ports[i].c_str(), JACK_DEFAULT_AUDIO_TYPE, - JackPortIsOutput, 0); + portflags, 0); if (ports[i] == nullptr) { Disconnect(); throw FormatRuntimeError("Cannot register output port \"%s\"",