Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package libwpe for openSUSE:Factory checked 
in at 2021-11-29 17:28:19
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libwpe (Old)
 and      /work/SRC/openSUSE:Factory/.libwpe.new.31177 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libwpe"

Mon Nov 29 17:28:19 2021 rev:7 rq:934071 version:1.12.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/libwpe/libwpe.changes    2021-07-21 
19:07:08.451370813 +0200
+++ /work/SRC/openSUSE:Factory/.libwpe.new.31177/libwpe.changes 2021-12-02 
02:17:23.394253689 +0100
@@ -1,0 +2,7 @@
+Thu Nov 25 21:09:15 UTC 2021 - Bj??rn Lie <bjorn....@gmail.com>
+
+- Update to version 1.12.0:
+  + New API to handle requests initiated by web content to
+    (un)fullscreen web views.
+
+-------------------------------------------------------------------

Old:
----
  libwpe-1.10.1.tar.xz

New:
----
  libwpe-1.12.0.tar.xz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ libwpe.spec ++++++
--- /var/tmp/diff_new_pack.m9yBOI/_old  2021-12-02 02:17:23.806252251 +0100
+++ /var/tmp/diff_new_pack.m9yBOI/_new  2021-12-02 02:17:23.810252237 +0100
@@ -21,7 +21,7 @@
 %define sover 1_0-1
 
 Name:           libwpe
-Version:        1.10.1
+Version:        1.12.0
 Release:        0
 Summary:        General-purpose library for the WPE-flavored port of WebKit
 License:        BSD-2-Clause

