Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
From 78270f9159a9ec7284ca39a2fbb1774347942de1 Mon Sep 17 00:00:00 2001
From: Markus Volk <f_l_k@t-online.de>
Date: Wed, 24 Apr 2024 19:08:43 +0200
Subject: [PATCH] gssdp-enums.c.template: use basename instead of filename

This would prevent the build path from leaking into the source code.

Signed-off-by: Markus Volk <f_l_k@t-online.de>

Upstream-Status: Submitted [https://gitlab.gnome.org/GNOME/gssdp/-/merge_requests/13]
---
libgssdp/gssdp-enums.c.template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libgssdp/gssdp-enums.c.template b/libgssdp/gssdp-enums.c.template
index 600d426..2dfb859 100644
--- a/libgssdp/gssdp-enums.c.template
+++ b/libgssdp/gssdp-enums.c.template
@@ -3,8 +3,8 @@

/*** END file-header ***/
/*** BEGIN file-production ***/
-/* enumerations from "@filename@" */
-#include "@filename@"
+/* enumerations from "@basename@" */
+#include "@basename@"
/*** END file-production ***/
/*** BEGIN value-header ***/
GType
--
2.44.0

33 changes: 33 additions & 0 deletions recipes-connectivity/gupnp/gssdp_1.6.3.bb
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
SUMMARY = "Resource discovery and announcement over SSDP"

Check failure on line 1 in recipes-connectivity/gupnp/gssdp_1.6.3.bb

View workflow job for this annotation

GitHub Actions / call-fossid-workflow / Fossid Annotate PR

FossID Detected License Issue

DESCRIPTION = "GSSDP implements resource discovery and announcement over SSDP \
(Simpe Service Discovery Protocol)."
HOMEPAGE = "https://gitlab.gnome.org/GNOME/gssdp/"
BUGTRACKER = "https://gitlab.gnome.org/GNOME/gssdp/-/issues"
LICENSE = "LGPL-2.1-only"
LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"

SRC_URI:append = " file://0001-gssdp-enums.c.template-use-basename-instead-of-filen.patch"
SRC_URI[archive.sha256sum] = "2fedb5afdb22cf14d5498a39a773ca89788a250fcf70118783df821e1f3f3446"

GTKDOC_MESON_OPTION = 'gtk_doc'

DEPENDS = " \
glib-2.0 \
libsoup-3.0 \
"

inherit gnomebase pkgconfig gobject-introspection vala gi-docgen features_check meson

# manpages require pandoc-native
EXTRA_OEMESON += "-Dmanpages=false"

SNIFFER = "${@bb.utils.contains("BBFILE_COLLECTIONS", "gnome-layer", "sniffer", "", d)}"

PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'opengl', "${SNIFFER}", "", d)}"
Comment on lines +24 to +26
PACKAGECONFIG[sniffer] = "-Dsniffer=true,-Dsniffer=false,gtk4,"

REQUIRED_DISTRO_FEATURES = "${@bb.utils.contains('PACKAGECONFIG', 'sniffer', 'opengl', '', d)}"

PACKAGES =+ "gssdp-tools"

FILES:gssdp-tools = "${bindir}/gssdp* ${datadir}/gssdp/*.glade"
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
From d99f71a4a52da7582d5e26992a1ab303b280d28a Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Fri, 30 Jun 2023 03:23:12 -0700
Subject: [PATCH] Drop xmlRecoverMemory

newer libxml has deprecated xmlRecoverMemory therefore replace it with xmlReadMemory

