Skip to contentSkip to conversation

gupnp: fix build with meson-1.2.0

PATCH In review Martin Jansa 2 participants 3 messages Sep 26, 2023 – Sep 27, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gupnp: fix build with meson-1.2.0

---
 ...roperly-spell-provide-in-.wrap-files.patch | 25 +++++++++++++++++++
 .../recipes-connectivity/gupnp/gupnp_1.4.1.bb |  1 +
 2 files changed, 26 insertions(+)
 create mode 100644 meta-multimedia/recipes-connectivity/gupnp/gupnp/0001-build-properly-spell-provide-in-.wrap-files.patch
meta-multimedia/recipes-connectivity/gupnp/gupnp/0001-build-properly-spell-provide-in-.wrap-files.patch new file +25 -0
new file mode 100644
index 0000000000..66f07094c5
@@ -0,0 +1,25 @@
+From 7a4515a356a3d5eb2af1f602c77a42a544e71efa Mon Sep 17 00:00:00 2001
+From: Jan Beich <[email protected]>
+Date: Sun, 9 Jul 2023 03:30:47 +0000
+Subject: [PATCH] build: properly spell [provide] in *.wrap files
+
+meson.build:1:0: ERROR: Unexpected "[provides]" section, did you mean "[provide]"?
+
+Signed-off-by: Martin Jansa <[email protected]>
+Upstream-Status: Backport [https://gitlab.gnome.org/GNOME/gupnp/-/commit/884639bd29323cbb8fbd36bc69d08097a2ae2cd1]
+---
+ subprojects/gssdp-1.2.wrap | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/subprojects/gssdp-1.2.wrap b/subprojects/gssdp-1.2.wrap
+index 469c75d..466b83b 100644
+--- a/subprojects/gssdp-1.2.wrap
++++ b/subprojects/gssdp-1.2.wrap
+@@ -3,6 +3,6 @@ url = https://gitlab.gnome.org/GNOME/gssdp.git
+ revision = gssdp-1.4
+ depth = 1
+  
+-[provides]
++[provide]
+ dependency_name = gssdp-1.2
+ 
meta-multimedia/recipes-connectivity/gupnp/gupnp_1.4.1.bb +1 -0
index c21e7a05bf..efeb66f28f 100644
@@ -9,6 +9,7 @@ inherit meson pkgconfig vala gobject-introspection
 
 SRC_URI = "${GNOME_MIRROR}/${BPN}/1.4/${BPN}-${PV}.tar.xz \
     file://0001-all-Drop-xmlRecoverMemory.patch \
+    file://0001-build-properly-spell-provide-in-.wrap-files.patch \
 "
 SRC_URI[sha256sum] = "899196b5e66f03b8e25f046a7a658cd2a6851becb83f2d55345ab3281655dc0c"
 
Signature · 1 line
2.42.0
#1 lore raw

I think we need same/simiilar fix for gupnp-tools as well. See
https://errors.yoctoproject.org/Errors/Details/738235/

Quoted 63 lines · Martin Jansa
---
 ...roperly-spell-provide-in-.wrap-files.patch | 25 +++++++++++++++++++
 .../recipes-connectivity/gupnp/gupnp_1.4.1.bb |  1 +
 2 files changed, 26 insertions(+)
 create mode 100644 meta-multimedia/recipes-connectivity/gupnp/gupnp/0001-build-properly-spell-provide-in-.wrap-files.patch
meta-multimedia/recipes-connectivity/gupnp/gupnp/0001-build-properly-spell-provide-in-.wrap-files.patch new file +25 -0
new file mode 100644
index 0000000000..66f07094c5
@@ -0,0 +1,25 @@
+From 7a4515a356a3d5eb2af1f602c77a42a544e71efa Mon Sep 17 00:00:00 2001
+From: Jan Beich <[email protected]>
+Date: Sun, 9 Jul 2023 03:30:47 +0000
+Subject: [PATCH] build: properly spell [provide] in *.wrap files
+
+meson.build:1:0: ERROR: Unexpected "[provides]" section, did you mean "[provide]"?
+
+Signed-off-by: Martin Jansa <[email protected]>
+Upstream-Status: Backport [https://gitlab.gnome.org/GNOME/gupnp/-/commit/884639bd29323cbb8fbd36bc69d08097a2ae2cd1]
+---
+ subprojects/gssdp-1.2.wrap | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/subprojects/gssdp-1.2.wrap b/subprojects/gssdp-1.2.wrap
+index 469c75d..466b83b 100644
+--- a/subprojects/gssdp-1.2.wrap
++++ b/subprojects/gssdp-1.2.wrap
+@@ -3,6 +3,6 @@ url = https://gitlab.gnome.org/GNOME/gssdp.git
+ revision = gssdp-1.4
+ depth = 1
+
+-[provides]
++[provide]
+ dependency_name = gssdp-1.2
+
meta-multimedia/recipes-connectivity/gupnp/gupnp_1.4.1.bb +1 -1
index c21e7a05bf..efeb66f28f 100644
@@ -9,6 +9,7 @@ inherit meson pkgconfig vala gobject-introspection
 
 SRC_URI = "${GNOME_MIRROR}/${BPN}/1.4/${BPN}-${PV}.tar.xz \
     file://0001-all-Drop-xmlRecoverMemory.patch \
+    file://0001-build-properly-spell-provide-in-.wrap-files.patch \
 "
 SRC_URI[sha256sum] = "899196b5e66f03b8e25f046a7a658cd2a6851becb83f2d55345ab3281655dc0c"
 
--

2.42.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#105145): https://lists.openembedded.org/g/openembedded-devel/message/105145
Mute This Topic: https://lists.openembedded.org/mt/101601703/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#2 lore raw

Agreed, there is
https://gitlab.gnome.org/GNOME/gupnp-tools/-/commit/1372f9ebe45180d58cefb6c0475fafe77de37ef2

I haven't seen it in my world builds because it was "hidden" by gupnp failure.

Will send patch later.

Quoted 80 lines · Khem Raj

I think we need same/simiilar fix for gupnp-tools as well. See
https://errors.yoctoproject.org/Errors/Details/738235/

Quoted 7 lines · Martin Jansa
---
 ...roperly-spell-provide-in-.wrap-files.patch | 25 +++++++++++++++++++
 .../recipes-connectivity/gupnp/gupnp_1.4.1.bb |  1 +
 2 files changed, 26 insertions(+)
 create mode 100644

meta-multimedia/recipes-connectivity/gupnp/gupnp/0001-build-properly-spell-provide-in-.wrap-files.patch

Quoted 2 lines

diff --git

a/meta-multimedia/recipes-connectivity/gupnp/gupnp/0001-build-properly-spell-provide-in-.wrap-files.patch b/meta-multimedia/recipes-connectivity/gupnp/gupnp/0001-build-properly-spell-provide-in-.wrap-files.patch

Quoted 4 lines

new file mode 100644
index 0000000000..66f07094c5
--- /dev/null
+++

b/meta-multimedia/recipes-connectivity/gupnp/gupnp/0001-build-properly-spell-provide-in-.wrap-files.patch

meta-multimedia/recipes-connectivity/gupnp/gupnp/0001-build-properly-spell-provide-in-.wrap-files.patch line 6

Quoted 7 lines
meta-multimedia/recipes-connectivity/gupnp/gupnp/0001-build-properly-spell-provide-in-.wrap-files.patch new file +6 -0
@@ -0,0 +1,25 @@
+From 7a4515a356a3d5eb2af1f602c77a42a544e71efa Mon Sep 17 00:00:00 2001
+From: Jan Beich <[email protected]>
+Date: Sun, 9 Jul 2023 03:30:47 +0000
+Subject: [PATCH] build: properly spell [provide] in *.wrap files
+
+meson.build:1:0: ERROR: Unexpected "[provides]" section, did you mean

"[provide]"?

meta-multimedia/recipes-connectivity/gupnp/gupnp/0001-build-properly-spell-provide-in-.wrap-files.patch

Quoted 3 lines
meta-multimedia/recipes-connectivity/gupnp/gupnp/0001-build-properly-spell-provide-in-.wrap-files.patch new file +3 -0
+
+Signed-off-by: Martin Jansa <[email protected]>
+Upstream-Status: Backport [

https://gitlab.gnome.org/GNOME/gupnp/-/commit/884639bd29323cbb8fbd36bc69d08097a2ae2cd1
]

Review

Quoted 17 lines
meta-multimedia/recipes-connectivity/gupnp/gupnp/0001-build-properly-spell-provide-in-.wrap-files.patch new file +16 -0
+---
+ subprojects/gssdp-1.2.wrap | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/subprojects/gssdp-1.2.wrap b/subprojects/gssdp-1.2.wrap
+index 469c75d..466b83b 100644
+--- a/subprojects/gssdp-1.2.wrap
++++ b/subprojects/gssdp-1.2.wrap
+@@ -3,6 +3,6 @@ url = https://gitlab.gnome.org/GNOME/gssdp.git
+ revision = gssdp-1.4
+ depth = 1
+
+-[provides]
++[provide]
+ dependency_name = gssdp-1.2
+
(quoted diff) +0 -0

b/meta-multimedia/recipes-connectivity/gupnp/gupnp_1.4.1.bb

meta-multimedia/recipes-connectivity/gupnp/gupnp_1.4.1.bb inherit meson pkgconfig vala gobject-introspection · line 14

Quoted 10 lines

index c21e7a05bf..efeb66f28f 100644

meta-multimedia/recipes-connectivity/gupnp/gupnp_1.4.1.bb +1 -0
@@ -9,6 +9,7 @@ inherit meson pkgconfig vala gobject-introspection
 
 SRC_URI = "${GNOME_MIRROR}/${BPN}/1.4/${BPN}-${PV}.tar.xz \
     file://0001-all-Drop-xmlRecoverMemory.patch \
+    file://0001-build-properly-spell-provide-in-.wrap-files.patch \
 "
 SRC_URI[sha256sum] =

"899196b5e66f03b8e25f046a7a658cd2a6851becb83f2d55345ab3281655dc0c"

Quoted 8 lines
meta-multimedia/recipes-connectivity/gupnp/gupnp_1.4.1.bb +0 -1
--

2.42.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#105145):

https://lists.openembedded.org/g/openembedded-devel/message/105145

Quoted 3 lines

Mute This Topic: https://lists.openembedded.org/mt/101601703/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [

[email protected]]

Quoted 2 lines

-=-=-=-=-=-=-=-=-=-=-=-