diff mbox series

[06/22] json-glib: upgrade 1.8.0 -> 1.10.0

Message ID 1725352379-20334-6-git-send-email-wangmy@fujitsu.com
State New
Headers show
Series [01/22] acpica: upgrade 20240322 -> 20240827 | expand

Commit Message

Mingyu Wang (Fujitsu) Sept. 3, 2024, 8:32 a.m. UTC
From: Wang Mingyu <wangmy@fujitsu.com>

License-Update: Add copyright and licensing metadata to all files

Changelog:
==========
- Improve conformance of the JSON parser
- Add conformance test suite from https://github.com/nst/JSONTestSuite
- Add JsonParser:strict to enable strict parsing
- Add '--strict' to json-glib-validate to enable strict parsing
- Deprecate the signals on JsonParser
- Port tools man pages from DocBook to reStructureText
- Add "documentation" configuration option, and deprecate "gtk_doc"
- Add JsonGenerator.take_root()
- Documentation improvements for JsonReader
- Raise parser error for malformed Unicode
- Build fixes and performance improvements
- Allow disabling installed tests
- Support parsing multiple root statements in non-strict mode
- Allow loading files >4GB with json-glib-validate

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
---
 .../json-glib/{json-glib_1.8.0.bb => json-glib_1.10.0.bb}     | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-gnome/json-glib/{json-glib_1.8.0.bb => json-glib_1.10.0.bb} (87%)

Comments

Richard Purdie Sept. 3, 2024, 9:51 p.m. UTC | #1
On Tue, 2024-09-03 at 16:32 +0800, wangmy via lists.openembedded.org
wrote:
> From: Wang Mingyu <wangmy@fujitsu.com>
> 
> License-Update: Add copyright and licensing metadata to all files
> 
> Changelog:
> ==========
> - Improve conformance of the JSON parser
> - Add conformance test suite from
> https://github.com/nst/JSONTestSuite
> - Add JsonParser:strict to enable strict parsing
> - Add '--strict' to json-glib-validate to enable strict parsing
> - Deprecate the signals on JsonParser
> - Port tools man pages from DocBook to reStructureText
> - Add "documentation" configuration option, and deprecate "gtk_doc"
> - Add JsonGenerator.take_root()
> - Documentation improvements for JsonReader
> - Raise parser error for malformed Unicode
> - Build fixes and performance improvements
> - Allow disabling installed tests
> - Support parsing multiple root statements in non-strict mode
> - Allow loading files >4GB with json-glib-validate
> 
> Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>


https://autobuilder.yoctoproject.org/typhoon/#/builders/108/builds/6344/steps/11/logs/stdio

The recipe probably needs to adapt to the change listed above:

'Add "documentation" configuration option, and deprecate "gtk_doc"'

but I didn't look in detail, I'm just noting it was a docs build that
failed.

Cheers,

Richard
Mingyu Wang (Fujitsu) Sept. 4, 2024, 1:25 a.m. UTC | #2
I set machine=qemux86_64, DISTRO="poky-altcfg", but I did not reproduce this issue.
Is there any other setting necessary?

  --
Best Regards
---------------------------------------------------
Wang Mingyu
FUJITSU NANJING SOFTWARE TECHNOLOGY CO., LTD. (FNST)
No.6 Wenzhu Road, Nanjing, 210012, China
TEL:+86+25-86630566--8568
COINS: 79988548
FAX: +86+25-83317685
MAIL: wangmy@fujitsu.com

