Skip to content

Commit 8dbff1b

Browse files
committed
libplist: update to 2.7.0.
Version 2.7.0 ~~~~~~~~~~~~~ - Changes: * Add plist_new_unix_date, plist_get_unix_date_val, plist_set_unix_date_val functions that work with int64_t values representing a UNIX timestamp instead of using the 'MAC epoch'. These new functions should be used instead of plist_new_date, plist_get_date_val, and plist_set_date_val, which are now marked deprecated and might be removed in a future version of libplist. * Allow building the library without tool(s) * Switch to more generic global initializer method * json: Allow e+/E+ in exponent as per RFC 8259 * C++: Add more convenience functions to the interface * C++: Add more type variants to different constructors and operators - Bugfixes: * Fix segmentation fault when calling plist_sort() on an empty dictionary * Fix compilation on MSVC * C++: Fix bug in internal helper function of Array class * C++: Fix String::GetValue memory leaking and support assignment of const char* Version 2.6.0 ~~~~~~~~~~~~~ - Changes: * Revert back API change around PLIST_DATA to use char* again Version 2.5.0 ~~~~~~~~~~~~~ - Changes: * Change API around PLIST_DATA to use uint8_t* instead of char* * Add PLIST_DICT helper functions for different operations * Require Cython 3.0 for python bindings Version 2.4.0 ~~~~~~~~~~~~~ - Changes: * Add a PLIST_OPT_NONE value to plist_write_options_t * autoconf: Allow disabling build of test suite * Update doxygen config and document undocumented macros * Add an explicit PLIST_FORMAT_NONE value * Add a libplist_version() function to the interface * docs: Use README.md to generate mainpage with doxygen - Bugfixes: * Several compiler-related fixes and code improvements * Plug memory leak in plist_write_to_stream() * Prevent adding NULL items to array/dictionary nodes * Fix parallel running of test suite * Fix cython bindings * Fix OOB read in plist_from_memory() Version 2.3.0 ~~~~~~~~~~~~~ - 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
1 parent 736eb0f commit 8dbff1b

2 files changed

Lines changed: 8 additions & 11 deletions

File tree

textproc/libplist/Makefile

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
# $NetBSD: Makefile,v 1.45 2025/04/17 21:52:35 wiz Exp $
1+
# $NetBSD: Makefile,v 1.46 2025/06/12 06:35:39 wiz Exp $
22

3-
DISTNAME= libplist-2.2.0
4-
PKGREVISION= 10
3+
DISTNAME= libplist-2.7.0
54
CATEGORIES= textproc
65
MASTER_SITES= ${MASTER_SITE_GITHUB:=libimobiledevice/}
76
GITHUB_RELEASE= ${PKGVERSION_NOREV}
@@ -18,12 +17,10 @@ USE_TOOLS+= bash gmake pkg-config
1817
USE_LIBTOOL= yes
1918
USE_LANGUAGES= c c++
2019

21-
PKGCONFIG_OVERRIDE+= libplist++.pc.in
22-
PKGCONFIG_OVERRIDE+= libplist.pc.in
20+
PKGCONFIG_OVERRIDE+= src/libplist++-2.0.pc.in
21+
PKGCONFIG_OVERRIDE+= src/libplist-2.0.pc.in
2322
PY_PATCHPLIST= yes
2423

25-
PYTHON_VERSIONS_INCOMPATIBLE= 27
26-
2724
.include "../../lang/python/pyversion.mk"
2825

2926
.if ${PYTHON_VERSION} > 311

textproc/libplist/distinfo

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
$NetBSD: distinfo,v 1.12 2022/07/03 10:13:27 wiz Exp $
1+
$NetBSD: distinfo,v 1.13 2025/06/12 06:35:39 wiz Exp $
22

3-
BLAKE2s (libplist-2.2.0.tar.bz2) = bb7cb3155ddde9d753027e27d33c2efc9275938b773fc93304b461cf59a2e285
4-
SHA512 (libplist-2.2.0.tar.bz2) = dcd922ebb28efa3c507253dd4671fdb3e4d367540734765b8d545756f6be2731fc401e7992cc6b06cdbde866fd7e17ff6188895505988b41f738226a004d7291
5-
Size (libplist-2.2.0.tar.bz2) = 451801 bytes
3+
BLAKE2s (libplist-2.7.0.tar.bz2) = 33f18f23387c946fd4543b383394350b7dfd6fbad92affbeb98031a818d56f2d
4+
SHA512 (libplist-2.7.0.tar.bz2) = 83d0398b75ea9e610e49b4b96a7675b854c7551d4faf3e82e74c5c45cf04bbd95478cc40688f0995742e6a50601744d2a36641d0673aa7cc413f5ce2ec42f2d4
5+
Size (libplist-2.7.0.tar.bz2) = 484474 bytes

0 commit comments

Comments
 (0)