++++++ libwpe-1.10.1.tar.xz -> libwpe-1.12.0.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libwpe-1.10.1/.github/workflows/ci.yml 
new/libwpe-1.12.0/.github/workflows/ci.yml
--- old/libwpe-1.10.1/.github/workflows/ci.yml  1970-01-01 01:00:00.000000000 
+0100
+++ new/libwpe-1.12.0/.github/workflows/ci.yml  2021-09-30 22:36:19.000000000 
+0200
@@ -0,0 +1,121 @@
+---
+
+name: CI
+
+on: [push]
+
+jobs:
+  linux:
+    runs-on: ubuntu-18.04
+    steps:
+      - name: Checkout
+        uses: actions/checkout@v2
+      - name: Install Debian Packages
+        run: |
+          sudo apt update
+          sudo apt install -y cmake flex libjson-glib-dev libxkbcommon-dev \
+            libegl1-mesa-dev libxml2-dev libxslt1-dev libyaml-dev llvm-dev \
+            libclang-dev libglib2.0-dev ninja-build
+      - name: Setup Python
+        uses: actions/setup-python@v1
+        with:
+          python-version: 3.5
+      - name: Python Package Cache
+        uses: actions/cache@v1
+        with:
+          path: ~/.cache/pip
+          key: ${{ runner.os }}-pip-${{ hashFiles('.github/workflows/ci.yml') 
}}
+          restore-keys: ${{ runner.os }}-pip-
+      - name: Install Python Packages
+        run: |
+          python -m pip install --upgrade pip setuptools wheel
+          HOTDOC_BUILD_C_EXTENSION=enabled pip install hotdoc meson==0.49
+      - name: Meson - Configure
+        run: |
+          mkdir -p _work/meson
+          meson _work/meson/build --prefix /usr -Dbuild-docs=true
+      - name: Meson - Build
+        run: |
+          ninja -C _work/meson/build
+      - name: Meson - Install
+        run: |
+          DESTDIR="$(pwd)/_work/meson/prefix" ninja -C _work/meson/build 
install
+          nm -D -P _work/meson/build/libwpe-1.0.so \
+            | awk '$2 == "T" || $2 == "U" {print $2 " " $1}' \
+            > _work/meson/symbols
+          (cd _work/meson/prefix && find lib -type f | sort) > 
_work/meson/files
+      - name: Meson - Archive Artifacts
+        uses: actions/upload-artifact@v2
+        with:
+          name: build-meson
+          path: _work/meson/prefix
+      - name: CMake - Configure
+        run: |
+          mkdir -p _work/cmake/build && cd $_
+          cmake -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_DOCS=ON ../../..
+      - name: CMake - Build
+        run: |
+          make -C _work/cmake/build -j$(nproc)
+      - name: CMake - Install
+        run: |
+          DESTDIR="$(pwd)/_work/cmake/prefix" make -C _work/cmake/build install
+          nm -D -P _work/cmake/build/libwpe-1.0.so \
+            | awk '$2 == "T" || $2 == "U" {print $2 " " $1}' \
+            > _work/cmake/symbols
+          (cd _work/cmake/prefix && find lib -type f | sort) > 
_work/cmake/files
+      - name: CMake - Archive Artifacts
+        uses: actions/upload-artifact@v2
+        with:
+          name: build-cmake
+          path: _work/cmake/prefix
+      - name: Check Installations
+        run: |
+          diff -u _work/{cmake,meson}/files
+          diff -u _work/{cmake,meson}/symbols
+          diff -Naur _work/{cmake,meson}/prefix/usr/include/
+      - name: Archive Documentation
+        uses: actions/upload-artifact@v2
+        with:
+          name: docs
+          path: _work/cmake/build/Documentation/html
+  publish:
+    if: ${{ github.ref == 'refs/heads/master' }}
+    needs: linux
+    runs-on: ubuntu-18.04
+    steps:
+      - name: Fetch Documentation
+        uses: actions/download-artifact@v2
+        with:
+          name: docs
+          path: html
+      - name: Deploy Documentation
+        uses: peaceiris/actions-gh-pages@v3
+        with:
+          github_token: ${{ secrets.GITHUB_TOKEN }}
+          force_orphan: true
+          publish_dir: html
+  windows:
+    runs-on: windows-latest
+    env:
+      PYTHONIOENCODING: "utf-8"
+    steps:
+      - name: Checkout
+        uses: actions/checkout@v2
+      - name: Setup Python
+        uses: actions/setup-python@v1
+      - name: Setup MSVC
+        uses: seanmiddleditch/gha-setup-vsdevenv@master
+      - name: Install Bison
+        run: |
+          choco install winflexbison3 -y --no-progress --stop-on-first-failure
+      - name: Build
+        uses: BSFishy/meson-build@v1.0.3
+        with:
+          action: build
+          meson-version: 0.56.0
+          setup-options: >-
+            -Dbuild-docs=false
+            -Dlibxkbcommon:enable-docs=false
+            -Dlibxkbcommon:enable-wayland=false
+            -Dlibxkbcommon:enable-x11=false
+            -Dlibxkbcommon:enable-xkbregistry=false
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libwpe-1.10.1/.gitignore new/libwpe-1.12.0/.gitignore
--- old/libwpe-1.10.1/.gitignore        1970-01-01 01:00:00.000000000 +0100
+++ new/libwpe-1.12.0/.gitignore        2021-09-30 22:36:19.000000000 +0200
@@ -0,0 +1,10 @@
+/CMakeCache.txt
+/CMakeFiles/
+/DerivedSources/
+/Makefile
+/build.ninja
+/compile_commands.json
+/*.cmake
+/lib*.so*
+/wpe-fdo/
+/wpe-*.pc
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libwpe-1.10.1/CMakeLists.txt 
new/libwpe-1.12.0/CMakeLists.txt
--- old/libwpe-1.10.1/CMakeLists.txt    2021-06-10 12:33:10.071430400 +0200
+++ new/libwpe-1.12.0/CMakeLists.txt    2021-09-30 22:36:19.000000000 +0200
@@ -15,7 +15,7 @@
 # - If binary compatibility has been broken (eg removed or changed interfaces)
 #   change to C+1:0:0
 # - If the interface is the same as the previous version, change to C:R+1:A
-CALCULATE_LIBRARY_VERSIONS_FROM_LIBTOOL_TRIPLE(LIBWPE 6 2 5)
+CALCULATE_LIBRARY_VERSIONS_FROM_LIBTOOL_TRIPLE(LIBWPE 7 0 6)
 
 project(libwpe VERSION "${PROJECT_VERSION}")
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libwpe-1.10.1/NEWS new/libwpe-1.12.0/NEWS
--- old/libwpe-1.10.1/NEWS      2021-06-10 12:33:10.071430400 +0200
+++ new/libwpe-1.12.0/NEWS      2021-09-30 22:36:19.000000000 +0200
@@ -1,29 +1,16 @@
-======================
-1.10.1 - June 10, 2021
-======================
+===========================
+1.12.0 - September 30, 2021
+===========================
 
-- Fix the build with versions of Python older than 3.6
+- This release does not contain changes over the 1.11.1 development release.
 
 =======================
-1.10.0 - March 26, 2021
+1.11.1 - August 4, 2021
 =======================
 
-- This release does not contain changes over the 1.9.91 development release.
-
-=======================
-1.9.91 - March 15, 2021
-=======================
-
-- New API to explicitly deinitialize an EGL renderer target, which allows
-  implementors of the wpe_renderer_backend_egl_target_interface to
-  differentiate between destruction and deinitialization.
-
-======================
-1.9.90 - March 6, 2021
-======================
-
-- Improve build system reliability by avoiding generated headers.
-- Fix usage of libwpe as a Meson subproject.
+- New API to handle requests initiated by web content to (un)fullscreen web
+  views.
+- Support building on Windows.
 
 ========================
 1.9.1 - January 18, 2021
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libwpe-1.10.1/include/wpe/libwpe-version.h 
new/libwpe-1.12.0/include/wpe/libwpe-version.h
--- old/libwpe-1.10.1/include/wpe/libwpe-version.h      2021-06-10 
12:33:10.074763800 +0200
+++ new/libwpe-1.12.0/include/wpe/libwpe-version.h      2021-09-30 
22:36:19.000000000 +0200
@@ -9,7 +9,7 @@
 #define LIBWPE_VERSION_H
 
 #define WPE_MAJOR_VERSION 1
-#define WPE_MINOR_VERSION 10
-#define WPE_MICRO_VERSION 1
+#define WPE_MINOR_VERSION 12
+#define WPE_MICRO_VERSION 0
 
 #endif /* !LIBWPE_VERSION_H */
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libwpe-1.10.1/include/wpe/renderer-backend-egl.h 
new/libwpe-1.12.0/include/wpe/renderer-backend-egl.h
--- old/libwpe-1.10.1/include/wpe/renderer-backend-egl.h        2021-06-10 
12:33:10.074763800 +0200
+++ new/libwpe-1.12.0/include/wpe/renderer-backend-egl.h        2021-09-30 
22:36:19.000000000 +0200
@@ -41,7 +41,25 @@
 #include "export.h"
 #endif
 
