1208 Commits

Author SHA1 Message Date
Markus Volk
67e8544511
pipewire: update 1.2.7 -> 1.4.0
- remove backport patch
- install libspa.so to libpipewire package

PipeWire 1.4.0 (2025-03-06)

This is the 1.4 release that is API and ABI compatible with previous
1.2.x and 1.0.x releases.

This release contains some of the bigger changes that happened since
the 1.2 release last year, including:

  * client-rt.conf was removed, all clients now use client.conf and
    are given RT priority in the data threads.
  * UMP (aka MIDI2) support was added and is now the default format
    to carry MIDI1 and MIDI2 around in PipeWire. There are helper
    functions to convert between legacy MIDI and UMP.
  * The resampler can now precompute (at compile time) some common
    conversion filters. Delay reporting in the resampler was fixed and
    improved.
  * Bluetooth support for BAP broadcast links and support for hearing aids
    using ASHA was added. A new G722 codec was also added.
    Delay reporting and configuration in Bluetooth was improved.
  * The ALSA plugin now supports DSD playback when explicitly allowed
    with the alsa.formats property.
  * A PipeWire JACK control API was added.
  * A system service was added for pipewire-pulse.
  * Many documentation and translation updates.
  * Many of the SPA macros are converted to inline functions.  All SPA
    inline functions are now also compiled into a libspa.so library to
    make it easier to access them from bindings.
  * The module-filter-chain graph code was moved to a separate
    filter-graph SPA plugin so that it becomes usable in more places.
    EBUR128, param_eq and dcblock plugins were added to filter-graph.
    The filter graph can now also use fftw for doing convolutions.
    The audioconvert plugin was optimized and support was added to
    audioconvert to insert extra filter-graphs in the processing pipeline.
  * New helper functions were added to parse JSON format descriptions.
  * The profiler now also includes the clock of the followers.
  * RISCV CPU support and assembler optimisations were added.
  * The clock used for logging timestamps can be configured now.
  * The JSON parser was split into core functions and helper.
  * Support for UCM split PCMs was added. Instead of alsa-lib splitting
    up PCMs, PipeWire can mark the PCMs with the correct metadata so that
    the session manager can use native PipeWire features to do this.
  * Support for webrtc2 was added to echo-cancel.
  * IEC958 codecs are now detected from the HDMI ELD data.
  * Conversion between floating point and 32 bits now preserve 25 bits of
    precision instead of 24 bits.
  * A new Telephony D-BUS API compatible with ofono was added.
  * The invoke queues are now more efficient and can be called from multiple
    threads concurrently.
  * Clock information in v4l2 was improved.
  * An ffmpeg based videoconvert plugin was added that can be used with the
    videoadapter.
  * The GStreamer elements have improved buffer pool handling and rate
    matching.
  * The combine-stream module can now also mix streams.
  * link-factory now checks that the port and node belong together.
  * The netjack-manager module has support for autoconnecting streams.
  * The native-protocol has support for abstract sockets.
  * The pulse server has support for blocking playback and capture in
    pulse.rules.
  * The corked state of stream is now reported correctly in pulse-server.
  * Fix backwards jumps in pulse-server.
  * Latency configuration support was added in loopback and raop-sink.
  * The ROC module has more configuration options.
  * The SAP module now only send updated SDP when something changed.
  * RTP source now has a standby mode where it idles when there is no
    data received.
  * Support for PTP clocking was added the RTP streams.
  * The VBAN receiver can now dynamically create streams when they are
    detected.
  * Error reporting when making links was improved.
  * Support for returning (canceling) a dequeued buffer in pw-stream.
  * Support for emiting events in pw-stream was added.
  * pw-cat now support stdin and stdout.

Highlights (since the previous 1.3.83 release)
  - Small fixes and improvements.

