105 Commits

Author SHA1 Message Date
Scott Murray
a38bcc23f7
mpd: Fix systemd user unit installation
systemd_system_unitdir was accidentally used as the destination for
the user systemd unit, which means it overwrites the system unit.
Correct it to systemd_user_unitdir to fix starting with the system
unit.

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-04-16 16:30:37 -07:00
Ankur Tyagi
ceb2c899fd
mpd: upgrade 0.24.6 -> 0.24.9
https://github.com/MusicPlayerDaemon/MPD/blob/v0.24.9/NEWS

Signed-off-by: Ankur Tyagi <ankur.tyagi85@gmail.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-03-26 07:43:34 -07:00
Gyorgy Sarvari
a8f10b2aa0
libmpdclient: upgrade 2.22 -> 2.24
Though the original recipe claiumed to be v2.22, actually it was
2.20.

The vala bindings have been dropped, so no need to delete them anymore.

License-Update: The license itself hasn't changed between versions, but
there are a couple of things to note:
- Half of the source files are covered by 2-Clause-BSD, and other half by
  3-Clause-BSD. This has been the case always, but until recently this
  was only specified in the source file headers, and there was a single
  license file with 3-Clause-BSD text. Now there is explicitly a 2-Clause-
  BSD file also.
- The 3-Clase-BSD text was reformatted, and added placeholders for year
  and author. That is causing the hash change for this particular license.

Changelog:
2.24:
* fix missing "mpd_send_list_tag_types_available" in libmpdclient.ld
* support MPD protocol 0.25
  - stringnormalization

2.23:
* support MPD protocol 0.24.0
  - allow window for listplaylist and listplaylistinfo
  - command "playlistlength", "protocol", "stickertypes", "stickernamestypes", "searchplaylist"
  - tag "ShowMovement"
  - new sticker find api
  - new subcommands for "tagtypes": "available", "reset"
* Support open end for mpd_search_add_window
* format floating-point numbers with the POSIX localew

2.22:
* drop the unmaintained Vala bindings
* fix "version.h" conflicts when used as a Meson subproject
* support MPD protocol 0.24.0
  - command "save [create|replace|append]"

2.21:
* meson.build: allow using as a Meson subproject
* add mpd_recv_replay_gain_status()
* support MPD protocol 0.24.0
  - tag "Mood", "TitleSort"
  - "oneshot" consume state
  - allow range in "playlistmove"
  - commands "searchcount", "stickernames"
  - added attribute for songs
  - search: support constraint "added-since"

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-12-24 15:18:16 -08:00
Khem Raj
357d1f077b
mpd: Upgrade to 0.24.6
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-11-29 21:19:35 -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
548737b8ba
mpd: Upgrade to 0.24.3
Do not use vendored libfmt, it can now consume 11.1.x so use the libfmt
from system

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-05-01 18:28:20 -07:00
Richard Purdie
eac1f5b9c0
recipes: Fix variable assignment whitespace
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-03-20 08:46:56 -07: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
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
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
65bac5505f
mpd: Upgrade to 0.23.15+git
Drop uneeded patch

ver 0.23.15 (2023/12/20)
* decoder
  - ffmpeg: fix build failure with FFmpeg 6.1
* output
  - alsa: limit buffer time to 2 seconds

Use latest master for fmt 11.x fixes

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-08-29 20:59:16 -07:00
Khem Raj
509ac9a2ad
libmpdclient,mpc: Upgrade to 2.22 and 0.35 respectively
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-08-29 20:59:16 -07:00
Khem Raj
ffc64e9c6f
recipes: Start WORKDIR -> UNPACKDIR transition
Replace references of WORKDIR with UNPACKDIR where it makes sense to do
so in preparation for changing the default value of UNPACKDIR.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-05-23 08:44:44 -07:00
Ninette Adhikari
3e3c256981
mpd: Update status for CVE-2020-7465 and CVE-2020-7466
The recipe used in the `meta-openembedded` is a different mpd package compared to the one which has the CVE issue.
Package used in `meta-embedded`: http://www.musicpd.org
Package with CVE issue: https://sourceforge.net/projects/mpd/
No action required.

Signed-off-by: Ninette Adhikari <ninette@thehoodiefirm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-04-29 11:11:52 -07:00
Markus Volk
1e086c487d
musicpd: unbreak build with ffmpeg 6.1
Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-11-20 09:57:23 -08:00
alperak
2afb48b7f6 mpd: upgrade 0.23.12 -> 0.23.14
Patches deleted because issues fixed in the new version.