Upstream-Status: Backport [https://gitlab.gnome.org/GNOME/gupnp/-/commit/80e68995b745a5900eaaa1d0c424d3a9d354e42d]

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
gupnp-didl-lite-parser.c | 2 +-
gupnp-feature-list-parser.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/gupnp-didl-lite-parser.c b/gupnp-didl-lite-parser.c
index 3a5727f..840d718 100644
--- a/libgupnp-av/gupnp-didl-lite-parser.c
+++ b/libgupnp-av/gupnp-didl-lite-parser.c
@@ -230,7 +230,7 @@ gupnp_didl_lite_parser_parse_didl_recursive (GUPnPDIDLLiteParser *parser,
GUPnPAVXMLDoc *xml_doc = NULL;
gboolean result;

- doc = xmlRecoverMemory (didl, strlen (didl));
+ doc = xmlReadMemory (didl, strlen (didl), NULL, NULL, XML_PARSE_NONET | XML_PARSE_RECOVER);
if (doc == NULL) {
g_set_error (error,
G_MARKUP_ERROR,
diff --git a/gupnp-feature-list-parser.c b/gupnp-feature-list-parser.c
index 16208b5..f804fe7 100644
--- a/libgupnp-av/gupnp-feature-list-parser.c
+++ b/libgupnp-av/gupnp-feature-list-parser.c
@@ -114,7 +114,7 @@ gupnp_feature_list_parser_parse_text
xmlNode *element;
GList *feature_list = NULL;

- doc = xmlRecoverMemory (text, strlen (text));
+ doc = xmlReadMemory (text, strlen (text), NULL, NULL, XML_PARSE_NONET | XML_PARSE_RECOVER);
if (doc == NULL) {
g_set_error (error,
G_MARKUP_ERROR,
--
2.41.0

14 changes: 14 additions & 0 deletions recipes-connectivity/gupnp/gupnp-av_0.14.1.bb
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
SUMMARY = "Helpers for AV applications using UPnP"

Check failure on line 1 in recipes-connectivity/gupnp/gupnp-av_0.14.1.bb

View workflow job for this annotation

GitHub Actions / call-fossid-workflow / Fossid Annotate PR

FossID Detected License Issue

DESCRIPTION = "GUPnP-AV is a collection of helpers for building AV (audio/video) applications using GUPnP."

LICENSE = "LGPL-2.1-or-later"
LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"

DEPENDS = "gupnp"

inherit meson pkgconfig gobject-introspection vala

SRC_URI = "${GNOME_MIRROR}/${BPN}/0.14/${BPN}-${PV}.tar.xz \
file://0001-all-Drop-xmlRecoverMemory.patch \
"
SRC_URI[sha256sum] = "b79ce0cc4b0c66d9c54bc22183a10e5709a0011d2af272025948efcab33a3e4f"
16 changes: 16 additions & 0 deletions recipes-connectivity/gupnp/gupnp-dlna_0.12.0.bb
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
SUMMARY = "Helpers for AV applications using DLNA"

Check failure on line 1 in recipes-connectivity/gupnp/gupnp-dlna_0.12.0.bb

View workflow job for this annotation

GitHub Actions / call-fossid-workflow / Fossid Annotate PR

FossID Detected License Issue

LICENSE = "LGPL-2.0-only"
LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c \
file://libgupnp-dlna/gupnp-dlna-profile.h;beginline=1;endline=22;md5=1b85459f65cb1e73a885ca137aab6274"

DEPENDS = "libxml2 glib-2.0"

SRC_URI = "http://download.gnome.org/sources/${BPN}/0.12/${BPN}-${PV}.tar.xz"
SRC_URI[sha256sum] = "3d53b96f85bc5628d33e367ec9bf2adb38ef2b34d7ad0434a6ba0cf4ad9048e6"

inherit meson pkgconfig gobject-introspection vala

PACKAGECONFIG ?= "gstreamer"
PACKAGECONFIG[gstreamer] = "-Dgstreamer_backend=enabled,-Dgstreamer_backend=disabled,gstreamer1.0 gstreamer1.0-plugins-base"

FILES:${PN} += "${datadir}/gupnp-dlna-2.0/dlna-profiles"
12 changes: 12 additions & 0 deletions recipes-connectivity/gupnp/gupnp-igd_1.6.0.bb
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
SUMMARY = "Helpers for interacting with Internet Gateway Devices over UPnP"

Check failure on line 1 in recipes-connectivity/gupnp/gupnp-igd_1.6.0.bb

View workflow job for this annotation

GitHub Actions / call-fossid-workflow / Fossid Annotate PR

FossID Detected License Issue

LICENSE = "LGPL-2.0-only"
LIC_FILES_CHKSUM = "file://COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343 \
file://libgupnp-igd/gupnp-simple-igd.c;beginline=1;endline=21;md5=aa292c0d9390463a6e1055dc5fc68e80"

DEPENDS = "glib-2.0 gssdp gupnp"

inherit gnomebase pkgconfig gtk-doc gobject-introspection

SRC_URI[archive.sha256sum] = "4099978339ab22126d4968f2a332b6d094fc44c78797860781f1fc2f11771b74"

GTKDOC_MESON_OPTION = "gtk_doc"
19 changes: 19 additions & 0 deletions recipes-connectivity/gupnp/gupnp-tools_0.12.1.bb
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
SUMMARY = "Tools for GUPnP"

Check failure on line 1 in recipes-connectivity/gupnp/gupnp-tools_0.12.1.bb

View workflow job for this annotation

GitHub Actions / call-fossid-workflow / Fossid Annotate PR

FossID Detected License Issue

LICENSE = "GPL-2.0-or-later"
LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"

DEPENDS = "gupnp gssdp gtk+3 libsoup-3.0 libxml2 glib-2.0 "

inherit gnomebase features_check pkgconfig gettext gtk-icon-cache

ANY_OF_DISTRO_FEATURES = "x11 wayland"

SRC_URI[archive.sha256sum] = "53cf93123f397e8f8f0b8e9e4364c86a7502a5334f4c0be2e054a824478bd5ba"

PACKAGECONFIG ??= "av-tools"
PACKAGECONFIG[av-tools] = "-Dav-tools=true,-Dav-tools=false,gupnp-av"
PACKAGECONFIG[gtksourceview] = ",,gtksourceview4"

CFLAGS += "-Wno-deprecated-declarations"

RRECOMMENDS:${PN} = "adwaita-icon-theme"
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
From f875a0afe24fdebdefc46d132f6722dfcb55115a Mon Sep 17 00:00:00 2001
From: Markus Volk <f_l_k@t-online.de>
Date: Wed, 24 Apr 2024 18:52:45 +0200
Subject: [PATCH] gupnp-enums.c.template: use @basename@ instead of @filename@

This would prevent the build path from leaking into the source code.

Signed-off-by: Markus Volk <f_l_k@t-online.de>

Upstream-Status: Submitted [https://gitlab.gnome.org/GNOME/gupnp/-/merge_requests/36]
---
libgupnp/gupnp-enums.c.template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libgupnp/gupnp-enums.c.template b/libgupnp/gupnp-enums.c.template
index 3ce5fa4..a7ff89c 100644
--- a/libgupnp/gupnp-enums.c.template
+++ b/libgupnp/gupnp-enums.c.template
@@ -3,8 +3,8 @@

/*** END file-header ***/
/*** BEGIN file-production ***/
-/* enumerations from "@filename@" */
-#include "@filename@"
+/* enumerations from "@basename@" */
+#include "@basename@"
/*** END file-production ***/
/*** BEGIN value-header ***/
GType
--
2.44.0

23 changes: 23 additions & 0 deletions recipes-connectivity/gupnp/gupnp_1.6.6.bb
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
SUMMARY = "UPnP framework"

Check failure on line 1 in recipes-connectivity/gupnp/gupnp_1.6.6.bb

View workflow job for this annotation

GitHub Actions / call-fossid-workflow / Fossid Annotate PR

FossID Detected License Issue

Snippet with 'LGPL-2.1-or-later' file license found (23 lines) Location: https://github.com/openbmc/openbmc/blob/2.18.0-dev/meta-openembedded/meta-multimedia/recipes-connectivity/gupnp/gupnp_1.6.6.bb#L1 Component: pkg:github/openbmc/openbmc@2.18.0-dev Download: https://github.com/openbmc/openbmc/archive/refs/tags/2.18.0-dev.tar.gz
DESCRIPTION = "GUPnP is an elegant, object-oriented open source framework for creating UPnP devices and control points, written in C using GObject and libsoup. The GUPnP API is intended to be easy to use, efficient and flexible. It provides the same set of features as libupnp, but shields the developer from most of UPnP's internals."
LICENSE = "LGPL-2.1-or-later"
LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"

DEPENDS = "e2fsprogs gssdp libsoup-3.0 libxml2"

inherit gnomebase pkgconfig vala gobject-introspection meson

SRC_URI[archive.sha256sum] = "c9dc50e8c78b3792d1b0e6c5c5f52c93e9345d3dae2891e311a993a574f5a04f"
SRC_URI += "file://0001-gupnp-enums.c.template-use-basename-instead-of-filen.patch"


SYSROOT_PREPROCESS_FUNCS += "gupnp_sysroot_preprocess"

gupnp_sysroot_preprocess () {
install -d ${SYSROOT_DESTDIR}${bindir_crossscripts}/
install -m 755 ${D}${bindir}/gupnp-binding-tool* ${SYSROOT_DESTDIR}${bindir_crossscripts}/
}

FILES:${PN}-dev += "${bindir}/gupnp-binding-tool*"

RDEPENDS:${PN}-dev += "python3-core python3-xml"
3 changes: 2 additions & 1 deletion recipes-extended/entservices/entservices-xcast.bb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ SRC_URI = "${CMF_GITHUB_ROOT}/entservices-xcast;${CMF_GITHUB_SRC_URI_SUFFIX}\
"

# Release version - 2.0.2
SRCREV = "0d2bbf0d3236aa06b254cbd4456043f4e5580f2b"
#SRCREV = "0d2bbf0d3236aa06b254cbd4456043f4e5580f2b"
SRCREV = "d350a564fdc50dcff71d7247412bdf2dd6552c71"

PACKAGE_ARCH = "${MIDDLEWARE_ARCH}"
TOOLCHAIN = "gcc"
Expand Down
7 changes: 4 additions & 3 deletions recipes-extended/xdial/xdial.bb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ PV = "1.0.2"
PR = "r0"
PACKAGE_ARCH = "${MIDDLEWARE_ARCH}"

SRCREV = "48461dc2b8a21975cc598c4956a9fd5c621482a8"
#SRCREV = "48461dc2b8a21975cc598c4956a9fd5c621482a8"
SRCREV = "c9de5ebc80f20e21591fb876a065eff3a702549d"
SRC_URI = "${CMF_GITHUB_ROOT}/xdialserver;${CMF_GITHUB_SRC_URI_SUFFIX}"

FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
Expand All @@ -21,8 +22,8 @@ EXTRA_OEMAKE+= "PLATFORM_FLAGS="-DPLATFORM=-DNETFLIX_CALLSIGN_0=1""
EXTRA_OEMAKE += "${@bb.utils.contains('DISTRO_FEATURES', 'wpe_security_util_disable', '"DISABLE_SECURITY_TOKEN="-DDISABLE_SECURITY_TOKEN=1""', ' ', d)}"

#libsoup3 not compatible with gdial
#DEPENDS:append = " ${@bb.utils.contains('DISTRO_FEATURES', 'enable_libsoup3', ' libsoup ', ' libsoup-2.4 ', d)}"
DEPENDS:append = " libsoup-2.4"
DEPENDS:append = " ${@bb.utils.contains('DISTRO_FEATURES', 'enable_libsoup3', ' libsoup ', ' libsoup-2.4 ', d)}"
#DEPENDS:append = " libsoup-2.4"
DEPENDS:append = " gssdp"
DEPENDS:append = " cmake-native"
EXTRANATIVEPATH += "cmake-native"
Expand Down
Loading