From 5e52148095a0653497c40f30fd1174076b3b972bb2500c64a25838409348b498 Mon Sep 17 00:00:00 2001 From: Martin Szulecki Date: Fri, 17 Oct 2014 02:04:56 +0000 Subject: [PATCH 1/2] - Update to version 1.12 * Fix plist_from_bin() changing value nodes to key nodes in dictionaries * Avoid exporting non-public symbols * Prevent crash in plist_from_bin() when parsing unusual binary plists * Fix crash in String|Key::GetValue() and actually make C++ interface work * Fix memory leaks in new_xml_plist() and parse_real_node() * Fix header guards to conform to C++ standard * Update Cython based Python bindings and remove plist_new_key() * Fix key nodes not being output correctly if they contained XML entities * Fix handling and storage of signed vs. unsigned integer values * Fix date handling to respect the "Mac Epoch" instead of "Unix Epoch" * Remove plist_set_type() as it should not be used * Fix deprecated macros to work with older LLVM/Clang * Fix various shadowed declarations * Add documentation to explicitly describe memory buffer ownership * Fix memory leak in plist_from_bin() * Add various test cases based on fixes * Fix wrong timezone related date/time conversion of date nodes * Fix endian detection on MIPS architecture * Fix parallel build for autotools OBS-URL: https://build.opensuse.org/package/show/hardware/libplist?expand=0&rev=3 --- baselibs.conf | 4 ++-- libplist-1.11.tar.bz2 | 3 --- libplist-1.12.tar.bz2 | 3 +++ libplist.changes | 24 ++++++++++++++++++++++++ libplist.spec | 30 ++++++++++++++---------------- 5 files changed, 43 insertions(+), 21 deletions(-) delete mode 100644 libplist-1.11.tar.bz2 create mode 100644 libplist-1.12.tar.bz2 diff --git a/baselibs.conf b/baselibs.conf index 57d25ba..cc18d24 100644 --- a/baselibs.conf +++ b/baselibs.conf @@ -1,3 +1,3 @@ -libplist2 -libplist++2 +libplist3 +libplist++3 diff --git a/libplist-1.11.tar.bz2 b/libplist-1.11.tar.bz2 deleted file mode 100644 index 6d5e9db..0000000 --- a/libplist-1.11.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:28e1518eeea054f4eec9a1c93d9575d56193b290c53c1b753773a5e0add95235 -size 355365 diff --git a/libplist-1.12.tar.bz2 b/libplist-1.12.tar.bz2 new file mode 100644 index 0000000..e9e5ced --- /dev/null +++ b/libplist-1.12.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0effdedcb3de128c4930d8c03a3854c74c426c16728b8ab5f0a5b6bdc0b644be +size 384321 diff --git a/libplist.changes b/libplist.changes index 4fbf45a..7ac3073 100644 --- a/libplist.changes +++ b/libplist.changes @@ -1,3 +1,27 @@ +------------------------------------------------------------------- +Fri Oct 17 03:30:00 CEST 2014 - m.szulecki@libimobiledevice.org + +- Update to version 1.12 + * Fix plist_from_bin() changing value nodes to key nodes in dictionaries + * Avoid exporting non-public symbols + * Prevent crash in plist_from_bin() when parsing unusual binary plists + * Fix crash in String|Key::GetValue() and actually make C++ interface work + * Fix memory leaks in new_xml_plist() and parse_real_node() + * Fix header guards to conform to C++ standard + * Update Cython based Python bindings and remove plist_new_key() + * Fix key nodes not being output correctly if they contained XML entities + * Fix handling and storage of signed vs. unsigned integer values + * Fix date handling to respect the "Mac Epoch" instead of "Unix Epoch" + * Remove plist_set_type() as it should not be used + * Fix deprecated macros to work with older LLVM/Clang + * Fix various shadowed declarations + * Add documentation to explicitly describe memory buffer ownership + * Fix memory leak in plist_from_bin() + * Add various test cases based on fixes + * Fix wrong timezone related date/time conversion of date nodes + * Fix endian detection on MIPS architecture + * Fix parallel build for autotools + ------------------------------------------------------------------- Mon Jun 16 15:29:11 UTC 2014 - i@marguerite.su diff --git a/libplist.spec b/libplist.spec index b0fcbe8..02ee002 100644 --- a/libplist.spec +++ b/libplist.spec @@ -17,14 +17,13 @@ Name: libplist -Version: 1.11 +Version: 1.12 Release: 0 Summary: Library for handling Apple Binary and XML Property Lists License: GPL-2.0 and LGPL-2.1+ Group: System/Libraries Url: http://cgit.sukimashita.com/libplist.git -# Factory_checker can't fetch this URL -#Source: http://cgit.sukimashita.com/libplist.git/snapshot/%{name}-%{version}.tar.bz2 +Source: http://www.libimobiledevice.org/downloads/%{name}-%{version}.tar.bz2 Source: %{name}-%{version}.tar.bz2 Source99: baselibs.conf BuildRequires: gcc-c++ @@ -37,22 +36,22 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build %description libplist is a library for handling Apple Binary and XML Property Lists. -%package -n libplist2 +%package -n libplist3 Summary: Library for handling Apple Binary and XML Property Lists Group: System/Libraries Provides: libplist = %{version} Obsoletes: libplist < %{version} -%description -n libplist2 +%description -n libplist3 libplist is a library for handling Apple Binary and XML Property Lists. -%package -n libplist++2 +%package -n libplist++3 Summary: Library for handling Apple Binary and XML Property Lists Group: System/Libraries Provides: libplist++ = %{version} Obsoletes: libplist++ < %{version} -%description -n libplist++2 +%description -n libplist++3 libplist is a library for handling Apple Binary and XML Property Lists. %package -n plistutil @@ -92,7 +91,7 @@ This package contains the development files for C++. %package -n python-plist Summary: Library for handling Apple Binary and XML Property Lists -- Python Bindings Group: Development/Languages/Python -Requires: libplist2 = %{version} +Requires: libplist3 = %{version} Requires: python-cython >= 0.13 %description -n python-plist @@ -105,8 +104,7 @@ This package contains the python bindings. %build %configure --disable-static -# libplist doesn't support parallel build -make +make %{?_smp_mflags} %install make DESTDIR=%{buildroot} install %{?_smp_mflags} @@ -122,20 +120,20 @@ cp -a %{buildroot}%{?_sysroot}/* %{buildroot}/ rm -fr %{buildroot}%{?_sysroot} %endif -%post -n libplist2 -p /sbin/ldconfig +%post -n libplist3 -p /sbin/ldconfig -%postun -n libplist2 -p /sbin/ldconfig +%postun -n libplist3 -p /sbin/ldconfig -%post -n libplist++2 -p /sbin/ldconfig +%post -n libplist++3 -p /sbin/ldconfig -%postun -n libplist++2 -p /sbin/ldconfig +%postun -n libplist++3 -p /sbin/ldconfig -%files -n libplist2 +%files -n libplist3 %defattr(-,root,root) %doc AUTHORS COPYING COPYING.LESSER README NEWS %{_libdir}/libplist.so.* -%files -n libplist++2 +%files -n libplist++3 %defattr(-,root,root) %doc AUTHORS COPYING COPYING.LESSER README NEWS %{_libdir}/libplist++.so.* From 29eb1abb94ea3c894b6fa72dd78b891b87d60e9318f2db807207171ba2686bb3 Mon Sep 17 00:00:00 2001 From: Martin Szulecki Date: Fri, 17 Oct 2014 02:10:13 +0000 Subject: [PATCH 2/2] Fix duplicated Source: in spec OBS-URL: https://build.opensuse.org/package/show/hardware/libplist?expand=0&rev=4 --- libplist.spec | 1 - 1 file changed, 1 deletion(-) diff --git a/libplist.spec b/libplist.spec index 02ee002..e51fc33 100644 --- a/libplist.spec +++ b/libplist.spec @@ -24,7 +24,6 @@ License: GPL-2.0 and LGPL-2.1+ Group: System/Libraries Url: http://cgit.sukimashita.com/libplist.git Source: http://www.libimobiledevice.org/downloads/%{name}-%{version}.tar.bz2 -Source: %{name}-%{version}.tar.bz2 Source99: baselibs.conf BuildRequires: gcc-c++ BuildRequires: libxml2-devel >= 2.7.8