Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-glfw for openSUSE:Factory checked in at 2022-10-29 20:17:41 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-glfw (Old) and /work/SRC/openSUSE:Factory/.python-glfw.new.2275 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-glfw" Sat Oct 29 20:17:41 2022 rev:10 rq:1032190 version:2.5.5 Changes: -------- --- /work/SRC/openSUSE:Factory/python-glfw/python-glfw.changes 2022-09-29 18:15:06.555460928 +0200 +++ /work/SRC/openSUSE:Factory/.python-glfw.new.2275/python-glfw.changes 2022-10-29 20:18:46.702745044 +0200 @@ -2 +2 @@ -Wed Sep 28 21:23:41 UTC 2022 - Yogalakshmi Arunachalam <yarunacha...@suse.com> +Fri Oct 28 17:14:45 UTC 2022 - Yogalakshmi Arunachalam <yarunacha...@suse.com> @@ -6,0 +7,4 @@ + +------------------------------------------------------------------- +Wed Sep 28 21:23:41 UTC 2022 - Yogalakshmi Arunachalam <yarunacha...@suse.com> + Old: ---- glfw-2.5.4.tar.gz New: ---- glfw-2.5.5.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-glfw.spec ++++++ --- /var/tmp/diff_new_pack.aY9fiA/_old 2022-10-29 20:18:47.178747581 +0200 +++ /var/tmp/diff_new_pack.aY9fiA/_new 2022-10-29 20:18:47.186747623 +0200 @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-glfw -Version: 2.5.4 +Version: 2.5.5 Release: 0 Summary: A ctypes-based wrapper for GLFW3 License: MIT ++++++ glfw-2.5.4.tar.gz -> glfw-2.5.5.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/glfw-2.5.4/CHANGELOG.md new/glfw-2.5.5/CHANGELOG.md --- old/glfw-2.5.4/CHANGELOG.md 2022-07-23 07:25:44.000000000 +0200 +++ new/glfw-2.5.5/CHANGELOG.md 2022-09-07 18:29:18.000000000 +0200 @@ -4,8 +4,11 @@ For information on changes in GLFW itself, see the [GLFW version history](https://www.glfw.org/changelog.html). +## [2.5.5] - 2022-09-07 +- Added wrappers for unreleased macros +- Fixed set_monitor_user_pointer and get_monitor_user_pointer -## [2.5.3] - 2022-07-23 +## [2.5.4] - 2022-07-23 - Updated to GLFW 3.3.8 ## [2.5.3] - 2022-04-09 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/glfw-2.5.4/PKG-INFO new/glfw-2.5.5/PKG-INFO --- old/glfw-2.5.4/PKG-INFO 2022-07-23 07:25:58.786930600 +0200 +++ new/glfw-2.5.5/PKG-INFO 2022-09-07 18:29:33.729395400 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: glfw -Version: 2.5.4 +Version: 2.5.5 Summary: A ctypes-based wrapper for GLFW3. Home-page: https://github.com/FlorianRhiem/pyGLFW Author: Florian Rhiem diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/glfw-2.5.4/glfw/GLFW.py new/glfw-2.5.5/glfw/GLFW.py --- old/glfw-2.5.4/glfw/GLFW.py 2022-07-23 07:25:44.000000000 +0200 +++ new/glfw-2.5.5/glfw/GLFW.py 2022-09-07 18:29:18.000000000 +0200 @@ -448,6 +448,11 @@ RESIZE_NWSE_CURSOR as GLFW_RESIZE_NWSE_CURSOR, WIN32_KEYBOARD_MENU as GLFW_WIN32_KEYBOARD_MENU, X11_XCB_VULKAN_SURFACE as GLFW_X11_XCB_VULKAN_SURFACE, + ANY_POSITION as GLFW_ANY_POSITION, + POSITION_X as GLFW_POSITION_X, + POSITION_Y as GLFW_POSITION_Y, + WAYLAND_APP_ID as GLFW_WAYLAND_APP_ID, + CURSOR_CAPTURED as GLFW_CURSOR_CAPTURED, init_allocator as glfwInitAllocator, init_vulkan_loader as glfwInitVulkanLoader, get_platform as glfwGetPlatform, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/glfw-2.5.4/glfw/__init__.py new/glfw-2.5.5/glfw/__init__.py --- old/glfw-2.5.4/glfw/__init__.py 2022-07-23 07:25:44.000000000 +0200 +++ new/glfw-2.5.5/glfw/__init__.py 2022-09-07 18:29:18.000000000 +0200 @@ -9,7 +9,7 @@ __author__ = 'Florian Rhiem (florian.rh...@gmail.com)' __copyright__ = 'Copyright (c) 2013-2021 Florian Rhiem' __license__ = 'MIT' -__version__ = '2.5.4' +__version__ = '2.5.5' # By default, GLFW errors will be handled by a pre-defined error callback. # Depending on the value of ERROR_REPORTING, this callback will: @@ -646,6 +646,12 @@ WIN32_KEYBOARD_MENU = 0x00025001 X11_XCB_VULKAN_SURFACE = 0x00052001 + ANY_POSITION = 0x80000000 + POSITION_X = 0x0002000E + POSITION_Y = 0x0002000F + WAYLAND_APP_ID = 0x00026001 + CURSOR_CAPTURED = 0x00034004 + _exc_info_from_callback = None def _callback_exception_decorator(func): @functools.wraps(func) @@ -1087,8 +1093,10 @@ pointer = ctypes.cast(ctypes.pointer(ctypes.py_object(pointer)), ctypes.c_void_p) - _monitor_user_data_repository[monitor] = data - _glfw.glfwSetWindowUserPointer(monitor, pointer) + monitor_addr = ctypes.cast(ctypes.pointer(monitor), + ctypes.POINTER(ctypes.c_long)).contents.value + _monitor_user_data_repository[monitor_addr] = data + _glfw.glfwSetMonitorUserPointer(monitor, pointer) _glfw.glfwGetMonitorUserPointer.restype = ctypes.c_void_p @@ -1102,9 +1110,11 @@ Wrapper for: void* glfwGetMonitorUserPointer(int jid); """ + monitor_addr = ctypes.cast(ctypes.pointer(monitor), + ctypes.POINTER(ctypes.c_long)).contents.value - if monitor in _monitor_user_data_repository: - data = _monitor_user_data_repository[monitor] + if monitor_addr in _monitor_user_data_repository: + data = _monitor_user_data_repository[monitor_addr] is_wrapped_py_object = data[0] if is_wrapped_py_object: return data[1] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/glfw-2.5.4/glfw.egg-info/PKG-INFO new/glfw-2.5.5/glfw.egg-info/PKG-INFO --- old/glfw-2.5.4/glfw.egg-info/PKG-INFO 2022-07-23 07:25:58.000000000 +0200 +++ new/glfw-2.5.5/glfw.egg-info/PKG-INFO 2022-09-07 18:29:33.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: glfw -Version: 2.5.4 +Version: 2.5.5 Summary: A ctypes-based wrapper for GLFW3. Home-page: https://github.com/FlorianRhiem/pyGLFW Author: Florian Rhiem diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/glfw-2.5.4/setup.py new/glfw-2.5.5/setup.py --- old/glfw-2.5.4/setup.py 2022-07-23 07:25:44.000000000 +0200 +++ new/glfw-2.5.5/setup.py 2022-09-07 18:29:18.000000000 +0200 @@ -8,7 +8,7 @@ setup( name='glfw', - version='2.5.4', + version='2.5.5', description='A ctypes-based wrapper for GLFW3.', long_description=long_description, url='https://github.com/FlorianRhiem/pyGLFW',