> -----Original Message-----
> From: Richard Purdie <richard.purdie@linuxfoundation.org>
> Sent: Wednesday, September 4, 2024 5:51 AM
> To: Wang, Mingyu/王 鸣瑜 <wangmy@fujitsu.com>;
> openembedded-core@lists.openembedded.org
> Subject: Re: [OE-core] [PATCH 06/22] json-glib: upgrade 1.8.0 -> 1.10.0
> 
> On Tue, 2024-09-03 at 16:32 +0800, wangmy via lists.openembedded.org
> wrote:
> > From: Wang Mingyu <wangmy@fujitsu.com>
> >
> > License-Update: Add copyright and licensing metadata to all files
> >
> > Changelog:
> > ==========
> > - Improve conformance of the JSON parser
> > - Add conformance test suite from
> > https://github.com/nst/JSONTestSuite
> > - Add JsonParser:strict to enable strict parsing
> > - Add '--strict' to json-glib-validate to enable strict parsing
> > - Deprecate the signals on JsonParser
> > - Port tools man pages from DocBook to reStructureText
> > - Add "documentation" configuration option, and deprecate "gtk_doc"
> > - Add JsonGenerator.take_root()
> > - Documentation improvements for JsonReader
> > - Raise parser error for malformed Unicode
> > - Build fixes and performance improvements
> > - Allow disabling installed tests
> > - Support parsing multiple root statements in non-strict mode
> > - Allow loading files >4GB with json-glib-validate
> >
> > Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
> 
> 
> https://autobuilder.yoctoproject.org/typhoon/#/builders/108/builds/6344/steps/
> 11/logs/stdio
> 
> The recipe probably needs to adapt to the change listed above:
> 
> 'Add "documentation" configuration option, and deprecate "gtk_doc"'
> 
> but I didn't look in detail, I'm just noting it was a docs build that failed.
> 
> Cheers,
> 
> Richard
Yi Zhao Sept. 4, 2024, 2:21 a.m. UTC | #3
On 9/3/24 16:32, wangmy via lists.openembedded.org wrote:
> License-Update: Add copyright and licensing metadata to all files
>
> Changelog:
> ==========
> - Improve conformance of the JSON parser
> - Add conformance test suite from https://github.com/nst/JSONTestSuite
> - Add JsonParser:strict to enable strict parsing
> - Add '--strict' to json-glib-validate to enable strict parsing
> - Deprecate the signals on JsonParser
> - Port tools man pages from DocBook to reStructureText
> - Add "documentation" configuration option, and deprecate "gtk_doc"
> - Add JsonGenerator.take_root()
> - Documentation improvements for JsonReader
> - Raise parser error for malformed Unicode
> - Build fixes and performance improvements
> - Allow disabling installed tests
> - Support parsing multiple root statements in non-strict mode
> - Allow loading files >4GB with json-glib-validate
>
> Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
> ---
>   .../json-glib/{json-glib_1.8.0.bb => json-glib_1.10.0.bb}     | 4 ++--
>   1 file changed, 2 insertions(+), 2 deletions(-)
>   rename meta/recipes-gnome/json-glib/{json-glib_1.8.0.bb => json-glib_1.10.0.bb} (87%)
>
> diff --git a/meta/recipes-gnome/json-glib/json-glib_1.8.0.bb b/meta/recipes-gnome/json-glib/json-glib_1.10.0.bb
> similarity index 87%
> rename from meta/recipes-gnome/json-glib/json-glib_1.8.0.bb
> rename to meta/recipes-gnome/json-glib/json-glib_1.10.0.bb
> index 2094ebe3e7..8d71524dd5 100644
> --- a/meta/recipes-gnome/json-glib/json-glib_1.8.0.bb
> +++ b/meta/recipes-gnome/json-glib/json-glib_1.10.0.bb
> @@ -7,7 +7,7 @@ HOMEPAGE = "https://wiki.gnome.org/Projects/JsonGlib"
>   BUGTRACKER = "https://gitlab.gnome.org/GNOME/json-glib/issues"
>   
>   LICENSE = "LGPL-2.1-only"


The COPYING file now links to LICENSES/LGPL-2.1-or-later.txt[1]. The 
LICENSE should be changed from "LGPL-2.1-only" to "LGPL-2.1-later".

[1] 
https://gitlab.gnome.org/GNOME/json-glib/-/commit/a06d43db36545aff10eb384d62548d96a7cf6020


//Yi

