From d36086f3d2852bbe6e89cb5830a819451bb475b5b6aec5be92dd348f05b0c069 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Thu, 14 Dec 2023 21:37:20 +0000 Subject: [PATCH] - update to 2.0.10: * sprite: moving Sprites is now about 35% faster (as tested on R5 5600X) * gui: Add TextEntry.focus property to allow programmatic focus control * gui: Allow set TextEntry.width and TextEntry.height * Window: Add experimental Window.get_clipboard_text and Window.set_clipboard_text methods * experimental: Add new pyglet.experimental package for easier wider testing of new ideas * experimental: Add `geoshader_sprite.py` that is more complex, but faster than the standard Sprite * experimental: Add `net` module with Server/Client proof of concept * tests: Add new interactive spot test to visually confirm shapes are working as expected * shapes: Move rotate functionality to ShapeBase class, and allow all shapes to rotate * VertexDomain: bind all buffers to VAO in __init__, and avoid binding each draw * gl.Context: Add a new cached `Context.create_program` method to assist in shader reuse * examples.model.fpscamera: fix drifting input, and other improvements * contrib.qt_sprite_preview.py: Modify to allow using either PySide2 or PyQt5 (#959) * examples: Carry over the soundspace example (#972) * media: The "Silent" audio driver now behaves more like a real driver * text: Add RGB color setter fallback for HTML labels, assuming OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyglet?expand=0&rev=50 --- pyglet-2.0.10.zip | 3 +++ pyglet-2.0.9.zip | 3 --- python-pyglet.changes | 43 ++++++++++++++++++++++++++++++++++++++++--- python-pyglet.spec | 2 +- 4 files changed, 44 insertions(+), 7 deletions(-) create mode 100644 pyglet-2.0.10.zip delete mode 100644 pyglet-2.0.9.zip diff --git a/pyglet-2.0.10.zip b/pyglet-2.0.10.zip new file mode 100644 index 0000000..91ffeca --- /dev/null +++ b/pyglet-2.0.10.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:242beb1b3bd67c5bebdfe5ba11ec56b696ad86b50c6e7f2a317f8d783256b9c9 +size 8047813 diff --git a/pyglet-2.0.9.zip b/pyglet-2.0.9.zip deleted file mode 100644 index eca8dca..0000000 --- a/pyglet-2.0.9.zip +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a0922e42f2d258505678e2f4a355c5476c1a6352c3f3a37754042ddb7e7cf72f -size 6525060 diff --git a/python-pyglet.changes b/python-pyglet.changes index 7a66e32..2ed669c 100644 --- a/python-pyglet.changes +++ b/python-pyglet.changes @@ -1,3 +1,40 @@ +------------------------------------------------------------------- +Thu Dec 14 21:36:48 UTC 2023 - Dirk Müller + +- update to 2.0.10: + * sprite: moving Sprites is now about 35% faster (as tested on + R5 5600X) + * gui: Add TextEntry.focus property to allow programmatic focus + control + * gui: Allow set TextEntry.width and TextEntry.height + * Window: Add experimental Window.get_clipboard_text and + Window.set_clipboard_text methods + * experimental: Add new pyglet.experimental package for easier + wider testing of new ideas + * experimental: Add `geoshader_sprite.py` that is more complex, + but faster than the standard Sprite + * experimental: Add `net` module with Server/Client proof of + concept + * tests: Add new interactive spot test to visually confirm + shapes are working as expected + * shapes: Move rotate functionality to ShapeBase class, and + allow all shapes to rotate + * VertexDomain: bind all buffers to VAO in __init__, and avoid + binding each draw + * gl.Context: Add a new cached `Context.create_program` method + to assist in shader reuse + * examples.model.fpscamera: fix drifting input, and other + improvements + * contrib.qt_sprite_preview.py: Modify to allow using either + PySide2 or PyQt5 (#959) + * examples: Carry over the soundspace example (#972) + * media: The "Silent" audio driver now behaves more like a real + driver + * text: Add RGB color setter fallback for HTML labels, assuming + 255 alpha + * shapes: Add a new (unfilled) Box shape + * gl: Take threading into account when deleting OpenGL objects + ------------------------------------------------------------------- Wed Oct 11 15:08:53 UTC 2023 - Dominique Leuenberger @@ -134,7 +171,7 @@ Fri Nov 4 06:47:54 UTC 2022 - Dominique Leuenberger ------------------------------------------------------------------- Wed Oct 12 14:13:18 UTC 2022 - Yogalakshmi Arunachalam -- Update to version 1.5.27 +- Update to version 1.5.27 * Bugfixes - Windows - stop setting HWND_TOPMOST for fullscreen windows - obj decoder - Fix GL_SHININESS (Ns) value parsing @@ -275,7 +312,7 @@ Fri Aug 7 14:38:30 UTC 2020 - Marketa Calabkova * Many long deprecated methods and attributes have now been removed. * Many more bugfixes and small improvements - Updated pyglet-1.2.4-fix-image-import.patch -- Dropped pypng-license.patch +- Dropped pypng-license.patch ------------------------------------------------------------------- Sun Sep 15 07:07:32 UTC 2019 - John Vandenberg @@ -337,7 +374,7 @@ Wed Feb 14 16:21:19 UTC 2018 - toddrme2178@gmail.com These include ADSR, linear decay, tremolo, and flat envelopes. + Improvements * Improved font rendering for fonts with negative bearing (#99) - * Sprites now have `scale_x` and `scale_y` attributes, allowing for aspect ratio changes. The + * Sprites now have `scale_x` and `scale_y` attributes, allowing for aspect ratio changes. The existing `scale` attribute sets the overall scaling, and functions as before. * Sprites have a new `update` method which allows simultaneous changing of position, scale, and rotation. This reduces some overhead when changing multiple attributes at once. diff --git a/python-pyglet.spec b/python-pyglet.spec index b1866b7..0ecb447 100644 --- a/python-pyglet.spec +++ b/python-pyglet.spec @@ -30,7 +30,7 @@ %endif %bcond_with pytest_helpers Name: python-pyglet -Version: 2.0.9 +Version: 2.0.10 Release: 0 Summary: Windowing and multimedia library License: BSD-3-Clause AND MIT