9 Commits

Author SHA1 Message Date
alperak d3a16ad4ae Use PYTHON_SITEPACKAGES_DIR instead of hard-coded site-packages directory path
The following paths have been replaced with PYTHON_SITEPACKAGES_DIR:

- "${libdir}/${PYTHON_DIR}/site-packages"
- "${libdir}/python${PYTHON_BASEVERSION}/site-packages"
- "${libdir}/python*/site-packages"
- "${libdir}/python3.*/site-packages"

Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-04-15 21:01:20 -07:00
Martin Jansa 21f956598d recipes: drop ${SRCPV} usage
* Drop SRCPV similarly like oe-core did in:
  https://git.openembedded.org/openembedded-core/commit/?h=nanbield&id=843f82a246a535c353e08072f252d1dc78217872

* SRCPV is deferred now from PV to PKGV since:
  https://git.openembedded.org/openembedded-core/commit/?h=nanbield&id=a8e7b0f932b9ea69b3a218fca18041676c65aba0

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
2024-02-09 09:52:12 -08:00
Markus Volk 73c35829b4 libplist: make sure rm doesn't fail on nonexistent file
I've seen this on a rebuild:
| DEBUG: Python function autotools_aclocals finished
| DEBUG: Executing shell function do_configure
| rm: cannot remove '/home/flk/poky/build-hypr/tmp/work/corei7-64-poky-linux/libplist/2.3.0+git/git/m4/ax_python_devel.m4': No such file or directory

This was fixed after '-c cleansstate' but just in case

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-01-08 19:54:40 -08:00
Alexander Kanavin d1c8993159 libplist: fix python 3.12 compatibility
Ticket:
https://github.com/libimobiledevice/libplist/issues/247

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-12-18 22:17:22 -08:00
Potin Lai 48779efcb2 libplist: Upgrade to latest master
Upgrade to latest master.

2cd858c test: use unique output file names across tests
d45396a Prevent adding NULL items to array/dictionary nodes
2d8d7ef Plug memory leak in plist_write_to_stream()
f28cf0f Add explicit casts and fix return type mismatches
d772fd7 Add an explicit PLIST_FORMAT_NONE value
50255a2 autoconf: Remove unused function checks and fix constructor/destructor attribute check
21a432b bplist: Move realloc from parse_unicode_node() into plist_utf16be_to_utf8()
b7d7459 Make sure function signatures match their declarations in the public header
ff00100 Windows: Use winsock2.h instead of sys/time.h when using MSVC
af51970 Add space before PRI* macros, some compilers do not like it
91c0aa8 Move PLIST_API to the headers
834bb31 Silence another false 'shadows builtin function' warning on MinGW
ff842f7 Silence false 'shadows builtin function' warning on MinGW
1d45b85 Silence more compiler warning on 32bit systems
57a7f14 Silence compiler warning on 32bit systems
954b3e4 Update doxygen config and document undocumented macros
4d08422 autoconf: small update to configure.ac
5d65599 autoconf: Allow disabling build of test suite
61f01b1 Add a PLIST_OPT_NONE value to plist_write_options_t

Signed-off-by: Potin Lai <potin.lai.pt@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-11-20 09:30:39 -08:00
Andrej Valek 8af2f17a6f cve_check: convert CVE_CHECK_IGNORE to CVE_STATUS
- Try to add convert and apply statuses for old CVEs
- Drop some obsolete ignores, while they are not relevant for current
  version

Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-07-27 08:54:40 -07:00
Patrick Williams 79d5e2bbe4 libplist_2.3.0: compile fix for version
On CentOS9 it can be observed that that PACKAGE_VERSION variable in
the configure script ends up having multiple lines, which causes the
rest of the package to fail to compile.  This has already been fixed
upstream and is the commit immediately after the 2.3.0 tag.  Rather
that backport the patch simply increment the SRCREV to incorporate
the fix.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-06-17 08:30:01 -07:00
Wang Mingyu 97836d4d80 libplist: upgrade 2.2.0 -> 2.3.0
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>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-09 17:27:50 -07:00
Potin Lai d13b37bf8f libplist: add libplist_git.bb
Add libplist_git.bb to point to latest commit on github

Signed-off-by: Potin Lai <potin.lai.pt@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-08-27 07:37:45 -07:00