From 8e5a8f443dd168e0cc9d258e1461c2f89afaf26f7d8b82f771dd5bfe43d39ce4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Wed, 6 Apr 2022 12:43:37 +0000 Subject: [PATCH] Accepting request 967291 from home:pgajdos:python - version update to 1.5.23 pyglet 1.5.23 - Windows - Add `win32_disable_shaping` option. This can improve font performance when shaping isn't required. - Backport the latest pyglet.math module changes from the development branch. - Linux - Fix crash when Gstreamer Gst bindings are not installed. - Fix math.Vec4.clamp method. pyglet 1.5.22 - If the PyOgg module is installed, it can be used for loading various Vorbis audio formats. - Add a new CameraGroup example, to show implementing a Camera with pyglet's Groups. - Add `angle` and `start_angle` property/setter to `shapes.Sector`. - Windows - new WMF based encoder for faster saving of common image formats. - Fix indexing error when setting text.Label.opacity (#481) - Windows - Fix shift modifier + exclusive mouse mode (#472) - Linux - Prevent non-Tablet devices from being detected as Tablets (#491) - Windows - Prevent distortion with multiple XAudio2 audio sources (#515) - Fix frame dropping bug with FFMpeg decoder. - Windows - Fix Video alpha channel for WMF decoder. - Varios documentation and docstring fixes. Thanks everyone! pyglet 1.5.21 - A new MovableFrame that allows repositioning Widgets when a specified key modifier is held. - Text Layouts now have `opacity` and `visible` attributes, similar to Sprites. - Add new shapes.Ellipse class. - Xlib - don't enable certain Window options if transparency is not enabled. (#454) - Windows - Fix issue with some fonts where glyphs overhanging their advance would be cut off. pyglet 1.5.20 - Experimental support for transparent and overlay windows on Linux and Windows. - Shapes - Allow rotation and changing of border color for the BorderedRectangle. - Xlib - Fix the mouse Y position being off by 1-pixel. - Windows - Fix gapless audio playback on the XAudio2 backend. pyglet 1.5.19 OBS-URL: https://build.opensuse.org/request/show/967291 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyglet?expand=0&rev=34 --- pyglet-1.5.15.zip | 3 -- pyglet-1.5.23.zip | 3 ++ python-pyglet-rpmlintrc | 9 ++---- python-pyglet.changes | 66 +++++++++++++++++++++++++++++++++++++++++ python-pyglet.spec | 5 ++-- 5 files changed, 74 insertions(+), 12 deletions(-) delete mode 100644 pyglet-1.5.15.zip create mode 100644 pyglet-1.5.23.zip diff --git a/pyglet-1.5.15.zip b/pyglet-1.5.15.zip deleted file mode 100644 index 347da4f..0000000 --- a/pyglet-1.5.15.zip +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:da9d8337388cedabf1f1c5dc21a45bb2b0e5327fba47f996c8573818c3dfa478 -size 3242009 diff --git a/pyglet-1.5.23.zip b/pyglet-1.5.23.zip new file mode 100644 index 0000000..6f673bb --- /dev/null +++ b/pyglet-1.5.23.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:dee920203cf306159c503babb62f38787268708977f5c945d28337594b797c46 +size 6975489 diff --git a/python-pyglet-rpmlintrc b/python-pyglet-rpmlintrc index d3ce46e..7a38df8 100644 --- a/python-pyglet-rpmlintrc +++ b/python-pyglet-rpmlintrc @@ -1,6 +1,3 @@ -# This are needed scripts in datadir -addFilter('non-executable-script') -# This are needed scripts in documentation -addFilter('doc-file-dependency') -# This is not a devel package -addFilter('devel-dependency') +# examples +addFilter('env-script-interpreter.*/usr/share/doc/packages/.*/examples/') +addFilter('spurious-executable-perm.*/usr/share/doc/packages/.*/examples/') diff --git a/python-pyglet.changes b/python-pyglet.changes index 2644a65..8cb56a6 100644 --- a/python-pyglet.changes +++ b/python-pyglet.changes @@ -1,3 +1,69 @@ +------------------------------------------------------------------- +Wed Apr 6 11:53:31 UTC 2022 - pgajdos@suse.com + +- version update to 1.5.23 + pyglet 1.5.23 + - Windows - Add `win32_disable_shaping` option. This can improve font performance when shaping isn't required. + - Backport the latest pyglet.math module changes from the development branch. + - Linux - Fix crash when Gstreamer Gst bindings are not installed. + - Fix math.Vec4.clamp method. + pyglet 1.5.22 + - If the PyOgg module is installed, it can be used for loading various Vorbis audio formats. + - Add a new CameraGroup example, to show implementing a Camera with pyglet's Groups. + - Add `angle` and `start_angle` property/setter to `shapes.Sector`. + - Windows - new WMF based encoder for faster saving of common image formats. + - Fix indexing error when setting text.Label.opacity (#481) + - Windows - Fix shift modifier + exclusive mouse mode (#472) + - Linux - Prevent non-Tablet devices from being detected as Tablets (#491) + - Windows - Prevent distortion with multiple XAudio2 audio sources (#515) + - Fix frame dropping bug with FFMpeg decoder. + - Windows - Fix Video alpha channel for WMF decoder. + - Varios documentation and docstring fixes. Thanks everyone! + pyglet 1.5.21 + - A new MovableFrame that allows repositioning Widgets when a specified key modifier is held. + - Text Layouts now have `opacity` and `visible` attributes, similar to Sprites. + - Add new shapes.Ellipse class. + - Xlib - don't enable certain Window options if transparency is not enabled. (#454) + - Windows - Fix issue with some fonts where glyphs overhanging their advance would be cut off. + pyglet 1.5.20 + - Experimental support for transparent and overlay windows on Linux and Windows. + - Shapes - Allow rotation and changing of border color for the BorderedRectangle. + - Xlib - Fix the mouse Y position being off by 1-pixel. + - Windows - Fix gapless audio playback on the XAudio2 backend. + pyglet 1.5.19 + - Add new 'Sector' class to shapes module, for creating sectors of a circle. + - Ensure that the FFmpegDecoder returns the requested number of bytes. + - When subclassing EventHandlers, ensure that possible TyperErrors give correct feedback. + - Fix missing name attribute on FreeTypeMemoryFace object when adding fonts. + - Re-introduce background threads for refilling Player buffers. + - Allow directly setting Widget values. + - Add docstrings for gui.widgets. + - Refresh of experimental/win32priority.py. + pyglet 1.5.18 + - If XAudio2 device creation fails, catch exception so that the next driver can be tried. + - Fix dangling file pointers in GStreamer decoder. + - Expose font.name attribute to show the font family name. + - Un-associate queued Source from a deleted Player instance (#256) + - Fix circular import when trying to create a Windows in 'headless' mode. + - Un-associate StreamingSources from deleted Player instances (#256) + - Update pypng lib to avoid deprecated functions (#405) + pyglet 1.5.17 + - FFmpeg decoder add FF_INPUT_BUFFER_PADDING_SIZE to buffers. + - Add missing DI8DEVTYPE_SUPPLEMENTAL joystick device type. + - Fix bool clamping causing crash with DirectWrite text decoder. + - Change IncrementalTextLayout to use glScissor instead of glClipPlane. + - Raise warning on Window creation if the GPU drivers do not support OpenGL 2.0 + - Add a new `shapes.Star` shape. + pyglet 1.5.16 + - 3d model obj decoder supports multiple material types + - Fix GStreamerSources not being garbage collected #283 + - Fix ScrollableTextLayout not respecting anchors/alignment. + - New DirectWrite based font loader. Enable with `pyglet.options["advanced_font_features"] = True` + - Add `position` property to Text Layouts, to mimic other classes. +- modified sources + % python-pyglet-rpmlintrc +- python-mock is not required for build + ------------------------------------------------------------------- Mon Mar 8 09:10:33 UTC 2021 - Dirk Müller diff --git a/python-pyglet.spec b/python-pyglet.spec index 3e8c9c7..ec1442c 100644 --- a/python-pyglet.spec +++ b/python-pyglet.spec @@ -1,7 +1,7 @@ # # spec file for package python-pyglet # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -32,7 +32,7 @@ %define skip_python2 1 %bcond_with pytest_helpers Name: python-pyglet -Version: 1.5.15 +Version: 1.5.23 Release: 0 Summary: Windowing and multimedia library License: BSD-3-Clause AND MIT @@ -65,7 +65,6 @@ Recommends: gtk2 %if %{with test} BuildRequires: %{python_module Pillow} BuildRequires: %{python_module future} -BuildRequires: %{python_module mock} BuildRequires: %{python_module pytest} BuildRequires: Mesa-dri BuildRequires: alsa-lib