-#include <EGL/eglplatform.h>
+#ifdef _WIN32
+/*
+ * Only the definitions for the display and window types are needed,
+ * and getting an EGL implementation for Windows typically involves
+ * building ANGLE, so to simplify the process of building libwpe it
+ * is enough to define the types accordingly in the same way as the
+ * official Khronos header:
+ *       https://www.khronos.org/registry/EGL/api/EGL/eglplatform.h
+ */
+# ifndef WIN32_LEAN_AND_MEAN
+# define WIN32_LEAN_AND_MEAN 1
+# endif /* !WIN32_LEAN_AND_MEAN */
+# include <windows.h>
+typedef HDC  EGLNativeDisplayType;
+typedef HWND EGLNativeWindowType;
+#else
+# include <EGL/eglplatform.h>
+#endif
+
 #include <stdint.h>
 
 #ifdef __cplusplus
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libwpe-1.10.1/include/wpe/view-backend.h 
new/libwpe-1.12.0/include/wpe/view-backend.h
--- old/libwpe-1.10.1/include/wpe/view-backend.h        2021-06-10 
12:33:10.074763800 +0200
+++ new/libwpe-1.12.0/include/wpe/view-backend.h        2021-09-30 
22:36:19.000000000 +0200
@@ -45,6 +45,7 @@
 extern "C" {
 #endif
 
+#include <stdbool.h>
 #include <stdint.h>
 
 struct wpe_view_backend;
@@ -56,6 +57,7 @@
 
 struct wpe_view_backend_client;
 struct wpe_view_backend_input_client;
+struct wpe_view_backend_fullscreen_client;
 
 struct wpe_view_backend_interface {
     void* (*create)(void*, struct wpe_view_backend*);
@@ -97,6 +99,53 @@
 void
 wpe_view_backend_set_input_client(struct wpe_view_backend*, const struct 
wpe_view_backend_input_client*, void*);
 
+/**
+ * wpe_view_backend_set_fullscreen_client:
+ * @view_backend: (transfer none): The view backend to obtains events from.
+ * @client: (transfer none): Client with callbacks for the events.
+ * @userdata: (transfer none): User data passed to client callbacks.
+ * 
+ * Configure a @client with callbacks invoked for DOM fullscreen requests.
+ * 
+ * This function must be only used once for a given @view_backend, the client
+ * cannot be changed once it has been set.
+ *
+ * Since: 1.12
+ */
+WPE_EXPORT
+void
+wpe_view_backend_set_fullscreen_client(struct wpe_view_backend*, const struct 
wpe_view_backend_fullscreen_client*, void*);
+
+/**
+ * wpe_view_backend_fullscreen_handler:
+ * @userdata: (transfer none): User data passed to the embedder.
+ * @enable: (transfer none): User data passed to the embedder.
+ * 
+ * Type of functions used by an embedder to implement fullscreening web views.
+ *
+ * Returns: a boolean indicating whether the operation was completed.
+ * 
+ * Since: 1.12
+ */
+typedef bool (*wpe_view_backend_fullscreen_handler)(void *userdata, bool 
enable);
+
+/**
+ * wpe_view_backend_set_fullscreen_handler:
+ * @view_backend: (transfer none): The view backend to obtains events from.
+ * @handler: (transfer none): Function used by an embedder to implement 
fullscreening web views.
+ * @userdata: (transfer none): User data passed to the handler function.
+ * 
+ * Handler function set by an embedder to implement fullscreening web views.
+ * 
+ * This function must be only used once for a given @view_backend, the handler
+ * cannot be changed once it has been set.
+ *
+ * Since: 1.12
+ */
+WPE_EXPORT
+void
+wpe_view_backend_set_fullscreen_handler(struct wpe_view_backend*, 
wpe_view_backend_fullscreen_handler handler, void* userdata);
+
 WPE_EXPORT
 void
 wpe_view_backend_initialize(struct wpe_view_backend*);
@@ -179,6 +228,97 @@
 void
 wpe_view_backend_dispatch_touch_event(struct wpe_view_backend*, struct 
wpe_input_touch_event*);
 
+/**
+ * wpe_view_backend_fullscreen_client:
+ * @did_enter_fullscreen: Invoked after fullscreen has been successfully 
entered.
+ * @did_exit_fullscreen: Invoked after fullscreen has been exited.
+ * @request_enter_fullscreen: Invoked after user has requested to enter 
fullscreen.
+ * @request_exit_fullscreen: Invoked after user has requested to exit 
fullscreen.
+ *
+ * A view backend's fullscreen client provides a series of callback functions
+ * which are invoked at different stages when a web view becomes fullscreened
+ * and back.
+ *
+ * Since: 1.12
+ */
+struct wpe_view_backend_fullscreen_client {
+    void (*did_enter_fullscreen)(void*);
+    void (*did_exit_fullscreen)(void*);
+    void (*request_enter_fullscreen)(void*);
+    void (*request_exit_fullscreen)(void*);
+
+    /*< private >*/
+    void (*_wpe_reserved0)(void);
+    void (*_wpe_reserved1)(void);
+    void (*_wpe_reserved2)(void);
+    void (*_wpe_reserved3)(void);
+};
+
+/**
+ * wpe_view_backend_platform_set_fullscreen:
+ * @view_backend: (transfer none): The view backend which fullscreen state 
will be changed.
+ * @fullscreen: (transfer none): True if fullscreen.
+ * 
+ * Returns: a boolean indicating whether the operation was completed.
+ * 
+ * DOM content calls this function to request the platform to enter/exit 
fullscreen.
+ * The platform will attempt to change it's window fullscreen state.
+ *
+ * Since: 1.12
+ */
+WPE_EXPORT
+bool
+wpe_view_backend_platform_set_fullscreen(struct wpe_view_backend*, bool);
+
+/**
+ * wpe_view_backend_dispatch_did_enter_fullscreen:
+ * @view_backend: (transfer none): The view backend that triggered the event.
+ * 
+ * Dispatchs the event that indicates fullscreen has been successfully entered.
+ *
+ * Since: 1.12
+ */
+WPE_EXPORT
+void
+wpe_view_backend_dispatch_did_enter_fullscreen(struct wpe_view_backend*);
+
+/**
+ * wpe_view_backend_dispatch_did_exit_fullscreen:
+ * @view_backend: (transfer none): The view backend that triggered the event.
+ * 
+ * Dispatchs the event that indicated fullscreen has been successfully entered.
+ *
+ * Since: 1.12
+ */
+WPE_EXPORT
+void
+wpe_view_backend_dispatch_did_exit_fullscreen(struct wpe_view_backend*);
+
+/**
+ * wpe_view_backend_dispatch_request_enter_fullscreen:
+ * @view_backend: (transfer none): The view backend that triggered the event.
+ * 
+ * Dispatchs the event that indicates user wants to enter DOM fullscreen state.
+ *
+ * Since: 1.12
+ */
+WPE_EXPORT
+void
+wpe_view_backend_dispatch_request_enter_fullscreen(struct wpe_view_backend*);
+
+/**
+ * wpe_view_backend_dispatch_request_exit_fullscreen:
+ * @view_backend: (transfer none): The view backend that triggered the event.
+ * 
+ * Dispatchs the event that indicates user wants to exit DOM fullscreen state.
+ *
+ * Since: 1.12
+ */
+WPE_EXPORT
+void
+wpe_view_backend_dispatch_request_exit_fullscreen(struct wpe_view_backend*);
+
+
 #ifdef __cplusplus
 }
 #endif
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libwpe-1.10.1/meson.build 
new/libwpe-1.12.0/meson.build
--- old/libwpe-1.10.1/meson.build       2021-06-10 12:33:10.074763800 +0200
+++ new/libwpe-1.12.0/meson.build       2021-09-30 22:36:19.000000000 +0200
@@ -3,7 +3,6 @@
        default_options: [
                'b_ndebug=if-release',
                'c_std=c99',
-               'cpp_eh=none',
                'cpp_std=c++11',
        ],
        license: 'BSD-2-Clause',
@@ -22,7 +21,7 @@
 # - If binary compatibility has been broken (eg removed or changed interfaces)
 #   change to [C+1, 0, 0]
 # - If the interface is the same as the previous version, use [C, R+1, A].
-soversion = [6, 2, 5]
+soversion = [7, 0, 6]
 
 # Mangle [C, R, A] into an actual usable *soversion*.
 soversion_major = soversion[0] - soversion[2]  # Current-Age
@@ -35,7 +34,7 @@
 # Switch to the 'cpp_rtti=false' default option when updating to Meson 0.53 or 
newer, see
 # 
https://mesonbuild.com/FAQ.html#how-do-i-disable-exceptions-and-rtti-in-my-c-project
 add_project_arguments(
-       meson.get_compiler('cpp').get_supported_arguments(['-fno-rtti']),
+       meson.get_compiler('cpp').get_supported_arguments(['-fno-rtti', 
'-fno-exceptions']),
        language: 'cpp'
 )
 
@@ -44,9 +43,21 @@
        add_project_arguments('-DWPE_BACKEND="@0@"'.format(default_backend), 
language: ['c', 'cpp'])
 endif
 
-dependencies = [
-       dependency('xkbcommon'),
-]
+dependencies = []
+
+#
+# Meson 0.55.0 is needed for "patch_directory" in .wrap files
+# and for the "allow_fallback" keyword in dependency() calls.
+#
+can_allow_fallback = meson.version().version_compare('>=0.55.0')
+
+if can_allow_fallback
+       dependencies += dependency('xkbcommon',
+               fallback: ['libxkbcommon', 'libxkbcommon_dep'],
+       )
+else
+       dependencies += dependency('xkbcommon')
+endif
 
 cc = meson.get_compiler('c')
 egl_dep = dependency('egl', required: false)
@@ -55,14 +66,20 @@
                compile_args: true,
                includes: true,
        )
