diff mbox series

[meta-oe,V2] libplist: upgrade 2.2.0 -> 2.3.0

Message ID 1683621888-1304-2-git-send-email-wangmy@fujitsu.com
State Under Review
Headers show
Series [meta-oe,V2] libplist: upgrade 2.2.0 -> 2.3.0 | expand

Commit Message

Mingyu Wang (Fujitsu) May 9, 2023, 8:44 a.m. UTC
From: Wang Mingyu <wangmy@fujitsu.com>

Changelog:
=========
- Changes:
  * Rename PLIST_UINT to PLIST_INT and add plist_new_int() and plist_get_int_val()
  * Add support for JSON format
  * Add support for OpenStep format
  * Introduce error codes and format constants
  * Add return value to import/export functions to allow returning error codes
  * Add new plist_sort function
  * Add several human-readable output-only formats
  * Add new plist_write_to_string/_stream/_file functions
  * Add new plist_print function
  * Add new plist_read_from_file function
  * Add new plist_mem_free() function
  * Add a few C++ methods
  * Add C++ interface test
  * Add PLIST_NULL type
  * Some code housekeeping (mostly clang-tidy)
- Breaking:
  * plist_from_memory() gets additional parameter
- Bugfixes:
  * Fix multiple bugs in all of the parsers
  * Fix handling of PLIST_UID nodes

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
---
 .../libimobiledevice/{libplist_2.2.0.bb => libplist_2.3.0.bb} | 2 +-
 meta-oe/recipes-extended/libimobiledevice/libplist_git.bb     | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
 rename meta-oe/recipes-extended/libimobiledevice/{libplist_2.2.0.bb => libplist_2.3.0.bb} (95%)

Comments

Khem Raj May 10, 2023, 12:32 a.m. UTC | #1
I think this is the next issue
Seeing build failures for usbmuxd while building with musl/qemux86_64

