Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package kwayland for openSUSE:Factory checked in at 2022-01-11 21:16:47 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kwayland (Old) and /work/SRC/openSUSE:Factory/.kwayland.new.1892 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kwayland" Tue Jan 11 21:16:47 2022 rev:94 rq:945088 version:5.90.0 Changes: -------- --- /work/SRC/openSUSE:Factory/kwayland/kwayland.changes 2021-12-13 20:44:54.816488880 +0100 +++ /work/SRC/openSUSE:Factory/.kwayland.new.1892/kwayland.changes 2022-01-11 21:19:40.432975888 +0100 @@ -1,0 +2,10 @@ +Mon Jan 3 12:47:58 UTC 2022 - Christophe Giboudeaux <[email protected]> + +- Update to 5.90.0 + * New feature release + * For more details please see: + * https://kde.org/announcements/frameworks/5/5.90.0 +- Changes since 5.89.0: + * Make linux/input.h a hard dependency + +------------------------------------------------------------------- Old: ---- kwayland-5.89.0.tar.xz kwayland-5.89.0.tar.xz.sig New: ---- kwayland-5.90.0.tar.xz kwayland-5.90.0.tar.xz.sig ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kwayland.spec ++++++ --- /var/tmp/diff_new_pack.aJaWtT/_old 2022-01-11 21:19:41.020976302 +0100 +++ /var/tmp/diff_new_pack.aJaWtT/_new 2022-01-11 21:19:41.028976308 +0100 @@ -16,22 +16,22 @@ # -%define _tar_path 5.89 +%define _tar_path 5.90 # Full KF5 version (e.g. 5.33.0) %{!?_kf5_version: %global _kf5_version %{version}} # Last major and minor KF5 version (e.g. 5.33) %{!?_kf5_bugfix_version: %define _kf5_bugfix_version %(echo %{_kf5_version} | awk -F. '{print $1"."$2}')} # Only needed for the package signature condition -%bcond_without lang +%bcond_without released Name: kwayland -Version: 5.89.0 +Version: 5.90.0 Release: 0 Summary: KDE Wayland library License: LGPL-2.1-or-later Group: Development/Libraries/KDE URL: https://www.kde.org Source: %{name}-%{version}.tar.xz -%if %{with lang} +%if %{with released} Source1: %{name}-%{version}.tar.xz.sig Source2: frameworks.keyring %endif ++++++ kwayland-5.89.0.tar.xz -> kwayland-5.90.0.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kwayland-5.89.0/CMakeLists.txt new/kwayland-5.90.0/CMakeLists.txt --- old/kwayland-5.89.0/CMakeLists.txt 2021-12-04 18:05:03.000000000 +0100 +++ new/kwayland-5.90.0/CMakeLists.txt 2022-01-01 13:19:55.000000000 +0100 @@ -1,11 +1,11 @@ cmake_minimum_required(VERSION 3.16) -set(KF_VERSION "5.89.0") # handled by release scripts +set(KF_VERSION "5.90.0") # handled by release scripts project(KWayland VERSION ${KF_VERSION}) # ECM setup include(FeatureSummary) -find_package(ECM 5.89.0 NO_MODULE) +find_package(ECM 5.90.0 NO_MODULE) set_package_properties(ECM PROPERTIES TYPE REQUIRED DESCRIPTION "Extra CMake Modules." URL "https://commits.kde.org/extra-cmake-modules") feature_summary(WHAT REQUIRED_PACKAGES_NOT_FOUND FATAL_ON_MISSING_REQUIRED_PACKAGES) set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH} ${CMAKE_SOURCE_DIR}/cmake/Modules) @@ -58,10 +58,6 @@ find_package(PlasmaWaylandProtocols 1.4.0 CONFIG) set_package_properties(PlasmaWaylandProtocols PROPERTIES TYPE REQUIRED) -check_include_file("linux/input.h" HAVE_LINUX_INPUT_H) -configure_file(config-kwayland.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-kwayland.h) -include_directories(${CMAKE_CURRENT_BINARY_DIR}) - # adjusting CMAKE_C_FLAGS to get wayland protocols to compile set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=gnu90") diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kwayland-5.89.0/autotests/client/CMakeLists.txt new/kwayland-5.90.0/autotests/client/CMakeLists.txt --- old/kwayland-5.89.0/autotests/client/CMakeLists.txt 2021-12-04 18:05:03.000000000 +0100 +++ new/kwayland-5.90.0/autotests/client/CMakeLists.txt 2022-01-01 13:19:55.000000000 +0100 @@ -74,15 +74,13 @@ ######################################################## # Test WaylandSeat ######################################################## -if (HAVE_LINUX_INPUT_H) - set( testWaylandSeat_SRCS - test_wayland_seat.cpp - ) - add_executable(testWaylandSeat ${testWaylandSeat_SRCS}) - target_link_libraries( testWaylandSeat Qt5::Test Qt5::Gui KF5::WaylandClient KF5::WaylandServer Wayland::Client Wayland::Server) - add_test(NAME kwayland-testWaylandSeat COMMAND testWaylandSeat) - ecm_mark_as_test(testWaylandSeat) -endif() +set( testWaylandSeat_SRCS + test_wayland_seat.cpp + ) +add_executable(testWaylandSeat ${testWaylandSeat_SRCS}) +target_link_libraries( testWaylandSeat Qt5::Test Qt5::Gui KF5::WaylandClient KF5::WaylandServer Wayland::Client Wayland::Server) +add_test(NAME kwayland-testWaylandSeat COMMAND testWaylandSeat) +ecm_mark_as_test(testWaylandSeat) ######################################################## # Test ShmPool @@ -286,28 +284,24 @@ ######################################################## # Test FakeInput ######################################################## -if (HAVE_LINUX_INPUT_H) - set( testFakeInput_SRCS - test_fake_input.cpp - ) - add_executable(testFakeInput ${testFakeInput_SRCS}) - target_link_libraries( testFakeInput Qt5::Test Qt5::Gui KF5::WaylandClient KF5::WaylandServer) - add_test(NAME kwayland-testFakeInput COMMAND testFakeInput) - ecm_mark_as_test(testFakeInput) -endif() +set( testFakeInput_SRCS + test_fake_input.cpp + ) +add_executable(testFakeInput ${testFakeInput_SRCS}) +target_link_libraries( testFakeInput Qt5::Test Qt5::Gui KF5::WaylandClient KF5::WaylandServer) +add_test(NAME kwayland-testFakeInput COMMAND testFakeInput) +ecm_mark_as_test(testFakeInput) ######################################################## # Test PlasmaWindowModel ######################################################## -if (HAVE_LINUX_INPUT_H) - set( testPlasmaWindowModel_SRCS - test_plasma_window_model.cpp - ) - add_executable(testPlasmaWindowModel ${testPlasmaWindowModel_SRCS}) - target_link_libraries( testPlasmaWindowModel Qt5::Test Qt5::Gui KF5::WaylandClient KF5::WaylandServer) - add_test(NAME kwayland-testPlasmaWindowModel COMMAND testPlasmaWindowModel) - ecm_mark_as_test(testPlasmaWindowModel) -endif() +set( testPlasmaWindowModel_SRCS + test_plasma_window_model.cpp + ) +add_executable(testPlasmaWindowModel ${testPlasmaWindowModel_SRCS}) +target_link_libraries( testPlasmaWindowModel Qt5::Test Qt5::Gui KF5::WaylandClient KF5::WaylandServer) +add_test(NAME kwayland-testPlasmaWindowModel COMMAND testPlasmaWindowModel) +ecm_mark_as_test(testPlasmaWindowModel) ######################################################## # Test TextInput diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kwayland-5.89.0/config-kwayland.h.cmake new/kwayland-5.90.0/config-kwayland.h.cmake --- old/kwayland-5.89.0/config-kwayland.h.cmake 2021-12-04 18:05:03.000000000 +0100 +++ new/kwayland-5.90.0/config-kwayland.h.cmake 1970-01-01 01:00:00.000000000 +0100 @@ -1 +0,0 @@ -#cmakedefine01 HAVE_LINUX_INPUT_H diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kwayland-5.89.0/src/client/fakeinput.cpp new/kwayland-5.90.0/src/client/fakeinput.cpp --- old/kwayland-5.89.0/src/client/fakeinput.cpp 2021-12-04 18:05:03.000000000 +0100 +++ new/kwayland-5.90.0/src/client/fakeinput.cpp 2022-01-01 13:19:55.000000000 +0100 @@ -10,10 +10,7 @@ #include <QPointF> #include <QSizeF> -#include <config-kwayland.h> -#if HAVE_LINUX_INPUT_H #include <linux/input.h> -#endif #include <wayland-fake-input-client-protocol.h> @@ -97,7 +94,6 @@ void FakeInput::Private::sendPointerButtonState(Qt::MouseButton button, quint32 state) { -#if HAVE_LINUX_INPUT_H Q_ASSERT(manager.isValid()); uint32_t b = 0; switch (button) { @@ -116,7 +112,6 @@ return; } org_kde_kwin_fake_input_button(manager, b, state); -#endif } void FakeInput::requestPointerButtonPress(Qt::MouseButton button) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kwayland-5.89.0/src/server/seat_interface.cpp new/kwayland-5.90.0/src/server/seat_interface.cpp --- old/kwayland-5.89.0/src/server/seat_interface.cpp 2021-12-04 18:05:03.000000000 +0100 +++ new/kwayland-5.90.0/src/server/seat_interface.cpp 2022-01-01 13:19:55.000000000 +0100 @@ -18,11 +18,8 @@ #ifndef WL_SEAT_NAME_SINCE_VERSION #define WL_SEAT_NAME_SINCE_VERSION 2 #endif -// linux -#include <config-kwayland.h> -#if HAVE_LINUX_INPUT_H + #include <linux/input.h> -#endif #include <functional> @@ -755,7 +752,6 @@ { static quint32 qtToWaylandButton(Qt::MouseButton button) { -#if HAVE_LINUX_INPUT_H static const QHash<Qt::MouseButton, quint32> s_buttons({ {Qt::LeftButton, BTN_LEFT}, {Qt::RightButton, BTN_RIGHT}, @@ -776,9 +772,6 @@ // further mapping not possible, 0x120 is BTN_JOYSTICK }); return s_buttons.value(button, 0); -#else - return 0; -#endif } } @@ -1332,7 +1325,6 @@ d->globalTouch.focus.firstTouchPos = globalPosition; } -#if HAVE_LINUX_INPUT_H if (id == 0 && d->globalTouch.focus.touchs.isEmpty()) { // If the client did not bind the touch interface fall back // to at least emulating touch through pointer events. @@ -1344,7 +1336,6 @@ p->d_func()->sendFrame(); }); } -#endif d->globalTouch.ids[id] = serial; return id; @@ -1385,7 +1376,6 @@ (*it)->up(id, serial); } -#if HAVE_LINUX_INPUT_H if (id == 0 && d->globalTouch.focus.touchs.isEmpty()) { // Client did not bind touch, fall back to emulating with pointer events. const quint32 serial = display()->nextSerial(); @@ -1393,7 +1383,6 @@ wl_pointer_send_button(p->resource(), serial, timestamp(), BTN_LEFT, WL_POINTER_BUTTON_STATE_RELEASED); }); } -#endif d->globalTouch.ids.remove(id); } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kwayland-5.89.0/tests/CMakeLists.txt new/kwayland-5.90.0/tests/CMakeLists.txt --- old/kwayland-5.89.0/tests/CMakeLists.txt 2021-12-04 18:05:03.000000000 +0100 +++ new/kwayland-5.90.0/tests/CMakeLists.txt 2022-01-01 13:19:55.000000000 +0100 @@ -27,23 +27,20 @@ target_link_libraries(pasteClient Qt5::Concurrent KF5::WaylandClient) ecm_mark_as_test(pasteClient) -if (HAVE_LINUX_INPUT_H) - add_executable(touchClientTest touchclienttest.cpp) - target_link_libraries(touchClientTest KF5::WaylandClient) +add_executable(touchClientTest touchclienttest.cpp) +target_link_libraries(touchClientTest KF5::WaylandClient) - - add_executable(panelTest paneltest.cpp) - target_link_libraries(panelTest KF5::WaylandClient) - ecm_mark_as_test(panelTest) - - add_executable(qtwayland-integration-test qtwaylandintegrationtest.cpp) - target_link_libraries(qtwayland-integration-test Qt5::Core Qt5::Gui KF5::WaylandClient) - ecm_mark_as_test(qtwayland-integration-test) - - add_executable(subsurface-test subsurfacetest.cpp) - target_link_libraries(subsurface-test Qt5::Core Qt5::Gui KF5::WaylandClient) - ecm_mark_as_test(subsurface-test) -endif() +add_executable(panelTest paneltest.cpp) +target_link_libraries(panelTest KF5::WaylandClient) +ecm_mark_as_test(panelTest) + +add_executable(qtwayland-integration-test qtwaylandintegrationtest.cpp) +target_link_libraries(qtwayland-integration-test Qt5::Core Qt5::Gui KF5::WaylandClient) +ecm_mark_as_test(qtwayland-integration-test) + +add_executable(subsurface-test subsurfacetest.cpp) +target_link_libraries(subsurface-test Qt5::Core Qt5::Gui KF5::WaylandClient) +ecm_mark_as_test(subsurface-test) add_executable(shadowTest shadowtest.cpp) target_link_libraries(shadowTest KF5::WaylandClient)
