fmt 12.2.0 turns <fmt/core.h> into a shim that only pulls in
<fmt/base.h>, which no longer declares fmt::format() and no longer drags
in <cstring> transitively. gerbera 3.0.0 relied on both, so do_compile
fails first with:
src/exceptions.cc:37:31: error: no member named 'format' in namespace 'fmt'
and, once that is addressed, with a second wave of:
src/util/thread_runner.h:194:68: error: no member named 'strerror' in namespace 'std'
src/content/inotify/mt_inotify.cc:163:13: error: no member named 'memcpy' in namespace 'std'
src/util/url_utils.cc:144:24: error: no member named 'strchr' in namespace 'std'
Add two backport patches:
* 0001 switches the central headers exceptions.h and search_handler.h
from <fmt/core.h> to <fmt/format.h> (upstream commit 9507706136fd).
* 0002 adds an explicit #include <cstring> to every translation unit
that uses std::strerror/std::memcpy/std::strchr (based on upstream
commit 7caa9ae9ebf5, extended to cover all affected files in this
release).
Neither fix is in any released gerbera tag (both are master-only), so a
version bump would not help; backporting is the least invasive option.
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
Add missing dependencies on icu and jsoncpp
Package bash-completion scripts, fixes
ERROR: gerbera-3.0.0-r0 do_package: QA Issue: gerbera: Files/directories were installed but not shipped in any package:
/usr/share/bash-completion
/usr/share/bash-completion/completions
/usr/share/bash-completion/completions/gerbera
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Please see
https://git.yoctoproject.org/poky/commit/?id=4dd321f8b83afecd962393101b2a6861275b5265
for what changes are needed, and sed commands that can be used to make them en masse.
I've verified that bitbake -c patch world works with these, but did not run a world
build; the majority of recipes shouldn't need further fixups, but if there are
some that still fall out, they can be fixed in followups.
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
* 0001-Fix-build-against-fmt-10.patch dropped because fixed in the new version
* Expat dropped from DEPENDS because has been replaced with pugixml at version 1.5.0
* Required dependencies updated and added to DEPENDS
* Optional packages added and those enable by default have been enabled.
Changelog:
NEW Features
Staged importing that allows updating the virtual layout instead of deleting and recreating it each time (import-mode="grb")
Config options as command line arguments (--set-option OPT=VAL with --print-options)
Allow configuration of follow-symlinks per autoscan directory
Configuration of containers in virtual layout: title can be changed, some nodes can be disabled
New mode of loading Javascript plugins with cleanup of global variables
Generation of example configuration via command line option --create-example-config
Case insensitive sorting for databases
New config options for URL handling and host redirection
Use .nomedia to hide directory, incl. config option
Support for UPnP commands GetFeatureList and GetSortExtensionCapabilities
Build for Ubuntu 23.04 and 23.10
FIXES
Autoscan: Keep track of renamed directories
Docker: add JPEG and update description
Runtime issues in request handling
Configurable handling of HOME directory
Transcoding: parsing issue of requests
Stability for sqlite database access
Browsing on Samsung devices
Code Improvements
Update Javascript libraries
Update versions of googletest (1.14), pupnp (1.14.18), libexiv2 (v0.28.1), libebml (1.4.5), fmt (10.2.0), pugixml (1.14), spdlog (1.12.0) and taglib (1.13.1)
Compatibility with gcc14
Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This patch updates SRC_URIs using git to include branch=master if no branch is set
and also to use protocol=https for github urls as generated by the conversion script
in OE-Core.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This is the result of automated script (0.9.1) conversion:
oe-core/scripts/contrib/convert-overrides.py .
converting the metadata to use ":" as the override character instead of "_".
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
It ends up with textrels otherwise
QA Issue: gerbera: ELF binary /usr/bin/gerbera has relocations in .text
[textrel]
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Gerbera is a UPnP media server which allows you to stream your digital media
through your home network and consume it on a variety of UPnP compatible devices.
Gerbera is based on MediaTomb 12.1 which is dead upstream, so this is an attempt
to kick it back into life.
Signed-off-by: Fabien Lahoudere <fabien.lahoudere@collabora.co.uk>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>