| ../../git/src/conf.c:235:2: error: call to undeclared function
'plist_read_from_filename'; ISO C99 and later do not support implicit
function declarations [-Wimplicit-function-declaration]
|         plist_read_from_filename(&config, config_file);
|         ^
| ../../git/src/conf.c:235:2: note: did you mean 'plist_read_from_file'?
| /mnt/b/yoe/master/build/tmp/work/core2-64-yoe-linux-musl/usbmuxd/1.1.2+gitAUTOINC+f50e52f339-r0/recipe-sysroot/usr/include/plist/plist.h:843:17:
note: 'plist_read_from_file' declared here
|     plist_err_t plist_read_from_file(const char *filename, plist_t
*plist, plist_format_t *format);
|                 ^
| ../../git/src/conf.c:259:12: error: call to undeclared function
'plist_write_to_filename'; ISO C99 and later do not support implicit
function declarations [-Wimplicit-function-declaration]
|         int res = plist_write_to_filename(config, config_file,
PLIST_FORMAT_XML);
|                   ^
| ../../git/src/conf.c:259:12: note: did you mean 'plist_write_to_file'?
| /mnt/b/yoe/master/build/tmp/work/core2-64-yoe-linux-musl/usbmuxd/1.1.2+gitAUTOINC+f50e52f339-r0/recipe-sysroot/usr/include/plist/plist.h:885:17:
note: 'plist_write_to_file' declared here
|     plist_err_t plist_write_to_file(plist_t plist, const char
*filename, plist_format_t format, plist_write_options_t options);
|                 ^
| ../../git/src/conf.c:293:6: error: call to undeclared function
'plist_read_from_filename'; ISO C99 and later do not support implicit
function declarations [-Wimplicit-function-declaration]
|         if (plist_read_from_filename(&config, config_file)) {
|             ^
| ../../git/src/conf.c:433:7: error: call to undeclared function
'plist_write_to_filename'; ISO C99 and later do not support implicit
function declarations [-Wimplicit-function-declaration]
|         if (!plist_write_to_filename(plist, device_record_file,
PLIST_FORMAT_XML)) {
|              ^
| 4 errors generated.
| make[2]: *** [Makefile:568: usbmuxd-conf.o] Error 1

On Tue, May 9, 2023 at 1:45 AM wangmy <wangmy@fujitsu.com> wrote:
>
> From: Wang Mingyu <wangmy@fujitsu.com>
>
> Changelog:
> =========
> - Changes:
>   * Rename PLIST_UINT to PLIST_INT and add plist_new_int() and plist_get_int_val()
>   * Add support for JSON format
>   * Add support for OpenStep format
>   * Introduce error codes and format constants
>   * Add return value to import/export functions to allow returning error codes
>   * Add new plist_sort function
>   * Add several human-readable output-only formats
>   * Add new plist_write_to_string/_stream/_file functions
>   * Add new plist_print function
>   * Add new plist_read_from_file function
>   * Add new plist_mem_free() function
>   * Add a few C++ methods
>   * Add C++ interface test
>   * Add PLIST_NULL type
>   * Some code housekeeping (mostly clang-tidy)
> - Breaking:
>   * plist_from_memory() gets additional parameter
> - Bugfixes:
>   * Fix multiple bugs in all of the parsers
>   * Fix handling of PLIST_UID nodes
>
> Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
> ---
>  .../libimobiledevice/{libplist_2.2.0.bb => libplist_2.3.0.bb} | 2 +-
>  meta-oe/recipes-extended/libimobiledevice/libplist_git.bb     | 4 ++--
>  2 files changed, 3 insertions(+), 3 deletions(-)
>  rename meta-oe/recipes-extended/libimobiledevice/{libplist_2.2.0.bb => libplist_2.3.0.bb} (95%)
>
> diff --git a/meta-oe/recipes-extended/libimobiledevice/libplist_2.2.0.bb b/meta-oe/recipes-extended/libimobiledevice/libplist_2.3.0.bb
> similarity index 95%
> rename from meta-oe/recipes-extended/libimobiledevice/libplist_2.2.0.bb
> rename to meta-oe/recipes-extended/libimobiledevice/libplist_2.3.0.bb
> index daaff00395..0ca21314ac 100644
> --- a/meta-oe/recipes-extended/libimobiledevice/libplist_2.2.0.bb
> +++ b/meta-oe/recipes-extended/libimobiledevice/libplist_2.3.0.bb
> @@ -8,7 +8,7 @@ DEPENDS = "libxml2 glib-2.0 swig python3"
>
>  inherit autotools pkgconfig python3native python3targetconfig
>
> -SRCREV = "c5a30e9267068436a75b5d00fcbf95cb9c1f4dcd"
> +SRCREV = "72480212cd8ec0ab8d0b5064df52c146cac603b4"
>  SRC_URI = "git://github.com/libimobiledevice/libplist;protocol=https;branch=master"
>
>  S = "${WORKDIR}/git"
> diff --git a/meta-oe/recipes-extended/libimobiledevice/libplist_git.bb b/meta-oe/recipes-extended/libimobiledevice/libplist_git.bb
> index 82f3e4d0c9..8f5a7f166f 100644
> --- a/meta-oe/recipes-extended/libimobiledevice/libplist_git.bb
> +++ b/meta-oe/recipes-extended/libimobiledevice/libplist_git.bb
> @@ -8,9 +8,9 @@ DEPENDS = "libxml2 glib-2.0 swig python3"
>
>  inherit autotools pkgconfig python3native python3targetconfig
>
> -PV = "2.2.0+git${SRCPV}"
> +PV = "2.3.0"
>
> -SRCREV = "db93bae96d64140230ad050061632531644c46ad"
> +SRCREV = "72480212cd8ec0ab8d0b5064df52c146cac603b4"
>  SRC_URI = "git://github.com/libimobiledevice/libplist;protocol=https;branch=master"
>
>  S = "${WORKDIR}/git"
> --
> 2.34.1
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#102494): https://lists.openembedded.org/g/openembedded-devel/message/102494
> Mute This Topic: https://lists.openembedded.org/mt/98779663/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-oe/recipes-extended/libimobiledevice/libplist_2.2.0.bb b/meta-oe/recipes-extended/libimobiledevice/libplist_2.3.0.bb
similarity index 95%
rename from meta-oe/recipes-extended/libimobiledevice/libplist_2.2.0.bb
rename to meta-oe/recipes-extended/libimobiledevice/libplist_2.3.0.bb
index daaff00395..0ca21314ac 100644
--- a/meta-oe/recipes-extended/libimobiledevice/libplist_2.2.0.bb
+++ b/meta-oe/recipes-extended/libimobiledevice/libplist_2.3.0.bb
@@ -8,7 +8,7 @@  DEPENDS = "libxml2 glib-2.0 swig python3"
 
 inherit autotools pkgconfig python3native python3targetconfig
 
-SRCREV = "c5a30e9267068436a75b5d00fcbf95cb9c1f4dcd"
+SRCREV = "72480212cd8ec0ab8d0b5064df52c146cac603b4"
 SRC_URI = "git://github.com/libimobiledevice/libplist;protocol=https;branch=master"
 
 S = "${WORKDIR}/git"
diff --git a/meta-oe/recipes-extended/libimobiledevice/libplist_git.bb b/meta-oe/recipes-extended/libimobiledevice/libplist_git.bb
index 82f3e4d0c9..8f5a7f166f 100644
--- a/meta-oe/recipes-extended/libimobiledevice/libplist_git.bb
+++ b/meta-oe/recipes-extended/libimobiledevice/libplist_git.bb
@@ -8,9 +8,9 @@  DEPENDS = "libxml2 glib-2.0 swig python3"
 
 inherit autotools pkgconfig python3native python3targetconfig
 
-PV = "2.2.0+git${SRCPV}"
+PV = "2.3.0"
 
-SRCREV = "db93bae96d64140230ad050061632531644c46ad"
+SRCREV = "72480212cd8ec0ab8d0b5064df52c146cac603b4"
 SRC_URI = "git://github.com/libimobiledevice/libplist;protocol=https;branch=master"
 
 S = "${WORKDIR}/git"