Changelog:

ver 0.23.14 (2023/10/08)
* decoder
  - flac: fix scanning files with non-ASCII names on Windows
  - mad: fix calculation of LAME peak values
* mixer
  - wasapi: fix problem setting volume
* more libfmt 10 fixes
* fix auto-detected systemd unit directory
* Android
  - require Android 7 or newer

ver 0.23.13 (2023/05/22)
* input
  - curl: fix busy loop after connection failed
  - curl: hide "404" log messages for non-existent ".mpdignore" files
* archive
  - zzip: fix crash bug
* database
  - simple: reveal hidden songs after deleting containing CUE
* decoder
  - ffmpeg: reorder to a lower priority than "gme"
  - gme: require GME 0.6 or later
* output
  - pipewire: fix corruption bug due to missing lock
* Linux
  - shut down if parent process dies in --no-daemon mode
  - determine systemd unit directories via pkg-config
* support libfmt 10

Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-11-12 12:18:48 -08:00
Khem Raj
560ca7fdcf ncmpc: upgrade 0.47 -> 0.49
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-11-06 08:48:27 -08:00
Khem Raj
6b23d6fcef mpd: Fix build with clang-16
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-17 17:57:36 -07:00
Wang Mingyu
8fdc550f0a mpd: fix build error when fmt updated
backport upstream patch for build error when fmt updated:
ix-build-error-when-fmt-updated.patch
minor-fixup-for-libfmt10.patch

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-17 17:43:24 -07:00
Khem Raj
ba5a86a51a mpd: Upgrade to 0.23.12 release
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-01-26 21:52:26 -08:00
Khem Raj
9b6baed24d ncmpc: Upgrade to 0.47
Backport a patch to fix c++17 build with clang

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-01-16 21:23:07 -08:00
Khem Raj
9ed1e62bbb mpd: Upgrade to 0.23.9
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-08-18 11:49:46 -07:00
Khem Raj
fdad7782b9 libmpd: Fix function returns and casts
Fixes build with clang-15

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-08-14 18:52:57 -07:00
Khem Raj
02fc7f371d mpd: Update to 0.23.8
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-08-12 01:24:27 -07:00
Scott Murray
2805926713 ncmpc: upgrade to 0.46
Changelog (from NEWS file):

ncmpc 0.46 - (2021-11-26)
* eliminate Boost dependency
* install Lithuanian translation
* migrate to PCRE2

DEPENDS has been updated to remove boost and add libpcre2 to match
the changes.

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-24 09:45:25 -07:00
Scott Murray
19a760a134 mpc: upgrade to 0.34
Changelog (from NEWS file):

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: Scott Murray <scott.murray@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-24 09:45:25 -07:00
Scott Murray
1f1c1d77cc libmpdclient: upgrade to 2.20
Changelog (from NEWS file):

libmpdclient 2.20 (2021/11/23)
* support MPD protocol 0.23
  - getvol
  - position argument for searchadd, findadd, load and playlistadd
  - whence argument for addid and add
  - range argument for playlistdelete
* support MPD protocol 0.22.4
  - binarylimit
* support MPD protocol 0.22.0
  - readpicture
* support MPD protocol 0.21.0
  - albumart
* support tags "ComposerSort", "Ensemble", "Movement",
  "MovementNumber", "Location"
