diff mbox series

[meta-gnome] librest: update 0.8.1 -> 0.9.1

Message ID 20250516162617.2910805-1-f_l_k@t-online.de
State Under Review
Headers show
Series [meta-gnome] librest: update 0.8.1 -> 0.9.1 | expand

Commit Message

Markus Volk May 16, 2025, 4:26 p.m. UTC
- switch to meson buildsystem
- add missing dependencies
- use libsoup-3

Signed-off-by: Markus Volk <f_l_k@t-online.de>
---
 .../recipes-gnome/rest/librest_0.8.1.bb       | 33 -------------------
 .../recipes-gnome/rest/librest_0.9.1.bb       | 23 +++++++++++++
 2 files changed, 23 insertions(+), 33 deletions(-)
 delete mode 100644 meta-gnome/recipes-gnome/rest/librest_0.8.1.bb
 create mode 100644 meta-gnome/recipes-gnome/rest/librest_0.9.1.bb

Comments

Khem Raj May 17, 2025, 12:48 a.m. UTC | #1
I am seeing this error

https://errors.yoctoproject.org/Errors/Details/854795/

Rest-1.0.gir should perhaps come from librest and not from rest package ?

On Fri, May 16, 2025 at 9:26 AM Markus Volk via lists.openembedded.org
<f_l_k=t-online.de@lists.openembedded.org> wrote:
>
> - switch to meson buildsystem
> - add missing dependencies
> - use libsoup-3
>
> Signed-off-by: Markus Volk <f_l_k@t-online.de>
> ---
>  .../recipes-gnome/rest/librest_0.8.1.bb       | 33 -------------------
>  .../recipes-gnome/rest/librest_0.9.1.bb       | 23 +++++++++++++
>  2 files changed, 23 insertions(+), 33 deletions(-)
>  delete mode 100644 meta-gnome/recipes-gnome/rest/librest_0.8.1.bb
>  create mode 100644 meta-gnome/recipes-gnome/rest/librest_0.9.1.bb
>
> diff --git a/meta-gnome/recipes-gnome/rest/librest_0.8.1.bb b/meta-gnome/recipes-gnome/rest/librest_0.8.1.bb
> deleted file mode 100644
> index 63372afa5d..0000000000
> --- a/meta-gnome/recipes-gnome/rest/librest_0.8.1.bb
> +++ /dev/null
> @@ -1,33 +0,0 @@
> -SUMMARY = "library to access web services that claim to be "RESTful""
> -HOMEPAGE = "https://wiki.gnome.org/Projects/Librest"
> -LICENSE = "LGPL-2.1-only"
> -LIC_FILES_CHKSUM = "file://COPYING;md5=2d5025d4aa3495befef8f17206a5b0a1"
> -
> -DEPENDS = " \
> -    glib-2.0 \
> -    glib-2.0-native \
> -    libsoup-2.4 \
> -    libxml2 \
> -"
> -
> -GNOMEBASEBUILDCLASS = "autotools"
> -inherit gnomebase gobject-introspection vala pkgconfig gtk-doc
> -
> -GNOMEBN = "rest"
> -
> -SRC_URI[archive.sha256sum] = "0513aad38e5d3cedd4ae3c551634e3be1b9baaa79775e53b2dba9456f15b01c9"
> -
> -S = "${WORKDIR}/${GNOMEBN}-${PV}"
> -# * gnome environment requires libsoup build with in gnome PACKAGECONFIG
> -# * libsoup-gnome support was removed upstream three years ago [1]
> -# [1] https://gitlab.gnome.org/GNOME/librest/commit/8f904a8e2bb38a7bf72245cdf2f1ecad17e9a720
> -EXTRA_OECONF = "--without-gnome"
> -
> -do_configure:prepend() {
> -    # rest expects introspection.m4 at custom location (see aclocal.m4).
> -    cp -f ${STAGING_DIR_TARGET}/${datadir}/aclocal/introspection.m4 ${S}/build
> -}
> -
> -do_compile:prepend() {
> -    export GIR_EXTRA_LIBS_PATH="${B}/rest/.libs"
> -}
> diff --git a/meta-gnome/recipes-gnome/rest/librest_0.9.1.bb b/meta-gnome/recipes-gnome/rest/librest_0.9.1.bb
> new file mode 100644
> index 0000000000..f923c7c1cd
> --- /dev/null
> +++ b/meta-gnome/recipes-gnome/rest/librest_0.9.1.bb
> @@ -0,0 +1,23 @@
> +SUMMARY = "library to access web services that claim to be "RESTful""
> +HOMEPAGE = "https://wiki.gnome.org/Projects/Librest"
> +LICENSE = "LGPL-2.1-only"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=2d5025d4aa3495befef8f17206a5b0a1"
> +
> +DEPENDS = " \
> +    glib-2.0 \
> +    glib-2.0-native \
> +    gtksourceview5 \
> +    libadwaita \
> +    libsoup \
> +    libxml2 \
> +    json-glib \
> +"
> +
> +inherit gnomebase gobject-introspection vala pkgconfig gi-docgen
> +
> +GNOMEBN = "rest"
> +
> +SRC_URI[archive.sha256sum] = "9266a5c10ece383e193dfb7ffb07b509cc1f51521ab8dad76af96ed14212c2e3"
> +
> +S = "${WORKDIR}/${GNOMEBN}-${PV}"
> +
> --
> 2.49.0
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#117435): https://lists.openembedded.org/g/openembedded-devel/message/117435
> Mute This Topic: https://lists.openembedded.org/mt/113148143/1997914
> Group Owner: openembedded-devel+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [raj.khem@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
Markus Volk May 17, 2025, 5:52 a.m. UTC | #2
I overlooked the fact that the librest-0.9.1 update is already 
available as rest-0.9.1.
After my update, rest and librest are the same version. The update can 
therefore be ignored

On Fri, May 16 2025 at 17:48:11 -07:00:00, Khem Raj 
<raj.khem@gmail.com> wrote:
> I am seeing this error
> 
> <https://errors.yoctoproject.org/Errors/Details/854795/>
> 
> Rest-1.0.gir should perhaps come from librest and not from rest 
> package ?
> 
> On Fri, May 16, 2025 at 9:26 AM Markus Volk via 
> lists.openembedded.org
> <f_l_k=t-online.de@lists.openembedded.org 
> <mailto:f_l_k=t-online.de@lists.openembedded.org>> wrote:
>> 
>>  - switch to meson buildsystem
>>  - add missing dependencies
>>  - use libsoup-3
>> 
>>  Signed-off-by: Markus Volk <f_l_k@t-online.de 
>> <mailto:f_l_k@t-online.de>>
>>  ---
>>   .../recipes-gnome/rest/librest_0.8.1.bb       | 33 
>> -------------------
>>   .../recipes-gnome/rest/librest_0.9.1.bb       | 23 +++++++++++++
>>   2 files changed, 23 insertions(+), 33 deletions(-)
>>   delete mode 100644 meta-gnome/recipes-gnome/rest/librest_0.8.1.bb
>>   create mode 100644 meta-gnome/recipes-gnome/rest/librest_0.9.1.bb
>> 
>>  diff --git a/meta-gnome/recipes-gnome/rest/librest_0.8.1.bb 
>> b/meta-gnome/recipes-gnome/rest/librest_0.8.1.bb
>>  deleted file mode 100644
>>  index 63372afa5d..0000000000
>>  --- a/meta-gnome/recipes-gnome/rest/librest_0.8.1.bb
>>  +++ /dev/null
>>  @@ -1,33 +0,0 @@
>>  -SUMMARY = "library to access web services that claim to be 
>> "RESTful""
>>  -HOMEPAGE = "<https://wiki.gnome.org/Projects/Librest>"
>>  -LICENSE = "LGPL-2.1-only"
>>  -LIC_FILES_CHKSUM = 
>> "file://COPYING;md5=2d5025d4aa3495befef8f17206a5b0a1" 
>> <file://copying;md5=2d5025d4aa3495befef8f17206a5b0a1/>
>>  -
>>  -DEPENDS = " \
>>  -    glib-2.0 \
>>  -    glib-2.0-native \
>>  -    libsoup-2.4 \
>>  -    libxml2 \
>>  -"
>>  -
>>  -GNOMEBASEBUILDCLASS = "autotools"
>>  -inherit gnomebase gobject-introspection vala pkgconfig gtk-doc
>>  -
>>  -GNOMEBN = "rest"
>>  -
>>  -SRC_URI[archive.sha256sum] = 
>> "0513aad38e5d3cedd4ae3c551634e3be1b9baaa79775e53b2dba9456f15b01c9"
>>  -
>>  -S = "${WORKDIR}/${GNOMEBN}-${PV}"
>>  -# * gnome environment requires libsoup build with in gnome 
>> PACKAGECONFIG
>>  -# * libsoup-gnome support was removed upstream three years ago [1]
>>  -# [1] 
>> <https://gitlab.gnome.org/GNOME/librest/commit/8f904a8e2bb38a7bf72245cdf2f1ecad17e9a720>
>>  -EXTRA_OECONF = "--without-gnome"
>>  -
>>  -do_configure:prepend() {
>>  -    # rest expects introspection.m4 at custom location (see 
>> aclocal.m4).
>>  -    cp -f 
>> ${STAGING_DIR_TARGET}/${datadir}/aclocal/introspection.m4 ${S}/build
>>  -}
>>  -
>>  -do_compile:prepend() {
>>  -    export GIR_EXTRA_LIBS_PATH="${B}/rest/.libs"
>>  -}
>>  diff --git a/meta-gnome/recipes-gnome/rest/librest_0.9.1.bb 
>> b/meta-gnome/recipes-gnome/rest/librest_0.9.1.bb
>>  new file mode 100644
>>  index 0000000000..f923c7c1cd
>>  --- /dev/null
>>  +++ b/meta-gnome/recipes-gnome/rest/librest_0.9.1.bb
>>  @@ -0,0 +1,23 @@
>>  +SUMMARY = "library to access web services that claim to be 
>> "RESTful""
>>  +HOMEPAGE = "<https://wiki.gnome.org/Projects/Librest>"
>>  +LICENSE = "LGPL-2.1-only"
>>  +LIC_FILES_CHKSUM = 
>> "file://COPYING;md5=2d5025d4aa3495befef8f17206a5b0a1" 
>> <file://copying;md5=2d5025d4aa3495befef8f17206a5b0a1/>
>>  +
>>  +DEPENDS = " \
>>  +    glib-2.0 \
>>  +    glib-2.0-native \
>>  +    gtksourceview5 \
>>  +    libadwaita \
>>  +    libsoup \
>>  +    libxml2 \
>>  +    json-glib \
>>  +"
>>  +
>>  +inherit gnomebase gobject-introspection vala pkgconfig gi-docgen
>>  +
>>  +GNOMEBN = "rest"
>>  +
>>  +SRC_URI[archive.sha256sum] = 
>> "9266a5c10ece383e193dfb7ffb07b509cc1f51521ab8dad76af96ed14212c2e3"
>>  +
>>  +S = "${WORKDIR}/${GNOMEBN}-${PV}"
>>  +
>>  --
>>  2.49.0
>> 
>> 
>>  -=-=-=-=-=-=-=-=-=-=-=-
>>  Links: You receive all messages sent to this group.
>>  View/Reply Online (#117435): 
>> <https://lists.openembedded.org/g/openembedded-devel/message/117435>
>>  Mute This Topic: 
>> <https://lists.openembedded.org/mt/113148143/1997914>
>>  Group Owner: openembedded-devel+owner@lists.openembedded.org 
>> <mailto:openembedded-devel+owner@lists.openembedded.org>
>>  Unsubscribe: 
>> <https://lists.openembedded.org/g/openembedded-devel/unsub> 
>> [raj.khem@gmail.com <mailto:raj.khem@gmail.com>]
>>  -=-=-=-=-=-=-=-=-=-=-=-
>>
Khem Raj May 17, 2025, 6:09 a.m. UTC | #3
On Fri, May 16, 2025 at 10:52 PM Markus Volk <f_l_k@t-online.de> wrote:

> I overlooked the fact that the librest-0.9.1 update is already available
> as rest-0.9.1.
> After my update, rest and librest are the same version. The update can
> therefore be ignored
>

I think we should still delete the old librest recipe and let rest RPROVIDE
it so we can get rid of need for libsoup-2.4

>
> On Fri, May 16 2025 at 17:48:11 -07:00:00, Khem Raj <raj.khem@gmail.com>
> wrote:
>
> I am seeing this error
> https://errors.yoctoproject.org/Errors/Details/854795/ Rest-1.0.gir
> should perhaps come from librest and not from rest package ? On Fri, May
> 16, 2025 at 9:26 AM Markus Volk via lists.openembedded.org <
> f_l_k=t-online.de@lists.openembedded.org> wrote:
>
> - switch to meson buildsystem - add missing dependencies - use libsoup-3
> Signed-off-by: Markus Volk <f_l_k@t-online.de> --- .../recipes-gnome/rest/
> librest_0.8.1.bb | 33 ------------------- .../recipes-gnome/rest/
> librest_0.9.1.bb | 23 +++++++++++++ 2 files changed, 23 insertions(+), 33
> deletions(-) delete mode 100644 meta-gnome/recipes-gnome/rest/
> librest_0.8.1.bb create mode 100644 meta-gnome/recipes-gnome/rest/
> librest_0.9.1.bb diff --git a/meta-gnome/recipes-gnome/rest/
> librest_0.8.1.bb b/meta-gnome/recipes-gnome/rest/librest_0.8.1.bb deleted
> file mode 100644 index 63372afa5d..0000000000 ---
> a/meta-gnome/recipes-gnome/rest/librest_0.8.1.bb +++ /dev/null @@ -1,33
> +0,0 @@ -SUMMARY = "library to access web services that claim to be
> "RESTful"" -HOMEPAGE = "https://wiki.gnome.org/Projects/Librest" -LICENSE
> = "LGPL-2.1-only" -LIC_FILES_CHKSUM = "
> file://COPYING;md5=2d5025d4aa3495befef8f17206a5b0a1" - -DEPENDS = " \ -
> glib-2.0 \ - glib-2.0-native \ - libsoup-2.4 \ - libxml2 \ -" -
> -GNOMEBASEBUILDCLASS = "autotools" -inherit gnomebase gobject-introspection
> vala pkgconfig gtk-doc - -GNOMEBN = "rest" - -SRC_URI[archive.sha256sum] =
> "0513aad38e5d3cedd4ae3c551634e3be1b9baaa79775e53b2dba9456f15b01c9" - -S =
> "${WORKDIR}/${GNOMEBN}-${PV}" -# * gnome environment requires libsoup build
> with in gnome PACKAGECONFIG -# * libsoup-gnome support was removed upstream
> three years ago [1] -# [1]
> https://gitlab.gnome.org/GNOME/librest/commit/8f904a8e2bb38a7bf72245cdf2f1ecad17e9a720
> -EXTRA_OECONF = "--without-gnome" - -do_configure:prepend() { - # rest
> expects introspection.m4 at custom location (see aclocal.m4). - cp -f
> ${STAGING_DIR_TARGET}/${datadir}/aclocal/introspection.m4 ${S}/build -} -
> -do_compile:prepend() { - export GIR_EXTRA_LIBS_PATH="${B}/rest/.libs" -}
> diff --git a/meta-gnome/recipes-gnome/rest/librest_0.9.1.bb
> b/meta-gnome/recipes-gnome/rest/librest_0.9.1.bb new file mode 100644
> index 0000000000..f923c7c1cd --- /dev/null +++
> b/meta-gnome/recipes-gnome/rest/librest_0.9.1.bb @@ -0,0 +1,23 @@
> +SUMMARY = "library to access web services that claim to be "RESTful""
> +HOMEPAGE = "https://wiki.gnome.org/Projects/Librest" +LICENSE =
> "LGPL-2.1-only" +LIC_FILES_CHKSUM = "
> file://COPYING;md5=2d5025d4aa3495befef8f17206a5b0a1" + +DEPENDS = " \ +
> glib-2.0 \ + glib-2.0-native \ + gtksourceview5 \ + libadwaita \ + libsoup
> \ + libxml2 \ + json-glib \ +" + +inherit gnomebase gobject-introspection
> vala pkgconfig gi-docgen + +GNOMEBN = "rest" + +SRC_URI[archive.sha256sum]
> = "9266a5c10ece383e193dfb7ffb07b509cc1f51521ab8dad76af96ed14212c2e3" + +S =
> "${WORKDIR}/${GNOMEBN}-${PV}" + -- 2.49.0 -=-=-=-=-=-=-=-=-=-=-=- Links:
> You receive all messages sent to this group. View/Reply Online (#117435):
> https://lists.openembedded.org/g/openembedded-devel/message/117435 Mute
> This Topic: https://lists.openembedded.org/mt/113148143/1997914 Group
> Owner: openembedded-devel+owner@lists.openembedded.org Unsubscribe:
> https://lists.openembedded.org/g/openembedded-devel/unsub [
> raj.khem@gmail.com] -=-=-=-=-=-=-=-=-=-=-=-
>
>
diff mbox series

Patch

diff --git a/meta-gnome/recipes-gnome/rest/librest_0.8.1.bb b/meta-gnome/recipes-gnome/rest/librest_0.8.1.bb
deleted file mode 100644
index 63372afa5d..0000000000
--- a/meta-gnome/recipes-gnome/rest/librest_0.8.1.bb
+++ /dev/null
@@ -1,33 +0,0 @@ 
-SUMMARY = "library to access web services that claim to be "RESTful""
-HOMEPAGE = "https://wiki.gnome.org/Projects/Librest"
-LICENSE = "LGPL-2.1-only"
-LIC_FILES_CHKSUM = "file://COPYING;md5=2d5025d4aa3495befef8f17206a5b0a1"
-
-DEPENDS = " \
-    glib-2.0 \
-    glib-2.0-native \
-    libsoup-2.4 \
-    libxml2 \
-"
-
-GNOMEBASEBUILDCLASS = "autotools"
-inherit gnomebase gobject-introspection vala pkgconfig gtk-doc
-
-GNOMEBN = "rest"
-
-SRC_URI[archive.sha256sum] = "0513aad38e5d3cedd4ae3c551634e3be1b9baaa79775e53b2dba9456f15b01c9"
-
-S = "${WORKDIR}/${GNOMEBN}-${PV}"
-# * gnome environment requires libsoup build with in gnome PACKAGECONFIG
-# * libsoup-gnome support was removed upstream three years ago [1]
-# [1] https://gitlab.gnome.org/GNOME/librest/commit/8f904a8e2bb38a7bf72245cdf2f1ecad17e9a720
-EXTRA_OECONF = "--without-gnome"
-
-do_configure:prepend() {
-    # rest expects introspection.m4 at custom location (see aclocal.m4).
-    cp -f ${STAGING_DIR_TARGET}/${datadir}/aclocal/introspection.m4 ${S}/build
-}
-
-do_compile:prepend() {
-    export GIR_EXTRA_LIBS_PATH="${B}/rest/.libs"
-}
diff --git a/meta-gnome/recipes-gnome/rest/librest_0.9.1.bb b/meta-gnome/recipes-gnome/rest/librest_0.9.1.bb
new file mode 100644
index 0000000000..f923c7c1cd
--- /dev/null
+++ b/meta-gnome/recipes-gnome/rest/librest_0.9.1.bb
@@ -0,0 +1,23 @@ 
+SUMMARY = "library to access web services that claim to be "RESTful""
+HOMEPAGE = "https://wiki.gnome.org/Projects/Librest"
+LICENSE = "LGPL-2.1-only"
+LIC_FILES_CHKSUM = "file://COPYING;md5=2d5025d4aa3495befef8f17206a5b0a1"
+
+DEPENDS = " \
+    glib-2.0 \
+    glib-2.0-native \
+    gtksourceview5 \
+    libadwaita \
+    libsoup \
+    libxml2 \
+    json-glib \
+"
+
+inherit gnomebase gobject-introspection vala pkgconfig gi-docgen
+
+GNOMEBN = "rest"
+
+SRC_URI[archive.sha256sum] = "9266a5c10ece383e193dfb7ffb07b509cc1f51521ab8dad76af96ed14212c2e3"
+
+S = "${WORKDIR}/${GNOMEBN}-${PV}"
+