-else
+elif target_machine.system() != 'windows'
        assert(cc.has_header('EGL/eglplatform.h'),
                'Required header <EGL/eglplatform.h> not found'
        )
 endif
 
 if not cc.has_function('dlopen')
-       dependencies += cc.find_library('dl')
+       dl_dep = cc.find_library('dl', required: not can_allow_fallback)
+       if can_allow_fallback and not dl_dep.found()
+               dl_dep = dependency('dl', required: true,
+                       allow_fallback: target_machine.system() == 'windows',
+               )
+       endif
+       dependencies += dl_dep
 endif
 
 libwpe = library('wpe-' + api_version,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libwpe-1.10.1/src/view-backend-private.h 
new/libwpe-1.12.0/src/view-backend-private.h
--- old/libwpe-1.10.1/src/view-backend-private.h        2021-06-10 
12:33:10.074763800 +0200
+++ new/libwpe-1.12.0/src/view-backend-private.h        2021-09-30 
22:36:19.000000000 +0200
@@ -42,6 +42,12 @@
     const struct wpe_view_backend_input_client* input_client;
     void* input_client_data;
 
+    const struct wpe_view_backend_fullscreen_client* fullscreen_client;
+    void* fullscreen_client_data;
+
+    wpe_view_backend_fullscreen_handler fullscreen_handler;
+    void* fullscreen_handler_data;
+
     uint32_t activity_state;
 };
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libwpe-1.10.1/src/view-backend.c 
new/libwpe-1.12.0/src/view-backend.c
--- old/libwpe-1.10.1/src/view-backend.c        2021-06-10 12:33:10.074763800 
+0200
+++ new/libwpe-1.12.0/src/view-backend.c        2021-09-30 22:36:19.000000000 
+0200
@@ -27,6 +27,7 @@
 #include "view-backend-private.h"
 
 #include "loader-private.h"
