Commit Graph

23 Commits

Author SHA1 Message Date
Khem Raj f45c615323 gerbera: fix build against fmt 12.2.0
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>
2026-07-12 17:39:43 -07:00
Khem Raj 336fd817c2 gerbera: Upgrade to 3.0.0
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>
2025-11-29 21:19:16 -08:00
Alexander Kanavin fc78d37ff0 meta-openembedded/all: adapt to UNPACKDIR changes
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>
2025-06-25 06:44:52 -07:00
Khem Raj 938d1803cd gerbera: Upgrade to 2.4.1
https://github.com/gerbera/gerbera/releases/tag/v2.4.1
https://github.com/gerbera/gerbera/releases/tag/v2.4.0
https://github.com/gerbera/gerbera/releases/tag/v2.3.0

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-10 09:33:52 -08:00
Khem Raj 1d0b13c58e gerbera: Upgrade to 2.2.0
Fixes build against fmt11 among other things [1]

[1] https://github.com/gerbera/gerbera/releases/tag/v2.2.0

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-08-29 10:18:13 -07:00
alperak f391181395 gerbera: upgrade 1.12.1 -> 2.0.0
* 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>
2024-01-19 09:51:04 -08:00
Khem Raj 8ea39c479c gerbera: upgrade 1.11.0 -> 1.12.1
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-11-06 08:48:27 -08:00
Khem Raj 51ea6b4bfa gerbera: Fix build with fmt 10+
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-17 17:43:11 -07:00
Khem Raj 9e42462d5a meta-multimedia: Fix missing upstream status in several patches
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-04-05 20:34:24 -07:00
William A. Kennington III 3efcb4c5f8 gerbera: upgrade 1.9.2 -> 1.11.0
Signed-off-by: William A. Kennington III <wak@google.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-09-29 19:18:27 -07:00
Khem Raj 4b50fb02cc recipes: Update LICENSE variable to use SPDX license identifiers
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-04 17:41:45 -08:00
Khem Raj 5a69735514 gerbera: Fix build with fmt 8.1+
The APIs have changes and we use external fmt library in spdlog
which is used here

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-01-25 21:03:16 -08:00
Khem Raj 39d43ab3b9 gerbera: Upgrade to 1.9.2
Drop upstreamed patch

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-01-25 09:13:09 -08:00
Richard Purdie b402a3076f recipes: Update SRC_URI branch and protocols
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>
2021-11-03 06:57:49 -07:00
Khem Raj 1f88b74cfc gerbera: Inherit pkgconfig
Fixes
-- Could NOT find Systemd (missing: SYSTEMD_FOUND)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-09-24 08:12:36 -07:00
Martin Jansa c61dc077bb Convert to new override syntax
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>
2021-08-03 10:21:25 -07:00
Khem Raj 70cfed4768 gerbera: Update to 1.7.0
Fix build with gcc11

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Andreas Müller <schnitzeltony@gmail.com>
2021-03-03 11:08:29 -08:00
Khem Raj 8c6115ce91 gerbera: Disable PIE on rv64
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>
2020-08-17 22:04:27 -07:00
Khem Raj 4038f0c0fa gerbera: Upgrade to 1.6.0
Add needed dependencies this version demands

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-07-31 13:22:53 -07:00
Adrian Bunk 3a0cf86c34 gerbera: Upgrade 1.3.0 -> 1.3.2
Use the upstream systemd service file.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-10-28 15:26:42 -07:00
Khem Raj e0fe1b0477 gerbera: Update to 1.3.0
Add missing dependency on libnsl2
Turn systemd support into a packageconfig knob

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-02-08 15:17:32 -08:00
Fabien Lahoudere 476e02efd5 gerbera: clean recipe
Clean the recipe and change the name of libupnp to libupnp1.8.

Signed-off-by: Fabien Lahoudere <fabien.lahoudere@collabora.co.uk>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-09-18 10:18:11 +02:00
Fabien Lahoudere e890ecb1d2 gerbera: Add recipe
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>
2017-09-13 11:13:22 +02:00