From dec8070137df2500520d94f0817de074b2bfbb0a27ff9d475020142802cc624d Mon Sep 17 00:00:00 2001 From: Sascha Peilicke Date: Mon, 20 Feb 2012 13:48:42 +0000 Subject: [PATCH] - Update to version 1.1.1: * Core - [#403] Pygame audio loader doesn't work (in addition to camera opencv provider) - Changes from version 1.1.0: * Core - [#319] Allow dynamic changes to url in Loader - [#371] Allow BoundedNumericProperty to have custom min/max per widget - [#373] Allow Property.dispatch() to be called from Python - [#376] Fix list.reverse() in ListProperty - [#386] Fix GC with Clock triggered events - [#306] Fix video uri support with gstreamer - Add support for italic/bold text in core/text - Better traceback when an exception happen within kv - Enhance properties exceptions - Fixes for camera frame update - Fixes for python-for-android project - Fixes list/dict properties on pop/popitem method - Merged android-support branch to master - New Atlas class for merging png/jpeg and acces with atlas:// - New SettingPath in settings - New markup text rendering: "[b]Hello[/b] [color=ff0000]World[/color]" - New on_pause handler in App: used in android for sleeping - Removed text/cairo rendering, ttf doesn't work. - Various speedup on cython files * Graphics - [#375] Fix clear_color in Fbo - [#64] New Mesh instruction for custom 2D mesh - Fix black screenshot on GLES devices - Fix warnings of cython compilation + debian issues * Modules OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Kivy?expand=0&rev=3 --- Kivy-1.0.7.tar.gz | 3 -- Kivy-1.1.1.tar.gz | 3 ++ python-Kivy.changes | 128 +++++++++++++++++++++++++++++++++++++++++++- python-Kivy.spec | 39 +++++++++++--- 4 files changed, 162 insertions(+), 11 deletions(-) delete mode 100644 Kivy-1.0.7.tar.gz create mode 100644 Kivy-1.1.1.tar.gz diff --git a/Kivy-1.0.7.tar.gz b/Kivy-1.0.7.tar.gz deleted file mode 100644 index 7509d85..0000000 --- a/Kivy-1.0.7.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e41e698872be60e66abc413c017d75669b4974b978a4abaf3dc28aeba015af5d -size 5411715 diff --git a/Kivy-1.1.1.tar.gz b/Kivy-1.1.1.tar.gz new file mode 100644 index 0000000..8b32084 --- /dev/null +++ b/Kivy-1.1.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a1e26262da1c05b380adb63f6ea1b7dc84ac640e2231462a03d0e3791ffc8eba +size 7897152 diff --git a/python-Kivy.changes b/python-Kivy.changes index bf7ac4f..178ce99 100644 --- a/python-Kivy.changes +++ b/python-Kivy.changes @@ -1,7 +1,133 @@ +------------------------------------------------------------------- +Mon Feb 20 13:23:35 UTC 2012 - saschpe@suse.de + +- Update to version 1.1.1: + * Core + - [#403] Pygame audio loader doesn't work (in addition to camera opencv provider) +- Changes from version 1.1.0: + * Core + - [#319] Allow dynamic changes to url in Loader + - [#371] Allow BoundedNumericProperty to have custom min/max per widget + - [#373] Allow Property.dispatch() to be called from Python + - [#376] Fix list.reverse() in ListProperty + - [#386] Fix GC with Clock triggered events + - [#306] Fix video uri support with gstreamer + - Add support for italic/bold text in core/text + - Better traceback when an exception happen within kv + - Enhance properties exceptions + - Fixes for camera frame update + - Fixes for python-for-android project + - Fixes list/dict properties on pop/popitem method + - Merged android-support branch to master + - New Atlas class for merging png/jpeg and acces with atlas:// + - New SettingPath in settings + - New markup text rendering: "[b]Hello[/b] [color=ff0000]World[/color]" + - New on_pause handler in App: used in android for sleeping + - Removed text/cairo rendering, ttf doesn't work. + - Various speedup on cython files + * Graphics + - [#375] Fix clear_color in Fbo + - [#64] New Mesh instruction for custom 2D mesh + - Fix black screenshot on GLES devices + - Fix warnings of cython compilation + debian issues + * Modules + - [#389] Fix missing image for Touchring + - New recorder module: you can save and replay touch events + * Input + - [#366] Fix time_end never set for all providers except mouse + - [#377] Removed TUIO provider by default in configuration + * Lang + - [#364] Fixes for unicode BOM in .kv + - Rewrite kvlang parser / builder: improved performance + fixes some design + * Widget + - [#317,#334,#335] Fix AsyncImage when source is empty or already loaded + - [#318] Fix textinput auto scroll + - [#386] Scatter will not accept touches if none of transformations are enabled + - [#395] Enhance doc for label/textinput about unicode chars + - Enhance FileChooser for feedback when item is selected + - Enhance FileChooser to have a directory selection mode + - Enhance Popup with more properties for styling + - Fixes for Textinput focus + - Fixes Layout when parent are changing + - Fix for not propagating touch events in Popup + - Fix Textinput with invalid selection when releasing shift key + - New Bubble widget, for displaying contextual menu + - New Copy/Cut/Paste menu in Textinput using Bubble + - New RstDocument widget, for rendering RST text + - See http://kivy.org/#changelog for more detail... +- Build HTML documentation and split out doc package +- Fixed several rpmlint issues + ------------------------------------------------------------------- Fri Sep 23 13:30:34 UTC 2011 - saschpe@suse.de -- Update to version 1.0.7 +- Update to version 1.0.7: + * Core + - [#32] Implement window rotation (0,90,180,270) + - [#150] Fix to prevent gcc bug on Mageia + - [#153] Add packaging doc and hooks for Windows and MacOSX + - [#155] Replaced import in class methods with late binding + - [#157] Implement Label.valign support + - [#166] Prevent to open too many fonts at the same time + - [#184] Remove unlink() in properties, not needed anymore + - [#186] Fixes extension support for MacOSX + - Disable window resizing until we are OpenGL context resistant + - Enhance extensions wizard and auto-created setup.py + - Enhance pixels from pygame surface + - Enhance properties list to prevent memory leak + - Enhance properties to store data inside Widget class + - Fixes for Audio class creation + - Fixes for Clock dictionnary crashes + - Fixes for volume usage on gstreamer video implementation + - Fixes infinite loop when we hit max iteration + - Fixes ordering of Window.add_widget + - Fixes to avoid resync error with gstreamer + - New DDS Image loader using new S3TC support + - New DictProperty property + * Graphics + - [#27] Implement mipmap support + - [#130] Implement caching for Shader source/compilation result + - [#161] Prevent to upload texture twice when NPOT is supported + - [#182] Fix Rotation.angle caching with degrees/radians + - [#190] Fix crash when too many vertices are pushed in VBO + - Enhance Ellipse to add angle_start/angle_end properties + - Enhance GridLayout to have minimum and default size per col/row + - Enhance logging of OpenGL capabilities + - Enhance texture memory by using native NPOT if available + - Enhance texture upload by using the best pixel packing + - Fixes Color.hsv property crashes + - Fixes for GLES2 by using GL_UNSIGNED_SHORT in VBO + - Fixes some typo on OpenGL wrapper + - New $HEADER$ token that can be used in fragment/vertex shader code + - New OpenGL Utils module for checking texture capabilities and others + - New S3TC texture support + - New Texture.colorfmt property + * Input + - Enhance Wacom support on linux platform + - Fix leak/slowdown in MouseMotionEvent + * Lang + - [#189] Fixes for not allowing dot in properties name + - Concat property value when the value is shifted to one level + - Enhance key resolution ([x for x in list] can be used now.) + - Enhance module/class resolution at import + * Widget + - [#139] Add TreeView.remove_node() + - [#143] Fix crash when group is changing on ToggleButton + - [#146] Fix invalid calculation for Image.norm_image_size + - [#152] Fix Camera.play property + - [#160] Prevent label creation until text is set + - [#178] Set default values only on properties + - Enhance ScrollView to have kind of kinetic movement + - Fixes calculation of Stacklayout.size with padding + - Fixes FloatLayout relayout when children size* is changing + - Fixes for initial Label.font_name assignement + - Fixes to prevent call of on_release twice + - Fix ScrollView with grab events + - New Image.allow_stretch property + - New Popup (modal popup) widget + - New Settings widget + - New Switch widget + - New Widget.uid property ------------------------------------------------------------------- Fri Jun 24 19:56:56 UTC 2011 - saschpe@gmx.de diff --git a/python-Kivy.spec b/python-Kivy.spec index db6dde6..71937d7 100644 --- a/python-Kivy.spec +++ b/python-Kivy.spec @@ -1,7 +1,7 @@ # # spec file for package python-Kivy # -# 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 @@ -16,7 +16,7 @@ # Name: python-Kivy -Version: 1.0.7 +Version: 1.1.1 Release: 0 Url: http://kivy.org/ Summary: Hardware-accelerated multitouch application library @@ -24,31 +24,56 @@ License: LGPL-3.0 Group: Development/Languages/Python Source: http://pypi.python.org/packages/source/K/Kivy/Kivy-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: fdupes BuildRequires: python-devel BuildRequires: python-Cython +BuildRequires: python-Sphinx BuildRequires: Mesa-devel -%if 0%{?suse_version} -%py_requires +Recommends: python-cairo +Recommends: python-gstreamer-0_10 +Recommends: python-imaging +Recommends: python-opencv +Recommends: python-pyenchant +%if 0%{?suse_version} && 0%{?suse_version} <= 1110 +%{!?python_sitearch: %global python_sitearch %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} %endif -%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} %description Kivy is an open source software library for rapid development of applications -that make use of innovative user interfaces, such as multi-touch apps. +that make use of innovative user interfaces, such as multi-touch apps. + +%package doc +Summary: Hardware-accelerated multitouch application library - Documentation +Group: Documentation/Other +Requires: %{name} = %{version} + +%description doc +Kivy is an open source software library for rapid development of applications +that make use of innovative user interfaces, such as multi-touch apps. + +This package contains the developer documentation and examples %prep %setup -q -n Kivy-%{version} sed -i "s|data_file_prefix = 'share/kivy-'|data_file_prefix = '%{_docdir}/%{name}/'|" setup.py +sed -i "s|#!/usr/bin/python||" kivy/lib/osc/OSC.py # Fix non-executable script +rm examples/demo/pictures/images/.empty # Remove empty file %build CFLAGS="%{optflags} -fno-strict-aliasing" python setup.py build +cd doc && make html && rm -r build/html/.buildinfo # Build HTML documentation %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} +%fdupes %{buildroot}%{_docdir}/%{name} %{buildroot}%{_docdir}/%{name}-doc %files %defattr(-,root,root,-) -%doc AUTHORS COPYING README examples +%doc AUTHORS COPYING doc/README %{python_sitearch}/* +%files doc +%defattr(-,root,root,-) +%doc examples doc/build/html + %changelog