Hello community,

here is the log from the commit of package libwpe for openSUSE:Factory checked 
in at 2020-10-26 16:11:35
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libwpe (Old)
 and      /work/SRC/openSUSE:Factory/.libwpe.new.3463 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libwpe"

Mon Oct 26 16:11:35 2020 rev:4 rq:843380 version:1.8.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/libwpe/libwpe.changes    2020-04-23 
18:29:06.171934523 +0200
+++ /work/SRC/openSUSE:Factory/.libwpe.new.3463/libwpe.changes  2020-10-26 
16:12:03.514702165 +0100
@@ -1,0 +2,11 @@
+Thu Sep 17 22:55:56 UTC 2020 - Michael Gorse <mgo...@suse.com>
+
+- Update to version 1.8.0:
+  + New build configuration system based on Meson. The existing
+    CMake-based system is still maintained, and both produce the
+    same outputs.
+  + Hidden visibility is now used by default for symbols, and only
+    those belonging to the public API are exported.
+- Switch to meson.
+
+-------------------------------------------------------------------

Old:
----
  libwpe-1.6.0.tar.xz

New:
----
  libwpe-1.8.0.tar.xz

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

Other differences:
------------------
++++++ libwpe.spec ++++++
--- /var/tmp/diff_new_pack.7pchio/_old  2020-10-26 16:12:05.946704404 +0100
+++ /var/tmp/diff_new_pack.7pchio/_new  2020-10-26 16:12:05.950704407 +0100
@@ -21,7 +21,7 @@
 %define sover 1_0-1
 
 Name:           libwpe
-Version:        1.6.0
+Version:        1.8.0
 Release:        0
 Summary:        General-purpose library for the WPE-flavored port of WebKit
 License:        BSD-2-Clause
@@ -30,7 +30,7 @@
 Source99:       baselibs.conf
 
 BuildRequires:  c++_compiler
-BuildRequires:  cmake
+BuildRequires:  meson >= 0.49
 BuildRequires:  pkgconfig
 BuildRequires:  pkgconfig(egl)
 BuildRequires:  pkgconfig(xkbcommon)
@@ -59,12 +59,12 @@
 %autosetup -p1
 
 %build
-%cmake \
+%meson \
        %{nil}
-%cmake_build
+%meson_build
 
 %install
-%cmake_install
+%meson_install
 
 %post -n %{name}-%{sover} -p /sbin/ldconfig
 %postun -n %{name}-%{sover} -p /sbin/ldconfig

++++++ libwpe-1.6.0.tar.xz -> libwpe-1.8.0.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libwpe-1.6.0/.gitignore new/libwpe-1.8.0/.gitignore
--- old/libwpe-1.6.0/.gitignore 2020-03-11 23:35:46.000000000 +0100
+++ new/libwpe-1.8.0/.gitignore 1970-01-01 01:00:00.000000000 +0100
@@ -1,10 +0,0 @@
-/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.6.0/.travis.yml new/libwpe-1.8.0/.travis.yml
--- old/libwpe-1.6.0/.travis.yml        2020-03-11 23:35:46.000000000 +0100
+++ new/libwpe-1.8.0/.travis.yml        1970-01-01 01:00:00.000000000 +0100
@@ -1,41 +0,0 @@
-language: python
-dist: xenial
-sudo: false
-
-git:
-  depth: false
-  quiet: true
-
-addons:
-  apt:
-    packages:
-      - cmake
-      - libegl1-mesa-dev
-      - libjson-glib-dev
-      - libxkbcommon-dev
-      - ninja-build
-
-python:
-  - "3.7"
-
-env:
-  matrix:
-    - BUILD_TYPE=Debug   BUILD_DOCS=OFF
-    - BUILD_TYPE=Release BUILD_DOCS=ON
-
-cache:
-  - ccache
-  - pip
-
-install: |-
-  : 'Install HotDoc if needed'
-  if [[ ${BUILD_DOCS} = ON ]] ; then
-    pip install HotDoc
-  fi
-
-script: |-
-  : 'Build'
-  set -e
-  mkdir _build && cd $_
-  cmake .. -DCMAKE_BUILD_TYPE=${BUILD_TYPE} -DBUILD_DOCS=${BUILD_DOCS}
-  TERM=dumb cmake --build . --parallel $(nproc)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libwpe-1.6.0/CMakeLists.txt 
new/libwpe-1.8.0/CMakeLists.txt
--- old/libwpe-1.6.0/CMakeLists.txt     2020-03-11 23:35:46.000000000 +0100
+++ new/libwpe-1.8.0/CMakeLists.txt     2020-09-11 14:06:36.887286700 +0200
@@ -4,7 +4,7 @@
 set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake")
 include(VersioningUtils)
 