* queue: make "priority" parameter unsigned

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-24 09:45:25 -07:00
Scott Murray
16569d267a mpd: upgrade to 0.23.6
Changelog (from NEWS file):

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

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-24 09:45:25 -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
Andreas Müller
2509f659e4 All layers: Follow oe-core's variable name changes
Auto rename performed by oe-core's convert-variable-renames.py 0.1

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-02-24 08:35:24 -08:00
Alexander Kanavin
e9f5b21fd5 mpd: update 0.22.9 -> 0.23.5
This resolves ffmpeg 5.0 issues.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
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
70ed4432b1 ncmpc: Inherit pkgconfig
Fixes
Did not find pkg-config by name 'pkg-config'

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-09-24 08:12:36 -07:00
Khem Raj
9413b6fe3c mpc: Inherit pkgconfig
Fixes
Did not find pkg-config by name 'pkg-config'

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-09-24 08:12:35 -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
b86476b4f9 mpd: Update to 0.22.9
Fix build with clang

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Andreas Müller <schnitzeltony@gmail.com>
2021-06-29 19:47:30 -07:00
Khem Raj
20ac7000cc mpd: Check for commercial in LICENSE_FLAGS_WHITELIST
aac and ffmpeg could be enabled only if they have been whitelisted by
user

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-03-30 15:36:17 -07:00
Khem Raj
d21322a667 mpd: Upgrade to 0.22 series
Drop the gcc10 patches the problem is fixed in newer versions
Migrate to use meson build system
Drop libwrap packageconfig, its dropped upstream too
Use systemd_user_unit_dir to match OE

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Max Kellermann <max.kellermann@gmail.com>
Cc: Andreas Müller <schnitzeltony@gmail.com>
2021-03-02 10:13:24 -08:00
Oleksandr Kravchuk
4a1e796639 ncmpc: update to 0.45
Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-02-21 23:37:54 -08:00
Martin Jansa
8c80754a52 mpd: add commercial LICENSE_FLAGS when ffmpeg or aac PACKAGECONFIG is enabled
* resolves bitbake world error:
  ERROR: Nothing PROVIDES 'ffmpeg' (but meta-multimedia/recipes-multimedia/musicpd/mpd_0.20.22.bb DEPENDS on or otherwise requires it)
  ffmpeg was skipped: because it has a restricted license 'commercial'. Which is not whitelisted in LICENSE_FLAGS_WHITELIST
  ERROR: Required build target 'meta-world-pkgdata' has no buildable providers.
  Missing or unbuildable dependency chain was: ['meta-world-pkgdata', 'mpd', 'ffmpeg']

* aac is conditionally included in PACKAGECONFIG based on LICENSE_FLAGS
  since:

  commit f5d271fd545c5b78d4a8fbc81e54df454fa0d5e4
  Author: Armin Kuster <akuster808@gmail.com>
  Date:   Mon Oct 1 08:05:28 2018 -0700

    mpd: enable aac PACKAGECONFIG only with commercial LICENSE_FLAGS

  maybe we could use the same for ffmpeg, but the conditional should
  be a bit more complicated, because the aac support is whitelisted by
  either commercial, commercial_faad2 or faad2 in LICENSE_FLAGS_WHITELIST
  not just currently checked 'commercial'.

  and we cannot use LICENSE_FLAGS conditional in both, because that leads to
  bb.data_smart.ExpansionError: Failure expanding variable LICENSE_FLAGS, expression was
  ${@bb.utils.contains('PACKAGECONFIG', 'ffmpeg', 'commercial', '', d)}
  which triggered exception RecursionError: maximum recursion depth exceeded

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-10-19 22:18:11 -07:00
Oleksandr Kravchuk
cf138f6d13 ncmpc: update to 0.38
Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-07-31 13:22:52 -07:00
Oleksandr Kravchuk
48e4dbdad7 mpc: update to 0.33
Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-07-31 00:03:46 -07:00
Oleksandr Kravchuk
cf0f1c64a4 libmpdclient: update to 2.19
Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-07-28 12:52:14 -07:00
Konrad Weihmann
d8da3806aa mpd: fix PACKAGECONFIG assignment
As ??= assignment will be overwritten by += in any case,
one can't define a default of PACKAGECONFIG in this recipe.
Previously the default setting was just overwritten by the += operation.

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-06-03 15:15:43 -07:00
Khem Raj
af86f2e84d mpd: Fix build with gcc10
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-12-26 19:52:55 -08:00
Christophe PRIOUZEAU
6ec4677b2b libmpdclient: Clarify BSD license variant
The License of libmpdclient is BSD-3-Clause.

Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-10-17 05:53:25 -07:00
Khem Raj
80b8663445 ncmpc: Update to 0.34
Needed to work with boost 1.70+

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Andreas Müller <schnitzeltony@googlemail.com>
2019-08-29 09:06:54 -07:00
Khem Raj
235d591971 ncmpc: Rename artist_screen to library_screen
artist_screen is not a valid meson option

Fixes
ERROR: ncmpc-0.33-r0 do_configure: QA Issue: ncmpc: configure was passed unrecognised options: artist_screen [unknown-configure-option]

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Andreas Müller <schnitzeltony@gmail.com>
2019-04-06 08:22:48 -07:00