Hello community,

here is the log from the commit of package libplist for openSUSE:Factory 
checked in at 2012-04-18 16:29:45
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libplist (Old)
 and      /work/SRC/openSUSE:Factory/.libplist.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libplist", Maintainer is "[email protected]"

Changes:
--------
--- /work/SRC/openSUSE:Factory/libplist/libplist.changes        2012-02-15 
16:16:36.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.libplist.new/libplist.changes   2012-04-18 
16:29:50.000000000 +0200
@@ -1,0 +2,18 @@
+Mon Apr 09 15:45:03 CEST 2012 - [email protected]
+
+- Allow compilation on 11.4 by disabling cython bindings
+
+-------------------------------------------------------------------
+Mon Apr 02 15:54:57 CEST 2012 - [email protected]
+
+- Update to version 1.8
+  * Add Cython based Python bindings
+  * Fix memory corruption in libcnary
+  * Fix building on Big Endian systems
+  * Removed glib dependency, libplist now uses bundled libcnary
+  * Fix building of Python bindings with GCC 4.6
+- Do not build SWIG bindings for Python
+- Remove gcc46_build_fix.patch due to upstream fixes
+- Update pkgconfig patch
+
+-------------------------------------------------------------------

Old:
----
  gcc46_build_fix.patch
  libplist-1.4-pkgconfig.patch
  libplist-1.4.tar.bz2

New:
----
  libplist-1.8-pkgconfig.patch
  libplist-1.8.tar.bz2

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ libplist.spec ++++++
--- /var/tmp/diff_new_pack.Zwnx3m/_old  2012-04-18 16:30:01.000000000 +0200
+++ /var/tmp/diff_new_pack.Zwnx3m/_new  2012-04-18 16:30:01.000000000 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           libplist
-Version:        1.4
+Version:        1.8
 Release:        0
 Summary:        Library for handling Apple Binary and XML Property Lists
 License:        LGPL-2.1 or GPL-2.0
@@ -26,14 +26,15 @@
 Source:         %{name}-%{version}.tar.bz2
 BuildRequires:  cmake
 BuildRequires:  gcc-c++
-BuildRequires:  glib2-devel
 BuildRequires:  libxml2-devel
+BuildRequires:  pkg-config
+%if %{?suse_version} > 1140
+BuildRequires:  python-cython
 BuildRequires:  python-devel
-BuildRequires:  swig
+%endif
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 #remove when pkgconfig is fixed to handle Requires.private correctly
-Patch0:         libplist-1.4-pkgconfig.patch
-Patch1:         gcc46_build_fix.patch
+Patch0:         libplist-1.8-pkgconfig.patch
 
 %description
 libplist is a library for handling Apple Binary and XML Property Lists.
@@ -70,8 +71,8 @@
 %package devel
 Summary:        Library for handling Apple Binary and XML Property Lists -- 
Development Files
 Group:          Development/Libraries/C and C++
-Requires:       libplist1 = %{version}
 Requires:       glibc-devel
+Requires:       libplist1 = %{version}
 
 %description devel
 libplist is a library for handling Apple Binary and XML Property Lists.
@@ -82,29 +83,31 @@
 Summary:        Library for handling Apple Binary and XML Property Lists -- 
Development Files
 Group:          Development/Libraries/C and C++
 Requires:       libplist++1 = %{version}
-Requires:       libstdc++-devel
 Requires:       libplist-devel
+Requires:       libstdc++-devel
 
 %description -n libplist++-devel
 libplist is a library for handling Apple Binary and XML Property Lists.
 
 This package contains the development files for C++.
 
+%if %{?suse_version} > 1140
 %package -n python-plist
 Summary:        Library for handling Apple Binary and XML Property Lists -- 
Python Bindings
 Group:          Development/Languages/Python
 Requires:       libplist1 = %{version}
+Requires:       python-cython >= 0.13
 %{py_requires}
 
 %description -n python-plist
 libplist is a library for handling Apple Binary and XML Property Lists.
 
 This package contains the python bindings.
+%endif
 
 %prep
 %setup -q
 %patch0
-%patch1
 
 %build
 export CFLAGS="%{optflags} -fno-strict-aliasing"
@@ -116,8 +119,13 @@
       -DPYTHON_SITEDIR=%{py_sitedir} \
       -DCMAKE_FIND_ROOT_PATH=/%{?_sysroot} \
       -DPYTHON_LIBRARY=%_libdir/python%{py_ver} \
+      -DENABLE_SWIG=OFF \
       -DPYTHON_INCLUDE_DIR=%{?_sysroot}/usr/include/python \
       .
+# Workaround in order to make parallel build pass
+cd libcnary
+make %{?_smp_mflags}
+cd ..
 make %{?_smp_mflags}
 
 %install
@@ -176,10 +184,13 @@
 %{_libdir}/libplist++.so
 %{_libdir}/pkgconfig/libplist++.pc
 
+%if %{?suse_version} > 1140
 %files -n python-plist
 %defattr(-,root,root,-)
-%{py_sitedir}/plist/
+%{py_sitedir}/plist.so
 %dir %{_includedir}/plist
-%{_includedir}/plist/swig/
+%dir %{_includedir}/plist/cython
+%{_includedir}/plist/cython/plist.pxd
+%endif
 
 %changelog

++++++ libplist-1.4-pkgconfig.patch -> libplist-1.8-pkgconfig.patch ++++++
--- /work/SRC/openSUSE:Factory/libplist/libplist-1.4-pkgconfig.patch    
2011-09-23 02:09:14.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.libplist.new/libplist-1.8-pkgconfig.patch       
2012-04-18 16:29:49.000000000 +0200
@@ -1,11 +1,7 @@
 --- libplist.pc.in.orig
 +++ libplist.pc.in
-@@ -6,7 +6,7 @@ includedir=${CMAKE_INSTALL_PREFIX}/inclu
- Name: libplist
- Description: A library to handle Apple Property Lists whereas they are binary 
or XML
+@@ -8,4 +8,3 @@ includedir=${CMAKE_INSTALL_PREFIX}/inclu
  Version: ${LIBPLIST_VERSION}
--Requires.private: libxml-2.0 >= 2.6.30 glib-2.0 >= 2.14.1
-+#Requires.private: libxml-2.0 >= 2.6.30 glib-2.0 >= 2.14.1
+-Requires.private: libxml-2.0 >= 2.6.30
  Libs: -L${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR} -lplist
  Cflags: -I${CMAKE_INSTALL_PREFIX}/include
- 

++++++ libplist-1.4.tar.bz2 -> libplist-1.8.tar.bz2 ++++++
++++ 4690 lines of diff (skipped)

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to