-SET_PROJECT_VERSION(1 6 0)
+SET_PROJECT_VERSION(1 8 0)
 set(WPE_API_VERSION "1.0")
 
 # Before making a release, the LT_VERSION string should be modified.
@@ -14,7 +14,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 4 2 3)
+CALCULATE_LIBRARY_VERSIONS_FROM_LIBTOOL_TRIPLE(LIBWPE 5 3 4)
 
 project(libwpe VERSION "${PROJECT_VERSION}")
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libwpe-1.6.0/NEWS new/libwpe-1.8.0/NEWS
--- old/libwpe-1.6.0/NEWS       2020-03-11 23:35:46.000000000 +0100
+++ new/libwpe-1.8.0/NEWS       2020-09-11 14:06:36.887286700 +0200
@@ -1,15 +1,23 @@
-======================
-1.6.0 - March 11, 2020
-======================
-
-- Ensure that only symbols marked with WPE_EXPORT are public.
-
-======================
-1.5.90 - March 2, 2020
-======================
+==========================
+1.8.0 - September 11, 2020
+==========================
 
-- Added support for smooth 2D axis input events.
-- Improved robustness of the CMake build system.
+- This release does not contain changes over the 1.7.90 development release
+
+==========================
+1.7.90 - September 4, 2020
+==========================
+
+- This release does not contain changes over the 1.7.1 development release
+
+=====================
+1.7.1 - July 29, 2020
+=====================
+
+- New build configuration system based on Meson. The existing CMake-based
+  system is still maintained, and both produce the same outputs.
+- Hidden visibility is now used by default for symbols, and only those
+  belonging to the public API are exported.
 
 =====================
 1.3.1 - June 17, 2019
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libwpe-1.6.0/meson.build new/libwpe-1.8.0/meson.build
--- old/libwpe-1.6.0/meson.build        1970-01-01 01:00:00.000000000 +0100
+++ new/libwpe-1.8.0/meson.build        2020-09-11 14:06:36.890620000 +0200
@@ -0,0 +1,146 @@
+project('libwpe', 'cpp', 'c',
+       meson_version: '>=0.49',
+       default_options: [
+               'b_ndebug=if-release',
+               'c_std=c99',
+               'cpp_eh=none',
+               'cpp_std=c++11',
+       ],
+       license: 'BSD-2-Clause',
+       version: '1.8.0',
+)
+
+# This refers to the API level provided. This is modified only with major,
+# breaking changes, which need modifications in programs using the library
+# before they can be compiled again.
+api_version = '1.0'
+
+# Before making a release, the LT_VERSION string should be modified.
+# The string is of the form [C, R, A].
+# - If interfaces have been changed or added, but binary compatibility has
+#   been preserved, change to [C+1, 0, A+1].
+# - 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 = [5, 3, 4]
+
+# Split the *project* version into its components.
+version_info = meson.project_version().split('.')
+version_info = {
+       'PROJECT_VERSION_MAJOR': version_info[0],
+       'PROJECT_VERSION_MINOR': version_info[1],
+       'PROJECT_VERSION_PATCH': version_info[2],
+}
+
+# Mangle [C, R, A] into an actual usable *soversion*.
+soversion_major = soversion[0] - soversion[2]  # Current-Age
+soversion_minor = soversion[2]  # Age
+soversion_micro = soversion[1]  # Revision
+soversion = '@0@.@1@.@2@'.format(soversion_major, soversion_minor, 
soversion_micro)
+
+add_project_arguments('-DWPE_COMPILATION=1', language: ['c', 'cpp'])
+
+# 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']),
+       language: 'cpp'
+)
+
+default_backend = get_option('default-backend').strip()
+if default_backend != ''
+       add_project_arguments('-DWPE_BACKEND="@0@"'.format(default_backend), 
language: ['c', 'cpp'])
+endif
+
+dependencies = [
+       dependency('xkbcommon'),
+]
+
+cc = meson.get_compiler('c')
+if not cc.has_header('EGL/eglplatform.h')
+       dependencies += dependency('egl')
+endif
+
+if not cc.has_function('dlopen')
+       dependencies += cc.find_library('dl')
+endif
+
+libwpe = library('wpe-' + api_version,
+       'src/input.c',
+       'src/key-unicode.c',
+       'src/loader.c',
+       'src/pasteboard.c',
+       'src/pasteboard-generic.cpp',
+       'src/pasteboard-noop.cpp',
+       'src/renderer-backend-egl.c',
+       'src/renderer-host.c',
+       'src/version.c',
+       'src/view-backend.c',
+       install: true,
+       dependencies: dependencies,
+       version: soversion,
+       soversion: soversion_major,
+       include_directories: 'include',
+       gnu_symbol_visibility: 'hidden',
+)
+
+api_headers = [
+       'include/wpe/export.h',
+       'include/wpe/input.h',
+       'include/wpe/keysyms.h',
+       'include/wpe/loader.h',
+       'include/wpe/pasteboard.h',
+       'include/wpe/renderer-backend-egl.h',
+       'include/wpe/renderer-host.h',
+       'include/wpe/view-backend.h',
+       'include/wpe/wpe-egl.h',
+       'include/wpe/wpe.h',
+
+       # Generated API headers.
+       configure_file(
+               input: 'include/wpe/version.h.cmake',
+               output: 'version.h',
+               configuration: version_info,
+       ),
+       configure_file(
+               input: 'include/wpe/version-deprecated.h.cmake',
+               output: 'version-deprecated.h',
+               configuration: version_info,
+       ),
+]
+install_headers(api_headers,
+       subdir: join_paths('wpe-' + api_version, 'wpe'),
+)
+
+import('pkgconfig').generate(
+       description: 'The wpe library',
+       name: 'wpe-' + api_version,
+       subdirs: 'wpe-' + api_version,
+       libraries: libwpe,
+       version: meson.project_version(),
+)
+
+if get_option('build-docs')
+       hotdoc = import('hotdoc')
+       assert(hotdoc.has_extensions('c-extension'),
+               'The HotDoc C extension is required.'
+       )
+       libwpe_doc = hotdoc.generate_doc(meson.project_name(),
+               project_version: api_version,
+               dependencies: dependencies,
+               index: 'docs/index.md',
+               sitemap: 'docs/sitemap.txt',
+               console: true,
+               install: true,
+               build_by_default: true,
+               c_smart_index: true,
+               c_sources: api_headers,
+               c_include_directories: [
+                       include_directories('include'),
+                       meson.current_build_dir()
+               ],
+               # The space here is relevant, see
+               # 
https://github.com/mesonbuild/meson/issues/5800#issuecomment-552198354
+               extra_c_flags: [' -DWPE_COMPILATION=1'],
+       )
+endif
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libwpe-1.6.0/meson_options.txt 
new/libwpe-1.8.0/meson_options.txt
--- old/libwpe-1.6.0/meson_options.txt  1970-01-01 01:00:00.000000000 +0100
+++ new/libwpe-1.8.0/meson_options.txt  2020-09-11 14:06:36.890620000 +0200
@@ -0,0 +1,10 @@
+option('default-backend',
+       type: 'string',
+       value: '',
+       description: 'Name of the backend library to load, instead of 
libWPEBackend-default.so'
+)
+option('build-docs',
+       type: 'boolean',
+       value: false,
+       description: 'Build reference documentation (needs HotDoc)'
+)


Reply via email to