Max Kellermann
4d6f220a2f
python/build/cmake: write toolchain file only if cross-compiling
2023-09-26 15:29:45 +02:00
Max Kellermann
0ffbe5b5ea
python/build/autotools: add --host=... only if cross-compiling
2023-09-26 15:27:05 +02:00
Max Kellermann
5b83c834ac
python/build/meson: write cross-file only if cross-compiling
2023-09-26 15:26:17 +02:00
Max Kellermann
da7f32bddb
python/build/toolchain: rename arch
to host_triplet
2023-09-26 15:25:23 +02:00
Max Kellermann
9a5eac4ea9
python/build/toolchain: set arch=llvm_triple
2023-09-26 15:13:28 +02:00
Max Kellermann
6571b5d118
python/build/openssl: add option "no-makedepend"
...
We do not need "make" dependencies for one-time builds.
2023-09-26 15:05:14 +02:00
Max Kellermann
12dff8e382
python/build/openssl: use no-asm
only on Windows
2023-09-26 15:03:50 +02:00
Max Kellermann
c4da87a0cb
python/build/openssl: add configure
variable
2023-09-26 15:03:24 +02:00
Max Kellermann
446f8f29d3
python/build/openssl: add Darwin archs
2023-09-26 15:02:02 +02:00
Max Kellermann
48cc76f114
python/build/toolchain: add is_android, is_darwin
2023-09-26 14:49:39 +02:00
Max Kellermann
a0892b852e
build/python/autotools: add option per_arch_cflags
2023-09-26 14:33:24 +02:00
Max Kellermann
485c7805eb
python/build/autotools: use list.extend() to append configure_args
2023-09-26 14:31:30 +02:00
Max Kellermann
23802f4489
python/build/tarball: Python type hints
2023-09-26 14:28:23 +02:00
Max Kellermann
3fedd978a2
python/build/meson: disable ccache because Meson detects it automatically
2023-09-26 14:27:43 +02:00
Max Kellermann
a9f1bed922
build/python/cmake: add cast to fix mypy warning
2023-09-26 14:25:51 +02:00
Max Kellermann
eb23788fec
python/build: add support for fallback download URLs
2023-09-26 14:25:51 +02:00
Max Kellermann
f6d73555a6
python/build/libs: update OpenSSL toi 3.1.3
2023-09-26 14:21:43 +02:00
Max Kellermann
a56a709406
python/build/download: relative imports
2023-09-26 14:15:01 +02:00
Max Kellermann
5f253e66f6
python/build/toolchain.py: add AnyToolchain for type hints
2023-09-26 12:54:58 +02:00
Max Kellermann
4669f7e2b9
{android,win32}/build.py: move Toolchain classes to python/build/toolchain.py
2023-09-26 12:47:02 +02:00
Max Kellermann
4c90f88704
win32: rename CrossGccToolchain to MingwToolchain
2023-09-26 12:46:10 +02:00
Max Kellermann
a7213b78d6
win32/build.py: move code to class CrossGccToolchain
2023-09-26 12:20:53 +02:00
Max Kellermann
719333e16e
android/build.py: move code to class AndroidNdkToolchain
2023-09-26 12:18:18 +02:00
Max Kellermann
100e471b49
android/build.py: remove duplicate import
2023-09-26 12:12:00 +02:00
Max Kellermann
3f2016e552
python: add type hints
2023-09-26 12:04:08 +02:00
Max Kellermann
dd89ea4505
android/AndroidManifest.xml: raise minSdkVersion to 24
...
This is needed to build libFLAC which uses ftello().
2023-09-26 12:04:05 +02:00
Max Kellermann
101e12cf9a
modplug: add patch to remove the deprecated register
keyword
2023-09-26 11:48:44 +02:00
Max Kellermann
f382808450
python/build/libs.py: update CURL to 8.2.1
2023-09-26 11:48:16 +02:00
Max Kellermann
0cbe3c2a93
python/build/libs.py: update OpenSSL to 3.1.2
2023-09-26 11:48:13 +02:00
Max Kellermann
4f0ae28359
python/build/libs.py: update zlib to 1.3
2023-09-26 11:48:09 +02:00
Max Kellermann
6a4250f485
python/build/libs.py: update Opus to 1.4
2023-09-26 11:48:06 +02:00
Max Kellermann
3322b29e6a
python/build/libs.py: update FLAC to 1.4.3
2023-09-26 11:48:02 +02:00
naglis
33ac472601
doc/plugins.rst: change command to list PipeWire targets
...
The `dump` command was dropped[1] in favor of other tools.
[1]: 50bdebe4e8
2023-09-26 11:41:37 +02:00
Simon Arlott
561d6fd478
meson: Use correct prefix for systemd_system_unit_dir
...
systemd uses "rootprefix", not "prefix" for this value
059b1b31ad/src/core/systemd.pc.in (L23)
2023-06-02 14:33:13 +02:00
Naïm Favier
42a01822bf
meson: use correct prefix for systemd dirs
...
See https://www.bassi.io/articles/2018/03/15/pkg-config-and-paths/
Fixes the build in nixpkgs
2023-06-02 14:33:09 +02:00
Shen-Ta Hsieh
38f1237d49
output/wasapi: cast to const char *
for fmt 10 compatible
2023-06-02 14:29:43 +02:00
Shen-Ta Hsieh
8df77122e5
python/build/libs.py: use right cmake variable to disable SDL
2023-06-02 14:28:22 +02:00
Shen-Ta Hsieh
fef6b9df80
flac: Try InputStream
interface if flac failed to read through a wchar_t
path
2023-06-02 14:28:22 +02:00
Shen-Ta Hsieh
d52eac66db
doc/mpdconf.example: add hardware mixer example config for wasapi
2023-06-02 14:27:24 +02:00
Shen-Ta Hsieh
70879f0abc
thread/WindowsFuture: remove wrong address_of operator
2023-06-02 14:27:24 +02:00
Shen-Ta Hsieh
bcb393628e
win32/ComWorker: rename variable name to prevent ambiguous
2023-06-02 14:22:11 +02:00
Max Kellermann
18d3a5c12b
decoder/flac: add noexcept
and inline
2023-06-02 14:22:11 +02:00
Simon Arlott
6ee3d0102b
decoder/mad: Fix decode of LAME peak value
...
6d91b5c7b2
("fix double promotions") changed
how LAME peak values are decoded, producing large incorrect values that
cause some MP3 files to play silently.
Restore the original decode from MAD fixed-point format to double and
document what it's doing.
Fixes #1823
2023-06-02 14:15:48 +02:00
Max Kellermann
fc9626e2f4
increment version number to 0.23.14
2023-06-02 14:15:14 +02:00
Simon Arlott
3bedd94fc8
doc: Fix syntax error
...
With sphinx-build 5.0.0:
doc/user.rst:728: ERROR: Unexpected indentation.
doc/user.rst:731: ERROR: Unexpected indentation.
2023-06-02 14:10:38 +02:00
Max Kellermann
8842650c33
release v0.23.13
2023-05-22 19:46:38 +02:00
Max Kellermann
d5bf128cee
storage/curl: throw HttpStatusError
2023-05-22 19:29:46 +02:00
Max Kellermann
5cd86e272f
input/curl: disable CURLOPT_FAILONERROR
...
Let OnHeaders() check the status.
The status checking code was added by commit 4f021cbced
in 2011,
but in 2008, commit a8e81326d0
enabled `CURLOPT_FAILONERROR`, which
means the status checking code never had any effect.
This allows `LoadExcludeListOrLog()` to hide boring "404 Not Found"
log messages via `IsFileNotFound()`.
2023-05-22 19:03:12 +02:00
Max Kellermann
740cbe9e02
event/Loop: remove failing assert()
...
The `assert(!quit)` can fail if the `EventThread` gets stopped before
it enters `EventLoop::Run()`. There is a similar problem with `alive`,
which gets reset by `EventThread::Stop()`.
If that happens, then `EventLoop::Run()` should return immediately
without handling any events.
2023-05-22 18:14:25 +02:00
Max Kellermann
ed890a273a
doc/user.rst: document the replaygain_missing_preamp
setting
...
Closes https://github.com/MusicPlayerDaemon/MPD/issues/1785
2023-05-22 16:17:05 +02:00