> -LIC_FILES_CHKSUM = "file://COPYING;md5=7fbc338309ac38fefcd64b04bb903e34"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=41890f71f740302b785c27661123bff5"
>   
>   DEPENDS = "glib-2.0 glib-2.0-native"
>   
> @@ -18,7 +18,7 @@ GIDOCGEN_MESON_ENABLE_FLAG = 'enabled'
>   GIDOCGEN_MESON_DISABLE_FLAG = 'disabled'
>   
>   SRC_URI += " file://run-ptest"
> -SRC_URI[archive.sha256sum] = "97ef5eb92ca811039ad50a65f06633f1aae64792789307be7170795d8b319454"
> +SRC_URI[archive.sha256sum] = "1bca8d66d96106ecc147df3133b95a5bb784f1fa6f15d06dd7c1a8fb4a10af7b"
>   
>   PACKAGECONFIG ??= "${@bb.utils.contains('PTEST_ENABLED', '1', 'tests', '', d)}"
>   PACKAGECONFIG[manpages] = "-Dman=true,-Dman=false,libxslt-native xmlto-native"
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#204133): https://lists.openembedded.org/g/openembedded-core/message/204133
> Mute This Topic: https://lists.openembedded.org/mt/108241638/7283133
> Group Owner: openembedded-core+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [yi.zhao@eng.windriver.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
Richard Purdie Sept. 4, 2024, 7:49 a.m. UTC | #4
On Wed, 2024-09-04 at 01:25 +0000, Mingyu Wang (Fujitsu) wrote:
> I set machine=qemux86_64, DISTRO="poky-altcfg", but I did not
> reproduce this issue.
> Is there any other setting necessary?

That build also adds:

DISTRO_FEATURES:append = ' api-documentation'

Cheers,

Richard
Mingyu Wang (Fujitsu) Sept. 11, 2024, 12:57 a.m. UTC | #5
I have considered two solutions to this problem:
1. Add rst2man and rst2hhtml5 commands to HOSTTOOLS in bitbake.conf
2. Create native for rst2man and rst2hhtml5 to provide support for other packages that require them
Which solution is better? Or if there are other better solutions, please let me know

  --
Best Regards
---------------------------------------------------
Wang Mingyu
FUJITSU NANJING SOFTWARE TECHNOLOGY CO., LTD. (FNST)
No.6 Wenzhu Road, Nanjing, 210012, China
TEL:+86+25-86630566--8568
COINS: 79988548
FAX: +86+25-83317685
MAIL: wangmy@fujitsu.com

> -----Original Message-----
> From: Richard Purdie <richard.purdie@linuxfoundation.org>
> Sent: Wednesday, September 4, 2024 3:49 PM
> To: Wang, Mingyu/王 鸣瑜 <wangmy@fujitsu.com>;
> openembedded-core@lists.openembedded.org
> Subject: Re: [OE-core] [PATCH 06/22] json-glib: upgrade 1.8.0 -> 1.10.0
> 
> On Wed, 2024-09-04 at 01:25 +0000, Mingyu Wang (Fujitsu) wrote:
> > I set machine=qemux86_64, DISTRO="poky-altcfg", but I did not
> > reproduce this issue.
> > Is there any other setting necessary?
> 
> That build also adds:
> 
> DISTRO_FEATURES:append = ' api-documentation'
> 
> Cheers,
> 
> Richard
Alexander Kanavin Sept. 11, 2024, 10:21 a.m. UTC | #6
On Wed, 11 Sept 2024 at 02:57, wangmy via lists.openembedded.org
<wangmy=fujitsu.com@lists.openembedded.org> wrote:

> I have considered two solutions to this problem:
> 1. Add rst2man and rst2hhtml5 commands to HOSTTOOLS in bitbake.conf
> 2. Create native for rst2man and rst2hhtml5 to provide support for other packages that require them
> Which solution is better? Or if there are other better solutions, please let me know

Both are already provided by python3-docutils-native. Add that to
respective PACKAGECONFIG options in json-glib recipe.

Alex
diff mbox series

Patch

diff --git a/meta/recipes-gnome/json-glib/json-glib_1.8.0.bb b/meta/recipes-gnome/json-glib/json-glib_1.10.0.bb
similarity index 87%
rename from meta/recipes-gnome/json-glib/json-glib_1.8.0.bb
rename to meta/recipes-gnome/json-glib/json-glib_1.10.0.bb
index 2094ebe3e7..8d71524dd5 100644
--- a/meta/recipes-gnome/json-glib/json-glib_1.8.0.bb
+++ b/meta/recipes-gnome/json-glib/json-glib_1.10.0.bb
@@ -7,7 +7,7 @@  HOMEPAGE = "https://wiki.gnome.org/Projects/JsonGlib"
 BUGTRACKER = "https://gitlab.gnome.org/GNOME/json-glib/issues"
 
 LICENSE = "LGPL-2.1-only"
-LIC_FILES_CHKSUM = "file://COPYING;md5=7fbc338309ac38fefcd64b04bb903e34"
+LIC_FILES_CHKSUM = "file://COPYING;md5=41890f71f740302b785c27661123bff5"
 
 DEPENDS = "glib-2.0 glib-2.0-native"
 
@@ -18,7 +18,7 @@  GIDOCGEN_MESON_ENABLE_FLAG = 'enabled'
 GIDOCGEN_MESON_DISABLE_FLAG = 'disabled'
 
 SRC_URI += " file://run-ptest"
-SRC_URI[archive.sha256sum] = "97ef5eb92ca811039ad50a65f06633f1aae64792789307be7170795d8b319454"
+SRC_URI[archive.sha256sum] = "1bca8d66d96106ecc147df3133b95a5bb784f1fa6f15d06dd7c1a8fb4a10af7b"
 
 PACKAGECONFIG ??= "${@bb.utils.contains('PTEST_ENABLED', '1', 'tests', '', d)}"
 PACKAGECONFIG[manpages] = "-Dman=true,-Dman=false,libxslt-native xmlto-native"