gfbgraph: patch to build with latest rest
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 3 lines · Tim Orling via lists.openembedded.org
librest 0.8.1 declares rest-1.0 and was released four years ago.
This turns out to be incorrect, the rest-1.0 declaration is in the master branch, which we picked up with
https://lists.openembedded.org/g/openembedded-devel/message/93412
Quoted 129 lines
Also inherit pkgconfig so that dependencies can be found by pkg-config
References:
https://gitlab.gnome.org/GNOME/libgfbgraph/-/merge_requests/6Signed-off-by Tim Orling <[email protected]>--- ...-Update-rest-requirement-to-rest-1.0.patch | 72 +++++++++++++++++++ .../recipes-gnome/gfbgraph/gfbgraph_0.2.4.bb | 3 +- 2 files changed, 74 insertions(+), 1 deletion(-) create mode 100644
meta-gnome/recipes-gnome/gfbgraph/gfbgraph/0001-Update-rest-requirement-to-rest-1.0.patchdiff --git
a/meta-gnome/recipes-gnome/gfbgraph/gfbgraph/0001-Update-rest-requirement-to-rest-1.0.patchb/meta-gnome/recipes-gnome/gfbgraph/gfbgraph/0001-Update-rest-requirement-to-rest-1.0.patchnew file mode 100644
index 0000000000..c24a9e569f
---/dev/null
+++b/meta-gnome/recipes-gnome/gfbgraph/gfbgraph/0001-Update-rest-requirement-to-rest-1.0.patch(quoted diff) +8
-0@@ -0,0 +1,72 @@ +From d058e6eb6c9ebf5f4fff89ec0ac93323fc64c1ba Mon Sep 17 00:00:00 2001 +From: Tim Orling <[email protected]> +Date: Mon, 18 Oct 2021 08:42:35 -0700 +Subject: [PATCH] Update rest requirement to rest-1.0 + +librest 0.8.1 declares rest-1.0 and was released four years ago. + +https://gitlab.gnome.org/GNOME/librest/-/commit/2971b3b92701f70fc368ad64bd25cefaea043f87
(quoted diff) +35
-0+ +Upstream-Status: Submitted +[https://gitlab.gnome.org/GNOME/libgfbgraph/-/merge_requests/6] + +Signed-off-by: Tim Orling <[email protected]> + +--- + .dir-locals.el | 2 +- + configure.ac | 2 +- + gfbgraph/Makefile.am | 2 +- + libgfbgraph.pc.in | 2 +- + 4 files changed, 4 insertions(+), 4 deletions(-) + +diff --git a/.dir-locals.el b/.dir-locals.el +index 77abbf0..d39cdf2 100644 +--- a/.dir-locals.el ++++ b/.dir-locals.el +@@ -3,7 +3,7 @@ + "/usr/include/json-glib-1.0" + "/usr/include/goa-1.0" + "/usr/lib64/goa-1.0/include" +- "/usr/include/rest-0.7" ++ "/usr/include/rest-1.0" + "/usr/include/dbus-1.0" + "/usr/lib64/dbus-1.0/include" + "/usr/include/gio-unix-2.0/" +diff --git a/configure.ac b/configure.ac +index fd1231f..9b49f3f 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -40,7 +40,7 @@ AM_CONDITIONAL([ENABLE_GTK_DOC], false) + + GOBJECT_INTROSPECTION_CHECK([1.30.0]) + +-PKG_CHECK_MODULES(LIBGFBGRAPH, [glib-2.0 gio-2.0 gobject-2.0 rest-0.7json-glib-1.0])
++PKG_CHECK_MODULES(LIBGFBGRAPH, [glib-2.0 gio-2.0 gobject-2.0 rest-1.0 json-glib-1.0])(quoted diff) +28
-0+ + PKG_CHECK_MODULES(SOUP, [libsoup-2.4]) + SOUP_UNSTABLE_CPPFLAGS=-DLIBSOUP_USE_UNSTABLE_REQUEST_API +diff --git a/gfbgraph/Makefile.am b/gfbgraph/Makefile.am +index d07b90d..b993ab7 100644 +--- a/gfbgraph/Makefile.am ++++ b/gfbgraph/Makefile.am +@@ -60,7 +60,7 @@ GFBGraph_@API_MAJOR@_@API_MINOR@_gir_INCLUDES = \ + GLib-2.0 \ + Gio-2.0 \ + GObject-2.0 \ +- Rest-0.7 \ ++ Rest-1.0 \ + Json-1.0 \ + Soup-2.4 + +diff --git a/libgfbgraph.pc.in b/libgfbgraph.pc.in +index f87073e..d4f4e3a 100644 +--- a/libgfbgraph.pc.in ++++ b/libgfbgraph.pc.in +@@ -9,6 +9,6 @@ apiversion=@API_VERSION@ + Name: libgfbgraph + Description: GObject library for Facebook Graph API + Version: @VERSION@ +-Requires: gio-2.0 glib-2.0 goa-1.0 json-glib-1.0 libsoup-2.4 rest-0.7 ++Requires: gio-2.0 glib-2.0 goa-1.0 json-glib-1.0 libsoup-2.4 rest-1.0 + Libs: -L${libdir} -lgfbgraph-${apiversion} + Cflags: -I${includedir}/gfbgraph-@API_VERSION@meta-gnome/recipes-gnome/gfbgraph/gfbgraph_0.2.4.bb +2
-1@@ -10,8 +10,9 @@ DEPENDS = " \ gnome-online-accounts \ " -inherit gnomebase gtk-doc gobject-introspection +inherit gnomebase gtk-doc gobject-introspection pkgconfig +SRC_URI += " file://0001-Update-rest-requirement-to-rest-1.0.patch" SRC_URI[archive.md5sum] = "c38af63e49f8fe8baad99537956b69ba" SRC_URI[archive.sha256sum] ="
6065391f35e7335588cc6b0cc4c1abbce7341488573a654551264cb9793b9379"--
2.30.2-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#93431):
https://lists.openembedded.org/g/openembedded-devel/message/93431
Mute This Topic: https://lists.openembedded.org/mt/86418475/924729
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 18 lines · Khem Raj
Quoted 7 lines · Tim Orling
On Mon, Oct 18, 2021 at 9:24 AM Tim Orling via lists.openembedded.org
<http://lists.openembedded.org>
<[email protected] <mailto:[email protected]>> wrote:Quoted 7 lines
librest 0.8.1 declares rest-1.0 and was released four years ago.
This turns out to be incorrect, the rest-1.0 declaration is in the master branch, which we picked up with
https://lists.openembedded.org/g/openembedded-devel/message/93412
<https://lists.openembedded.org/g/openembedded-devel/message/93412
Quoted 5 lines
yeah I was a bit torn on it since there is no 0.9 release for librest which is ABI breaking release but then to support libsoup3 that is what is needed and also the webkitgtk 2.34 upgrade has API change from 4.0 to 4.1, so all sort of pieces moving around.
It was the right thing to do. The GNOME ecosystem is a bit in flux and frustrating right now. I was merely fessing up to making invalid implicit statements about upstream gfbgraph.
Quoted 158 lines
Quoted 3 lines
Also inherit pkgconfig so that dependencies can be found by
pkg-config
Quoted 9 lines
References: https://gitlab.gnome.org/GNOME/libgfbgraph/-/merge_requests/6 <https://gitlab.gnome.org/GNOME/libgfbgraph/-/merge_requests/6> Signed-off-by: Tim Orling <[email protected] <mailto:[email protected]>> --- ...-Update-rest-requirement-to-rest-1.0.patch | 72+++++++++++++++++++
Quoted 5 lines
.../recipes-gnome/gfbgraph/gfbgraph_0.2.4.bb <http://gfbgraph_0.2.4.bb> | 3 +- 2 files changed, 74 insertions(+), 1 deletion(-) create mode 100644
meta-gnome/recipes-gnome/gfbgraph/gfbgraph/0001-Update-rest-requirement-to-rest-1.0.patchQuoted 3 lines
diff --git
a/meta-gnome/recipes-gnome/gfbgraph/gfbgraph/0001-Update-rest-requirement-to-rest-1.0.patchQuoted 1 line
b/meta-gnome/recipes-gnome/gfbgraph/gfbgraph/0001-Update-rest-requirement-to-rest-1.0.patchQuoted 5 lines
new file mode 100644 index 0000000000..c24a9e569f --- /dev/null +++
b/meta-gnome/recipes-gnome/gfbgraph/gfbgraph/0001-Update-rest-requirement-to-rest-1.0.patchQuoted 2 lines
@@ -0,0 +1,72 @@ +From d058e6eb6c9ebf5f4fff89ec0ac93323fc64c1ba Mon Sep 17 00:00:002001
Quoted 7 lines
+From: Tim Orling <[email protected] <mailto:[email protected]>> +Date: Mon, 18 Oct 2021 08:42:35 -0700 +Subject: [PATCH] Update rest requirement to rest-1.0 + +librest 0.8.1 declares rest-1.0 and was released four years ago. + +https://gitlab.gnome.org/GNOME/librest/-/commit/2971b3b92701f70fc368ad64bd25cefaea043f87
Quoted 1 line
<https://gitlab.gnome.org/GNOME/librest/-/commit/2971b3b92701f70fc368ad64bd25cefaea043f87
Quoted 60 lines
+ +Upstream-Status: Submitted +[https://gitlab.gnome.org/GNOME/libgfbgraph/-/merge_requests/6 <https://gitlab.gnome.org/GNOME/libgfbgraph/-/merge_requests/6>] + +Signed-off-by: Tim Orling <[email protected] <mailto:[email protected]>> + +--- + .dir-locals.el | 2 +- + configure.ac <http://configure.ac> | 2 +- + gfbgraph/Makefile.am | 2 +- + libgfbgraph.pc.in <http://libgfbgraph.pc.in> | 2 +- + 4 files changed, 4 insertions(+), 4 deletions(-) + +diff --git a/.dir-locals.el b/.dir-locals.el +index 77abbf0..d39cdf2 100644 +--- a/.dir-locals.el ++++ b/.dir-locals.el +@@ -3,7 +3,7 @@ + "/usr/include/json-glib-1.0" + "/usr/include/goa-1.0" + "/usr/lib64/goa-1.0/include" +- "/usr/include/rest-0.7" ++ "/usr/include/rest-1.0" + "/usr/include/dbus-1.0" + "/usr/lib64/dbus-1.0/include" + "/usr/include/gio-unix-2.0/" +diff --git a/configure.ac <http://configure.ac> b/configure.ac <http://configure.ac> +index fd1231f..9b49f3f 100644 +--- a/configure.ac <http://configure.ac> ++++ b/configure.ac <http://configure.ac> +@@ -40,7 +40,7 @@ AM_CONDITIONAL([ENABLE_GTK_DOC], false) + + GOBJECT_INTROSPECTION_CHECK([1.30.0]) + +-PKG_CHECK_MODULES(LIBGFBGRAPH, [glib-2.0 gio-2.0 gobject-2.0 rest-0.7 json-glib-1.0]) ++PKG_CHECK_MODULES(LIBGFBGRAPH, [glib-2.0 gio-2.0 gobject-2.0 rest-1.0 json-glib-1.0]) + + PKG_CHECK_MODULES(SOUP, [libsoup-2.4]) + SOUP_UNSTABLE_CPPFLAGS=-DLIBSOUP_USE_UNSTABLE_REQUEST_API +diff --git a/gfbgraph/Makefile.am b/gfbgraph/Makefile.am +index d07b90d..b993ab7 100644 +--- a/gfbgraph/Makefile.am ++++ b/gfbgraph/Makefile.am +@@ -60,7 +60,7 @@ GFBGraph_@API_MAJOR@_@API_MINOR@_gir_INCLUDES = \ + GLib-2.0 \ + Gio-2.0 \ + GObject-2.0 \ +- Rest-0.7 \ ++ Rest-1.0 \ + Json-1.0 \ + Soup-2.4 + +diff --git a/libgfbgraph.pc.in <http://libgfbgraph.pc.in> b/libgfbgraph.pc.in <http://libgfbgraph.pc.in>Quoted 8 lines
+index f87073e..d4f4e3a 100644 +--- a/libgfbgraph.pc.in <http://libgfbgraph.pc.in> ++++ b/libgfbgraph.pc.in <http://libgfbgraph.pc.in> +@@ -9,6 +9,6 @@ apiversion=@API_VERSION@ + Name: libgfbgraph + Description: GObject library for Facebook Graph API + Version: @VERSION@ +-Requires: gio-2.0 glib-2.0 goa-1.0 json-glib-1.0 libsoup-2.4rest-0.7
Quoted 1 line
++Requires: gio-2.0 glib-2.0 goa-1.0 json-glib-1.0 libsoup-2.4rest-1.0
Quoted 31 lines
+ Libs: -L${libdir} -lgfbgraph-${apiversion} + Cflags: -I${includedir}/gfbgraph-@API_VERSION@ diff --git a/meta-gnome/recipes-gnome/gfbgraph/gfbgraph_0.2.4.bb <http://gfbgraph_0.2.4.bb> b/meta-gnome/recipes-gnome/gfbgraph/gfbgraph_0.2.4.bb <http://gfbgraph_0.2.4.bb> index 1c5d90f6c7..23b3bf63a5 100644 --- a/meta-gnome/recipes-gnome/gfbgraph/gfbgraph_0.2.4.bb <http://gfbgraph_0.2.4.bb> +++ b/meta-gnome/recipes-gnome/gfbgraph/gfbgraph_0.2.4.bb <http://gfbgraph_0.2.4.bb> @@ -10,8 +10,9 @@ DEPENDS = " \ gnome-online-accounts \ " -inherit gnomebase gtk-doc gobject-introspection +inherit gnomebase gtk-doc gobject-introspection pkgconfig +SRC_URI += " file://0001-Update-rest-requirement-to-rest-1.0.patch" SRC_URI[archive.md5sum] = "c38af63e49f8fe8baad99537956b69ba" SRC_URI[archive.sha256sum] = "6065391f35e7335588cc6b0cc4c1abbce7341488573a654551264cb9793b9379" -- 2.30.2Quoted 3 lines
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#93441):https://lists.openembedded.org/g/openembedded-devel/message/93441
Quoted 3 lines
Mute This Topic: https://lists.openembedded.org/mt/86418475/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [Quoted 2 lines
-=-=-=-=-=-=-=-=-=-=-=-