PipeWire
  - Fix some missing includes in metadata.h
  - Pass the current error in errno when a stream is in error (#4574)

modules
  - Evaluate node rules before loading adapter follower to ensure
    properties are set correctly. (#4562)

SPA
  - Avoid a use after free when building PODs. (#4445)
  - Take headroom into account when calculating resync.

Bluetooth
  - Fix +CLCC parsing.

GStreamer
  - Notify about default device changes in deviceprovider.
  - Copy frames between pools and avoid splitting video buffers.

JACK
  - Add an option to disable the MIDI2 port flags. (#4584)

Older versions:

PipeWire 1.3.83 (2025-02-20)

This is the third and hopefully last 1.4 release candidate that
is (almost) API and (entirely) ABI compatible with previous 1.2.x
and 1.0.x releases.

We note that in the 1.3.x series, the API is slighty not backwards
compatible because some methods previously used to accept void* as
a parameter while they now require the correct type. We think this
is however a good kind of API breakage and expect projects to patch
their code to get things compiled with newer version (which will also
compile for older versions). Note also that this is not an ABI break.

  - Handle JACK transport updates in a better way.
  - Fix a SAP regression when starting.
  - Fix regression in rate scaling.
  - Improve bluetooth source rate handling.
  - More small bugfixes and improvements.

  - Handle JACK transport updates in a better way. (#4543)

  - Check that the link factory port and nodes match. Deprecate the
    port.id when making links.
  - Improve profiler output by scaling the quantum with the node
    rate so that we don't end up with confusing information. (#4555)
  - Fix sending of the SAP SDP. Handle some SDP parsing errors.
  - Add some more options to the ROC source module. (#4516)

  - Fix firewire quirks in udev rules. (#4528)
  - Fix a bug in the rate scaling in some cases that would make things
    run with the wrong samplerate.
  - Improve introspection of control types.

  - Use the G722 codec from Android instead of FFmpeg for ASHA.
  - Use the A2DP source rate as the graph rate. (#4555)
  - Specify the bluetooth source latency property in the rate of the
    stream to avoid conversions and rounding errors.

This is the second 1.4 release candidate that is API and ABI
compatible with previous 1.2.x and 1.0.x releases.

  - Various pw-stream improvements: timing information fixes,
    avoid locking buffers in some cases and an improved drain
    event.
  - A new Telephony D-BUS API compatible with ofono.
  - Documentation fixes and updates.
  - More small fixes and improvements.

  - Improve timing information when rate is unknown.
  - Avoid locked buffers in pw_stream in some cases.
  - Improve pw_stream drain event emission.
  - Improve manager socket handling. Applications can avoid hardcoding
    the sockets so that they will respect the config settings.

  - Fix header size calculation when using ipv6. (#4524)

  - Optimize byteswapped s16 conversions.
  - Improve event handling for internal events.
  - Optimize negiotiation when in convert mode, prefer the format
    of the follower in adapter.
  - Fix EnumPortConfig for videoadapter without converter.
  - Fix libcamera property buffer size.

  - Add systemwide systemd files.

  - Add a UMP example.
  - Use the new JackPortMIDI2 flag to mark UMP ports to JACK.

  - Support BAP hardware volume.
  - Add a Telephony DBUS API.

  - Disable buffer pools for audio by default.

  - Improve the module documentation.

This is the first 1.4 release candidate that is API and ABI
compatible with previous 1.2.x and 1.0.x releases.

In addition to all the changes backported to 1.2.x, this release
also contains some new features:

  - UMP support was added with MIDI 1.0 and MIDI 2.0 support in the ALSA
    sequencer plugin. By default PipeWire will now use MIDI 2.0 in UMP
    messages to transport MIDI in the graph, with conversions to/from legacy
    MIDI where required. This requires UMP support in the kernel.
  - client-rt.conf is no longer supported. Custom changes made to this
    config should be moved to client.conf. Clients that try to load the
    client-rt.conf will emit a warning and be directed to client.conf
    automatically for backwards compatibility.
  - The module-filter-chain code was moved to a new filter-graph plugin. This
    made it possible to add filter-graph support directly in audioconvert. It
    is now possible to run up to 8 run-time swappable filter-graphs inside
    streams and nodes. This should make it easier to add effects to streams
    and device nodes.
  - Bluetooth support for BAP broadcast links and support for hearing aids
    using ASHA was added.
  - Many more bugfixes and improvements.

  - Nodes are now only scheduled when ready to signal the driver.
  - Add slovenian translation. (#4156)
  - Link errors are handled better.
  - The videoadapter is now enabled by default but no videoconverter
    is loaded yet by default.
  - Streams now have support for ProcessLatency.
  - Streams now have a method to emit events.
  - The RequestProcess event and command can now pass around extra
    properties.
  - Local timestamps are now used for logging.
  - client-rt.conf is no longer supported. Custom changes made to this
    config should be moved to client.conf. Clients that try to load the
    client-rt.conf will emit a warning and be directed to cliert.conf
    automatically to preserve backwards compatibility.
  - pw_stream now has an API to return unused buffers.

  - module-combine-stream can now mix streams.
  - Links in error are now destroyed by link-factory.
  - The netjack2 driver can now also create streams that autoconnect when
    specified. (#4125)
  - Many updates and bugfixes to the RTP modules.
  - The netjack2 driver can now bind to a custom IP and port pair. (#4144)
  - The loopback module and module-raop have support for ProcessLatency, which
    can be used to query and update the latency.
  - The profiler module can now reduce the sampling rate.
  - The filter-chain was optimized some more.
  - The filter-chain gained some more plugins: param_eq, ebur128, dcblock.
  - Support for fftw based convolver was added.
  - Some module arguments can now be overridden.
  - The VBAN receiver now creates new streams per stream name. (#4400)
  - The RTP SAP module is now smarter with generating new SAP messages.
  - The RTP source can now be paused when no data is received. (#4456)

  - pw-cat can now stream most formats from stdin/stdout.
  - pw-profiler has a JSON dump option to dump the raw profiler data.
  - pw-cli now supports unload-module. (#4276)

  - The resampler can precompute some common coeficients now at compile
    time.
  - UMP support was added with MIDI 1.0 and MIDI 2.0 support in the ALSA
    sequencer plugin. By default PipeWire will now use MIDI 2.0 in UMP
    messages to transport MIDI in the graph, with conversions to/from legacy
    MIDI where required.
  - Control types can now be negotiated.
  - Support for writing ALSA bind controls was added.
  - The ALSA sequencer now has better names for the ports.
  - The F32 to S32 conversion now uses 25 bits for an extra bit of
    precision.
  - libcamera controls can now be set in all cases.
  - The videoadapter has been improved and a dummy and ffmpeg based
    videoconverter plugin was added.
  - Negotiation was improved in audioadapter. First a passthrough format
    is tried.
  - Some JSON helper functions were added and some duplicate code removed
    or simplified.
  - Add support for RISC V CPU detection and add many optimizations in
    the audio converters.
  - Add an option to disable ALSA mixer path select. (#4311)
  - Fix a potential bug with the cleanup of the loop queues.
  - ALSA nodes now dynamically adjust the DLL bandwidth based on average
    measured variance.
  - The loop invoke queue was made more efficient and make it possible to
    invoke from multiple threads.
  - The filter-chain code was moved to a new filter-graph plugin.
  - Most function macros are now static inlined and can also be built into a
    libspa.so file. This should improve language bindings.
  - V4l2 clock information was improved.
  - Supported IEC958 codecs are now autodetected via ELD info.
  - Audioconvert was optimized some more.
  - Audioconvert can now include filter-graphs in its processing.
  - webrtc-audio-processing-2 is now supported in AEC.
  - The resampler now reports the delay and subsample delay. Also the
    delay is reported in the samplerate of the input.
  - The ALSA sequencer now handle kernels without UMP support. (#4507)

  - Add quirk to block clients from making record and playback streams.
  - The corked state is now set on stream to always report this state
    correctly to other clients.
  - Readiness notification was added to the pulse server with the
    PIPEWIRE_PULSE_NOTIFICATION_FD environment variable. (#4347)
  - The pulse.cmd config now supports conditions.
  - A bug in clearing the ringbuffer was fixed. (#4464)

  - Support for the default devices was added to the deviceprovider. (#4268)
  - The graph clock is now used as the source for the GStreamer clock.
  - The sink now does some rate control.

  - The ALSA plugin now supports DSD when explicitly enabled.

  - JACK now supports 2 new extension formats for OSC and UMP.
  - JACK clients can receive UMP MIDI1 or MIDI2 messages when using
    the new UMP port format extension.
  - JACK now reports the PipeWire version in the minor/micro/proto.
  - Implement more jackserver functions.

  - Support BAP broadcast links.
  - Support for ASHA was added.
  - Delay reporting in A2DP sources was improved.

  - 2 new examples of pw-stream using spa_ringbuffer were added.

  - Many updates to the man pages.
  - More documentation about thread safety of functions in stream
    and filters. (#4521)

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-03-10 09:41:56 -07:00
Ross Burton
fa6350c5d5
gstd: disable gtk-doc
The API documentation should be buildable with gtk-doc, but it fails
for some reason:

  gtkdoc-mkhtml: error: unrecognized arguments: ../gstd-docs.xml

Leave the gtk-doc class inherited, but temporarily disable it until this
is fixed.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-02-26 12:43:32 -08:00
Markus Volk
3ab42ea30e
dav1d: update 1.5.0 -> 1.5.1
Changes for 1.5.1 'Sonic':
--------------------------
1.5.1 is a minor release of dav1d, focusing on optimizations and stack reduction:
 - Rewrite of the looprestoration (SGR, wiener) to reduce stack usage
 - Rewrite of {put,prep}_scaled functions
Now, the required stack space for dav1d should be: 62 KB on x86_64 and
58KB on arm and aarch64.
 - Improvements on the SSSE3 SGR
 - Improvements on ARM32/ARM64 looprestoration optimizations
 - RISC-V: blend optimizations for high bitdepth
 - Power9: blend optimizations for 8bpc
 - Port RISC-V to POSIX/non-Linux OS
 - AArch64: Add Neon implementation of load_tmvs
 - Fix a rare, but possible deadlock, in flush()

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-02-15 17:58:28 -08:00
Gyorgy Sarvari
bf833ea600
rygel: drop obsolete PACKAGECONFIG
"lms" plugin has been dropped by the project starting version 0.43.0.

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-02-14 20:27:18 -08:00
Gyorgy Sarvari
c9d8ac58c5
pipewire: remove WORKDIR from documentation
In case docs PACKAGECONFIG is enabled, do_package_qa task fails
due to some of the generated html files are referencing the ${WORKDIR}.

Delete it from these files.

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-02-14 20:27:18 -08:00
Gyorgy Sarvari
a66ce64267
libdvbcsa: set correct LICENSE
Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-31 10:34:03 -08:00
Gyorgy Sarvari
30fc238c87
pipewire-0.2: drop old version of recipe
pipewire-0.2 (which is a pre-pandemic version of pipewire) has been
kept around[1] to satisfy the dependencies of mutter (< 3.36).
Mutter has been updated to a version that doesn't require
this old pipewire more than 3 years ago[2].

There is a much more newer version of pipewire recipe available
in the same folder, and it seems there aren't further recipes depending on
this old version.

[1]: 5200e029ea
[2]: 7cd570b486

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-31 10:34:03 -08:00
Richard Purdie
bd6a1bb278
recipes: Fix variable assignment whitespace
Recipes are much more readable with whitespace around the assignment operators.
Fix various assignments in meta-openembedded recipes to show this is definitely
the preferred formatting.

This fixes recipes with larger numbers of issues but there are just under 100
other references left to fix.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-31 10:34:03 -08:00
Thomas Schlien
cc78e543c4
rtmpdump: update 2.4 -> v2.6
- remove fix-racing-build-issue.patch since it is included upstream

Signed-off-by: Thomas Schlien <ts@ferncast.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-25 09:28:57 -08:00
Peter Marko
67d94fecb0
vorbis-tools: patch CVE-2023-43361
This is inactive project, so no official CVE fix will be available
anymore. That however does not mean that there is no fix available.
Following tries to prove that patch provided here is valid.

NVD CVE report [1] links issue [2] where this is reported.
Based on the report, fix was proposed in [3].
There was some review however the patch autor was not active.
[4] was later created trying to adddress the comments, but the project
was not active anymore. In this PR the patch was shrunk to a one-liner
in discussion.

I have tested the poc and it is real.
The patch fixes it, while not breaking the execution if good file path
is provided as argument.

[1] https://nvd.nist.gov/vuln/detail/CVE-2023-43361
[2] https://github.com/xiph/vorbis-tools/issues/41
[3] https://gitlab.xiph.org/xiph/vorbis-tools/-/merge_requests/7
[4] https://gitlab.xiph.org/xiph/vorbis-tools/-/merge_requests/8

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-17 11:01:39 -08:00
Markus Volk
402e49afd1
libde265: switch to cmake buildsystem
This fixes build issues with clang/qemuarm

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-16 14:56:27 -08:00
Markus Volk
f93d427683
libde265: update 1.0.12 -> 1.0.15
- dont use autotools-brokensep
- add PACKAGECONFIG for dec265

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-10 16:49:20 -08:00
Khem Raj
dbab8c836e
packagegroup-meta-multimedia: Drop adding openh264 and libde265
Fixes

ERROR: packagegroup-meta-multimedia-1.0-r0 do_package_write_ipk: An allarch packagegroup shouldn't depend on packages which are dynamically renamed (openh264-dev to libopenh264-dev)
ERROR: packagegroup-meta-multimedia-1.0-r0 do_package_write_ipk: An allarch packagegroup shouldn't depend on packages which are dynamically renamed (libde265 to libde265-0)
ERROR: packagegroup-meta-multimedia-1.0-r0 do_package_write_ipk: An allarch packagegroup shouldn't depend on packages which are dynamically renamed (openh264 to libopenh264-7)
ERROR: packagegroup-meta-multimedia-1.0-r0 do_package_write_ipk: An allarch packagegroup shouldn't depend on packages which are dynamically renamed (openh264-dbg to libopenh264-dbg)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-10 16:49:00 -08:00
Markus Volk
d9b4950d0c
dav1d: update 1.4.3 -> 1.5.0
Changes for 1.5.0 'Sonic':
--------------------------

1.5.0 is a major release of dav1d, that:
 - WARNING: we removed some of the SSE2 optimizations, so if you care about
            systems without SSSE3, you should be careful when updating!
 - Add Arm OpenBSD run-time CPU feature
 - Optimize index offset calculations for decode_coefs
 - picture: copy HDR10+ and T35 metadata only to visible frames
 - SSSE3 new optimizations for 6-tap (8bit and hbd)
 - AArch64/SVE: Add HBD subpel filters using 128-bit SVE2
 - AArch64: Add USMMLA implempentation for 6-tap H/HV
 - AArch64: Optimize Armv8.0 NEON for HBD horizontal filters and 6-tap filters
 - Power9: Optimized ITX till 16x4.
 - Loongarch: numerous optimizations
 - RISC-V optimizations for pal, cdef_filter, ipred, mc_blend, mc_bdir, itx
 - Allow playing videos in full-screen mode in dav1dplay

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-10 16:49:00 -08:00
Khem Raj
87d60b80a5
mpd: Drop adding +git to PV
We are using latest release SHA1

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-10 09:33:52 -08:00
Khem Raj
89a1484f3a
mpd: Use meson wrap for fmt
mpd still depends on fmt 11.0.x and oe-core has moved to 11.1.x
until mpd is ported to use it, lets fall back to what mpd works with
instead of using system provided fmt

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-10 09:33:52 -08:00
Khem Raj
e7ca3cedb0
mpd: Upgrade mpd to 0.23.16
- Release Notes

* database
  - fix integer overflows with 64-bit inode numbers
* filter
  - ffmpeg: fix for filters producing no output
* support libfmt 11
* support ICU 76

- Drop ICU-76 support patch its already in this release

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-10 09:33:52 -08: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
Alexander Stein
dfa40e1f4e
libcamera: update to 0.4.0
Upgrade libcamera to version 0.4.0, gaining support for ARM Mali-C55 ISP.

Patches 0002-options-Replace-use-of-VLAs-in-C.patch and
0001-rpi-Use-malloc-instead-of-variable-length-arrays.patch are obsolete.
Issues have been fixed upstream (differently).

Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-08 08:02:10 -08:00
Khem Raj
d29b3f2b10
x265: Fix build on x86
Disable asm on x86

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-07 21:44:51 -08:00
Khem Raj
482fb7c19a
openh264: Fix meson build for x86
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-07 21:44:51 -08:00
Khem Raj
0eec9a52ec
libheif: Make openh264 as packageconfig
openh264 is an optional dependency so its good to make it a configurable
option since the build says that its an optional dependency, this helps
in building libheif for architectures like riscv32

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-07 18:41:10 -08:00
Khem Raj
eefcfe8592
openh264: Disable build on riscv32
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-07 18:41:10 -08:00
Khem Raj
c27e679a37
x265: Re-add -DENABLE_PIC=ON
Its needed on architectures like aarch64 and riscv

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-07 18:41:10 -08:00
Markus Volk
7aec07859f
libheif: add recipe
libheif is an ISO/IEC 23008-12:2017 HEIF and AVIF (AV1 Image File Format) file format decoder and encoder. There is partial support for ISO/IEC 23008-12:2022 (2nd Edition) capabilities.

HEIF and AVIF are new image file formats employing HEVC (H.265) or AV1 image coding, respectively, for the best compression ratios currently possible.

libheif makes use of libde265 for HEIF image decoding and x265 for encoding. For AVIF, libaom, dav1d, svt-av1, or rav1e are used as codecs.

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-07 18:41:10 -08:00
Markus Volk
985d470272
openh264: update 2.3.1 -> 2.5.0
- switch to meson buildsystem

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-07 18:41:00 -08:00
Markus Volk
85fe143fae
x265: update 3.2.1 -> 4.1
- add PACKAGECONFIG for hdr10plus and 10bit
- add numa support
- build shared library by default
- do manual packaging to avoid dev-elf error:
x265-4.1-r0 do_package_qa: QA Issue: -dev package x265-dev contains non-symlink .so '/usr/lib/libhdr10plus.so' [dev-elf]

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-07 09:33:41 -08:00
Markus Volk
9fd5801396
packagegoup-meta-multimedia: adjust RDEPENDS for h264/hevc
Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-06 11:39:11 -08:00
Markus Volk
325be82ad1
x265: drop restriction for x86/x86-64
It can be built for various platforms

Remove SRC_URI[md5sum]

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-06 11:39:11 -08:00
Peter Marko
95b8d055db opusfile: patch CVE-2022-47021
This patch is mentioned in [1] and [2].

[1] https://nvd.nist.gov/vuln/detail/CVE-2022-47021
[2] https://github.com/xiph/opusfile/issues/36

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-12-24 08:23:09 -08:00
Peter Marko
9ff3f634f9 rtmpdump: add +git to PV
We fetch newer hash than 2.4 version.

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-12-24 08:23:09 -08:00
Peter Marko
d7758a8d0c rtmpdump: mark CVE-2015-8270, CVE-2015-8271 and CVE-2015-8272 as fixed
This CVE is marked as fixed by Debian.
Extracting Debian jessie Debian sources [1] shows 4 commits uses for
backports. All these commits are already included in current hash
([2]-[5]).

../tmp/work/core2-64-poky-linux/rtmpdump/2.4/git$ git log | grep 'commit \(10b580aabcec1621b25518271ba1ab2b018be88e\|...\|4312322107a94c81d3ec5b98f91bc6b923551dc5\)'
commit 530f9bb2a02a78c1198fb2bf0293a12d225e4691
commit 4312322107a94c81d3ec5b98f91bc6b923551dc5
commit 39ec7eda489717d503bc4cbfaa591c93205695b6
commit 10b580aabcec1621b25518271ba1ab2b018be88e

[1] https://snapshot.debian.org/archive/debian/20170704T094954Z/pool/main/r/rtmpdump/rtmpdump_2.4%2B20150115.gita107cef-1%2Bdeb8u1.debian.tar.xz
[2] 10b580aabc
[3] 39ec7eda48
[4] 530f9bb2a0
[5] 4312322107

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-12-24 08:23:09 -08:00
Markus Volk
38c60656c6
wireplumber: update 0.5.6 -> 0.5.7
WirePlumber 0.5.7
~~~~~~~~~~~~~~~~~

Highlights:

  - Fixed an issue that would cause random profile switching when an application
    was trying to capture from non-Bluetooth devices (#715, #634, !669)

  - Fixed an issue that would cause strange profile selection issues [choices
    not being remembered or unavailable routes being selected] (#734)

  - Added a timer that delays switching Bluetooth headsets to the HSP/HFP
    profile, avoiding needless rapid switching when an application is trying to
    probe device capabilities instead of actually capturing audio (!664)

  - Improved libcamera/v4l2 device deduplication logic to work with more complex
    devices (!674, !675, #689, #708)

Fixes:

  - Fixed two memory leaks in module-mixer-api and module-dbus-connection
    (!672, !673)

  - Fixed a crash that could occur in module-reserve-device (!680, #742)

  - Fixed an issue that would cause the warning "[string "alsa.lua"]:182:
    attempt to concatenate a nil value (local 'node_name')" to appear in the
    logs when an ALSA device was busy, breaking node name deduplication (!681)

  - Fixed an issue that could make find-preferred-profile.lua crash instead of
    properly applying profile priority rules (#751)

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-12-06 20:55:57 -08:00
Markus Volk
258e279c34
pipewire: update 1.2.6 -> 1.2.7
This is a bugfix release that is API and ABI compatible with the previous
1.2.x and 1.0.x releases.

  - Backport support for lazy scheduling.
  - Handle the case where processing would stop when an ALSA driver is
    destroyed.
  - Add support for v4l2loopback in the v4l2 plugin.
  - Small bug fixes and improvements.

  - Invalidate the proxy ID when removed.
  - Backport support for lazy scheduling.
  - Fix profiler stats for async nodes.
  - Fix EARLY_PROCESS again in pw-stream. (#3480)

  - Fix a crasher issue when nodes are created in the wrong order in
    module-filter-chain.
  - Fix unmap bug in lv2 uri tables.
  - Add ratelimit to jack-tunnel xruns.
  - Remove hardcoded limit in filter-chain sofa plugin.
  - Handle the MTU size correctly in module-rtp and handle large MTUs.
    (#4396)
  - Fix JSON float parsing errors in equalizer module. (#4418)

  - Fix crash in audiotestsrc when using spa-inspect (#4365).
  - Improve JSON float infinity checks.
  - Improve resampler performace a little.
  - Make audioconvert only output when there is something to output.
  - Fix regression in v4l2 port flags which would disable support for
    EXPBUF.
  - Handle the case where an ALSA driver is destroyed and the follower
    becomes a driver. Processing would stop. (#4401)
  - Add support for v4l2loopback in the v4l2 plugin.

  - Give a better error message when running out of fds.
  - Ensure positive latency reporting.

  - Fix memory leak in deviceprovider.
  - Fix locking when emitting an error.

  - Fix pw-dot link labels.

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-12-06 20:55:57 -08:00
AmateurECE
7d7ada648e
pipewire: Add glib-2.0-native dep for bluez5
The SPA plugins for bluez depend on D-Bus bindings generated using
gdbus-codegen at build time. Some PACKAGECONFIG combinations appear to
pull this in accidentally. Add an explicit dependency to ensure that
it's in the sysroot when PACKAGECONFIG contains bluez5.

Signed-off-by: Ethan D. Twardy <ethan.twardy@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-11-29 15:25:42 -08:00
Khem Raj
81a0d778f3
mpd: Fix build with icu 76+
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-11-23 10:21:48 -08:00
Khem Raj
f1e8d8a510
meta: Add SECURITY.md file to all layers
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-11-23 09:00:14 -08:00
Markus Volk
5c1ef95ec8
pipewire: update 1.2.5 -> 1.2.6
- replace patch by the one that was implemented upstream

PipeWire 1.2.6 (2024-10-23)

This is a bugfix release that is API and ABI compatible with the previous
1.2.x and 1.0.x releases.

Highlights
  - The filter-chain param changes were not aggregated correctly, causing some
    param changes to be ignored. (#4331)
  - Clear the JACK io ports correctly when stopping to avoid crashes. (#4337)
  - Some more small fixes and improvements.

PipeWire
  - Stream states are now updated based on the underlying node state.
  - Exported nodes now have their state change done synchronously so that the
    server can immediately start the driver and avoid some initial xruns.
  - Improve stream flush handling and improve the docs.
  - Don't send mix_info to destroyed ports to avoid some errors in the
    JACK clients.

Modules
  - The filter-chain param changes were not aggregated correctly, causing some
    param changes to be ignored. (#4331)
  - The filter-chain now correctly optimizes unlinked nodes in all cases.

SPA
  - ALSA PCM node properties are now no longer overwritten with card properties.
    (#4135)
  - Increase the adapter retry count to avoid xruns in some cases. (#4334)
  - Fix potential crash in cleanup of ALSA nodes.

Bluetooth
  - Fix a crash with broadcast sinks.
  - Improve compatibility with Phonak hearing aids.
  - Don't exit when DBus goes down.

JACK
  - Clear the io ports correctly when stopping to avoid crashes. (#4337)

Docs
  - Backport docs from master.

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-10-26 09:09:04 -07:00
Markus Volk
6ddab4a43a
rygel: update 0.44.0 -> 0.44.1
Release 0.44.1

Server:
 - Fix progress reporting for ImportResource

MediaExport:
 - Fix a critical when unable to detect mime type

All contributors to this release:
 - Jens Georg <mail@jensge.org>

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-10-15 20:39:55 -07:00
Khem Raj
e7e10c61fb
gstd: Remove redundant rpaths
Remove the logic to add rpaths in meson build file

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-10-13 09:19:37 -07:00
Khem Raj
4bafbf2e82
gstd: Upgrade to 0.15.2 release
Changes are here [1]

[1] https://github.com/RidgeRun/gstd-1.x/releases/tag/v0.15.2

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-10-13 09:19:37 -07:00
Khem Raj
ebaf461de8
libopenmpt: Upgrade to 0.7.10
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-10-05 09:37:23 -07:00
Yoann Congal
51a400b736
minidlna: fix reproducibility
Minidlna configuration puts os name & version in the binary which lead
to non-reproducibility. Fix this by forcing those variables to constant
values.

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-10-02 19:49:52 -07:00
Khem Raj
d909e0d1e3
layer.conf: Update to walnascar (5.2) layer/release series
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-10-01 09:23:12 -07:00
Markus Volk
634a6a29f4
pipewire: add patch to fix zero initialization
There are issues at least in combination with kodi
[https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/4325]

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-29 10:01:08 -07:00
Markus Volk
68152dad7b
pipewire: update 1.2.3 -> 1.2.5
PipeWire 1.2.5 (2024-09-27)

This is an important bugfix release that is API and ABI compatible with the
previous 1.2.x and 1.0.x releases.

Highlights
  - Fix an fd mismatch in the protocol in some cases that could lead to
    fd leaks and crashes.
  - Fix a bug where the mixer was not updated after setting the port, which would
    cause muted audio at boot or resume from suspend.
  - Fix a potential use-after-free in module-rt when stopping a thread.
  - Cached objects are now freed in the JACK API to avoid memory leaks.
  - Some more fixes and improvements.

PipeWire
  - RequestProcess commands are now only sent after the node completes
    the state change to RUNNING.
  - More FreeBSD fixes.
  - Handle ACTIVE links going to < PAUSED as well. This improves
    renegotiation in some cases.
  - Fix an fd mismatch in the protocol in some cases that could lead to
    fd leaks and crashes.

Modules
  - Many of the network modules can now also accept hostnames instead of
    IP addresses.
  - Fix a potential use-after-free in module-rt when stopping the thread.

SPA
  - Support for elogind was added.
  - Some more errors are checked when converting JSON to POD. (#4313)
  - Fix a bug where the mixer was not updated after setting the port, which would
    cause muted audio at boot or resume from suspend. (#4084)

JACK
  - The BBT transport handling was improved. Some fields were added to be able
    to handle the JACK semantics correctly. (#4314)
  - Buffers are now aligned according to the maximum CPU alignment instead of
    the hardcoded 16 bytes alignment.
  - Cached objects are now freed correctly.

Doc
  - Some small doc updates. (#4272)

Older versions:

PipeWire 1.2.4 (2024-09-19)

This is a bugfix release that is API and ABI compatible with the
previous 1.2.x and 1.0.x releases.

Highlights
  - Avoid a crash in cleanup of globals. (#4250)
  - Use systemd-logind to scan for new devices in v4l2.
  - Some more bugfixes and improvements.

PipeWire
  - Avoid a crash in cleanup of globals. (#4250)
  - Improve RequestProcess dispatch.

Tools
  - Improve float parsing. (#4234)

SPA
  - Clear the ringbuffer when stopping in libcamera.
  - Use systemd-logind to scan for new devices in v4l2. (#3539, #3960)
  - Queue dropped first buffer in v4l2.
  - Unlink pcm devices when moving drivers to avoid broken pipe.

JACK
  - Emit buffer_size callback in jack_activate() to improve
    compatibility with GStreamer. (#4260)

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-29 10:01:08 -07:00
Khem Raj
4790837e68
dav1d: Disable asm code on rv32
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-17 07:50:21 -07:00
Markus Volk
7b2b4a4f97
rygel: update 0.42.5 -> 0.44.0
0.44.0 (stable)
===============

All:
 - Translation updates

All contributors to this release:
 - Sabri Ünal <yakushabb@gmail.com>
 - Chao-Hsiung Liao <j_h_liau@yahoo.com.tw>

Added/updated translations:
 - tr.po, courtesy of Sabri Ünal
 - zh_TW.po, courtesy of Cheng-Chia Tseng

0.43.0 (unstable)
=================
Minimum Soup version required is now 3.2

Tracker:
  - Plugin removed, please use Tracker3
LMS:
  - Plugin removed

All contributors to this release:
 - Jens Georg <mail@jensge.org>
 - Piotr Drąg <piotrdrag@gmail.com>
 - Scrambled 777 <weblate.scrambled777@simplelogin.com>

Added/updated translations:
 - hi.po, courtesy of Scrambled777

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-15 17:54:16 -07:00
Markus Volk
f92929991d
wireplumber: update 0.5.5. -> 0.5.6
WirePlumber 0.5.6
~~~~~~~~~~~~~~~~~

Additions:

  - Implemented before/after dependencies for components, to ensure correct
    load order in custom configurations (#600)

  - Implemented profile inheritance in the configuration file. This allows
    profiles to inherit all the feature specifications of other profiles, which
    is useful to avoid copying long lists of features just to make small changes

  - Added multi-instance configuration profiles, tested and documented them

  - Added a ``main-systemwide`` profile, which is now the default for instances
    started via the system-wide systemd service and disables features that
    depend on the user session (#608)

  - Added a ``wp_core_connect_fd`` method, which allows making a connection to
    PipeWire via an existing open socket (useful for portal-based connections)

Fixes:

  - The Bluetooth auto-switch script now uses the common event source object
    managers, which should improve its stability (!663)

  - Fix an issue where switching between Bluetooth profiles would temporarily
    link active audio streams to the internal speakers (!655)

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-14 08:43:55 -07:00
Khem Raj
7ada666bf1
xdg-desktop-portal-wlr: Update to latest on master branch
* d9ada84 (origin/master, origin/HEAD) screencast: fix SelectSources type bitmask check
* 0776565 screenshot: clean up xdpw request
* 32b009a screenshot: remove variable-length-array
* fa0961b screenshot: clean up reply messages on failures
* aa555b7 colorchooser: clean up xdpw request
* 80ae77d colorchooser: clean up reply messages on failures
* c23c886 colorchooser: force grim to only return a single pixel
* d13d6a4 screencast: simplify xdpw_gbm_device_create()
* 67365f7 build: don't use cc.get_supported_arguments() for -D flag
* 31d85ce build: add summary for auto-detected features
* 388c484 screencast: simplify wl_drm format code conversions
* 9895411 Separate wlr_screencopy code into separate file
* 94e3de3 Group wlr_screencopy attributes in structs
* 425da7f screencast: Store transformation as part of the frame
* 91c888c screencast: Refactor xdpw_wlr_* api
* ca7a3e2 screencast: Use PipeWire to drive screencast
* 7444be5 contrib: fix typo in the portals config example
* 1eae4bf readme: list supported portals, explain new portal config
* 3087ad5 build: simplify sd-bus-provider=auto
* 53aeeba build: simplify scdoc invocation

Fixes variable length array usage which fixes build with clang

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-03 22:33:20 -07:00