Hello community, here is the log from the commit of package xdg-desktop-portal-kde for openSUSE:Leap:15.2 checked in at 2020-02-25 12:18:36 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Leap:15.2/xdg-desktop-portal-kde (Old) and /work/SRC/openSUSE:Leap:15.2/.xdg-desktop-portal-kde.new.26092 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "xdg-desktop-portal-kde" Tue Feb 25 12:18:36 2020 rev:54 rq:778959 version:5.18.1 Changes: -------- --- /work/SRC/openSUSE:Leap:15.2/xdg-desktop-portal-kde/xdg-desktop-portal-kde.changes 2020-02-16 18:30:46.618795164 +0100 +++ /work/SRC/openSUSE:Leap:15.2/.xdg-desktop-portal-kde.new.26092/xdg-desktop-portal-kde.changes 2020-02-25 12:18:42.824622784 +0100 @@ -1,0 +2,12 @@ +Tue Feb 18 14:05:59 UTC 2020 - Fabian Vogt <fab...@ritter-vogt.de> + +- Update to 5.18.1 + * New bugfix release + * For more details please see: + * https://www.kde.org/announcements/plasma-5.18.1.php +- Changes since 5.18.0: + * PipeWire: set stream and offset information for the buffer + * Properly combine pipewire and spa includes + * Properly search for PipeWire libs + +------------------------------------------------------------------- Old: ---- xdg-desktop-portal-kde-5.18.0.tar.xz xdg-desktop-portal-kde-5.18.0.tar.xz.sig New: ---- xdg-desktop-portal-kde-5.18.1.tar.xz xdg-desktop-portal-kde-5.18.1.tar.xz.sig ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ xdg-desktop-portal-kde.spec ++++++ --- /var/tmp/diff_new_pack.gfvKSC/_old 2020-02-25 12:18:43.148623456 +0100 +++ /var/tmp/diff_new_pack.gfvKSC/_new 2020-02-25 12:18:43.148623456 +0100 @@ -25,15 +25,15 @@ %define kf5_version 5.50.0 Name: xdg-desktop-portal-kde -Version: 5.18.0 +Version: 5.18.1 Release: 0 Summary: QT/KF5 backend for xdg-desktop-portal License: LGPL-2.1-or-later Group: System/Libraries Url: http://www.kde.org -Source: xdg-desktop-portal-kde-%{version}.tar.xz +Source: https://download.kde.org/stable/plasma/%{version}/xdg-desktop-portal-kde-%{version}.tar.xz %if %{with lang} -Source1: xdg-desktop-portal-kde-%{version}.tar.xz.sig +Source1: https://download.kde.org/stable/plasma/%{version}/xdg-desktop-portal-kde-%{version}.tar.xz.sig Source2: plasma.keyring %endif BuildRequires: extra-cmake-modules >= %{kf5_version} ++++++ xdg-desktop-portal-kde-5.18.0.tar.xz -> xdg-desktop-portal-kde-5.18.1.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/xdg-desktop-portal-kde-5.18.0/CMakeLists.txt new/xdg-desktop-portal-kde-5.18.1/CMakeLists.txt --- old/xdg-desktop-portal-kde-5.18.0/CMakeLists.txt 2020-02-06 14:35:12.000000000 +0100 +++ new/xdg-desktop-portal-kde-5.18.1/CMakeLists.txt 2020-02-18 14:29:49.000000000 +0100 @@ -2,7 +2,7 @@ project(xdg-desktop-portal-kde) -set(PROJECT_VERSION "5.18.0") +set(PROJECT_VERSION "5.18.1") set(PROJECT_VERSION_MAJOR 5) set(QT_MIN_VERSION "5.12.0") diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/xdg-desktop-portal-kde-5.18.0/cmake/modules/FindPipeWire.cmake new/xdg-desktop-portal-kde-5.18.1/cmake/modules/FindPipeWire.cmake --- old/xdg-desktop-portal-kde-5.18.0/cmake/modules/FindPipeWire.cmake 2020-02-06 14:34:45.000000000 +0100 +++ new/xdg-desktop-portal-kde-5.18.1/cmake/modules/FindPipeWire.cmake 2020-02-18 14:29:20.000000000 +0100 @@ -32,7 +32,7 @@ #============================================================================= # Copyright 2014 Alex Merry <alex.me...@kde.org> # Copyright 2014 Martin Gräßlin <mgraess...@kde.org> -# Copyright 2018 Jan Grulich <jgrul...@redhat.com> +# Copyright 2018-2020 Jan Grulich <jgrul...@redhat.com> # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions @@ -61,9 +61,11 @@ # Use pkg-config to get the directories and then use these values # in the FIND_PATH() and FIND_LIBRARY() calls find_package(PkgConfig QUIET) -pkg_check_modules(PKG_PipeWire QUIET libpipewire-0.2 libpipewire-0.3) -set(PipeWire_DEFINITIONS "${PKG_PipeWire_CFLAGS_OTHER}") +pkg_search_module(PKG_PipeWire QUIET libpipewire-0.3 libpipewire-0.2) +pkg_search_module(PKG_Spa QUIET libspa-0.2 libspa-0.1) + +set(PipeWire_DEFINITIONS "${PKG_PipeWire_CFLAGS}" "${PKG_Spa_CFLAGS}") set(PipeWire_VERSION "${PKG_PipeWire_VERSION}") find_path(PipeWire_INCLUDE_DIRS @@ -71,13 +73,23 @@ pipewire/pipewire.h HINTS ${PKG_PipeWire_INCLUDE_DIRS} + ${PKG_PipeWire_INCLUDE_DIRS}/pipewire-0.3 +) + +find_path(Spa_INCLUDE_DIRS + NAMES + spa/param/props.h + HINTS + ${PKG_Spa_INCLUDE_DIRS} + ${PKG_Spa_INCLUDE_DIRS}/spa-0.2 ) find_library(PipeWire_LIBRARIES NAMES - pipewire-0.2 pipewire-0.3 + pipewire-0.3 + pipewire-0.2 HINTS - ${PKG_PipeWire_LIBRARIES_DIRS} + ${PKG_PipeWire_LIBRARY_DIRS} ) include(FindPackageHandleStandardArgs) @@ -87,6 +99,7 @@ REQUIRED_VARS PipeWire_LIBRARIES PipeWire_INCLUDE_DIRS + Spa_INCLUDE_DIRS VERSION_VAR PipeWire_VERSION ) @@ -96,7 +109,7 @@ set_target_properties(PipeWire::PipeWire PROPERTIES IMPORTED_LOCATION "${PipeWire_LIBRARIES}" INTERFACE_COMPILE_OPTIONS "${PipeWire_DEFINITIONS}" - INTERFACE_INCLUDE_DIRECTORIES "${PipeWire_INCLUDE_DIRS}" + INTERFACE_INCLUDE_DIRECTORIES "${PipeWire_INCLUDE_DIRS};${Spa_INCLUDE_DIRS}" ) endif() diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/xdg-desktop-portal-kde-5.18.0/po/nn/xdg-desktop-portal-kde.po new/xdg-desktop-portal-kde-5.18.1/po/nn/xdg-desktop-portal-kde.po --- old/xdg-desktop-portal-kde-5.18.0/po/nn/xdg-desktop-portal-kde.po 2020-02-06 14:35:06.000000000 +0100 +++ new/xdg-desktop-portal-kde-5.18.1/po/nn/xdg-desktop-portal-kde.po 2020-02-18 14:29:43.000000000 +0100 @@ -6,7 +6,7 @@ msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: https://bugs.kde.org\n" -"POT-Creation-Date: 2019-10-26 03:16+0200\n" +"POT-Creation-Date: 2020-01-31 08:34+0100\n" "PO-Revision-Date: 2019-10-26 12:23+0200\n" "Last-Translator: Karl Ove Hufthammer <k...@huftis.org>\n" "Language-Team: Norwegian Nynorsk <i18n...@lister.ping.uio.no>\n" @@ -199,12 +199,12 @@ msgid "Take screenshot" msgstr "Ta skjermbilete" -#: src/waylandintegration.cpp:372 +#: src/waylandintegration.cpp:394 #, kde-format msgid "xdg-desktop-portals-kde" msgstr "xdg-desktop-portals-kde" -#: src/waylandintegration.cpp:372 +#: src/waylandintegration.cpp:394 #, kde-format msgid "Remote desktop" msgstr "Nettverksskrivebord" \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/xdg-desktop-portal-kde-5.18.0/src/screencaststream.cpp new/xdg-desktop-portal-kde-5.18.1/src/screencaststream.cpp --- old/xdg-desktop-portal-kde-5.18.0/src/screencaststream.cpp 2020-02-06 14:34:45.000000000 +0100 +++ new/xdg-desktop-portal-kde-5.18.1/src/screencaststream.cpp 2020-02-18 14:29:20.000000000 +0100 @@ -249,7 +249,6 @@ int32_t width, height, stride, size; struct spa_pod_builder pod_builder; const struct spa_pod *params[1]; - const int bpp = 4; #if PW_CHECK_VERSION(0, 2, 90) if (!format || id != SPA_PARAM_Format) { @@ -268,7 +267,7 @@ width = pw->videoFormat.size.width; height =pw->videoFormat.size.height; - stride = SPA_ROUND_UP_N (width * bpp, 4); + stride = SPA_ROUND_UP_N (width * BITS_PER_PIXEL, 4); size = height * stride; pod_builder = SPA_POD_BUILDER_INIT (paramsBuffer, sizeof (paramsBuffer)); @@ -518,7 +517,9 @@ memcpy(data, screenData, BITS_PER_PIXEL * videoFormat.size.height * videoFormat.size.width * sizeof(uint8_t)); + spa_buffer->datas[0].chunk->offset = 0; spa_buffer->datas[0].chunk->size = spa_buffer->datas[0].maxsize; + spa_buffer->datas[0].chunk->stride = SPA_ROUND_UP_N (videoFormat.size.width * BITS_PER_PIXEL, 4); pw_stream_queue_buffer(pwStream, buffer); return true;