Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-pywlroots for
openSUSE:Factory checked in at 2022-08-27 11:50:50
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pywlroots (Old)
and /work/SRC/openSUSE:Factory/.python-pywlroots.new.2083 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pywlroots"
Sat Aug 27 11:50:50 2022 rev:2 rq:999526 version:0.15.19
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pywlroots/python-pywlroots.changes
2022-07-22 19:20:37.756599077 +0200
+++
/work/SRC/openSUSE:Factory/.python-pywlroots.new.2083/python-pywlroots.changes
2022-08-27 11:50:50.497939944 +0200
@@ -1,0 +2,10 @@
+Sat Aug 20 07:10:19 UTC 2022 - Soc Virnyl Estela <[email protected]>
+
+- Update to version 0.15.19:
+ * [bindgen] wlr_viewporter
+ * Bump version of wayland used for testing
+ * Skip header check for auto-generated line
+ * Wrap input inhibitor active client in pywayland client
+ * Update pywayland minimum version
+
+-------------------------------------------------------------------
Old:
----
pywlroots-0.15.18.tar.gz
New:
----
pywlroots-0.15.19.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-pywlroots.spec ++++++
--- /var/tmp/diff_new_pack.z6fd1Q/_old 2022-08-27 11:50:50.993941009 +0200
+++ /var/tmp/diff_new_pack.z6fd1Q/_new 2022-08-27 11:50:50.997941018 +0200
@@ -18,7 +18,7 @@
%bcond_without test
Name: python-pywlroots
-Version: 0.15.18
+Version: 0.15.19
Release: 0
Summary: Python binding to the wlroots library using cffi
License: NCSA
@@ -27,19 +27,19 @@
Source0:
https://files.pythonhosted.org/packages/source/p/pywlroots/pywlroots-%{version}.tar.gz
Source1: python-pywlroots-rpmlintrc
Patch0: fix-include-paths.patch
-BuildRequires: fdupes
-BuildRequires: libwlroots10
-BuildRequires: python-rpm-macros
-BuildRequires: %{pythons}
-BuildRequires: %{python_module devel}
BuildRequires: %{python_module cffi}
+BuildRequires: %{python_module devel}
BuildRequires: %{python_module distutils-extra}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
-BuildRequires: %{python_module pywayland}
+BuildRequires: %{python_module pywayland >= 0.4.14}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: %{python_module xkbcommon}
+BuildRequires: %{pythons}
+BuildRequires: fdupes
+BuildRequires: libwlroots10
+BuildRequires: python-rpm-macros
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(wlroots)
BuildRequires: pkgconfig(xkbcommon)
++++++ pywlroots-0.15.18.tar.gz -> pywlroots-0.15.19.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pywlroots-0.15.18/PKG-INFO
new/pywlroots-0.15.19/PKG-INFO
--- old/pywlroots-0.15.18/PKG-INFO 2022-06-27 01:04:18.793345700 +0200
+++ new/pywlroots-0.15.19/PKG-INFO 2022-07-24 23:33:33.750612500 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: pywlroots
-Version: 0.15.18
+Version: 0.15.19
Summary: Python binding to the wlroots library using cffi
Home-page: https://github.com/flacjacket/pywlroots
Author: Sean Vig
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pywlroots-0.15.18/check_headers.py
new/pywlroots-0.15.19/check_headers.py
--- old/pywlroots-0.15.18/check_headers.py 2022-06-27 01:04:18.000000000
+0200
+++ new/pywlroots-0.15.19/check_headers.py 2022-07-24 23:33:32.000000000
+0200
@@ -76,6 +76,9 @@
for i, (generated_line, line) in enumerate(
zip(generated_header, protocol_header)
):
+ if "Generated by wayland-scanner" in line:
+ continue
+
if generated_line != line:
print("Expected:", generated_line.strip("\n"))
print("Got:", line.strip("\n"))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pywlroots-0.15.18/pywlroots.egg-info/PKG-INFO
new/pywlroots-0.15.19/pywlroots.egg-info/PKG-INFO
--- old/pywlroots-0.15.18/pywlroots.egg-info/PKG-INFO 2022-06-27
01:04:18.000000000 +0200
+++ new/pywlroots-0.15.19/pywlroots.egg-info/PKG-INFO 2022-07-24
23:33:33.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: pywlroots
-Version: 0.15.18
+Version: 0.15.19
Summary: Python binding to the wlroots library using cffi
Home-page: https://github.com/flacjacket/pywlroots
Author: Sean Vig
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pywlroots-0.15.18/pywlroots.egg-info/SOURCES.txt
new/pywlroots-0.15.19/pywlroots.egg-info/SOURCES.txt
--- old/pywlroots-0.15.18/pywlroots.egg-info/SOURCES.txt 2022-06-27
01:04:18.000000000 +0200
+++ new/pywlroots-0.15.19/pywlroots.egg-info/SOURCES.txt 2022-07-24
23:33:33.000000000 +0200
@@ -79,6 +79,7 @@
wlroots/wlr_types/surface.py
wlroots/wlr_types/texture.py
wlroots/wlr_types/touch.py
+wlroots/wlr_types/viewporter.py
wlroots/wlr_types/virtual_keyboard_v1.py
wlroots/wlr_types/virtual_pointer_v1.py
wlroots/wlr_types/xcursor_manager.py
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pywlroots-0.15.18/pywlroots.egg-info/requires.txt
new/pywlroots-0.15.19/pywlroots.egg-info/requires.txt
--- old/pywlroots-0.15.18/pywlroots.egg-info/requires.txt 2022-06-27
01:04:18.000000000 +0200
+++ new/pywlroots-0.15.19/pywlroots.egg-info/requires.txt 2022-07-24
23:33:33.000000000 +0200
@@ -1,5 +1,5 @@
cffi>=1.12.0
-pywayland>=0.1.1
+pywayland>=0.4.14
xkbcommon>=0.2
[test]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pywlroots-0.15.18/requirements-wheel.txt
new/pywlroots-0.15.19/requirements-wheel.txt
--- old/pywlroots-0.15.18/requirements-wheel.txt 2022-06-27
01:04:18.000000000 +0200
+++ new/pywlroots-0.15.19/requirements-wheel.txt 2022-07-24
23:33:32.000000000 +0200
@@ -1,4 +1,4 @@
auditwheel
-pywayland>=0.1.1
+pywayland>=0.4.14
wheel
xkbcommon>=0.2
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pywlroots-0.15.18/requirements.txt
new/pywlroots-0.15.19/requirements.txt
--- old/pywlroots-0.15.18/requirements.txt 2022-06-27 01:04:18.000000000
+0200
+++ new/pywlroots-0.15.19/requirements.txt 2022-07-24 23:33:32.000000000
+0200
@@ -1,2 +1,2 @@
-pywayland>=0.1.1
+pywayland>=0.4.14
xkbcommon>=0.2
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pywlroots-0.15.18/setup.cfg
new/pywlroots-0.15.19/setup.cfg
--- old/pywlroots-0.15.18/setup.cfg 2022-06-27 01:04:18.793345700 +0200
+++ new/pywlroots-0.15.19/setup.cfg 2022-07-24 23:33:33.750612500 +0200
@@ -31,7 +31,7 @@
python_requires > = 3.7
install_requires =
cffi >= 1.12.0
- pywayland >= 0.1.1
+ pywayland >= 0.4.14
xkbcommon >= 0.2
zip_safe = False
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pywlroots-0.15.18/setup.py
new/pywlroots-0.15.19/setup.py
--- old/pywlroots-0.15.18/setup.py 2022-06-27 01:04:18.000000000 +0200
+++ new/pywlroots-0.15.19/setup.py 2022-07-24 23:33:32.000000000 +0200
@@ -25,7 +25,7 @@
return {"cmdclass": {"build": DummyBuild, "install": DummyInstall}}
else:
return {
- "setup_requires": ["cffi>=1.12.0", "pywayland>=0.1.1",
"xkbcommon>=0.2"],
+ "setup_requires": ["cffi>=1.12.0", "pywayland>=0.4.14",
"xkbcommon>=0.2"],
"cffi_modules": ["wlroots/ffi_build.py:ffi_builder"],
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pywlroots-0.15.18/wlroots/ffi_build.py
new/pywlroots-0.15.19/wlroots/ffi_build.py
--- old/pywlroots-0.15.18/wlroots/ffi_build.py 2022-06-27 01:04:18.000000000
+0200
+++ new/pywlroots-0.15.19/wlroots/ffi_build.py 2022-07-24 23:33:32.000000000
+0200
@@ -1,4 +1,5 @@
# Copyright (c) 2018 Sean Vig
+# Copyright (c) 2022 Aakash Sen Sharma
import importlib.util
import os
@@ -415,6 +416,22 @@
struct wl_display *display);
"""
+# types/wlr_viewporter.h
+CDEF += """
+struct wlr_viewporter {
+ struct wl_global *global;
+
+ struct {
+ struct wl_signal destroy;
+ } events;
+
+ struct wl_listener display_destroy;
+ ...;
+};
+
+struct wlr_viewporter *wlr_viewporter_create(struct wl_display *display);
+"""
+
# types/wlr_foreign_toplevel_management_v1.h
CDEF += """
struct wlr_foreign_toplevel_manager_v1 {
@@ -2388,6 +2405,7 @@
#include <wlr/types/wlr_data_control_v1.h>
#include <wlr/types/wlr_data_device.h>
#include <wlr/types/wlr_export_dmabuf_v1.h>
+#include <wlr/types/wlr_viewporter.h>
#include <wlr/types/wlr_foreign_toplevel_management_v1.h>
#include <wlr/types/wlr_gamma_control_v1.h>
#include <wlr/types/wlr_idle.h>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pywlroots-0.15.18/wlroots/version.py
new/pywlroots-0.15.19/wlroots/version.py
--- old/pywlroots-0.15.18/wlroots/version.py 2022-06-27 01:04:18.000000000
+0200
+++ new/pywlroots-0.15.19/wlroots/version.py 2022-07-24 23:33:32.000000000
+0200
@@ -1,3 +1,3 @@
# Copyright (c) Sean Vig 2021
-version = "0.15.18"
+version = "0.15.19"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pywlroots-0.15.18/wlroots/wlr_types/__init__.py
new/pywlroots-0.15.19/wlroots/wlr_types/__init__.py
--- old/pywlroots-0.15.18/wlroots/wlr_types/__init__.py 2022-06-27
01:04:18.000000000 +0200
+++ new/pywlroots-0.15.19/wlroots/wlr_types/__init__.py 2022-07-24
23:33:32.000000000 +0200
@@ -5,6 +5,7 @@
from .data_control_v1 import DataControlManagerV1 # noqa: F401
from .data_device_manager import DataDeviceManager # noqa: F401
from .export_dmabuf_v1 import ExportDmabufManagerV1 # noqa: F401
+from .viewporter import Viewporter # noqa: F401
from .foreign_toplevel_management_v1 import ForeignToplevelManagerV1 # noqa:
F401
from .gamma_control_v1 import GammaControlManagerV1 # noqa: F401
from .input_device import InputDevice # noqa: F401
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pywlroots-0.15.18/wlroots/wlr_types/input_inhibit.py
new/pywlroots-0.15.19/wlroots/wlr_types/input_inhibit.py
--- old/pywlroots-0.15.18/wlroots/wlr_types/input_inhibit.py 2022-06-27
01:04:18.000000000 +0200
+++ new/pywlroots-0.15.19/wlroots/wlr_types/input_inhibit.py 2022-07-24
23:33:32.000000000 +0200
@@ -1,6 +1,6 @@
# Copyright (c) 2021 Graeme Holliday
-from pywayland.server import Display, Signal
+from pywayland.server import Client, Display, Signal
from wlroots import ffi, Ptr, lib
@@ -16,3 +16,7 @@
def is_inactive(self) -> bool:
return not self._ptr.active_inhibitor
+
+ @property
+ def active_client(self) -> Client:
+ return Client(ptr=self._ptr.active_client)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pywlroots-0.15.18/wlroots/wlr_types/viewporter.py
new/pywlroots-0.15.19/wlroots/wlr_types/viewporter.py
--- old/pywlroots-0.15.18/wlroots/wlr_types/viewporter.py 1970-01-01
01:00:00.000000000 +0100
+++ new/pywlroots-0.15.19/wlroots/wlr_types/viewporter.py 2022-07-24
23:33:32.000000000 +0200
@@ -0,0 +1,16 @@
+# Copyright (c) 2022 Aakash Sen Sharma
+
+from pywayland.server import Display, Signal
+from wlroots import Ptr, ffi, lib
+
+
+class Viewporter(Ptr):
+ def __init__(self, display: Display) -> None:
+ """A `struct wlr_viewporter`
+
+ :param display:
+ The wayland display
+ """
+
+ self._ptr = lib.wlr_viewporter_create(display._ptr)
+ self.destroy_event =
Signal(ptr=ffi.addressof(self._ptr.events.destroy))