diff options
Diffstat (limited to 'meta-multimedia')
30 files changed, 767 insertions, 45 deletions
diff --git a/meta-multimedia/conf/include/non-repro-meta-multimedia.inc b/meta-multimedia/conf/include/non-repro-meta-multimedia.inc new file mode 100755 index 000000000..b02de42eb --- /dev/null +++ b/meta-multimedia/conf/include/non-repro-meta-multimedia.inc | |||
@@ -0,0 +1,15 @@ | |||
1 | # List of known non-reproducible package of the meta-multimedia layer | ||
2 | # Please keep this list sorted | ||
3 | KNOWN_NON_REPRO_META_MULTIMEDIA = " \ | ||
4 | crossguid \ | ||
5 | libcamera \ | ||
6 | libcamera-dbg \ | ||
7 | libcamera-src \ | ||
8 | libgssdp-1.6-src \ | ||
9 | libgupnp-1.6-src \ | ||
10 | libsquish-staticdev \ | ||
11 | oscam \ | ||
12 | oscam-dbg \ | ||
13 | oscam-src \ | ||
14 | rtmpdump-staticdev \ | ||
15 | " | ||
diff --git a/meta-multimedia/conf/layer.conf b/meta-multimedia/conf/layer.conf index 82e6f3629..0442a57a9 100644 --- a/meta-multimedia/conf/layer.conf +++ b/meta-multimedia/conf/layer.conf | |||
@@ -31,4 +31,4 @@ LAYERVERSION_multimedia-layer = "1" | |||
31 | 31 | ||
32 | LAYERDEPENDS_multimedia-layer = "core openembedded-layer meta-python" | 32 | LAYERDEPENDS_multimedia-layer = "core openembedded-layer meta-python" |
33 | 33 | ||
34 | LAYERSERIES_COMPAT_multimedia-layer = "scarthgap" | 34 | LAYERSERIES_COMPAT_multimedia-layer = "styhead" |
diff --git a/meta-multimedia/recipes-connectivity/gupnp/gssdp/0001-gssdp-enums.c.template-use-basename-instead-of-filen.patch b/meta-multimedia/recipes-connectivity/gupnp/gssdp/0001-gssdp-enums.c.template-use-basename-instead-of-filen.patch new file mode 100644 index 000000000..63126520e --- /dev/null +++ b/meta-multimedia/recipes-connectivity/gupnp/gssdp/0001-gssdp-enums.c.template-use-basename-instead-of-filen.patch | |||
@@ -0,0 +1,32 @@ | |||
1 | From 78270f9159a9ec7284ca39a2fbb1774347942de1 Mon Sep 17 00:00:00 2001 | ||
2 | From: Markus Volk <f_l_k@t-online.de> | ||
3 | Date: Wed, 24 Apr 2024 19:08:43 +0200 | ||
4 | Subject: [PATCH] gssdp-enums.c.template: use basename instead of filename | ||
5 | |||
6 | This would prevent the build path from leaking into the source code. | ||
7 | |||
8 | Signed-off-by: Markus Volk <f_l_k@t-online.de> | ||
9 | |||
10 | Upstream-Status: Submitted [https://gitlab.gnome.org/GNOME/gssdp/-/merge_requests/13] | ||
11 | --- | ||
12 | libgssdp/gssdp-enums.c.template | 4 ++-- | ||
13 | 1 file changed, 2 insertions(+), 2 deletions(-) | ||
14 | |||
15 | diff --git a/libgssdp/gssdp-enums.c.template b/libgssdp/gssdp-enums.c.template | ||
16 | index 600d426..2dfb859 100644 | ||
17 | --- a/libgssdp/gssdp-enums.c.template | ||
18 | +++ b/libgssdp/gssdp-enums.c.template | ||
19 | @@ -3,8 +3,8 @@ | ||
20 | |||
21 | /*** END file-header ***/ | ||
22 | /*** BEGIN file-production ***/ | ||
23 | -/* enumerations from "@filename@" */ | ||
24 | -#include "@filename@" | ||
25 | +/* enumerations from "@basename@" */ | ||
26 | +#include "@basename@" | ||
27 | /*** END file-production ***/ | ||
28 | /*** BEGIN value-header ***/ | ||
29 | GType | ||
30 | -- | ||
31 | 2.44.0 | ||
32 | |||
diff --git a/meta-multimedia/recipes-connectivity/gupnp/gssdp_1.6.3.bb b/meta-multimedia/recipes-connectivity/gupnp/gssdp_1.6.3.bb index f2e27622c..e6ea47270 100644 --- a/meta-multimedia/recipes-connectivity/gupnp/gssdp_1.6.3.bb +++ b/meta-multimedia/recipes-connectivity/gupnp/gssdp_1.6.3.bb | |||
@@ -6,6 +6,7 @@ BUGTRACKER = "https://gitlab.gnome.org/GNOME/gssdp/-/issues" | |||
6 | LICENSE = "LGPL-2.1-only" | 6 | LICENSE = "LGPL-2.1-only" |
7 | LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c" | 7 | LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c" |
8 | 8 | ||
9 | SRC_URI:append = " file://0001-gssdp-enums.c.template-use-basename-instead-of-filen.patch" | ||
9 | SRC_URI[archive.sha256sum] = "2fedb5afdb22cf14d5498a39a773ca89788a250fcf70118783df821e1f3f3446" | 10 | SRC_URI[archive.sha256sum] = "2fedb5afdb22cf14d5498a39a773ca89788a250fcf70118783df821e1f3f3446" |
10 | 11 | ||
11 | GTKDOC_MESON_OPTION = 'gtk_doc' | 12 | GTKDOC_MESON_OPTION = 'gtk_doc' |
diff --git a/meta-multimedia/recipes-connectivity/gupnp/gupnp/0001-gupnp-enums.c.template-use-basename-instead-of-filen.patch b/meta-multimedia/recipes-connectivity/gupnp/gupnp/0001-gupnp-enums.c.template-use-basename-instead-of-filen.patch new file mode 100644 index 000000000..373eb4548 --- /dev/null +++ b/meta-multimedia/recipes-connectivity/gupnp/gupnp/0001-gupnp-enums.c.template-use-basename-instead-of-filen.patch | |||
@@ -0,0 +1,32 @@ | |||
1 | From f875a0afe24fdebdefc46d132f6722dfcb55115a Mon Sep 17 00:00:00 2001 | ||
2 | From: Markus Volk <f_l_k@t-online.de> | ||
3 | Date: Wed, 24 Apr 2024 18:52:45 +0200 | ||
4 | Subject: [PATCH] gupnp-enums.c.template: use @basename@ instead of @filename@ | ||
5 | |||
6 | This would prevent the build path from leaking into the source code. | ||
7 | |||
8 | Signed-off-by: Markus Volk <f_l_k@t-online.de> | ||
9 | |||
10 | Upstream-Status: Submitted [https://gitlab.gnome.org/GNOME/gupnp/-/merge_requests/36] | ||
11 | --- | ||
12 | libgupnp/gupnp-enums.c.template | 4 ++-- | ||
13 | 1 file changed, 2 insertions(+), 2 deletions(-) | ||
14 | |||
15 | diff --git a/libgupnp/gupnp-enums.c.template b/libgupnp/gupnp-enums.c.template | ||
16 | index 3ce5fa4..a7ff89c 100644 | ||
17 | --- a/libgupnp/gupnp-enums.c.template | ||
18 | +++ b/libgupnp/gupnp-enums.c.template | ||
19 | @@ -3,8 +3,8 @@ | ||
20 | |||
21 | /*** END file-header ***/ | ||
22 | /*** BEGIN file-production ***/ | ||
23 | -/* enumerations from "@filename@" */ | ||
24 | -#include "@filename@" | ||
25 | +/* enumerations from "@basename@" */ | ||
26 | +#include "@basename@" | ||
27 | /*** END file-production ***/ | ||
28 | /*** BEGIN value-header ***/ | ||
29 | GType | ||
30 | -- | ||
31 | 2.44.0 | ||
32 | |||
diff --git a/meta-multimedia/recipes-connectivity/gupnp/gupnp_1.6.6.bb b/meta-multimedia/recipes-connectivity/gupnp/gupnp_1.6.6.bb index f1628d82e..7d9b8a477 100644 --- a/meta-multimedia/recipes-connectivity/gupnp/gupnp_1.6.6.bb +++ b/meta-multimedia/recipes-connectivity/gupnp/gupnp_1.6.6.bb | |||
@@ -8,6 +8,8 @@ DEPENDS = "e2fsprogs gssdp libsoup-3.0 libxml2" | |||
8 | inherit gnomebase pkgconfig vala gobject-introspection | 8 | inherit gnomebase pkgconfig vala gobject-introspection |
9 | 9 | ||
10 | SRC_URI[archive.sha256sum] = "c9dc50e8c78b3792d1b0e6c5c5f52c93e9345d3dae2891e311a993a574f5a04f" | 10 | SRC_URI[archive.sha256sum] = "c9dc50e8c78b3792d1b0e6c5c5f52c93e9345d3dae2891e311a993a574f5a04f" |
11 | SRC_URI += "file://0001-gupnp-enums.c.template-use-basename-instead-of-filen.patch" | ||
12 | |||
11 | 13 | ||
12 | SYSROOT_PREPROCESS_FUNCS += "gupnp_sysroot_preprocess" | 14 | SYSROOT_PREPROCESS_FUNCS += "gupnp_sysroot_preprocess" |
13 | 15 | ||
diff --git a/meta-multimedia/recipes-connectivity/rygel/rygel_0.42.4.bb b/meta-multimedia/recipes-connectivity/rygel/rygel_0.42.5.bb index 4fbdce086..e79bd77a5 100644 --- a/meta-multimedia/recipes-connectivity/rygel/rygel_0.42.4.bb +++ b/meta-multimedia/recipes-connectivity/rygel/rygel_0.42.5.bb | |||
@@ -20,7 +20,7 @@ inherit gnomebase features_check vala gobject-introspection gettext systemd | |||
20 | # gobject-introspection is mandatory for libmediaart-2.0 and cannot be configured | 20 | # gobject-introspection is mandatory for libmediaart-2.0 and cannot be configured |
21 | REQUIRED_DISTRO_FEATURES = "gobject-introspection-data x11" | 21 | REQUIRED_DISTRO_FEATURES = "gobject-introspection-data x11" |
22 | 22 | ||
23 | SRC_URI[archive.sha256sum] = "6310dfaa2d332b66119b9b020fad6a4bd27d9bc61faf780ca5ca0b62813303f7" | 23 | SRC_URI[archive.sha256sum] = "1133602d2e6710aade6b22aa98d93384c8d56396f344763413e96e0110b7d89f" |
24 | 24 | ||
25 | GIR_MESON_ENABLE_FLAG = 'enabled' | 25 | GIR_MESON_ENABLE_FLAG = 'enabled' |
26 | GIR_MESON_DISABLE_FLAG = 'disabled' | 26 | GIR_MESON_DISABLE_FLAG = 'disabled' |
@@ -28,7 +28,7 @@ GIR_MESON_DISABLE_FLAG = 'disabled' | |||
28 | EXTRA_OEMESON = "-Dengines=gstreamer -Dplugins=${@strip_comma('${RYGEL_PLUGINS}')}" | 28 | EXTRA_OEMESON = "-Dengines=gstreamer -Dplugins=${@strip_comma('${RYGEL_PLUGINS}')}" |
29 | PACKAGECONFIG:append = "${@bb.utils.contains("DISTRO_FEATURES", "x11", " gtk+3", "", d)}" | 29 | PACKAGECONFIG:append = "${@bb.utils.contains("DISTRO_FEATURES", "x11", " gtk+3", "", d)}" |
30 | 30 | ||
31 | PACKAGECONFIG ?= "external mpris ruih gst-launch" | 31 | PACKAGECONFIG ?= "external mpris ruih gst-launch media-export" |
32 | 32 | ||
33 | PACKAGECONFIG[external] = "" | 33 | PACKAGECONFIG[external] = "" |
34 | PACKAGECONFIG[mpris] = "" | 34 | PACKAGECONFIG[mpris] = "" |
@@ -60,16 +60,9 @@ do_install:append() { | |||
60 | # Remove .la files for loadable modules | 60 | # Remove .la files for loadable modules |
61 | rm -f ${D}/${libdir}/rygel-${LIBV}/engines/*.la | 61 | rm -f ${D}/${libdir}/rygel-${LIBV}/engines/*.la |
62 | rm -f ${D}/${libdir}/rygel-${LIBV}/plugins/*.la | 62 | rm -f ${D}/${libdir}/rygel-${LIBV}/plugins/*.la |
63 | if [ -e ${D}${nonarch_libdir}/systemd/user/rygel.service ]; then | ||
64 | mkdir -p ${D}${systemd_unitdir}/system | ||
65 | mv ${D}${nonarch_libdir}/systemd/user/rygel.service ${D}${systemd_unitdir}/system | ||
66 | rmdir --ignore-fail-on-non-empty ${D}${nonarch_libdir}/systemd/user \ | ||
67 | ${D}${nonarch_libdir}/systemd \ | ||
68 | ${D}${nonarch_libdir} | ||
69 | fi | ||
70 | } | 63 | } |
71 | 64 | ||
72 | FILES:${PN} += "${libdir}/rygel-${LIBV}/engines ${datadir}/dbus-1 ${datadir}/icons" | 65 | FILES:${PN} += "${libdir}/rygel-${LIBV}/engines ${systemd_user_unitdir} ${datadir}/dbus-1 ${datadir}/icons" |
73 | FILES:${PN}-dbg += "${libdir}/rygel-${LIBV}/engines/.debug ${libdir}/rygel-${LIBV}/plugins/.debug" | 66 | FILES:${PN}-dbg += "${libdir}/rygel-${LIBV}/engines/.debug ${libdir}/rygel-${LIBV}/plugins/.debug" |
74 | 67 | ||
75 | PACKAGES += "${PN}-meta" | 68 | PACKAGES += "${PN}-meta" |
@@ -77,8 +70,6 @@ ALLOW_EMPTY:${PN}-meta = "1" | |||
77 | 70 | ||
78 | PACKAGES_DYNAMIC = "${PN}-plugin-*" | 71 | PACKAGES_DYNAMIC = "${PN}-plugin-*" |
79 | 72 | ||
80 | SYSTEMD_SERVICE:${PN} = "rygel.service" | ||
81 | |||
82 | python populate_packages:prepend () { | 73 | python populate_packages:prepend () { |
83 | rygel_libdir = d.expand('${libdir}/rygel-${LIBV}') | 74 | rygel_libdir = d.expand('${libdir}/rygel-${LIBV}') |
84 | postinst = d.getVar('plugin_postinst') | 75 | postinst = d.getVar('plugin_postinst') |
diff --git a/meta-multimedia/recipes-dvb/oscam/oscam_svn.bb b/meta-multimedia/recipes-dvb/oscam/oscam_1.20.bb index 8fbf9ab2c..e20358955 100644 --- a/meta-multimedia/recipes-dvb/oscam/oscam_svn.bb +++ b/meta-multimedia/recipes-dvb/oscam/oscam_1.20.bb | |||
@@ -6,12 +6,10 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" | |||
6 | 6 | ||
7 | DEPENDS = "libusb1 openssl pcsc-lite" | 7 | DEPENDS = "libusb1 openssl pcsc-lite" |
8 | 8 | ||
9 | SRC_URI = "svn://www.streamboard.tv/svn/oscam;module=trunk;protocol=http \ | 9 | SRCREV = "190d6dee96ca70f8b614932b1498332b1504632b" |
10 | " | 10 | SRC_URI = "git://repo.or.cz/oscam.git;protocol=https;nobranch=1" |
11 | SRCREV = "11718" | ||
12 | PV = "1.10+" | ||
13 | 11 | ||
14 | S = "${WORKDIR}/trunk" | 12 | S = "${UNPACKDIR}/git" |
15 | 13 | ||
16 | inherit cmake | 14 | inherit cmake |
17 | 15 | ||
diff --git a/meta-multimedia/recipes-multimedia/aravis/aravis_0.8.31.bb b/meta-multimedia/recipes-multimedia/aravis/aravis_0.8.31.bb index b5d7772e7..a4386e809 100644 --- a/meta-multimedia/recipes-multimedia/aravis/aravis_0.8.31.bb +++ b/meta-multimedia/recipes-multimedia/aravis/aravis_0.8.31.bb | |||
@@ -6,7 +6,7 @@ DESCRIPTION = "\ | |||
6 | " | 6 | " |
7 | AUTHOR = "Emmanuel Pacaud" | 7 | AUTHOR = "Emmanuel Pacaud" |
8 | HOMEPAGE = "https://github.com/AravisProject/aravis" | 8 | HOMEPAGE = "https://github.com/AravisProject/aravis" |
9 | LICENSE = "LGPL-2.1" | 9 | LICENSE = "LGPL-2.1-only" |
10 | LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c" | 10 | LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c" |
11 | 11 | ||
12 | DEPENDS += "\ | 12 | DEPENDS += "\ |
@@ -29,7 +29,7 @@ GIDOCGEN_MESON_DISABLE_FLAG = "disabled" | |||
29 | 29 | ||
30 | inherit meson pkgconfig gi-docgen gobject-introspection | 30 | inherit meson pkgconfig gi-docgen gobject-introspection |
31 | 31 | ||
32 | PACKAGECONFIG ?= "gstreamer usb viewer" | 32 | PACKAGECONFIG ?= "gstreamer usb ${@bb.utils.contains_any('DISTRO_FEATURES', '${GTK3DISTROFEATURES}', 'viewer', '', d)}" |
33 | PACKAGECONFIG[gstreamer] = "-Dgst-plugin=enabled, -Dgst-plugin=disabled,gstreamer1.0 gstreamer1.0-plugins-base," | 33 | PACKAGECONFIG[gstreamer] = "-Dgst-plugin=enabled, -Dgst-plugin=disabled,gstreamer1.0 gstreamer1.0-plugins-base," |
34 | PACKAGECONFIG[usb] = "-Dusb=enabled, -Dusb=disabled, libusb1," | 34 | PACKAGECONFIG[usb] = "-Dusb=enabled, -Dusb=disabled, libusb1," |
35 | PACKAGECONFIG[viewer] = "-Dviewer=enabled, -Dviewer=disabled, gtk+3 gstreamer1.0-plugins-base," | 35 | PACKAGECONFIG[viewer] = "-Dviewer=enabled, -Dviewer=disabled, gtk+3 gstreamer1.0-plugins-base," |
diff --git a/meta-multimedia/recipes-multimedia/dav1d/dav1d_1.4.1.bb b/meta-multimedia/recipes-multimedia/dav1d/dav1d_1.4.2.bb index 08607acd8..4e8412303 100644 --- a/meta-multimedia/recipes-multimedia/dav1d/dav1d_1.4.1.bb +++ b/meta-multimedia/recipes-multimedia/dav1d/dav1d_1.4.2.bb | |||
@@ -7,7 +7,7 @@ LICENSE = "BSD-2-Clause" | |||
7 | LIC_FILES_CHKSUM = "file://COPYING;md5=c8055cfe7548dfdaa3a6dc45d8793669" | 7 | LIC_FILES_CHKSUM = "file://COPYING;md5=c8055cfe7548dfdaa3a6dc45d8793669" |
8 | 8 | ||
9 | SRC_URI = "git://code.videolan.org/videolan/dav1d.git;protocol=https;branch=master" | 9 | SRC_URI = "git://code.videolan.org/videolan/dav1d.git;protocol=https;branch=master" |
10 | SRCREV = "872e470ebf3e65b0b956f3a70329e885a2df1c2a" | 10 | SRCREV = "805d9e5a8ffce3ef78cebde4bfedf3642907b2d3" |
11 | 11 | ||
12 | S = "${WORKDIR}/git" | 12 | S = "${WORKDIR}/git" |
13 | 13 | ||
diff --git a/meta-multimedia/recipes-multimedia/dvb-apps/dvb-apps_1.1.1.20140321.bb b/meta-multimedia/recipes-multimedia/dvb-apps/dvb-apps_1.1.1.20140321.bb index 542ad3487..f9115d819 100644 --- a/meta-multimedia/recipes-multimedia/dvb-apps/dvb-apps_1.1.1.20140321.bb +++ b/meta-multimedia/recipes-multimedia/dvb-apps/dvb-apps_1.1.1.20140321.bb | |||
@@ -33,7 +33,7 @@ do_install() { | |||
33 | chmod a+rx ${D}/${libdir}/*.so* | 33 | chmod a+rx ${D}/${libdir}/*.so* |
34 | cp -R --no-dereference --preserve=mode,links ${S}/util/szap/channels-conf* ${D}/${docdir}/dvb-apps/szap/ | 34 | cp -R --no-dereference --preserve=mode,links ${S}/util/szap/channels-conf* ${D}/${docdir}/dvb-apps/szap/ |
35 | cp -R --no-dereference --preserve=mode,links ${S}/util/szap/README ${D}/${docdir}/dvb-apps/szap/ | 35 | cp -R --no-dereference --preserve=mode,links ${S}/util/szap/README ${D}/${docdir}/dvb-apps/szap/ |
36 | cp -R --no-dereference --preserve=mode,links ${WORKDIR}/dvb-scan-table/* ${D}/usr/share/dvb | 36 | cp -R --no-dereference --preserve=mode,links ${UNPACKDIR}/dvb-scan-table/* ${D}/usr/share/dvb |
37 | } | 37 | } |
38 | 38 | ||
39 | PACKAGES =+ "dvb-evtest dvb-evtest-dbg \ | 39 | PACKAGES =+ "dvb-evtest dvb-evtest-dbg \ |
diff --git a/meta-multimedia/recipes-multimedia/libdvbcsa/libdvbcsa_1.1.0.bb b/meta-multimedia/recipes-multimedia/libdvbcsa/libdvbcsa_1.1.0.bb index 5de717c28..1e5381bb2 100644 --- a/meta-multimedia/recipes-multimedia/libdvbcsa/libdvbcsa_1.1.0.bb +++ b/meta-multimedia/recipes-multimedia/libdvbcsa/libdvbcsa_1.1.0.bb | |||
@@ -15,5 +15,5 @@ inherit autotools lib_package pkgconfig | |||
15 | 15 | ||
16 | do_install:append() { | 16 | do_install:append() { |
17 | install -D -m 0644 ${S}/src/dvbcsa/dvbcsa.h ${D}${includedir}/dvbcsa/dvbcsa.h | 17 | install -D -m 0644 ${S}/src/dvbcsa/dvbcsa.h ${D}${includedir}/dvbcsa/dvbcsa.h |
18 | install -D -m 0644 ${WORKDIR}/libdvbcsa.pc ${D}${libdir}/pkgconfig/libdvbcsa.pc | 18 | install -D -m 0644 ${UNPACKDIR}/libdvbcsa.pc ${D}${libdir}/pkgconfig/libdvbcsa.pc |
19 | } | 19 | } |
diff --git a/meta-multimedia/recipes-multimedia/minidlna/minidlna.inc b/meta-multimedia/recipes-multimedia/minidlna/minidlna.inc index 4959a3c8d..aabf81dce 100644 --- a/meta-multimedia/recipes-multimedia/minidlna/minidlna.inc +++ b/meta-multimedia/recipes-multimedia/minidlna/minidlna.inc | |||
@@ -28,11 +28,11 @@ do_install:append(){ | |||
28 | 28 | ||
29 | # Systemd script | 29 | # Systemd script |
30 | install -d ${D}${nonarch_base_libdir}/systemd/system | 30 | install -d ${D}${nonarch_base_libdir}/systemd/system |
31 | install -m 0755 ${WORKDIR}/minidlna.service ${D}${nonarch_base_libdir}/systemd/system | 31 | install -m 0755 ${UNPACKDIR}/minidlna.service ${D}${nonarch_base_libdir}/systemd/system |
32 | 32 | ||
33 | # Sysvinit script | 33 | # Sysvinit script |
34 | install -d ${D}${sysconfdir}/init.d | 34 | install -d ${D}${sysconfdir}/init.d |
35 | install -m 0755 ${WORKDIR}/minidlna-daemon.init.d ${D}${sysconfdir}/init.d/minidlna | 35 | install -m 0755 ${UNPACKDIR}/minidlna-daemon.init.d ${D}${sysconfdir}/init.d/minidlna |
36 | 36 | ||
37 | } | 37 | } |
38 | 38 | ||
diff --git a/meta-multimedia/recipes-multimedia/musicpd/mpd_0.23.14.bb b/meta-multimedia/recipes-multimedia/musicpd/mpd_0.23.14.bb index a762fc832..33155da7d 100644 --- a/meta-multimedia/recipes-multimedia/musicpd/mpd_0.23.14.bb +++ b/meta-multimedia/recipes-multimedia/musicpd/mpd_0.23.14.bb | |||
@@ -76,7 +76,7 @@ do_install:append() { | |||
76 | ${D}/${localstatedir}/lib/mpd/music | 76 | ${D}/${localstatedir}/lib/mpd/music |
77 | 77 | ||
78 | install -d ${D}/${sysconfdir} | 78 | install -d ${D}/${sysconfdir} |
79 | install -m 644 ${WORKDIR}/mpd.conf.in ${D}/${sysconfdir}/mpd.conf | 79 | install -m 644 ${UNPACKDIR}/mpd.conf.in ${D}/${sysconfdir}/mpd.conf |
80 | sed -i \ | 80 | sed -i \ |
81 | -e 's|%music_directory%|${localstatedir}/lib/mpd/music|' \ | 81 | -e 's|%music_directory%|${localstatedir}/lib/mpd/music|' \ |
82 | -e 's|%playlist_directory%|${localstatedir}/lib/mpd/playlists|' \ | 82 | -e 's|%playlist_directory%|${localstatedir}/lib/mpd/playlists|' \ |
@@ -100,3 +100,6 @@ USERADD_PARAM:${PN} = " \ | |||
100 | --home ${localstatedir}/lib/mpd \ | 100 | --home ${localstatedir}/lib/mpd \ |
101 | --groups audio \ | 101 | --groups audio \ |
102 | --user-group mpd" | 102 | --user-group mpd" |
103 | |||
104 | CVE_STATUS[CVE-2020-7465] = "cpe-incorrect: The recipe used in the meta-openembedded is a different mpd package compared to the one which has the CVE issue." | ||
105 | CVE_STATUS[CVE-2020-7466] = "cpe-incorrect: The recipe used in the meta-openembedded is a different mpd package compared to the one which has the CVE issue." | ||
diff --git a/meta-multimedia/recipes-multimedia/mycroft/mycroft_19.8.1.bb b/meta-multimedia/recipes-multimedia/mycroft/mycroft_19.8.1.bb index 444bc1cf3..8bedc693b 100644 --- a/meta-multimedia/recipes-multimedia/mycroft/mycroft_19.8.1.bb +++ b/meta-multimedia/recipes-multimedia/mycroft/mycroft_19.8.1.bb | |||
@@ -33,17 +33,17 @@ do_install() { | |||
33 | rm -r ${D}${libdir}/mycroft/.git | 33 | rm -r ${D}${libdir}/mycroft/.git |
34 | 34 | ||
35 | # Install the dev opts so it doesn't ask us on initial setup. | 35 | # Install the dev opts so it doesn't ask us on initial setup. |
36 | install -m 644 ${WORKDIR}/dev_opts.json ${D}${libdir}/mycroft/.dev_opts.json | 36 | install -m 644 ${UNPACKDIR}/dev_opts.json ${D}${libdir}/mycroft/.dev_opts.json |
37 | 37 | ||
38 | if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then | 38 | if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then |
39 | install -d ${D}${systemd_unitdir}/system | 39 | install -d ${D}${systemd_unitdir}/system |
40 | install -m 644 ${WORKDIR}/mycroft-setup.service ${D}${systemd_unitdir}/system | 40 | install -m 644 ${UNPACKDIR}/mycroft-setup.service ${D}${systemd_unitdir}/system |
41 | sed -i -e 's,@LIBDIR@,${libdir},g' ${D}${systemd_unitdir}/system/mycroft-setup.service | 41 | sed -i -e 's,@LIBDIR@,${libdir},g' ${D}${systemd_unitdir}/system/mycroft-setup.service |
42 | fi | 42 | fi |
43 | 43 | ||
44 | if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then | 44 | if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then |
45 | install -d ${D}${systemd_unitdir}/system | 45 | install -d ${D}${systemd_unitdir}/system |
46 | install -m 644 ${WORKDIR}/mycroft.service ${D}${systemd_unitdir}/system | 46 | install -m 644 ${UNPACKDIR}/mycroft.service ${D}${systemd_unitdir}/system |
47 | sed -i -e 's,@LIBDIR@,${libdir},g' ${D}${systemd_unitdir}/system/mycroft.service | 47 | sed -i -e 's,@LIBDIR@,${libdir},g' ${D}${systemd_unitdir}/system/mycroft.service |
48 | fi | 48 | fi |
49 | } | 49 | } |
diff --git a/meta-multimedia/recipes-multimedia/pipewire/pipewire-0.2/0001-module-suspend-on-idle-Include-time.h-for-struct-tim.patch b/meta-multimedia/recipes-multimedia/pipewire/pipewire-0.2/0001-module-suspend-on-idle-Include-time.h-for-struct-tim.patch new file mode 100644 index 000000000..ce381a78b --- /dev/null +++ b/meta-multimedia/recipes-multimedia/pipewire/pipewire-0.2/0001-module-suspend-on-idle-Include-time.h-for-struct-tim.patch | |||
@@ -0,0 +1,43 @@ | |||
1 | From b1d911fdab4a583f276d18395037d90bfc305109 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Mon, 20 May 2024 18:12:23 -0700 | ||
4 | Subject: [PATCH] module-suspend-on-idle: Include time.h for struct timespec | ||
5 | decl | ||
6 | |||
7 | This is flagged as error with gcc-14 on musl targets | ||
8 | |||
9 | In file included from ../git/src/pipewire/loop.h:27, | ||
10 | from ../git/src/pipewire/core.h:44, | ||
11 | from ../git/src/modules/module-suspend-on-idle.c:26: | ||
12 | ../git/spa/include/spa/support/loop.h:184:37: warning: 'struct timespec' declared inside parameter list will not be visible outside of this definition or declaration | ||
13 | 184 | struct timespec *value, | ||
14 | | ^~~~~~~~ | ||
15 | ../git/src/modules/module-suspend-on-idle.c: In function 'node_state_changed': | ||
16 | ../git/src/modules/module-suspend-on-idle.c:110:69: error: passing argument 2 of 'main_loop->utils->update_timer' from incompatible pointer type [-Wincompatible-pointer-types] | ||
17 | 110 | pw_loop_update_timer(main_loop, info->idle_timeout, &value, NULL, false); | ||
18 | | ^~~~~~ | ||
19 | | | | ||
20 | | struct timespec * | ||
21 | |||
22 | Upstream-Status: Inappropriate [Fixed in latest pipewire differently] | ||
23 | |||
24 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
25 | --- | ||
26 | src/modules/module-suspend-on-idle.c | 1 + | ||
27 | 1 file changed, 1 insertion(+) | ||
28 | |||
29 | diff --git a/src/modules/module-suspend-on-idle.c b/src/modules/module-suspend-on-idle.c | ||
30 | index e5c1fcb30..4dba3be71 100644 | ||
31 | --- a/src/modules/module-suspend-on-idle.c | ||
32 | +++ b/src/modules/module-suspend-on-idle.c | ||
33 | @@ -20,6 +20,7 @@ | ||
34 | #include <string.h> | ||
35 | #include <stdio.h> | ||
36 | #include <errno.h> | ||
37 | +#include <time.h> | ||
38 | |||
39 | #include "config.h" | ||
40 | |||
41 | -- | ||
42 | 2.45.1 | ||
43 | |||
diff --git a/meta-multimedia/recipes-multimedia/pipewire/pipewire-0.2_git.bb b/meta-multimedia/recipes-multimedia/pipewire/pipewire-0.2_git.bb index 9895e8976..7c8afd3d5 100644 --- a/meta-multimedia/recipes-multimedia/pipewire/pipewire-0.2_git.bb +++ b/meta-multimedia/recipes-multimedia/pipewire/pipewire-0.2_git.bb | |||
@@ -10,7 +10,9 @@ DEPENDS = "alsa-lib dbus udev" | |||
10 | SRCREV = "14c11c0fe4d366bad4cfecdee97b6652ff9ed63d" | 10 | SRCREV = "14c11c0fe4d366bad4cfecdee97b6652ff9ed63d" |
11 | PV = "0.2.7" | 11 | PV = "0.2.7" |
12 | 12 | ||
13 | SRC_URI = "git://github.com/PipeWire/pipewire;branch=master;protocol=https" | 13 | SRC_URI = "git://github.com/PipeWire/pipewire;branch=master;protocol=https \ |
14 | file://0001-module-suspend-on-idle-Include-time.h-for-struct-tim.patch \ | ||
15 | " | ||
14 | 16 | ||
15 | S = "${WORKDIR}/git" | 17 | S = "${WORKDIR}/git" |
16 | 18 | ||
diff --git a/meta-multimedia/recipes-multimedia/pipewire/pipewire_1.0.5.bb b/meta-multimedia/recipes-multimedia/pipewire/pipewire_1.0.6.bb index c8ac04d59..f60ede537 100644 --- a/meta-multimedia/recipes-multimedia/pipewire/pipewire_1.0.5.bb +++ b/meta-multimedia/recipes-multimedia/pipewire/pipewire_1.0.6.bb | |||
@@ -12,7 +12,7 @@ LIC_FILES_CHKSUM = " \ | |||
12 | 12 | ||
13 | DEPENDS = "dbus ncurses" | 13 | DEPENDS = "dbus ncurses" |
14 | 14 | ||
15 | SRCREV = "a2287be601710eea0d073261223ec34b92384c8a" | 15 | SRCREV = "1b8b683a6d7ee9f1c5dcef3fce5f93069f1357c4" |
16 | SRC_URI = "git://gitlab.freedesktop.org/pipewire/pipewire.git;branch=1.0;protocol=https" | 16 | SRC_URI = "git://gitlab.freedesktop.org/pipewire/pipewire.git;branch=1.0;protocol=https" |
17 | 17 | ||
18 | S = "${WORKDIR}/git" | 18 | S = "${WORKDIR}/git" |
diff --git a/meta-multimedia/recipes-multimedia/sample-content/bigbuckbunny-1080p.bb b/meta-multimedia/recipes-multimedia/sample-content/bigbuckbunny-1080p.bb index cb919d79e..5eba4da20 100644 --- a/meta-multimedia/recipes-multimedia/sample-content/bigbuckbunny-1080p.bb +++ b/meta-multimedia/recipes-multimedia/sample-content/bigbuckbunny-1080p.bb | |||
@@ -9,9 +9,12 @@ SRC_URI[sha256sum] = "69fe2cfe7154a6e752688e3a0d7d6b07b1605bbaf75b56f6470dc7b4c2 | |||
9 | 9 | ||
10 | inherit allarch | 10 | inherit allarch |
11 | 11 | ||
12 | S = "${WORKDIR}/sources" | ||
13 | UNPACKDIR = "${S}" | ||
14 | |||
12 | do_install() { | 15 | do_install() { |
13 | install -d ${D}${datadir}/movies | 16 | install -d ${D}${datadir}/movies |
14 | install -m 0644 ${WORKDIR}/big_buck_bunny_1080p_surround.avi ${D}${datadir}/movies/ | 17 | install -m 0644 ${UNPACKDIR}/big_buck_bunny_1080p_surround.avi ${D}${datadir}/movies/ |
15 | } | 18 | } |
16 | 19 | ||
17 | FILES:${PN} += "${datadir}/movies" | 20 | FILES:${PN} += "${datadir}/movies" |
diff --git a/meta-multimedia/recipes-multimedia/sample-content/bigbuckbunny-480p.bb b/meta-multimedia/recipes-multimedia/sample-content/bigbuckbunny-480p.bb index 40dc2aacb..29e60cb0a 100644 --- a/meta-multimedia/recipes-multimedia/sample-content/bigbuckbunny-480p.bb +++ b/meta-multimedia/recipes-multimedia/sample-content/bigbuckbunny-480p.bb | |||
@@ -9,9 +9,12 @@ SRC_URI[sha256sum] = "40d1cf5bc8e1b0e55dac7bb2e3fbc2aea05b6679444864781299b24db0 | |||
9 | 9 | ||
10 | inherit allarch | 10 | inherit allarch |
11 | 11 | ||
12 | S = "${WORKDIR}/sources" | ||
13 | UNPACKDIR = "${S}" | ||
14 | |||
12 | do_install() { | 15 | do_install() { |
13 | install -d ${D}${datadir}/movies | 16 | install -d ${D}${datadir}/movies |
14 | install -m 0644 ${WORKDIR}/big_buck_bunny_480p_surround-fix.avi ${D}${datadir}/movies/ | 17 | install -m 0644 ${UNPACKDIR}/big_buck_bunny_480p_surround-fix.avi ${D}${datadir}/movies/ |
15 | } | 18 | } |
16 | 19 | ||
17 | FILES:${PN} += "${datadir}/movies" | 20 | FILES:${PN} += "${datadir}/movies" |
diff --git a/meta-multimedia/recipes-multimedia/sample-content/bigbuckbunny-720p.bb b/meta-multimedia/recipes-multimedia/sample-content/bigbuckbunny-720p.bb index ed1d027b4..50ea2e3c8 100644 --- a/meta-multimedia/recipes-multimedia/sample-content/bigbuckbunny-720p.bb +++ b/meta-multimedia/recipes-multimedia/sample-content/bigbuckbunny-720p.bb | |||
@@ -9,9 +9,12 @@ SRC_URI[sha256sum] = "b957d6e6212638441b52d3b620af157cc8d40c2a0342669294854a06ed | |||
9 | 9 | ||
10 | inherit allarch | 10 | inherit allarch |
11 | 11 | ||
12 | S = "${WORKDIR}/sources" | ||
13 | UNPACKDIR = "${S}" | ||
14 | |||
12 | do_install() { | 15 | do_install() { |
13 | install -d ${D}${datadir}/movies | 16 | install -d ${D}${datadir}/movies |
14 | install -m 0644 ${WORKDIR}/big_buck_bunny_720p_surround.avi ${D}${datadir}/movies/ | 17 | install -m 0644 ${UNPACKDIR}/big_buck_bunny_720p_surround.avi ${D}${datadir}/movies/ |
15 | } | 18 | } |
16 | 19 | ||
17 | FILES:${PN} += "${datadir}/movies" | 20 | FILES:${PN} += "${datadir}/movies" |
diff --git a/meta-multimedia/recipes-multimedia/sample-content/tearsofsteel-1080p.bb b/meta-multimedia/recipes-multimedia/sample-content/tearsofsteel-1080p.bb index 78f15f143..ed3ff75ac 100644 --- a/meta-multimedia/recipes-multimedia/sample-content/tearsofsteel-1080p.bb +++ b/meta-multimedia/recipes-multimedia/sample-content/tearsofsteel-1080p.bb | |||
@@ -8,9 +8,12 @@ SRC_URI[sha256sum] = "bd2b5bc6c16d4085034f47ef7e4b3938afe86b4eec4ac3cf2685367d3b | |||
8 | 8 | ||
9 | inherit allarch | 9 | inherit allarch |
10 | 10 | ||
11 | S = "${WORKDIR}/sources" | ||
12 | UNPACKDIR = "${S}" | ||
13 | |||
11 | do_install() { | 14 | do_install() { |
12 | install -d ${D}${datadir}/movies | 15 | install -d ${D}${datadir}/movies |
13 | install -m 0644 ${WORKDIR}/ToS-4k-1920.mov ${D}${datadir}/movies/ | 16 | install -m 0644 ${UNPACKDIR}/ToS-4k-1920.mov ${D}${datadir}/movies/ |
14 | } | 17 | } |
15 | 18 | ||
16 | FILES:${PN} += "${datadir}/movies" | 19 | FILES:${PN} += "${datadir}/movies" |
diff --git a/meta-multimedia/recipes-multimedia/sox/sox/0001-tests-Include-math.h-for-fabs-definition.patch b/meta-multimedia/recipes-multimedia/sox/sox/0001-tests-Include-math.h-for-fabs-definition.patch new file mode 100644 index 000000000..5f9135a0e --- /dev/null +++ b/meta-multimedia/recipes-multimedia/sox/sox/0001-tests-Include-math.h-for-fabs-definition.patch | |||
@@ -0,0 +1,33 @@ | |||
1 | From afe336ab63ff9b64ef759255de6b03b897dc4453 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Sun, 19 May 2024 09:09:46 -0700 | ||
4 | Subject: [PATCH] tests: Include math.h for fabs() definition | ||
5 | |||
6 | Fixes build with gcc-14 | ||
7 | |||
8 | ../../sox-14.4.2/src/sox_sample_test.h:190:3: error: implicit declaration of function 'fabs' [-Wimplicit-function-declaration] | ||
9 | 190 | assert(fabs(d - 1) < 1e-9 && clips == 0); | ||
10 | | ^~~~~~ | ||
11 | ../../sox-14.4.2/src/sox_sample_test.h:23:1: note: include '<math.h>' or provide a declaration of 'fabs' | ||
12 | |||
13 | Upstream-Status: Pending | ||
14 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
15 | --- | ||
16 | src/sox_sample_test.h | 1 + | ||
17 | 1 file changed, 1 insertion(+) | ||
18 | |||
19 | diff --git a/src/sox_sample_test.h b/src/sox_sample_test.h | ||
20 | index 62b55e4..17f0069 100644 | ||
21 | --- a/src/sox_sample_test.h | ||
22 | +++ b/src/sox_sample_test.h | ||
23 | @@ -19,6 +19,7 @@ | ||
24 | #undef NDEBUG /* Must undef above assert.h or other that might include it. */ | ||
25 | #endif | ||
26 | #include <assert.h> | ||
27 | +#include <math.h> | ||
28 | #include "sox.h" | ||
29 | |||
30 | #define TEST_UINT(bits) \ | ||
31 | -- | ||
32 | 2.45.1 | ||
33 | |||
diff --git a/meta-multimedia/recipes-multimedia/sox/sox_14.4.2.bb b/meta-multimedia/recipes-multimedia/sox/sox_14.4.2.bb index 011cbc2a9..800fcad2c 100644 --- a/meta-multimedia/recipes-multimedia/sox/sox_14.4.2.bb +++ b/meta-multimedia/recipes-multimedia/sox/sox_14.4.2.bb | |||
@@ -30,6 +30,7 @@ LIC_FILES_CHKSUM = "file://LICENSE.GPL;md5=751419260aa954499f7abaabaa882bbe \ | |||
30 | SRC_URI = "${SOURCEFORGE_MIRROR}/sox/sox-${PV}.tar.gz \ | 30 | SRC_URI = "${SOURCEFORGE_MIRROR}/sox/sox-${PV}.tar.gz \ |
31 | file://0001-remove-the-error-line-and-live-without-file-type-det.patch \ | 31 | file://0001-remove-the-error-line-and-live-without-file-type-det.patch \ |
32 | file://0001-Update-exported-symbol-list.patch \ | 32 | file://0001-Update-exported-symbol-list.patch \ |
33 | file://0001-tests-Include-math.h-for-fabs-definition.patch \ | ||
33 | " | 34 | " |
34 | SRC_URI[md5sum] = "d04fba2d9245e661f245de0577f48a33" | 35 | SRC_URI[md5sum] = "d04fba2d9245e661f245de0577f48a33" |
35 | SRC_URI[sha256sum] = "b45f598643ffbd8e363ff24d61166ccec4836fea6d3888881b8df53e3bb55f6c" | 36 | SRC_URI[sha256sum] = "b45f598643ffbd8e363ff24d61166ccec4836fea6d3888881b8df53e3bb55f6c" |
diff --git a/meta-multimedia/recipes-multimedia/tinyalsa/tinyalsa_2.0.0.bb b/meta-multimedia/recipes-multimedia/tinyalsa/tinyalsa_2.0.0.bb index e261611af..b513e959d 100644 --- a/meta-multimedia/recipes-multimedia/tinyalsa/tinyalsa_2.0.0.bb +++ b/meta-multimedia/recipes-multimedia/tinyalsa/tinyalsa_2.0.0.bb | |||
@@ -4,16 +4,15 @@ HOMEPAGE = "https://github.com/tinyalsa/tinyalsa" | |||
4 | SECTION = "libs/multimedia" | 4 | SECTION = "libs/multimedia" |
5 | 5 | ||
6 | LICENSE = "BSD-3-Clause" | 6 | LICENSE = "BSD-3-Clause" |
7 | LIC_FILES_CHKSUM = "file://NOTICE;md5=e04cd6fa58488e016f7fb648ebea1db4" | 7 | LIC_FILES_CHKSUM = "file://NOTICE;md5=d2918795d9185efcbf430b9ad5cda46d" |
8 | 8 | ||
9 | SRCREV = "1c5fb68ced57d838f2b7ecd0c00bc1fefc9ab60d" | 9 | PV .= "+git" |
10 | SRC_URI = "git://github.com/tinyalsa/tinyalsa;branch=master;protocol=https \ | 10 | SRCREV = "f78ed25aced2dfea743867b8205a787bfb091340" |
11 | file://0001-fixed-compilation-error-caused-by-strncpy.patch \ | 11 | SRC_URI = "git://github.com/tinyalsa/tinyalsa;branch=master;protocol=https" |
12 | " | ||
13 | 12 | ||
14 | S = "${WORKDIR}/git" | 13 | S = "${WORKDIR}/git" |
15 | 14 | ||
16 | inherit cmake | 15 | inherit meson |
17 | 16 | ||
18 | # tinyalsa is built as a static library. Enable PIC to avoid relocation | 17 | # tinyalsa is built as a static library. Enable PIC to avoid relocation |
19 | # errors like these: | 18 | # errors like these: |
diff --git a/meta-multimedia/recipes-multimedia/vlc/vlc/4645.patch b/meta-multimedia/recipes-multimedia/vlc/vlc/4645.patch new file mode 100644 index 000000000..3f2aa6051 --- /dev/null +++ b/meta-multimedia/recipes-multimedia/vlc/vlc/4645.patch | |||
@@ -0,0 +1,179 @@ | |||
1 | From 1e2918115ca2f5c4ffde00dc02ad89525714f6c2 Mon Sep 17 00:00:00 2001 | ||
2 | From: Thomas Guillem <thomas@gllm.fr> | ||
3 | Date: Tue, 5 Dec 2023 09:23:35 +0100 | ||
4 | Subject: [PATCH 1/5] input: fix incompatible-pointer-types assignment | ||
5 | |||
6 | Fixes #28441 | ||
7 | Upstream-Status: Backport [https://code.videolan.org/videolan/vlc/-/merge_requests/4645] | ||
8 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
9 | --- | ||
10 | src/input/input_internal.h | 2 +- | ||
11 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
12 | |||
13 | diff --git a/src/input/input_internal.h b/src/input/input_internal.h | ||
14 | index d29731edca1b..ea02f39f5add 100644 | ||
15 | --- a/src/input/input_internal.h | ||
16 | +++ b/src/input/input_internal.h | ||
17 | @@ -117,7 +117,7 @@ typedef struct input_thread_private_t | ||
18 | |||
19 | /* Title infos FIXME multi-input (not easy) ? */ | ||
20 | int i_title; | ||
21 | - const input_title_t **title; | ||
22 | + input_title_t * const *title; | ||
23 | |||
24 | int i_title_offset; | ||
25 | int i_seekpoint_offset; | ||
26 | -- | ||
27 | GitLab | ||
28 | |||
29 | |||
30 | From adcf4e66e2ce2c382bb97957c91bfde040f4f3ca Mon Sep 17 00:00:00 2001 | ||
31 | From: Zhao Zhili <quinkblack@foxmail.com> | ||
32 | Date: Thu, 1 Mar 2018 14:25:59 +0800 | ||
33 | Subject: [PATCH 2/5] yadif: fix variable type | ||
34 | |||
35 | Signed-off-by: Thomas Guillem <thomas@gllm.fr> | ||
36 | (cherry picked from commit 77b86f4452be4dbe0d56a9cd1b66da61b116da60) | ||
37 | Signed-off-by: Thomas Guillem <thomas@gllm.fr> | ||
38 | --- | ||
39 | modules/video_filter/deinterlace/yadif.h | 8 ++++---- | ||
40 | 1 file changed, 4 insertions(+), 4 deletions(-) | ||
41 | |||
42 | diff --git a/modules/video_filter/deinterlace/yadif.h b/modules/video_filter/deinterlace/yadif.h | ||
43 | index 4bc592ba9307..af16443d0804 100644 | ||
44 | --- a/modules/video_filter/deinterlace/yadif.h | ||
45 | +++ b/modules/video_filter/deinterlace/yadif.h | ||
46 | @@ -140,10 +140,10 @@ static void yadif_filter_line_c(uint8_t *dst, uint8_t *prev, uint8_t *cur, uint8 | ||
47 | } | ||
48 | |||
49 | static void yadif_filter_line_c_16bit(uint8_t *dst8, uint8_t *prev8, uint8_t *cur8, uint8_t *next8, int w, int prefs, int mrefs, int parity, int mode) { | ||
50 | - uint8_t *dst = (uint8_t *)dst8; | ||
51 | - uint8_t *prev = (uint8_t *)prev8; | ||
52 | - uint8_t *cur = (uint8_t *)cur8; | ||
53 | - uint8_t *next = (uint8_t *)next8; | ||
54 | + uint16_t *dst = (uint16_t *)dst8; | ||
55 | + uint16_t *prev = (uint16_t *)prev8; | ||
56 | + uint16_t *cur = (uint16_t *)cur8; | ||
57 | + uint16_t *next = (uint16_t *)next8; | ||
58 | int x; | ||
59 | uint16_t *prev2= parity ? prev : cur ; | ||
60 | uint16_t *next2= parity ? cur : next; | ||
61 | -- | ||
62 | GitLab | ||
63 | |||
64 | |||
65 | From 45198e5328ff2b2f4eb2fb76add0789fec26270f Mon Sep 17 00:00:00 2001 | ||
66 | From: =?UTF-8?q?R=C3=A9mi=20Denis-Courmont?= <remi@remlab.net> | ||
67 | Date: Sun, 3 Mar 2019 09:59:10 +0200 | ||
68 | Subject: [PATCH 3/5] swscale: avoid invalid pointer conversion | ||
69 | |||
70 | (cherry picked from commit ab00e6c59d42e05ab08893091783d8b5febc0058) | ||
71 | Signed-off-by: Thomas Guillem <thomas@gllm.fr> | ||
72 | --- | ||
73 | modules/video_chroma/swscale.c | 12 ++++++++---- | ||
74 | 1 file changed, 8 insertions(+), 4 deletions(-) | ||
75 | |||
76 | diff --git a/modules/video_chroma/swscale.c b/modules/video_chroma/swscale.c | ||
77 | index 8993d11ec5dd..11897527355c 100644 | ||
78 | --- a/modules/video_chroma/swscale.c | ||
79 | +++ b/modules/video_chroma/swscale.c | ||
80 | @@ -588,8 +588,9 @@ static void Convert( filter_t *p_filter, struct SwsContext *ctx, | ||
81 | { | ||
82 | filter_sys_t *p_sys = p_filter->p_sys; | ||
83 | uint8_t palette[AVPALETTE_SIZE]; | ||
84 | - uint8_t *src[4]; int src_stride[4]; | ||
85 | - uint8_t *dst[4]; int dst_stride[4]; | ||
86 | + uint8_t *src[4], *dst[4]; | ||
87 | + const uint8_t *csrc[4]; | ||
88 | + int src_stride[4], dst_stride[4]; | ||
89 | |||
90 | GetPixels( src, src_stride, p_sys->desc_in, &p_filter->fmt_in.video, | ||
91 | p_src, i_plane_count, b_swap_uvi ); | ||
92 | @@ -606,11 +607,14 @@ static void Convert( filter_t *p_filter, struct SwsContext *ctx, | ||
93 | GetPixels( dst, dst_stride, p_sys->desc_out, &p_filter->fmt_out.video, | ||
94 | p_dst, i_plane_count, b_swap_uvo ); | ||
95 | |||
96 | + for (size_t i = 0; i < ARRAY_SIZE(src); i++) | ||
97 | + csrc[i] = src[i]; | ||
98 | + | ||
99 | #if LIBSWSCALE_VERSION_INT >= ((0<<16)+(5<<8)+0) | ||
100 | - sws_scale( ctx, src, src_stride, 0, i_height, | ||
101 | + sws_scale( ctx, csrc, src_stride, 0, i_height, | ||
102 | dst, dst_stride ); | ||
103 | #else | ||
104 | - sws_scale_ordered( ctx, src, src_stride, 0, i_height, | ||
105 | + sws_scale_ordered( ctx, csrc, src_stride, 0, i_height, | ||
106 | dst, dst_stride ); | ||
107 | #endif | ||
108 | } | ||
109 | -- | ||
110 | GitLab | ||
111 | |||
112 | |||
113 | From 4431076ad4a21fdcabd3f7ef1d61c45891689b0c Mon Sep 17 00:00:00 2001 | ||
114 | From: =?UTF-8?q?R=C3=A9mi=20Denis-Courmont?= <remi@remlab.net> | ||
115 | Date: Sun, 3 Mar 2019 17:20:04 +0200 | ||
116 | Subject: [PATCH 4/5] dynamicoverlay: fix variable shadowing | ||
117 | |||
118 | (cherry picked from commit d42e05d6b2c061ae352c131d5aebf8c8d8aa6d35) | ||
119 | Signed-off-by: Thomas Guillem <thomas@gllm.fr> | ||
120 | --- | ||
121 | modules/spu/dynamicoverlay/dynamicoverlay_commands.c | 3 +-- | ||
122 | 1 file changed, 1 insertion(+), 2 deletions(-) | ||
123 | |||
124 | diff --git a/modules/spu/dynamicoverlay/dynamicoverlay_commands.c b/modules/spu/dynamicoverlay/dynamicoverlay_commands.c | ||
125 | index a93462925e8a..a85f9aafb0b9 100644 | ||
126 | --- a/modules/spu/dynamicoverlay/dynamicoverlay_commands.c | ||
127 | +++ b/modules/spu/dynamicoverlay/dynamicoverlay_commands.c | ||
128 | @@ -899,12 +899,11 @@ static const commanddesc_static_t p_commands[] = | ||
129 | void RegisterCommand( filter_t *p_filter ) | ||
130 | { | ||
131 | filter_sys_t *p_sys = (filter_sys_t*) p_filter->p_sys; | ||
132 | - size_t i_index = 0; | ||
133 | |||
134 | p_sys->i_commands = ARRAY_SIZE(p_commands); | ||
135 | p_sys->pp_commands = (commanddesc_t **) calloc( p_sys->i_commands, sizeof(commanddesc_t*) ); | ||
136 | if( !p_sys->pp_commands ) return; | ||
137 | - for( i_index = 0; i_index < p_sys->i_commands; i_index ++ ) | ||
138 | + for( size_t i_index = 0; i_index < p_sys->i_commands; i_index ++ ) | ||
139 | { | ||
140 | p_sys->pp_commands[i_index] = (commanddesc_t *) malloc( sizeof(commanddesc_t) ); | ||
141 | if( !p_sys->pp_commands[i_index] ) return; | ||
142 | -- | ||
143 | GitLab | ||
144 | |||
145 | |||
146 | From fda14fc7c013eb75291df10cc8b88336c51328ad Mon Sep 17 00:00:00 2001 | ||
147 | From: =?UTF-8?q?R=C3=A9mi=20Denis-Courmont?= <remi@remlab.net> | ||
148 | Date: Mon, 26 Feb 2018 20:43:03 +0200 | ||
149 | Subject: [PATCH 5/5] dynamicoverlay: fix memory corruption | ||
150 | |||
151 | Font alpha is 8-bits, not 32-bits. | ||
152 | |||
153 | (cherry picked from commit 6f14081af7325d334a53126c4eea52bc30fc08a0) | ||
154 | Signed-off-by: Thomas Guillem <thomas@gllm.fr> | ||
155 | --- | ||
156 | modules/spu/dynamicoverlay/dynamicoverlay_commands.c | 6 +++++- | ||
157 | 1 file changed, 5 insertions(+), 1 deletion(-) | ||
158 | |||
159 | diff --git a/modules/spu/dynamicoverlay/dynamicoverlay_commands.c b/modules/spu/dynamicoverlay/dynamicoverlay_commands.c | ||
160 | index a85f9aafb0b9..7a71c6f2373a 100644 | ||
161 | --- a/modules/spu/dynamicoverlay/dynamicoverlay_commands.c | ||
162 | +++ b/modules/spu/dynamicoverlay/dynamicoverlay_commands.c | ||
163 | @@ -234,8 +234,12 @@ static int parser_SetTextAlpha( char *psz_command, char *psz_end, | ||
164 | skip_space( &psz_command ); | ||
165 | if( isdigit( (unsigned char)*psz_command ) ) | ||
166 | { | ||
167 | - if( parse_digit( &psz_command, &p_params->fontstyle.i_font_alpha ) == VLC_EGENERIC ) | ||
168 | + int32_t value; | ||
169 | + | ||
170 | + if( parse_digit( &psz_command, &value ) == VLC_EGENERIC ) | ||
171 | return VLC_EGENERIC; | ||
172 | + | ||
173 | + p_params->fontstyle.i_font_alpha = value; | ||
174 | } | ||
175 | return VLC_SUCCESS; | ||
176 | } | ||
177 | -- | ||
178 | GitLab | ||
179 | |||
diff --git a/meta-multimedia/recipes-multimedia/vlc/vlc/4665.patch b/meta-multimedia/recipes-multimedia/vlc/vlc/4665.patch new file mode 100644 index 000000000..c9ef33358 --- /dev/null +++ b/meta-multimedia/recipes-multimedia/vlc/vlc/4665.patch | |||
@@ -0,0 +1,377 @@ | |||
1 | From 770789f265761fc7ab2de69ca105fec4ad93d9e2 Mon Sep 17 00:00:00 2001 | ||
2 | From: =?UTF-8?q?R=C3=A9mi=20Denis-Courmont?= <remi@remlab.net> | ||
3 | Date: Mon, 26 Feb 2018 20:36:29 +0200 | ||
4 | Subject: [PATCH 1/9] chromaprint: missing cast | ||
5 | |||
6 | (cherry picked from commit 7bd5bab3e43ae187f7219db61ed85d06d2ba0547) | ||
7 | Signed-off-by: Steve Lhomme <robux4@ycbcr.xyz> | ||
8 | Upstream-Status: Backport [https://code.videolan.org/videolan/vlc/-/merge_requests/4665] | ||
9 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
10 | --- | ||
11 | modules/stream_out/chromaprint.c | 2 +- | ||
12 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
13 | |||
14 | diff --git a/modules/stream_out/chromaprint.c b/modules/stream_out/chromaprint.c | ||
15 | index 80ec31ba2590..c76cbda3c2bb 100644 | ||
16 | --- a/modules/stream_out/chromaprint.c | ||
17 | +++ b/modules/stream_out/chromaprint.c | ||
18 | @@ -231,7 +231,7 @@ static int Send( sout_stream_t *p_stream, sout_stream_id_sys_t *id, | ||
19 | if ( !p_sys->b_finished && id->i_samples > 0 && p_buf->i_buffer ) | ||
20 | { | ||
21 | if(! chromaprint_feed( p_sys->p_chromaprint_ctx, | ||
22 | - p_buf->p_buffer, | ||
23 | + (int16_t *)p_buf->p_buffer, | ||
24 | p_buf->i_buffer / BYTESPERSAMPLE ) ) | ||
25 | msg_Warn( p_stream, "feed error" ); | ||
26 | id->i_samples -= i_samples; | ||
27 | -- | ||
28 | GitLab | ||
29 | |||
30 | |||
31 | From 6179d6b843f2a93af6a3d51c4244766e3eba9e77 Mon Sep 17 00:00:00 2001 | ||
32 | From: =?UTF-8?q?R=C3=A9mi=20Denis-Courmont?= <remi@remlab.net> | ||
33 | Date: Sun, 14 Apr 2019 09:41:38 +0300 | ||
34 | Subject: [PATCH 2/9] win32: wrap {g,s}etsockopt() | ||
35 | |||
36 | char * can alias anything, and Winsock relies on that. Unfortunately, | ||
37 | the compiler still issues warnings. This works around that. | ||
38 | |||
39 | (cherry picked from commit 36715d9b79f34824e126c2bc3aee2f1c1c16af46) | ||
40 | Signed-off-by: Steve Lhomme <robux4@ycbcr.xyz> | ||
41 | --- | ||
42 | include/vlc_network.h | 16 ++++++++++++++++ | ||
43 | 1 file changed, 16 insertions(+) | ||
44 | |||
45 | diff --git a/include/vlc_network.h b/include/vlc_network.h | ||
46 | index 010454a01c09..e39ffd0bacaa 100644 | ||
47 | --- a/include/vlc_network.h | ||
48 | +++ b/include/vlc_network.h | ||
49 | @@ -183,6 +183,22 @@ VLC_API int vlc_close(int); | ||
50 | |||
51 | /** @} */ | ||
52 | |||
53 | +#ifdef _WIN32 | ||
54 | +static inline int vlc_getsockopt(int s, int level, int name, | ||
55 | + void *val, socklen_t *len) | ||
56 | +{ | ||
57 | + return getsockopt(s, level, name, (char *)val, len); | ||
58 | +} | ||
59 | +#define getsockopt vlc_getsockopt | ||
60 | + | ||
61 | +static inline int vlc_setsockopt(int s, int level, int name, | ||
62 | + const void *val, socklen_t len) | ||
63 | +{ | ||
64 | + return setsockopt(s, level, name, (const char *)val, len); | ||
65 | +} | ||
66 | +#define setsockopt vlc_setsockopt | ||
67 | +#endif | ||
68 | + | ||
69 | /* Portable network names/addresses resolution layer */ | ||
70 | |||
71 | #define NI_MAXNUMERICHOST 64 | ||
72 | -- | ||
73 | GitLab | ||
74 | |||
75 | |||
76 | From 3391108f9709f0d77d9297c94371cf9cd30f2cbe Mon Sep 17 00:00:00 2001 | ||
77 | From: Steve Lhomme <robux4@ycbcr.xyz> | ||
78 | Date: Thu, 7 Dec 2023 15:43:04 +0100 | ||
79 | Subject: [PATCH 3/9] netsync: use char for temporary local buffer | ||
80 | |||
81 | On Windows recvfrom/revc/sendto expects a char*. | ||
82 | --- | ||
83 | modules/control/netsync.c | 14 +++++++------- | ||
84 | 1 file changed, 7 insertions(+), 7 deletions(-) | ||
85 | |||
86 | diff --git a/modules/control/netsync.c b/modules/control/netsync.c | ||
87 | index 2a6a1a6a2bf8..8c91034d7cf2 100644 | ||
88 | --- a/modules/control/netsync.c | ||
89 | +++ b/modules/control/netsync.c | ||
90 | @@ -181,7 +181,7 @@ static void *Master(void *handle) | ||
91 | intf_sys_t *sys = intf->p_sys; | ||
92 | for (;;) { | ||
93 | struct pollfd ufd = { .fd = sys->fd, .events = POLLIN, }; | ||
94 | - uint64_t data[2]; | ||
95 | + char data[16]; | ||
96 | |||
97 | if (poll(&ufd, 1, -1) < 0) | ||
98 | continue; | ||
99 | @@ -198,8 +198,8 @@ static void *Master(void *handle) | ||
100 | if (master_system < 0) | ||
101 | continue; | ||
102 | |||
103 | - data[0] = hton64(mdate()); | ||
104 | - data[1] = hton64(master_system); | ||
105 | + SetQWBE(&data[0], mdate()); | ||
106 | + SetQWBE(&data[8], master_system); | ||
107 | |||
108 | /* Reply to the sender */ | ||
109 | sendto(sys->fd, data, 16, 0, | ||
110 | @@ -224,7 +224,7 @@ static void *Slave(void *handle) | ||
111 | |||
112 | for (;;) { | ||
113 | struct pollfd ufd = { .fd = sys->fd, .events = POLLIN, }; | ||
114 | - uint64_t data[2]; | ||
115 | + char data[16]; | ||
116 | |||
117 | vlc_tick_t system = GetPcrSystem(sys->input); | ||
118 | if (system < 0) | ||
119 | @@ -233,7 +233,7 @@ static void *Slave(void *handle) | ||
120 | /* Send clock request to the master */ | ||
121 | const vlc_tick_t send_date = mdate(); | ||
122 | |||
123 | - data[0] = hton64(system); | ||
124 | + SetQWBE(&data[0], system); | ||
125 | send(sys->fd, data, 8, 0); | ||
126 | |||
127 | /* Don't block */ | ||
128 | @@ -244,8 +244,8 @@ static void *Slave(void *handle) | ||
129 | if (recv(sys->fd, data, 16, 0) < 16) | ||
130 | goto wait; | ||
131 | |||
132 | - const vlc_tick_t master_date = ntoh64(data[0]); | ||
133 | - const vlc_tick_t master_system = ntoh64(data[1]); | ||
134 | + const vlc_tick_t master_date = GetQWBE(&data[0]); | ||
135 | + const vlc_tick_t master_system = GetQWBE(&data[8]); | ||
136 | const vlc_tick_t diff_date = receive_date - | ||
137 | ((receive_date - send_date) / 2 + master_date); | ||
138 | |||
139 | -- | ||
140 | GitLab | ||
141 | |||
142 | |||
143 | From 27e584d7b9add8dbbb82b7227228e1ec1e25a089 Mon Sep 17 00:00:00 2001 | ||
144 | From: Steve Lhomme <robux4@ycbcr.xyz> | ||
145 | Date: Tue, 3 Jan 2023 13:23:00 +0100 | ||
146 | Subject: [PATCH 4/9] access/dtv: move the lfind() Windows hack in the module | ||
147 | |||
148 | So that we don't have to include search.h each time vlc_fixups.h is used. | ||
149 | |||
150 | The Win32 prototype of lfind() expects an unsigned* for 'nelp', not a size_t*. | ||
151 | |||
152 | (cherry picked from commit 7c43bcba27b6fe256456d93a9d32e10648f08da8) | ||
153 | Signed-off-by: Steve Lhomme <robux4@ycbcr.xyz> | ||
154 | --- | ||
155 | include/vlc_fixups.h | 3 +++ | ||
156 | modules/access/dtv/access.c | 5 +++++ | ||
157 | 2 files changed, 8 insertions(+) | ||
158 | |||
159 | diff --git a/include/vlc_fixups.h b/include/vlc_fixups.h | ||
160 | index 37f788933779..861cb4cc5063 100644 | ||
161 | --- a/include/vlc_fixups.h | ||
162 | +++ b/include/vlc_fixups.h | ||
163 | @@ -501,8 +501,11 @@ void *tsearch( const void *key, void **rootp, int(*cmp)(const void *, const void | ||
164 | void *tfind( const void *key, const void **rootp, int(*cmp)(const void *, const void *) ); | ||
165 | void *tdelete( const void *key, void **rootp, int(*cmp)(const void *, const void *) ); | ||
166 | void twalk( const void *root, void(*action)(const void *nodep, VISIT which, int depth) ); | ||
167 | +#ifndef _WIN32 | ||
168 | +/* the Win32 prototype of lfind() expects an unsigned* for 'nmemb' */ | ||
169 | void *lfind( const void *key, const void *base, size_t *nmemb, | ||
170 | size_t size, int(*cmp)(const void *, const void *) ); | ||
171 | +#endif | ||
172 | #endif /* HAVE_SEARCH_H */ | ||
173 | #ifndef HAVE_TDESTROY | ||
174 | void tdestroy( void *root, void (*free_node)(void *nodep) ); | ||
175 | diff --git a/modules/access/dtv/access.c b/modules/access/dtv/access.c | ||
176 | index d9756c7b4885..c6ca5005883c 100644 | ||
177 | --- a/modules/access/dtv/access.c | ||
178 | +++ b/modules/access/dtv/access.c | ||
179 | @@ -32,6 +32,11 @@ | ||
180 | #ifdef HAVE_SEARCH_H | ||
181 | #include <search.h> | ||
182 | #endif | ||
183 | +#if defined(_WIN32) | ||
184 | +/* the Win32 prototype of lfind() expects an unsigned* for 'nelp' */ | ||
185 | +# define lfind(a,b,c,d,e) \ | ||
186 | + lfind((a),(b), &(unsigned){ (*(c) > UINT_MAX) ? UINT_MAX : *(c) }, (d),(e)) | ||
187 | +#endif | ||
188 | |||
189 | #include "dtv/dtv.h" | ||
190 | |||
191 | -- | ||
192 | GitLab | ||
193 | |||
194 | |||
195 | From 5a9ca37a95b6e85e6beaaefba9aa4a886a45411c Mon Sep 17 00:00:00 2001 | ||
196 | From: Steve Lhomme <robux4@ycbcr.xyz> | ||
197 | Date: Mon, 15 Jul 2019 12:41:29 +0200 | ||
198 | Subject: [PATCH 5/9] vlc_common: fix swab() calls on win32 that don't use | ||
199 | const on source pointer | ||
200 | |||
201 | (cherry picked from commit a9e0b1124e19225b903a2926951781e84002c410) | ||
202 | Signed-off-by: Steve Lhomme <robux4@ycbcr.xyz> | ||
203 | --- | ||
204 | include/vlc_common.h | 5 +++++ | ||
205 | 1 file changed, 5 insertions(+) | ||
206 | |||
207 | diff --git a/include/vlc_common.h b/include/vlc_common.h | ||
208 | index 8090b277150d..089878581763 100644 | ||
209 | --- a/include/vlc_common.h | ||
210 | +++ b/include/vlc_common.h | ||
211 | @@ -947,6 +947,11 @@ static inline void SetQWLE (void *p, uint64_t qw) | ||
212 | # define O_NONBLOCK 0 | ||
213 | # endif | ||
214 | |||
215 | +/* the mingw32 swab() and win32 _swab() prototypes expect a char* instead of a | ||
216 | + const void* */ | ||
217 | +# define swab(a,b,c) swab((char*) (a), (char*) (b), (c)) | ||
218 | + | ||
219 | + | ||
220 | # include <tchar.h> | ||
221 | #endif /* _WIN32 */ | ||
222 | |||
223 | -- | ||
224 | GitLab | ||
225 | |||
226 | |||
227 | From b758e19479a80604e3feb470b197e4a13a203a85 Mon Sep 17 00:00:00 2001 | ||
228 | From: Steve Lhomme <robux4@ycbcr.xyz> | ||
229 | Date: Wed, 10 Jul 2019 08:23:45 +0200 | ||
230 | Subject: [PATCH 6/9] avcodec: encoder: fix MPEG4 matrix passed as const | ||
231 | |||
232 | lavc expects a pointer that it will free in avcodec_free_context(). | ||
233 | |||
234 | (cherry picked from commit d86c4c87aa78130a4fd00294e25df865d0e2b327) | ||
235 | Signed-off-by: Steve Lhomme <robux4@ycbcr.xyz> | ||
236 | --- | ||
237 | modules/codec/avcodec/encoder.c | 10 ++++++++-- | ||
238 | 1 file changed, 8 insertions(+), 2 deletions(-) | ||
239 | |||
240 | diff --git a/modules/codec/avcodec/encoder.c b/modules/codec/avcodec/encoder.c | ||
241 | index 2b1c3604713d..4919ccf0e0e4 100644 | ||
242 | --- a/modules/codec/avcodec/encoder.c | ||
243 | +++ b/modules/codec/avcodec/encoder.c | ||
244 | @@ -588,8 +588,14 @@ int InitVideoEnc( vlc_object_t *p_this ) | ||
245 | |||
246 | if ( p_sys->b_mpeg4_matrix ) | ||
247 | { | ||
248 | - p_context->intra_matrix = mpeg4_default_intra_matrix; | ||
249 | - p_context->inter_matrix = mpeg4_default_non_intra_matrix; | ||
250 | + p_context->intra_matrix = av_malloc( sizeof(mpeg4_default_intra_matrix) ); | ||
251 | + if ( p_context->intra_matrix ) | ||
252 | + memcpy( p_context->intra_matrix, mpeg4_default_intra_matrix, | ||
253 | + sizeof(mpeg4_default_intra_matrix)); | ||
254 | + p_context->inter_matrix = av_malloc( sizeof(mpeg4_default_non_intra_matrix) ); | ||
255 | + if ( p_context->inter_matrix ) | ||
256 | + memcpy( p_context->inter_matrix, mpeg4_default_non_intra_matrix, | ||
257 | + sizeof(mpeg4_default_non_intra_matrix)); | ||
258 | } | ||
259 | |||
260 | if ( p_sys->b_pre_me ) | ||
261 | -- | ||
262 | GitLab | ||
263 | |||
264 | |||
265 | From 55be3ce60795a09d13861c5637c1fe7aebc5ce8b Mon Sep 17 00:00:00 2001 | ||
266 | From: Steve Lhomme <robux4@ycbcr.xyz> | ||
267 | Date: Thu, 7 Dec 2023 14:18:22 +0100 | ||
268 | Subject: [PATCH 7/9] smb: fix potential string to wide string copy | ||
269 | |||
270 | The type of net_resource depends on the UNICODE define. | ||
271 | --- | ||
272 | modules/access/smb.c | 4 ++-- | ||
273 | 1 file changed, 2 insertions(+), 2 deletions(-) | ||
274 | |||
275 | diff --git a/modules/access/smb.c b/modules/access/smb.c | ||
276 | index 5fe56f0c9dfe..6add2a3e6278 100644 | ||
277 | --- a/modules/access/smb.c | ||
278 | +++ b/modules/access/smb.c | ||
279 | @@ -524,7 +524,7 @@ static void Win32AddConnection( stream_t *p_access, const char *psz_server, | ||
280 | const char *psz_pwd, const char *psz_domain ) | ||
281 | { | ||
282 | char psz_remote[MAX_PATH]; | ||
283 | - NETRESOURCE net_resource; | ||
284 | + NETRESOURCEA net_resource; | ||
285 | DWORD i_result; | ||
286 | VLC_UNUSED( psz_domain ); | ||
287 | |||
288 | @@ -544,7 +544,7 @@ static void Win32AddConnection( stream_t *p_access, const char *psz_server, | ||
289 | |||
290 | net_resource.lpRemoteName = psz_remote; | ||
291 | |||
292 | - i_result = WNetAddConnection2( &net_resource, psz_pwd, psz_user, 0 ); | ||
293 | + i_result = WNetAddConnection2A( &net_resource, psz_pwd, psz_user, 0 ); | ||
294 | |||
295 | if( i_result != NO_ERROR ) | ||
296 | { | ||
297 | -- | ||
298 | GitLab | ||
299 | |||
300 | |||
301 | From 5ae924bf212dce64a6424561d92426dbcc2cf3a0 Mon Sep 17 00:00:00 2001 | ||
302 | From: Steve Lhomme <robux4@ycbcr.xyz> | ||
303 | Date: Wed, 6 Dec 2023 14:45:46 +0100 | ||
304 | Subject: [PATCH 8/9] dxva2: add missing mask initializers | ||
305 | |||
306 | --- | ||
307 | modules/codec/avcodec/dxva2.c | 10 +++++----- | ||
308 | 1 file changed, 5 insertions(+), 5 deletions(-) | ||
309 | |||
310 | diff --git a/modules/codec/avcodec/dxva2.c b/modules/codec/avcodec/dxva2.c | ||
311 | index 18b872fe0fe3..2e6809a05410 100644 | ||
312 | --- a/modules/codec/avcodec/dxva2.c | ||
313 | +++ b/modules/codec/avcodec/dxva2.c | ||
314 | @@ -84,12 +84,12 @@ DEFINE_GUID(DXVA_Intel_H264_NoFGT_ClearVideo, 0x604F8E68, 0x4951, 0x4c54, | ||
315 | |||
316 | /* XXX Preferred format must come first */ | ||
317 | static const d3d9_format_t d3d_formats[] = { | ||
318 | - { "YV12", MAKEFOURCC('Y','V','1','2'), VLC_CODEC_YV12 }, | ||
319 | - { "NV12", MAKEFOURCC('N','V','1','2'), VLC_CODEC_NV12 }, | ||
320 | - //{ "IMC3", MAKEFOURCC('I','M','C','3'), VLC_CODEC_YV12 }, | ||
321 | - { "P010", MAKEFOURCC('P','0','1','0'), VLC_CODEC_P010 }, | ||
322 | + { "YV12", MAKEFOURCC('Y','V','1','2'), VLC_CODEC_YV12, 0,0,0 }, | ||
323 | + { "NV12", MAKEFOURCC('N','V','1','2'), VLC_CODEC_NV12, 0,0,0 }, | ||
324 | + //{ "IMC3", MAKEFOURCC('I','M','C','3'), VLC_CODEC_YV12, 0,0,0 }, | ||
325 | + { "P010", MAKEFOURCC('P','0','1','0'), VLC_CODEC_P010, 0,0,0 }, | ||
326 | |||
327 | - { NULL, 0, 0 } | ||
328 | + { NULL, 0, 0, 0,0,0 } | ||
329 | }; | ||
330 | |||
331 | static const d3d9_format_t *D3dFindFormat(D3DFORMAT format) | ||
332 | -- | ||
333 | GitLab | ||
334 | |||
335 | |||
336 | From 08c7a66780740679ba1b0abe9e30e73afc6bc271 Mon Sep 17 00:00:00 2001 | ||
337 | From: Steve Lhomme <robux4@ycbcr.xyz> | ||
338 | Date: Wed, 6 Dec 2023 07:48:29 +0100 | ||
339 | Subject: [PATCH 9/9] win32/modules: use cast with GetProcAddress function | ||
340 | pointers | ||
341 | |||
342 | --- | ||
343 | src/text/url.c | 3 ++- | ||
344 | src/win32/plugin.c | 3 ++- | ||
345 | 2 files changed, 4 insertions(+), 2 deletions(-) | ||
346 | |||
347 | diff --git a/src/text/url.c b/src/text/url.c | ||
348 | index b962eb31f849..2eb4b8d10817 100644 | ||
349 | --- a/src/text/url.c | ||
350 | +++ b/src/text/url.c | ||
351 | @@ -892,7 +892,8 @@ static int IdnToAscii(DWORD flags, LPCWSTR str, int len, LPWSTR buf, int size) | ||
352 | int (WINAPI *IdnToAsciiReal)(DWORD, LPCWSTR, int, LPWSTR, int); | ||
353 | int ret = 0; | ||
354 | |||
355 | - IdnToAsciiReal = GetProcAddress(h, "IdnToAscii"); | ||
356 | + IdnToAsciiReal = (int (WINAPI *)(DWORD, LPCWSTR, int, LPWSTR, int)) | ||
357 | + GetProcAddress(h, "IdnToAscii"); | ||
358 | if (IdnToAsciiReal != NULL) | ||
359 | ret = IdnToAsciiReal(flags, str, len, buf, size); | ||
360 | else | ||
361 | diff --git a/src/win32/plugin.c b/src/win32/plugin.c | ||
362 | index 1a65521fca75..b5c336eb99ca 100644 | ||
363 | --- a/src/win32/plugin.c | ||
364 | +++ b/src/win32/plugin.c | ||
365 | @@ -45,7 +45,8 @@ static BOOL WINAPI SetThreadErrorModeFallback(DWORD mode, DWORD *oldmode) | ||
366 | |||
367 | BOOL (WINAPI *SetThreadErrorModeReal)(DWORD, DWORD *); | ||
368 | |||
369 | - SetThreadErrorModeReal = GetProcAddress(h, "SetThreadErrorMode"); | ||
370 | + SetThreadErrorModeReal = (BOOL (WINAPI *)(DWORD, DWORD *)) | ||
371 | + GetProcAddress(h, "SetThreadErrorMode"); | ||
372 | if (SetThreadErrorModeReal != NULL) | ||
373 | return SetThreadErrorModeReal(mode, oldmode); | ||
374 | |||
375 | -- | ||
376 | GitLab | ||
377 | |||
diff --git a/meta-multimedia/recipes-multimedia/vlc/vlc_3.0.20.bb b/meta-multimedia/recipes-multimedia/vlc/vlc_3.0.20.bb index d25a20ae0..2a6b27add 100644 --- a/meta-multimedia/recipes-multimedia/vlc/vlc_3.0.20.bb +++ b/meta-multimedia/recipes-multimedia/vlc/vlc_3.0.20.bb | |||
@@ -9,7 +9,7 @@ DEPENDS = "coreutils-native fribidi libtool libgcrypt libgcrypt-native bison-nat | |||
9 | dbus libxml2 gnutls \ | 9 | dbus libxml2 gnutls \ |
10 | tremor faad2 ffmpeg flac alsa-lib \ | 10 | tremor faad2 ffmpeg flac alsa-lib \ |
11 | lua-native lua libidn \ | 11 | lua-native lua libidn \ |
12 | avahi jpeg xz libmodplug mpeg2dec \ | 12 | avahi jpeg xz libmodplug \ |
13 | libmtp libopus orc libsamplerate0 libusb1 schroedinger taglib \ | 13 | libmtp libopus orc libsamplerate0 libusb1 schroedinger taglib \ |
14 | tiff" | 14 | tiff" |
15 | 15 | ||
@@ -25,6 +25,8 @@ SRC_URI = "https://get.videolan.org/${BPN}/${PV}/${BP}.tar.xz \ | |||
25 | file://0006-configure-Disable-incompatible-function-pointer-type.patch \ | 25 | file://0006-configure-Disable-incompatible-function-pointer-type.patch \ |
26 | file://taglib-2.patch \ | 26 | file://taglib-2.patch \ |
27 | file://0001-taglib-Fix-build-on-x86-32-bit.patch \ | 27 | file://0001-taglib-Fix-build-on-x86-32-bit.patch \ |
28 | file://4645.patch \ | ||
29 | file://4665.patch \ | ||
28 | " | 30 | " |
29 | SRC_URI[sha256sum] = "adc7285b4d2721cddf40eb5270cada2aaa10a334cb546fd55a06353447ba29b5" | 31 | SRC_URI[sha256sum] = "adc7285b4d2721cddf40eb5270cada2aaa10a334cb546fd55a06353447ba29b5" |
30 | 32 | ||
diff --git a/meta-multimedia/recipes-multimedia/wireplumber/wireplumber_0.5.1.bb b/meta-multimedia/recipes-multimedia/wireplumber/wireplumber_0.5.2.bb index 9115076a2..6ab48285c 100644 --- a/meta-multimedia/recipes-multimedia/wireplumber/wireplumber_0.5.1.bb +++ b/meta-multimedia/recipes-multimedia/wireplumber/wireplumber_0.5.2.bb | |||
@@ -10,7 +10,7 @@ DEPENDS = "glib-2.0 glib-2.0-native lua pipewire \ | |||
10 | ${@bb.utils.contains("DISTRO_FEATURES", "gobject-introspection-data", "python3-native python3-lxml-native doxygen-native", "", d)} \ | 10 | ${@bb.utils.contains("DISTRO_FEATURES", "gobject-introspection-data", "python3-native python3-lxml-native doxygen-native", "", d)} \ |
11 | " | 11 | " |
12 | 12 | ||
13 | SRCREV = "961450b2ac700e8c9c85a0beb2426b875fa08bff" | 13 | SRCREV = "b302ebd6ab66fd538191d22db4ebe02bcef87a91" |
14 | SRC_URI = " \ | 14 | SRC_URI = " \ |
15 | git://gitlab.freedesktop.org/pipewire/wireplumber.git;branch=master;protocol=https \ | 15 | git://gitlab.freedesktop.org/pipewire/wireplumber.git;branch=master;protocol=https \ |
16 | file://90-OE-disable-session-dbus-dependent-features.lua \ | 16 | file://90-OE-disable-session-dbus-dependent-features.lua \ |
@@ -54,7 +54,7 @@ WP_MODULE_SUBDIR = "wireplumber-0.5" | |||
54 | 54 | ||
55 | do_install:append() { | 55 | do_install:append() { |
56 | if ${@bb.utils.contains('PACKAGECONFIG', 'dbus', 'false', 'true', d)}; then | 56 | if ${@bb.utils.contains('PACKAGECONFIG', 'dbus', 'false', 'true', d)}; then |
57 | install -m 0644 ${WORKDIR}/90-OE-disable-session-dbus-dependent-features.lua ${D}${datadir}/wireplumber/main.lua.d | 57 | install -m 0644 ${UNPACKDIR}/90-OE-disable-session-dbus-dependent-features.lua ${D}${datadir}/wireplumber/main.lua.d |
58 | fi | 58 | fi |
59 | } | 59 | } |
60 | 60 | ||
diff --git a/meta-multimedia/recipes-support/gst-instruments/gst-instruments_git.bb b/meta-multimedia/recipes-support/gst-instruments/gst-instruments_git.bb index df688bbcd..04d16ffe1 100644 --- a/meta-multimedia/recipes-support/gst-instruments/gst-instruments_git.bb +++ b/meta-multimedia/recipes-support/gst-instruments/gst-instruments_git.bb | |||
@@ -19,5 +19,5 @@ FILES:${PN} += "${libdir}/*" | |||
19 | 19 | ||
20 | INSANE_SKIP:${PN}-dev = "dev-elf" | 20 | INSANE_SKIP:${PN}-dev = "dev-elf" |
21 | 21 | ||
22 | PACKAGECONFIG ??= "ui" | 22 | PACKAGECONFIG ??= "${@bb.utils.contains_any('DISTRO_FEATURES', '${GTK3DISTROFEATURES}', 'ui', '', d)}" |
23 | PACKAGECONFIG[ui] = "-Dui=enabled,-Dui=disabled,gtk+3" | 23 | PACKAGECONFIG[ui] = "-Dui=enabled,-Dui=disabled,gtk+3" |