Hello community, here is the log from the commit of package python-compizconfig for openSUSE:Factory checked in at 2012-06-06 16:09:21 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-compizconfig (Old) and /work/SRC/openSUSE:Factory/.python-compizconfig.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-compizconfig", Maintainer is "[email protected]" Changes: -------- --- /work/SRC/openSUSE:Factory/python-compizconfig/python-compizconfig.changes 2011-09-28 15:31:19.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.python-compizconfig.new/python-compizconfig.changes 2012-06-06 16:09:22.000000000 +0200 @@ -2 +2 @@ -Thu Sep 22 19:53:39 UTC 2011 - [email protected] +Thu May 31 12:00:00 UTC 2012 - [email protected] @@ -4,2 +4 @@ -- Update to version 0.9.5.94: - + Track libcompizconfig changes +- correct license format @@ -8 +7 @@ --Thu May 19 17:38:25 UTC 2011 - [email protected] +Sat Nov 12 12:00:00 UTC 2011 - [email protected] @@ -10,31 +9 @@ -- Forward to commit ddf4268485ead7431cbbe06c7d541a99beb5deee: - + Sync with changes in compiz main package. -- Enhance update.sh update script for better automatic git updates. - -------------------------------------------------------------------- -Sun Jan 16 22:12:45 UTC 2011 - [email protected] - -- Forward to commit 41fb7785fdaada4611061e1c398c72183e62ffa7 - -------------------------------------------------------------------- -Tue Nov 16 17:29:40 UTC 2010 - [email protected] - -- Bump the .spec version to 0.9.2.1, to reflect latest checkin. - -------------------------------------------------------------------- -Mon Nov 8 21:54:09 UTC 2010 - [email protected] - -- Update to version 0.9.2.1: - + Version bump to stay in sync with compiz. - -------------------------------------------------------------------- -Tue Sep 7 08:24:03 UTC 2010 - [email protected] - -- Fix build with python 2.7, by fixing a filename in the file list. - -------------------------------------------------------------------- -Sun Jul 4 09:08:32 UTC 2010 - [email protected] - -- Update to 0.9.0 - + Added simple setuptools/cython based buildsystem - + Update for libcompizconfig API changes. +- add the requirement for compiz with a version less than 0.9 Old: ---- compizconfig-python.tar.bz2 update.sh New: ---- compizconfig-python-0.8.4.tar.bz2 newtocinit.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-compizconfig.spec ++++++ --- /var/tmp/diff_new_pack.DUqN4U/_old 2012-06-06 16:09:24.000000000 +0200 +++ /var/tmp/diff_new_pack.DUqN4U/_new 2012-06-06 16:09:24.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-compizconfig # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,20 +18,33 @@ Name: python-compizconfig -Version: 0.9.5.94 +Version: 0.8.4 Release: 1 License: GPL-2.0+ Summary: Python bindings for libraries/plugins for compizconfig-settings Url: http://opencompositing.org Group: System/X11/Utilities -Source: compizconfig-python.tar.bz2 -# Helper script to update to latest git. -Source99: update.sh -BuildRequires: python-devel -BuildRequires: python-cython -BuildRequires: pkg-config +Source: compizconfig-python-%{version}.tar.bz2 +Patch0: newtocinit.diff +BuildRequires: autoconf +BuildRequires: automake +BuildRequires: compiz-devel +BuildRequires: compiz-gnome +BuildRequires: glib2-devel +BuildRequires: intltool BuildRequires: libcompizconfig-devel +BuildRequires: libxml2-devel +BuildRequires: libxslt-devel +BuildRequires: pkg-config +BuildRequires: pyrex +BuildRequires: python-devel +BuildRequires: python-gnome PreReq: %fillup_prereq +Requires: compiz < 0.9 +Requires: libcompizconfig < 0.9 +Requires: python-gtk +Obsoletes: ccs-python < %{version} +Provides: ccs-python = %{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build ExclusiveArch: %ix86 x86_64 ppc ppc64 ia64 %py_requires @@ -40,20 +53,27 @@ Python bindings for libraries/plugins for compizconfig-settings %prep -%setup -q -n compizconfig-python +%setup -q -n compizconfig-python-%{version} +%patch0 -p1 %build -python ./setup.py build +# +####python-compizconfig +# +./autogen.sh +%configure --prefix=/usr --libdir=%{_libdir} --disable-static --with-pic +make %{?jobs:-j%jobs} CFLAGS="%{optflags} -fno-strict-aliasing" %install -python ./setup.py install --root=%{buildroot} --prefix=%{_prefix} +%makeinstall +%{__rm} %{buildroot}%{py_sitedir}/*.la +%{__rm} %{buildroot}%{_libdir}/pkgconfig/* %clean %__rm -rf %{buildroot} %files %defattr(-, root, root) -%{python_sitearch}/compizconfig.so -%{python_sitearch}/compizconfig_python-%{version}-py%{python_version}.egg-info +%{py_sitedir}/compizconfig* %changelog ++++++ newtocinit.diff ++++++ diff -urN compizconfig-python-0.8.4.orig/src/compizconfig.pyx compizconfig-python-0.8.4/src/compizconfig.pyx --- compizconfig-python-0.8.4.orig/src/compizconfig.pyx 2009-10-14 04:09:12.000000000 +0200 +++ compizconfig-python-0.8.4/src/compizconfig.pyx 2011-03-18 23:54:32.000000000 +0100 @@ -583,7 +583,7 @@ cdef object extendedStrRestrictions cdef object baseStrRestrictions - def __new__ (self, Plugin plugin, name, isScreen, screenNum = 0): + def __cinit__ (self, Plugin plugin, name, isScreen, screenNum = 0): cdef CCSSettingType t cdef CCSSettingInfo * i @@ -689,7 +689,7 @@ cdef object display cdef object screens - def __new__ (self, disp, screen): + def __cinit__ (self, disp, screen): self.display = disp self.screens = screen @@ -715,7 +715,7 @@ cdef object ranking cdef object hasExtendedString - def __new__ (self, Context context, name): + def __cinit__ (self, Context context, name): self.ccsPlugin = ccsFindPlugin (context.ccsContext, name) self.context = context self.screens = [] @@ -1056,7 +1056,7 @@ cdef Context context cdef char * name - def __new__ (self, Context context, name): + def __cinit__ (self, Context context, name): self.context = context self.name = strdup (name) @@ -1078,7 +1078,7 @@ cdef Bool profileSupport cdef Bool integrationSupport - def __new__ (self, Context context, info): + def __cinit__ (self, Context context, info): self.context = context self.name = strdup (info[0]) self.shortDesc = strdup (info[1]) @@ -1122,7 +1122,7 @@ cdef int nScreens cdef Bool integration - def __new__ (self, screens = [0], plugins = [], basic_metadata = False): + def __cinit__ (self, screens = [0], plugins = [], basic_metadata = False): cdef CCSPlugin * pl cdef CCSList * pll if basic_metadata: -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
