Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libplist: update to 2.4.0 #20717

Merged
merged 2 commits into from
May 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
11 changes: 5 additions & 6 deletions mingw-w64-libplist/003-fix-py-soext.patch
Original file line number Diff line number Diff line change
@@ -1,18 +1,17 @@
--- a/configure.ac
+++ b/configure.ac
@@ -141,6 +141,9 @@
AM_PATH_PYTHON(2.3)
AC_PROG_CYTHON(0.17.0)
CYTHON_PYTHON
+
@@ -151,6 +151,8 @@ if test "$build_cython" = "true"; then
if [test "x$CYTHON" != "xfalse"]; then
AM_PATH_PYTHON([2.3], [CYTHON_PYTHON])
fi
+ PYTHON_SO=`$PYTHON -c "import distutils.sysconfig, sys; get = distutils.sysconfig.get_config_var; sys.stdout.write(get('EXT_SUFFIX') or get('SO') or '.so');"`
+ AC_SUBST(PYTHON_SO)
else
CYTHON=false
fi
--- a/cython/Makefile.am
+++ b/cython/Makefile.am
@@ -39,7 +39,7 @@
@@ -39,7 +39,7 @@ plist_la_CFLAGS = \
-Wno-implicit-function-declaration \
-fvisibility=default

Expand Down
96 changes: 0 additions & 96 deletions mingw-w64-libplist/004-exports.patch

This file was deleted.

13 changes: 5 additions & 8 deletions mingw-w64-libplist/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
_realname=libplist
pkgbase=mingw-w64-${_realname}
pkgname=("${MINGW_PACKAGE_PREFIX}-${_realname}")
pkgver=2.3.0
pkgrel=3
pkgver=2.4.0
pkgrel=1
pkgdesc='A library to handle Apple Property List format in binary or XML (mingw-w64)'
arch=('any')
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clangarm64' 'clang32')
Expand All @@ -22,18 +22,15 @@ makedepends=("${MINGW_PACKAGE_PREFIX}-cc"
optdepends=("${MINGW_PACKAGE_PREFIX}-python: Python bindings")
source=("https://github.com/libimobiledevice/libplist/releases/download/${pkgver}/libplist-${pkgver}.tar.bz2"
002-dont-include-winmain-in-static.patch
003-fix-py-soext.patch
004-exports.patch)
sha256sums=('4e8580d3f39d3dfa13cefab1a13f39ea85c4b0202e9305c5c8f63818182cac61'
003-fix-py-soext.patch)
sha256sums=('3f5868ae15b117320c1ff5e71be53d29469d4696c4085f89db1975705781a7cd'
'1252c52cbd285a4bef59b0e93d6fcca493e9696c70fa8b22a912f2b13ed0351a'
'cc1634d07016632633816263d640e7ef5b5bf7b6db72a15a62ce240e9340b032'
'4047250b0aa9cee2ce8f3d356402deacbf67e6a6b1fd848c3523eaed4b0b6bc8')
'b88a252a9bed3443f24fc0df2dcafa67f39e86cf9d08d6d924bd4fea8828ee19')

prepare() {
cd ${srcdir}/${_realname}-${pkgver}
patch -p1 -i ${srcdir}/002-dont-include-winmain-in-static.patch
patch -p1 -i ${srcdir}/003-fix-py-soext.patch
patch -p1 -i ${srcdir}/004-exports.patch

autoreconf -fiv
}
Expand Down