+#include <assert.h>
 #include <stdlib.h>
 
 
@@ -65,6 +66,9 @@
     backend->input_client = 0;
     backend->input_client_data = 0;
 
+    backend->fullscreen_client = NULL;
+    backend->fullscreen_client_data = NULL;
+
     backend->activity_state = 0;
 
     free(backend);
@@ -94,6 +98,15 @@
 }
 
 void
+wpe_view_backend_set_fullscreen_client(struct wpe_view_backend* backend, const 
struct wpe_view_backend_fullscreen_client* client, void* client_data)
+{
+    assert(!backend->fullscreen_client);
+
+    backend->fullscreen_client = client;
+    backend->fullscreen_client_data = client_data;
+}
+
+void
 wpe_view_backend_initialize(struct wpe_view_backend* backend)
 {
     backend->base.interface->initialize(backend->base.interface_data);
@@ -187,3 +200,48 @@
     if (backend->input_client)
         backend->input_client->handle_touch_event(backend->input_client_data, 
event);
 }
+
+void
+wpe_view_backend_set_fullscreen_handler(struct wpe_view_backend* backend, 
wpe_view_backend_fullscreen_handler handler, void* userdata)
+{
+    assert(!backend->fullscreen_handler);
+
+    backend->fullscreen_handler = handler;
+    backend->fullscreen_handler_data = userdata;
+}
+
+bool
+wpe_view_backend_platform_set_fullscreen(struct wpe_view_backend* backend, 
bool fullscreen)
+{
+    if (backend->fullscreen_handler)
+        return backend->fullscreen_handler(backend->fullscreen_handler_data, 
fullscreen);
+    return false;
+}
+
+void
+wpe_view_backend_dispatch_did_enter_fullscreen(struct wpe_view_backend* 
backend)
+{
+    if (backend->fullscreen_client)
+        
backend->fullscreen_client->did_enter_fullscreen(backend->fullscreen_client_data);
+}
+
+void
+wpe_view_backend_dispatch_did_exit_fullscreen(struct wpe_view_backend* backend)
+{
+    if (backend->fullscreen_client)
+        
backend->fullscreen_client->did_exit_fullscreen(backend->fullscreen_client_data);
+}
+
+void
+wpe_view_backend_dispatch_request_enter_fullscreen(struct wpe_view_backend* 
backend)
+{
+    if (backend->fullscreen_client)
+        
backend->fullscreen_client->request_enter_fullscreen(backend->fullscreen_client_data);
+}
+
+void
+wpe_view_backend_dispatch_request_exit_fullscreen(struct wpe_view_backend* 
backend)
+{
+    if (backend->fullscreen_client)
+        
backend->fullscreen_client->request_exit_fullscreen(backend->fullscreen_client_data);
+}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libwpe-1.10.1/subprojects/dlfcn-win32.wrap 
new/libwpe-1.12.0/subprojects/dlfcn-win32.wrap
--- old/libwpe-1.10.1/subprojects/dlfcn-win32.wrap      1970-01-01 
01:00:00.000000000 +0100
+++ new/libwpe-1.12.0/subprojects/dlfcn-win32.wrap      2021-09-30 
22:36:19.000000000 +0200
@@ -0,0 +1,9 @@
+[wrap-file]
+directory = dlfcn-win32-1.3.0
+source_url = 
https://github.com/dlfcn-win32/dlfcn-win32/archive/refs/tags/v1.3.0.tar.gz
+source_filename = dlfcn-win32-1.3.0.tar.gz
+source_hash = 24c69d43ddc9243fd2639a07495a7e0714278e8d3d0e124afdbab892dbb4a92d
+patch_directory = dlfcn-win32-1.3.0
+
+[provide]
+dl = dlfcn_win32_dep
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libwpe-1.10.1/subprojects/libxkbcommon.wrap 
new/libwpe-1.12.0/subprojects/libxkbcommon.wrap
--- old/libwpe-1.10.1/subprojects/libxkbcommon.wrap     1970-01-01 
01:00:00.000000000 +0100
+++ new/libwpe-1.12.0/subprojects/libxkbcommon.wrap     2021-09-30 
22:36:19.000000000 +0200
@@ -0,0 +1,3 @@
+[wrap-git]
+revision = 9d87f8491595e0a6bd2d8b3eff266712c9b5c63d
+url = https://github.com/xkbcommon/libxkbcommon
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/libwpe-1.10.1/subprojects/packagefiles/dlfcn-win32-1.3.0/meson.build 
new/libwpe-1.12.0/subprojects/packagefiles/dlfcn-win32-1.3.0/meson.build
--- old/libwpe-1.10.1/subprojects/packagefiles/dlfcn-win32-1.3.0/meson.build    
1970-01-01 01:00:00.000000000 +0100
+++ new/libwpe-1.12.0/subprojects/packagefiles/dlfcn-win32-1.3.0/meson.build    
2021-09-30 22:36:19.000000000 +0200
@@ -0,0 +1,12 @@
+project(
+       'dlfcn-win32',
+       'c',
+       version: '1.3.0',
+)
+
+dlfcn_win32_lib = static_library('dl', 'src/dlfcn.c', pic: true)
+
+dlfcn_win32_dep = declare_dependency(
+       link_with: dlfcn_win32_lib,
+       include_directories: include_directories('src'),
+)

Reply via email to