- Update from version 0.22.6 to 0.23.6 - Update of rootfile not required - Since version 0.23 there is a new build time dependency for libfmt so a separate patch has been created to add fmt to the system but only for build - Changelog ver 0.23.6 (2022/03/14) * protocol - support filename "cover.webp" for "albumart" command - support "readcomments" and "readpicture" on CUE tracks * decoder - ffmpeg: fix end-of-file check (update stuck at empty files) - opus: fix "readpicture" on Opus files * output - pipewire: fix crash bug if setting volume before playback starts - wasapi: fix resume after pause ver 0.23.5 (2021/12/01) * protocol - support relative offsets for "searchadd" - fix "searchaddpl" bug (bogus error "Bad position") * database - upnp: fix crash bug * tags - fix MixRamp support * migrate to PCRE2 * GCC 12 build fixes ver 0.23.4 (2021/11/11) * protocol - add optional position parameter to "searchaddpl" * decoder - ffmpeg: support libavcodec 59 * output - alsa: add option "thesycon_dsd_workaround" to work around device bug * fix crash on debug builds if startup fails * systemd - remove "RuntimeDirectory" directive because it caused problems - ignore the "pid_file" setting if started as systemd service * Windows - enable the "openmpt" decoder plugin ver 0.23.3 (2021/10/31) * protocol - add optional position parameter to "add" and "playlistadd" - allow range in "playlistdelete" * database - fix scanning files with question mark in the name - inotify: fix use-after-free bug * output - alsa: add option "stop_dsd_silence" to work around DSD DAC noise * macOS: fix libfmt related build failure * systemd: add "RuntimeDirectory" directive ver 0.23.2 (2021/10/22) * protocol - fix "albumart" timeout bug * input - nfs: fix playback bug * output - pipewire: send artist and title to PipeWire - pipewire: DSD support * neighbor - mention failed plugin name in error message * player - fix cross-fade regression * fix crash with libfmt versions older than 7 ver 0.23.1 (2021/10/19) * protocol - use decimal notation instead of scientific notation - "load" supports relative positions * output - emit "mixer" idle event when replay gain changes volume - pipewire: emit "mixer" idle events on external volume change - pipewire: attempt to change the graph sample rate - snapcast: fix time stamp bug which caused "Failed to get chunk" * fix libfmt linker problems * fix broken password authentication ver 0.23 (2021/10/14) * protocol - new command "getvol" - show the audio format in "playlistinfo" - support "listfiles" with arbitrary storage plugins - support relative positions in "addid" - fix relative positions in "move" and "moveid" - add "position" parameter to "findadd" and "searchadd" - add position parameter to "load" * database - proxy: require MPD 0.20 or later - proxy: require libmpdclient 2.11 or later - proxy: split search into chunks to avoid exceeding the output buffer - simple: add option to hide CUE target songs - upnp: support libnpupnp instead of libupnp * archive - zzip, iso9660: ignore file names which are invalid UTF-8 * decoder - openmpt: new plugin - wavpack: fix WVC file support * player - do not cross-fade songs shorter than 20 seconds * output - oss: support DSD over PCM - pipewire: new plugin - snapcast: new plugin * tags - new tags "ComposerSort", "Ensemble", "Movement", "MovementNumber", and "Location" * split permission "player" from "control" * add option "host_permissions" * new build-time dependency: libfmt ver 0.22.11 (2021/08/24) * protocol - fix "albumart" crash * filter - ffmpeg: pass "channel_layout" instead of "channels" to buffersrc - ffmpeg: fix "av_buffersink_get_frame() failed: Resource temporarily unavailable" - ffmpeg: support double-precision samples (by converting to single precision) * Android - build with NDK r23 - playlist_directory defaults to "/sdcard/Android/data/org.musicpd/files/playlists" ver 0.22.10 (2021/08/06) * protocol - support "albumart" for virtual tracks in CUE sheets * database - simple: fix crash bug - simple: fix absolute paths in CUE "as_directory" entries - simple: prune CUE entries from database for non-existent songs * input - curl: fix crash bug after stream with Icy metadata was closed by peer - tidal: remove defunct unmaintained plugin * tags - fix crash caused by bug in TagBuilder and a few potential reference leaks * output - httpd: fix missing tag after seeking into a new song - oss: fix channel order of multi-channel files * mixer - alsa: fix yet more rounding errors ver 0.22.9 (2021/06/23) * database - simple: load all .mpdignore files of all parent directories * tags - fix "readcomments" and "readpicture" on remote files with ID3 tags * decoder - ffmpeg: support the tags "sort_album", "album-sort", "artist-sort" - ffmpeg: fix build failure with FFmpeg 3.4 * Android - fix auto-start on boot in Android 8 or later * Windows - fix build failure with SQLite ver 0.22.8 (2021/05/22) * fix crash bug in "albumart" command (0.22.7 regression) ver 0.22.7 (2021/05/19) * protocol - don't use glibc extension to parse time stamps - optimize the "albumart" command * input - curl: send user/password in the first request, save one roundtrip * decoder - ffmpeg: fix build problem with FFmpeg 3.4 - gme: support RSN files * storage - curl: don't use glibc extension * database - simple: fix database corruption bug * output - fix crash when pausing with multiple partitions - jack: enable on Windows - httpd: send header "Access-Control-Allow-Origin: *" - wasapi: add algorithm for finding usable audio format - wasapi: use default device only if none was configured - wasapi: add DoP support
Signed-off-by: Adolf Belka adolf.belka@ipfire.org --- lfs/mpd | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/lfs/mpd b/lfs/mpd index 90c8cec41..e4381fc1b 100644 --- a/lfs/mpd +++ b/lfs/mpd @@ -26,7 +26,7 @@ include Config
SUMMARY = Music Player Daemon
-VER = 0.22.6 +VER = 0.23.6
THISAPP = mpd-$(VER) DL_FILE = $(THISAPP).tar.xz @@ -34,7 +34,7 @@ DL_FROM = $(URL_IPFIRE) DIR_APP = $(DIR_SRC)/${THISAPP} TARGET = $(DIR_INFO)/$(THISAPP) PROG = mpd -PAK_VER = 24 +PAK_VER = 25 SUP_ARCH = aarch64 armv6l x86_64
DEPS = alsa avahi faad2 ffmpeg flac lame libmad libshout libogg libid3tag libvorbis opus soxr @@ -49,7 +49,7 @@ objects = $(DL_FILE)
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
-$(DL_FILE)_BLAKE2 = 675b876415a343ba387e26ad800b2e562b40a5e3aaacdff31e0ec9d6ad09f0117406f82e519a08ba3187020b482dcd0434267f9e84dd13e9e1bf8565d1967c2c +$(DL_FILE)_BLAKE2 = 5ccb4a7c06c4317e3285846a261438bdcc10db5eaf71fcba969bcae8321ca50bb26fe9317e23e38eca1c4a8785015596064d5bfc692bf66f8007d0d2a1b71cbb
install : $(TARGET)
- lfs and rootfile created - Added fmt to make.sh
Signed-off-by: Adolf Belka adolf.belka@ipfire.org --- config/rootfiles/common/fmt | 23 ++++++++++ lfs/fmt | 83 +++++++++++++++++++++++++++++++++++++ make.sh | 1 + 3 files changed, 107 insertions(+) create mode 100644 config/rootfiles/common/fmt create mode 100644 lfs/fmt
diff --git a/config/rootfiles/common/fmt b/config/rootfiles/common/fmt new file mode 100644 index 000000000..d9067f14a --- /dev/null +++ b/config/rootfiles/common/fmt @@ -0,0 +1,23 @@ +#usr/include/fmt +#usr/include/fmt/args.h +#usr/include/fmt/chrono.h +#usr/include/fmt/color.h +#usr/include/fmt/compile.h +#usr/include/fmt/core.h +#usr/include/fmt/format-inl.h +#usr/include/fmt/format.h +#usr/include/fmt/locale.h +#usr/include/fmt/os.h +#usr/include/fmt/ostream.h +#usr/include/fmt/printf.h +#usr/include/fmt/ranges.h +#usr/include/fmt/xchar.h +#usr/lib/cmake/fmt +#usr/lib/cmake/fmt/fmt-config-version.cmake +#usr/lib/cmake/fmt/fmt-config.cmake +#usr/lib/cmake/fmt/fmt-targets-release.cmake +#usr/lib/cmake/fmt/fmt-targets.cmake +#usr/lib/libfmt.so +#usr/lib/libfmt.so.8 +#usr/lib/libfmt.so.8.1.1 +#usr/lib/pkgconfig/fmt.pc diff --git a/lfs/fmt b/lfs/fmt new file mode 100644 index 000000000..754de03b1 --- /dev/null +++ b/lfs/fmt @@ -0,0 +1,83 @@ +############################################################################### +# # +# IPFire.org - A linux based firewall # +# Copyright (C) 2007-2022 IPFire Team info@ipfire.org # +# # +# This program is free software: you can redistribute it and/or modify # +# it under the terms of the GNU General Public License as published by # +# the Free Software Foundation, either version 3 of the License, or # +# (at your option) any later version. # +# # +# This program is distributed in the hope that it will be useful, # +# but WITHOUT ANY WARRANTY; without even the implied warranty of # +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # +# GNU General Public License for more details. # +# # +# You should have received a copy of the GNU General Public License # +# along with this program. If not, see http://www.gnu.org/licenses/. # +# # +############################################################################### + +############################################################################### +# Definitions +############################################################################### + +include Config + +VER = 8.1.1 + +THISAPP = fmt-$(VER) +DL_FILE = $(THISAPP).tar.gz +DL_FROM = $(URL_IPFIRE) +DIR_APP = $(DIR_SRC)/$(THISAPP) +TARGET = $(DIR_INFO)/$(THISAPP) + +############################################################################### +# Top-level Rules +############################################################################### + +objects = $(DL_FILE) + +$(DL_FILE) = $(DL_FROM)/$(DL_FILE) + +$(DL_FILE)_BLAKE2 = 8f3eafd72c0eff62cfcf26a8a37e4d89c8f4a2cec6e427e3ea8d0de3010dd6e5e45ce4486335d3b433308a967915b38ca4d422d789ceda4196153329128056b9 + +install : $(TARGET) + +check : $(patsubst %,$(DIR_CHK)/%,$(objects)) + +download :$(patsubst %,$(DIR_DL)/%,$(objects)) + +b2 : $(subst %,%_BLAKE2,$(objects)) + +dist: + @$(PAK) + +############################################################################### +# Downloading, checking, b2sum +############################################################################### + +$(patsubst %,$(DIR_CHK)/%,$(objects)) : + @$(CHECK) + +$(patsubst %,$(DIR_DL)/%,$(objects)) : + @$(LOAD) + +$(subst %,%_BLAKE2,$(objects)) : + @$(B2SUM) + +############################################################################### +# Installation Details +############################################################################### + +$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) + @$(PREBUILD) + @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE) + cd $(DIR_APP) && mkdir -pv build + cd $(DIR_APP)/build && cmake .. \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DBUILD_SHARED_LIBS=TRUE + cd $(DIR_APP)/build && make $(MAKETUNING) + cd $(DIR_APP)/build && make install + @rm -rf $(DIR_APP) + @$(POSTBUILD) diff --git a/make.sh b/make.sh index 5f9f16d05..a3df48d72 100755 --- a/make.sh +++ b/make.sh @@ -1548,6 +1548,7 @@ buildipfire() { lfsmake2 vdr_dvbapi lfsmake2 vdr_eepg lfsmake2 w_scan + lfsmake2 fmt lfsmake2 mpd lfsmake2 libmpdclient lfsmake2 mpc
- Update from version 0.33 to 0.34 - Combined this patch with update to mpd as mpc depends on mpd - Changelog 0.34 (2021/11/30) * add commands "albumart", "readpicture" * don't print status after error * custom status format * support grouping "list" results * meson: auto-build libmpdclient if not available * require libmpdclient 2.16 or newer * require MPD 0.21 or newer
Signed-off-by: Adolf Belka adolf.belka@ipfire.org --- lfs/mpc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/lfs/mpc b/lfs/mpc index 06aa9c890..78fd9488c 100644 --- a/lfs/mpc +++ b/lfs/mpc @@ -26,7 +26,7 @@ include Config
SUMMARY = Client for the Music Player Daemon
-VER = 0.33 +VER = 0.34
THISAPP = mpc-$(VER) DL_FILE = $(THISAPP).tar.xz @@ -34,7 +34,7 @@ DL_FROM = $(URL_IPFIRE) DIR_APP = $(DIR_SRC)/$(THISAPP) TARGET = $(DIR_INFO)/$(THISAPP) PROG = mpc -PAK_VER = 8 +PAK_VER = 9
DEPS = mpd libmpdclient
@@ -48,7 +48,7 @@ objects = $(DL_FILE)
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
-$(DL_FILE)_BLAKE2 = 220848e088964297fbaddeedf61d5ddc90386df360a6af81b2d3753517f7ee36ff3d9462242f38b17c991996927a7d1fc253e1006253f2f875023ddb75a800c2 +$(DL_FILE)_BLAKE2 = 709f54ceebd66f703e5b1bf6ff8deb890e484fdc29c0b2198922763e347caac89d6eec5f74101f9fa860436e7493e2b02cc6b1b26e800e783546fe5a0c6e0d8f
install : $(TARGET)