openSUSE Commits
Threads by month
- ----- 2025 -----
- January
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2007 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2006 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
December 2021
- 1 participants
- 2461 discussions
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package lzma-sdk for openSUSE:Factory checked in at 2021-11-29 17:28:37
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/lzma-sdk (Old)
and /work/SRC/openSUSE:Factory/.lzma-sdk.new.31177 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "lzma-sdk"
Mon Nov 29 17:28:37 2021 rev:9 rq:934525 version:21.06
Changes:
--------
--- /work/SRC/openSUSE:Factory/lzma-sdk/lzma-sdk.changes 2019-02-24 17:20:28.108396385 +0100
+++ /work/SRC/openSUSE:Factory/.lzma-sdk.new.31177/lzma-sdk.changes 2021-12-02 02:17:43.742182706 +0100
@@ -1,0 +2,58 @@
+Mon Nov 29 11:37:21 UTC 2021 - Luigi Baldoni <aloisio(a)gmx.com>
+
+- Update to version 21.06
+ * Bug in LZMA encoder in file LzmaEnc.c was fixed:
+ LzmaEnc_MemEncode(), LzmaEncode() and LzmaCompress() could
+ work incorrectly, if size value for output buffer is smaller
+ than size required for all compressed data. LzmaEnc_Encode()
+ could work incorrectly, if callback ISeqOutStream::Write()
+ doesn't write all compressed data.
+ NCompress::NLzma::CEncoder::Code() could work incorrectly,
+ if callback ISequentialOutStream::Write() returns error
+ code.
+ * Bug in versions 21.00-21.05 was fixed:
+ 7-Zip didn't set attributes of directories during archive
+ extracting.
+ version 21.04 beta:
+ * 7-Zip now reduces the number of working CPU threads for
+ compression, if RAM size is not enough for compression with
+ big LZMA2 dictionary.
+ * 7-Zip now can create and check "file.sha256" text files that
+ contain the list of file names and SHA-256 checksums in
+ format compatible with sha256sum program.
+ version 21.03 beta:
+ * The maximum dictionary size for LZMA/LZMA2 compressing was
+ increased to 4 GB (3840 MiB).
+ * Minor speed optimizations in LZMA/LZMA2 compressing.
+ version 21.02 alpha:
+ * The speed for LZMA and LZMA2 decompression in arm64 versions
+ was increased by 20%-60%.
+ version 21.01 alpha:
+ * The improvements for speed of ARM64 version using hardware
+ CPU instructions for AES, CRC-32, SHA-1 and SHA-256.
+ * Some bugs were fixed.
+ version 20.02 alpha:
+ * The default number of LZMA2 chunks per solid block in 7z
+ archive was increased to 64. It allows to increase the
+ compression speed for big 7z archives, if there is a big
+ number of CPU cores and threads.
+ * The speed of PPMd compressing/decompressing was increased
+ for 7z archives.
+ * The new -ssp switch. If the switch -ssp is specified, 7-Zip
+ doesn't allow the system to modify "Last Access Time"
+ property of source files for archiving and hashing operations.
+ * Some bugs were fixed.
+ version 20.00 alpha;
+ * 7-Zip now supports new optional match finders for LZMA/LZMA2
+ compression: bt5 and hc5, that can work faster than bt4 and
+ hc4 match finders for the data with big redundancy.
+ * The compression ratio was improved for Fast and Fastest
+ compression levels with the following default settings:
+ + Fastest level (-mx1) : hc5 match finder with 256 KB
+ dictionary.
+ + Fast level (-mx3) : hc5 match finder with 4 MB
+ dictionary.
+ * Minor speed optimizations in multithreaded LZMA/LZMA2
+ compression for Normal/Maximum/Ultra compression levels.
+
+-------------------------------------------------------------------
Old:
----
lzma1900.7z
New:
----
lzma2106.7z
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ lzma-sdk.spec ++++++
--- /var/tmp/diff_new_pack.dTHI6E/_old 2021-12-02 02:17:44.170181212 +0100
+++ /var/tmp/diff_new_pack.dTHI6E/_new 2021-12-02 02:17:44.174181198 +0100
@@ -1,7 +1,7 @@
#
# spec file for package lzma-sdk
#
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,18 +16,18 @@
#
-%define _sver 1900
-%define _maver 19
-%define _miver 00
+%define _sver 2106
+%define _maver 21
+%define _miver 06
Name: lzma-sdk
-Version: 19.00
+Version: 21.06
Release: 0
Summary: An implementation of LZMA compression
# Actually the site says "Public Domain". See license file.
License: LGPL-2.1-only
Group: Productivity/Archiving/Compression
-URL: http://www.7-zip.org/sdk.html
-Source0: http://www.7-zip.org/a/lzma%{_sver}.7z
+URL: https://www.7-zip.org/sdk.html
+Source0: https://www.7-zip.org/a/lzma%{_sver}.7z
Source1: lzma-sdk-LICENSE.fedora
Patch1: lzma-sdk-shlib.patch
BuildRequires: automake
1
0
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.lie(a)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(a)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-…
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'),
+)
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package libuninameslist for openSUSE:Factory checked in at 2021-12-01 20:46:51
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libuninameslist (Old)
and /work/SRC/openSUSE:Factory/.libuninameslist.new.31177 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libuninameslist"
Wed Dec 1 20:46:51 2021 rev:9 rq:934563 version:20211114
Changes:
--------
--- /work/SRC/openSUSE:Factory/libuninameslist/libuninameslist.changes 2021-11-15 15:27:49.121847331 +0100
+++ /work/SRC/openSUSE:Factory/.libuninameslist.new.31177/libuninameslist.changes 2021-12-02 02:17:18.134272038 +0100
@@ -1,0 +2,7 @@
+Sat Nov 27 12:45:42 UTC 2021 - Dirk M��ller <dmueller(a)suse.com>
+
+- update to 20211114:
+ * Version 1.10, Unicode 14.0 and French version 1.5 now is at 14.0.
+ * Gentoo Bug 781716 & Debian Bug 989173, -O0 patch by Naohiro Aota.
+
+-------------------------------------------------------------------
Old:
----
20210917.tar.gz
New:
----
20211114.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ libuninameslist.spec ++++++
--- /var/tmp/diff_new_pack.ghUbkt/_old 2021-12-02 02:17:18.626270321 +0100
+++ /var/tmp/diff_new_pack.ghUbkt/_new 2021-12-02 02:17:18.630270307 +0100
@@ -18,7 +18,7 @@
%define somajor 1
Name: libuninameslist
-Version: 20210917
+Version: 20211114
Release: 0
Summary: A library providing Unicode character names and annotations
License: BSD-3-Clause
@@ -70,7 +70,7 @@
%files devel
%{_libdir}/libuninameslist.so
%{_libdir}/pkgconfig/libuninameslist.pc
-%{_mandir}/man3/libuninameslist.3*
+%{_mandir}/man3/libuninameslist.3%{?ext_man}
%{_includedir}/uninameslist.h
%changelog
++++++ 20210917.tar.gz -> 20211114.tar.gz ++++++
++++ 7517 lines of diff (skipped)
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package libstorage-ng for openSUSE:Factory checked in at 2021-12-01 20:46:31
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libstorage-ng (Old)
and /work/SRC/openSUSE:Factory/.libstorage-ng.new.31177 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libstorage-ng"
Wed Dec 1 20:46:31 2021 rev:138 rq:934969 version:4.4.61
Changes:
--------
--- /work/SRC/openSUSE:Factory/libstorage-ng/libstorage-ng.changes 2021-11-27 00:50:56.706880635 +0100
+++ /work/SRC/openSUSE:Factory/.libstorage-ng.new.31177/libstorage-ng.changes 2021-12-02 02:17:14.422284986 +0100
@@ -1,0 +2,23 @@
+Wed Dec 1 11:38:48 UTC 2021 - aschnell(a)suse.com
+
+- merge gh#openSUSE/libstorage-ng#846
+- make function is_efibootmgr() public (for bsc#937067)
+- 4.4.61
+
+--------------------------------------------------------------------
+Wed Dec 1 10:04:37 UTC 2021 - aschnell(a)suse.com
+
+- merge gh#openSUSE/libstorage-ng#845
+- prefer file system over empty MS-DOS partition table (bsc#1186823)
+- fixed testcase
+- 4.4.60
+
+--------------------------------------------------------------------
+Tue Nov 30 19:26:57 UTC 2021 - aschnell(a)suse.com
+
+- merge gh#openSUSE/libstorage-ng#844
+- extended Holder::set_source for multipath devices
+- documentation and coding style
+- 4.4.59
+
+--------------------------------------------------------------------
Old:
----
libstorage-ng-4.4.58.tar.xz
New:
----
libstorage-ng-4.4.61.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ libstorage-ng.spec ++++++
--- /var/tmp/diff_new_pack.RW0z7T/_old 2021-12-02 02:17:14.814283619 +0100
+++ /var/tmp/diff_new_pack.RW0z7T/_new 2021-12-02 02:17:14.814283619 +0100
@@ -18,7 +18,7 @@
%define libname %{name}1
Name: libstorage-ng
-Version: 4.4.58
+Version: 4.4.61
Release: 0
Summary: Library for storage management
License: GPL-2.0-only
++++++ libstorage-ng-4.4.58.tar.xz -> libstorage-ng-4.4.61.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-ng-4.4.58/LIBVERSION new/libstorage-ng-4.4.61/LIBVERSION
--- old/libstorage-ng-4.4.58/LIBVERSION 2021-11-23 14:13:04.000000000 +0100
+++ new/libstorage-ng-4.4.61/LIBVERSION 2021-12-01 12:38:48.000000000 +0100
@@ -1 +1 @@
-1.67.0
+1.68.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-ng-4.4.58/VERSION new/libstorage-ng-4.4.61/VERSION
--- old/libstorage-ng-4.4.58/VERSION 2021-11-23 14:13:04.000000000 +0100
+++ new/libstorage-ng-4.4.61/VERSION 2021-12-01 12:38:48.000000000 +0100
@@ -1 +1 @@
-4.4.58
+4.4.61
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-ng-4.4.58/storage/Devices/PartitionImpl.cc new/libstorage-ng-4.4.61/storage/Devices/PartitionImpl.cc
--- old/libstorage-ng-4.4.58/storage/Devices/PartitionImpl.cc 2021-11-23 14:13:04.000000000 +0100
+++ new/libstorage-ng-4.4.61/storage/Devices/PartitionImpl.cc 2021-12-01 12:38:48.000000000 +0100
@@ -231,9 +231,9 @@
void
Partition::Impl::set_number(unsigned int number)
{
- std::pair<string, unsigned int> pair = device_to_name_and_number(get_name());
+ const Partitionable* partitionable = get_partitionable();
- set_name(name_and_number_to_device(pair.first, number));
+ set_name(partitionable->partition_name(number));
update_sysfs_name_and_path();
update_udev_paths_and_ids();
@@ -529,7 +529,7 @@
{
const Partitionable* partitionable = get_partitionable();
- set_name(name_and_number_to_device(partitionable->get_name(), get_number()));
+ set_name(partitionable->partition_name(get_number()));
}
@@ -538,9 +538,8 @@
{
const Partitionable* partitionable = get_partitionable();
- // TODO different for device-mapper partitions
-
- if (!partitionable->get_sysfs_name().empty() && !partitionable->get_sysfs_path().empty())
+ if ((!partitionable->get_sysfs_name().empty() && !partitionable->get_sysfs_path().empty()) &&
+ partitionable->get_dm_table_name().empty())
{
set_sysfs_name(partitionable->get_sysfs_name() + to_string(get_number()));
set_sysfs_path(partitionable->get_sysfs_path() + "/" + get_sysfs_name());
@@ -1268,39 +1267,13 @@
}
- // TODO move to Arch class
- static bool
- is_efibootmgr()
- {
- static bool did_check = false;
- static bool efibootmgr;
-
- if (!did_check)
- {
- // Check that efivars directory is writeable and nonempty (bsc #1185610).
-
- SystemCmd::Options options(TEST_BIN " -w '" EFIVARS_DIR "' -a "
- "\"$(" LS_BIN " -A '" EFIVARS_DIR "')\"", SystemCmd::DoThrow);
- options.verify = [](int exit_code) { return exit_code == 0 || exit_code == 1; };
-
- SystemCmd cmd(options);
-
- efibootmgr = cmd.retcode() == 0;
-
- did_check = true;
- }
-
- return efibootmgr;
- }
-
-
void
Partition::Impl::do_delete_efi_boot_mgr() const
{
if (!is_gpt(get_partition_table()))
return;
- if (!get_devicegraph()->get_storage()->get_arch().is_efiboot() || !is_efibootmgr())
+ if (!get_devicegraph()->get_storage()->get_arch().is_efiboot() || !Arch::is_efibootmgr())
return;
const Partitionable* partitionable = get_partitionable();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-ng-4.4.58/storage/Devices/PartitionTableImpl.cc new/libstorage-ng-4.4.61/storage/Devices/PartitionTableImpl.cc
--- old/libstorage-ng-4.4.58/storage/Devices/PartitionTableImpl.cc 2021-11-23 14:13:04.000000000 +0100
+++ new/libstorage-ng-4.4.61/storage/Devices/PartitionTableImpl.cc 2021-12-01 12:38:48.000000000 +0100
@@ -243,6 +243,8 @@
partition->get_impl().update_sysfs_name_and_path();
partition->get_impl().update_udev_paths_and_ids();
+ partition->set_dm_table_name("");
+
// TODO topology? at least block size? could cascade to even more devices
}
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-ng-4.4.58/storage/Devices/PartitionableImpl.cc new/libstorage-ng-4.4.61/storage/Devices/PartitionableImpl.cc
--- old/libstorage-ng-4.4.58/storage/Devices/PartitionableImpl.cc 2021-11-23 14:13:04.000000000 +0100
+++ new/libstorage-ng-4.4.61/storage/Devices/PartitionableImpl.cc 2021-12-01 12:38:48.000000000 +0100
@@ -1,6 +1,6 @@
/*
* Copyright (c) [2014-2015] Novell, Inc.
- * Copyright (c) [2016-2020] SUSE LLC
+ * Copyright (c) [2016-2021] SUSE LLC
*
* All Rights Reserved.
*
@@ -38,6 +38,7 @@
#include "storage/Utils/CallbacksImpl.h"
#include "storage/SystemInfo/SystemInfoImpl.h"
#include "storage/StorageImpl.h"
+#include "storage/EnvironmentImpl.h"
#include "storage/Prober.h"
#include "storage/Utils/Format.h"
@@ -156,9 +157,24 @@
try
{
- const Parted& parted = prober.get_system_info().getParted(get_name());
- if (parted.get_label() == PtType::MSDOS || parted.get_label() == PtType::GPT ||
- parted.get_label() == PtType::DASD)
+ SystemInfo::Impl& system_info = prober.get_system_info();
+
+ const Parted& parted = system_info.getParted(get_name());
+ PtType label = parted.get_label();
+
+ // Ignore MS-DOS partition table without any partitions if there is also an
+ // filesystem - likely the partition table is in fact only the MBR signature
+ // from instelled from grub (#see bsc #) 1186823.
+ if (label == PtType::MSDOS && parted.get_entries().empty() &&
+ prefer_filesystem_over_empty_msdos())
+ {
+ const Blkid& blkid = system_info.getBlkid();
+ Blkid::const_iterator it = blkid.find_by_any_name(get_name(), system_info);
+ if (it != blkid.end() && it->second.is_fs)
+ return;
+ }
+
+ if (label == PtType::MSDOS || label == PtType::GPT || label == PtType::DASD)
{
if (get_region().get_block_size() != parted.get_region().get_block_size())
ST_THROW(Exception(sformat("different block size reported by kernel and parted for %s",
@@ -168,8 +184,6 @@
ST_THROW(Exception(sformat("different size reported by kernel and parted for %s",
get_name())));
- PtType label = parted.get_label();
-
// parted reports DASD partition table for implicit partition
// tables. Convert that to implicit partition table.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-ng-4.4.58/storage/EnvironmentImpl.cc new/libstorage-ng-4.4.61/storage/EnvironmentImpl.cc
--- old/libstorage-ng-4.4.58/storage/EnvironmentImpl.cc 2021-11-23 14:13:04.000000000 +0100
+++ new/libstorage-ng-4.4.61/storage/EnvironmentImpl.cc 2021-12-01 12:38:48.000000000 +0100
@@ -1,6 +1,6 @@
/*
* Copyright (c) [2014-2015] Novell, Inc.
- * Copyright (c) [2018-2020] SUSE LLC
+ * Copyright (c) [2018-2021] SUSE LLC
*
* All Rights Reserved.
*
@@ -132,4 +132,11 @@
return read_env_var("LIBSTORAGE_DEVELOPER_MODE", false);
}
+
+ bool
+ prefer_filesystem_over_empty_msdos()
+ {
+ return read_env_var("LIBSTORAGE_PFSOEMS", true);
+ }
+
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-ng-4.4.58/storage/EnvironmentImpl.h new/libstorage-ng-4.4.61/storage/EnvironmentImpl.h
--- old/libstorage-ng-4.4.58/storage/EnvironmentImpl.h 2021-11-23 14:13:04.000000000 +0100
+++ new/libstorage-ng-4.4.61/storage/EnvironmentImpl.h 2021-12-01 12:38:48.000000000 +0100
@@ -98,6 +98,12 @@
*/
bool developer_mode();
+ /**
+ * If there is a file system and an empty MS-DOS partition table on a partitionable
+ * prefer the file system.
+ */
+ bool prefer_filesystem_over_empty_msdos();
+
}
#endif
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-ng-4.4.58/storage/Holders/Holder.h new/libstorage-ng-4.4.61/storage/Holders/Holder.h
--- old/libstorage-ng-4.4.58/storage/Holders/Holder.h 2021-11-23 14:13:04.000000000 +0100
+++ new/libstorage-ng-4.4.61/storage/Holders/Holder.h 2021-12-01 12:38:48.000000000 +0100
@@ -72,8 +72,10 @@
/**
* Set the source device of the holder. Experimental.
*
+ * The new source must not be the old source.
+ *
* So far it is undefined whether this function adjusts the devices connected to
- * the holder. E.g. setting a disk as source for a partition table adjusts the
+ * the holder. E.g. setting a disk as source for a partition table adjusts the
* device names of the partitions but not the topology. This may change in the
* future.
*
@@ -84,6 +86,8 @@
/**
* Set the target device of the holder.
*
+ * The new target must not be the old target.
+ *
* @see set_source(const Device*)
*
* @throw Exception
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-ng-4.4.58/storage/SystemInfo/Arch.cc new/libstorage-ng-4.4.61/storage/SystemInfo/Arch.cc
--- old/libstorage-ng-4.4.58/storage/SystemInfo/Arch.cc 2021-11-23 14:13:04.000000000 +0100
+++ new/libstorage-ng-4.4.61/storage/SystemInfo/Arch.cc 2021-12-01 12:38:48.000000000 +0100
@@ -171,6 +171,33 @@
}
+ bool
+ Arch::is_efibootmgr()
+ {
+ // TODO move efibootmgr to Arch class - but breaks ABI
+
+ static bool did_check = false;
+ static bool efibootmgr;
+
+ if (!did_check)
+ {
+ // Check that efivars directory is writeable and nonempty (bsc #1185610).
+
+ SystemCmd::Options options(TEST_BIN " -w '" EFIVARS_DIR "' -a "
+ "\"$(" LS_BIN " -A '" EFIVARS_DIR "')\"", SystemCmd::DoThrow);
+ options.verify = [](int exit_code) { return exit_code == 0 || exit_code == 1; };
+
+ SystemCmd cmd(options);
+
+ efibootmgr = cmd.retcode() == 0;
+
+ did_check = true;
+ }
+
+ return efibootmgr;
+ }
+
+
std::ostream&
operator<<(std::ostream& s, const Arch& arch)
{
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-ng-4.4.58/storage/SystemInfo/Arch.h new/libstorage-ng-4.4.61/storage/SystemInfo/Arch.h
--- old/libstorage-ng-4.4.58/storage/SystemInfo/Arch.h 2021-11-23 14:13:04.000000000 +0100
+++ new/libstorage-ng-4.4.61/storage/SystemInfo/Arch.h 2021-12-01 12:38:48.000000000 +0100
@@ -58,6 +58,8 @@
bool is_efiboot() const { return efiboot; }
void set_efiboot(bool efiboot) { Arch::efiboot = efiboot; }
+ static bool is_efibootmgr();
+
unsigned int get_page_size() const { return page_size; }
friend std::ostream& operator<<(std::ostream& s, const Arch& arch);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-ng-4.4.58/storage/Utils/AppUtil.cc new/libstorage-ng-4.4.61/storage/Utils/AppUtil.cc
--- old/libstorage-ng-4.4.58/storage/Utils/AppUtil.cc 2021-11-23 14:13:04.000000000 +0100
+++ new/libstorage-ng-4.4.61/storage/Utils/AppUtil.cc 2021-12-01 12:38:48.000000000 +0100
@@ -425,24 +425,27 @@
/**
- * Breaks a device name like "/dev/sda2" into "/dev/sda" and 2
+ * Breaks a device name like "/dev/sda2" into "/dev/sda" and 2.
+ *
+ * Does in general not break partition names into disk name and number,
+ * e.g. "/dev/md0p1" breaks into "/dev/md0p" and "1".
*
* Throws an exception if the provided name does not contain the number
* part.
*/
- std::pair<string, unsigned int>
+ pair<string, unsigned int>
device_to_name_and_number(const string& full_name)
{
string::size_type pos = full_name.find_last_not_of("0123456789");
- if (pos == string::npos || pos == full_name.size() - 1)
- ST_THROW(Exception("device name has no number"));
+ if (pos == string::npos || pos == full_name.size() - 1)
+ ST_THROW(Exception("device name has no number"));
- return std::make_pair(full_name.substr(0, pos + 1), atoi(full_name.substr(pos + 1).c_str()));
+ return make_pair(full_name.substr(0, pos + 1), atoi(full_name.substr(pos + 1).c_str()));
}
/**
- * Inverse of device_to_name_and_number
+ * Inverse of device_to_name_and_number.
*/
string
name_and_number_to_device(const string& name, unsigned int number)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-ng-4.4.58/storage/Utils/AppUtil.h new/libstorage-ng-4.4.61/storage/Utils/AppUtil.h
--- old/libstorage-ng-4.4.58/storage/Utils/AppUtil.h 2021-11-23 14:13:04.000000000 +0100
+++ new/libstorage-ng-4.4.61/storage/Utils/AppUtil.h 2021-12-01 12:38:48.000000000 +0100
@@ -60,7 +60,7 @@
string make_dev_block_name(dev_t majorminor);
- std::pair<string, unsigned int> device_to_name_and_number(const string& full_name);
+ pair<string, unsigned int> device_to_name_and_number(const string& full_name);
string name_and_number_to_device(const string& name, unsigned int number);
vector<string> glob(const string& path, int flags);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-ng-4.4.58/testsuite/probe/Makefile.am new/libstorage-ng-4.4.61/testsuite/probe/Makefile.am
--- old/libstorage-ng-4.4.58/testsuite/probe/Makefile.am 2021-11-23 14:13:04.000000000 +0100
+++ new/libstorage-ng-4.4.61/testsuite/probe/Makefile.am 2021-12-01 12:38:48.000000000 +0100
@@ -20,8 +20,8 @@
btrfs4.test btrfs5.test tmpfs1.test \
dasd1.test dasd2.test dasd3.test external-journal.test \
dmraid1.test md-imsm1.test md-ddf1.test nfs1.test ntfs1.test xen1.test \
- ambiguous1.test md+lvm1.test plain-encryption1.test missing1.test \
- error1.test prefixed.test
+ ambiguous1.test ambiguous2.test md+lvm1.test plain-encryption1.test \
+ missing1.test error1.test prefixed.test
AM_DEFAULT_SOURCE_EXT = .cc
@@ -73,6 +73,7 @@
ntfs1-mockup.xml ntfs1-devicegraph.xml \
external-journal-mockup.xml external-journal-devicegraph.xml \
ambiguous1-mockup.xml ambiguous1-devicegraph.xml \
+ ambiguous2-mockup.xml ambiguous2-devicegraph.xml \
md+lvm1-mockup.xml md+lvm1-devicegraph.xml \
prefixed-mockup.xml prefixed-devicegraph.xml \
missing1-mockup.xml \
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-ng-4.4.58/testsuite/probe/ambiguous1-devicegraph.xml new/libstorage-ng-4.4.61/testsuite/probe/ambiguous1-devicegraph.xml
--- old/libstorage-ng-4.4.58/testsuite/probe/ambiguous1-devicegraph.xml 2021-11-23 14:13:04.000000000 +0100
+++ new/libstorage-ng-4.4.61/testsuite/probe/ambiguous1-devicegraph.xml 2021-12-01 12:38:48.000000000 +0100
@@ -1,34 +1,49 @@
<?xml version="1.0"?>
-<!-- generated by libstorage-ng version 4.1.58, kassandra.suse.de, 2019-01-31 09:59:23 GMT -->
+<!-- generated by libstorage-ng version 4.4.59, kassandra.suse.de, 2021-12-01 08:25:12 GMT -->
<Devicegraph>
<Devices>
<Disk>
<sid>42</sid>
- <name>/dev/sda</name>
- <sysfs-name>sda</sysfs-name>
- <sysfs-path>/devices/pci0000:00/0000:00:1f.2/ata1/host0/target0:0:0/0:0:0:0/block/sda</sysfs-path>
+ <name>/dev/sdc</name>
+ <sysfs-name>sdc</sysfs-name>
+ <sysfs-path>/devices/pci0000:00/0000:00:17.0/ata3/host2/target2:0:0/2:0:0:0/block/sdc</sysfs-path>
<region>
- <length>33554432</length>
+ <length>625142448</length>
<block-size>512</block-size>
</region>
- <udev-path>pci-0000:00:1f.2-ata-1</udev-path>
- <udev-id>ata-VBOX_HARDDISK_VB4fc3dfc5-aa799b6b</udev-id>
- <udev-id>scsi-0ATA_VBOX_HARDDISK_VB4fc3dfc5-aa799b6b</udev-id>
- <udev-id>scsi-1ATA_VBOX_HARDDISK_VB4fc3dfc5-aa799b6b</udev-id>
- <udev-id>scsi-SATA_VBOX_HARDDISK_VB4fc3dfc5-aa799b6b</udev-id>
- <topology/>
+ <udev-path>pci-0000:00:17.0-ata-3</udev-path>
+ <udev-path>pci-0000:00:17.0-ata-3.0</udev-path>
+ <udev-id>ata-TOSHIBA_MK3261GSYN_Y169P5D6T</udev-id>
+ <udev-id>scsi-0ATA_TOSHIBA_MK3261GS_Y169P5D6T</udev-id>
+ <udev-id>scsi-1ATA_TOSHIBA_MK3261GSYN_Y169P5D6T</udev-id>
+ <udev-id>scsi-350000393a258296e</udev-id>
+ <udev-id>scsi-SATA_TOSHIBA_MK3261GS_Y169P5D6T</udev-id>
+ <udev-id>wwn-0x50000393a258296e</udev-id>
<range>256</range>
<rotational>true</rotational>
<transport>SATA</transport>
</Disk>
- <Msdos>
+ <Btrfs>
<sid>43</sid>
- </Msdos>
+ <uuid>d090269c-1a57-4bd3-a182-5a300b818a72</uuid>
+ <metadata-raid-level>DUP</metadata-raid-level>
+ <data-raid-level>SINGLE</data-raid-level>
+ </Btrfs>
+ <BtrfsSubvolume>
+ <sid>44</sid>
+ <id>5</id>
+ <path></path>
+ <default-btrfs-subvolume>true</default-btrfs-subvolume>
+ </BtrfsSubvolume>
</Devices>
<Holders>
- <User>
+ <Subdevice>
+ <source-sid>43</source-sid>
+ <target-sid>44</target-sid>
+ </Subdevice>
+ <FilesystemUser>
<source-sid>42</source-sid>
<target-sid>43</target-sid>
- </User>
+ </FilesystemUser>
</Holders>
</Devicegraph>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-ng-4.4.58/testsuite/probe/ambiguous1-mockup.xml new/libstorage-ng-4.4.61/testsuite/probe/ambiguous1-mockup.xml
--- old/libstorage-ng-4.4.58/testsuite/probe/ambiguous1-mockup.xml 2021-11-23 14:13:04.000000000 +0100
+++ new/libstorage-ng-4.4.61/testsuite/probe/ambiguous1-mockup.xml 2021-12-01 12:38:48.000000000 +0100
@@ -1,276 +1,247 @@
<?xml version="1.0"?>
-<!-- generated by libstorage-ng version 4.1.58, kassandra.suse.de, 2019-01-31 09:59:23 GMT -->
+<!-- generated by libstorage-ng version 4.4.59, kassandra.suse.de, 2021-12-01 08:12:52 GMT -->
<Mockup>
<Commands>
<Command>
<name>/bin/ls -1 --sort=none '/sys/block'</name>
- <stdout>loop1</stdout>
- <stdout>loop6</stdout>
- <stdout>loop4</stdout>
- <stdout>sr0</stdout>
- <stdout>loop2</stdout>
- <stdout>loop0</stdout>
- <stdout>sda</stdout>
- <stdout>loop7</stdout>
- <stdout>loop5</stdout>
- <stdout>loop3</stdout>
+ <stdout>sdc</stdout>
</Command>
<Command>
<name>/sbin/blkid -c '/dev/null'</name>
- <stdout>/dev/loop0: TYPE="squashfs"</stdout>
- <stdout>/dev/loop1: TYPE="squashfs"</stdout>
- <stdout>/dev/loop2: TYPE="squashfs"</stdout>
- <stdout>/dev/loop3: TYPE="squashfs"</stdout>
- <stdout>/dev/loop4: TYPE="squashfs"</stdout>
- <stdout>/dev/loop5: TYPE="squashfs"</stdout>
- <stdout>/dev/loop6: TYPE="squashfs"</stdout>
- <stdout>/dev/sr0: UUID="2018-12-14-23-46-34-16" LABEL="SLE-15-SP1-Installer-DVD-x86.001" TYPE="iso9660" PTUUID="46e82182" PTTYPE="dos"</stdout>
- <stdout>/dev/sda: UUID="1e7f6c7f-2111-4586-9a30-76e6a7dfdd92" UUID_SUB="f0461bbb-feb3-4158-8038-7e55cd1b2d37" TYPE="btrfs" PTUUID="b2ef1c94" PTTYPE="dos"</stdout>
+ <stdout>/dev/sdc: UUID="d090269c-1a57-4bd3-a182-5a300b818a72" UUID_SUB="ac4735ad-3176-4f88-a9d8-7744f9c56548" BLOCK_SIZE="4096" TYPE="btrfs" PTUUID="401f8ba4" PTTYPE="dos"</stdout>
+ </Command>
+ <Command>
+ <name>/sbin/btrfs filesystem df (device:/dev/sdc)</name>
+ <stdout>Data, single: total=8.00MiB, used=0.00B</stdout>
+ <stdout>System, DUP: total=8.00MiB, used=16.00KiB</stdout>
+ <stdout>Metadata, DUP: total=1.00GiB, used=176.00KiB</stdout>
+ <stdout>GlobalReserve, single: total=3.25MiB, used=0.00B</stdout>
+ </Command>
+ <Command>
+ <name>/sbin/btrfs qgroup show -repc --raw (device:/dev/sdc)</name>
+ <stderr>ERROR: can't list qgroups: quotas not enabled</stderr>
+ <exit-code>1</exit-code>
+ </Command>
+ <Command>
+ <name>/sbin/btrfs subvolume list -a -puq (device:/dev/sdc)</name>
+ </Command>
+ <Command>
+ <name>/sbin/btrfs subvolume show (device:/dev/sdc)</name>
+ <stdout>/</stdout>
+ <stdout> Name: <FS_TREE></stdout>
+ <stdout> UUID: 7988fda9-cb00-4c9f-baad-c251c9e3cd6b</stdout>
+ <stdout> Parent UUID: -</stdout>
+ <stdout> Received UUID: -</stdout>
+ <stdout> Creation time: 2021-12-01 09:11:49 +0100</stdout>
+ <stdout> Subvolume ID: 5</stdout>
+ <stdout> Generation: 5</stdout>
+ <stdout> Gen at creation: 0</stdout>
+ <stdout> Parent ID: 0</stdout>
+ <stdout> Top level ID: 0</stdout>
+ <stdout> Flags: -</stdout>
+ <stdout> Send transid: 0</stdout>
+ <stdout> Send time: 2021-12-01 09:11:49 +0100</stdout>
+ <stdout> Receive transid: 0</stdout>
+ <stdout> Receive time: -</stdout>
+ <stdout> Snapshot(s):</stdout>
</Command>
<Command>
<name>/sbin/dmraid --sets=active -ccc</name>
- <stderr>bash: /sbin/dmraid: No such file or directory</stderr>
- <exit-code>127</exit-code>
+ <stdout>no raid disks</stdout>
+ <exit-code>1</exit-code>
</Command>
<Command>
- <!-- output faked and incomplete -->
<name>/sbin/dmsetup table</name>
</Command>
<Command>
<name>/sbin/multipath -d -v 2 -ll</name>
</Command>
<Command>
- <name>/usr/bin/udevadm info '/dev/sda'</name>
- <stdout>P: /devices/pci0000:00/0000:00:1f.2/ata1/host0/target0:0:0/0:0:0:0/block/sda</stdout>
- <stdout>N: sda</stdout>
- <stdout>S: disk/by-id/ata-VBOX_HARDDISK_VB4fc3dfc5-aa799b6b</stdout>
- <stdout>S: disk/by-id/scsi-0ATA_VBOX_HARDDISK_VB4fc3dfc5-aa799b6b</stdout>
- <stdout>S: disk/by-id/scsi-1ATA_VBOX_HARDDISK_VB4fc3dfc5-aa799b6b</stdout>
- <stdout>S: disk/by-id/scsi-SATA_VBOX_HARDDISK_VB4fc3dfc5-aa799b6b</stdout>
- <stdout>S: disk/by-path/pci-0000:00:1f.2-ata-1</stdout>
- <stdout>S: disk/by-uuid/1e7f6c7f-2111-4586-9a30-76e6a7dfdd92</stdout>
- <stdout>E: COMPAT_SYMLINK_GENERATION=2</stdout>
- <stdout>E: DEVLINKS=/dev/disk/by-uuid/1e7f6c7f-2111-4586-9a30-76e6a7dfdd92 /dev/disk/by-id/scsi-0ATA_VBOX_HARDDISK_VB4fc3dfc5-aa799b6b /dev/disk/by-id/scsi-1ATA_VBOX_HARDDISK_VB4fc3dfc5-aa799b6b /dev/disk/by-id/ata-VBOX_HARDDISK_VB4fc3dfc5-aa799b6b /dev/disk/by-id/scsi-SATA_VBOX_HARDDISK_VB4fc3dfc5-aa799b6b /dev/disk/by-path/pci-0000:00:1f.2-ata-1</stdout>
- <stdout>E: DEVNAME=/dev/sda</stdout>
- <stdout>E: DEVPATH=/devices/pci0000:00/0000:00:1f.2/ata1/host0/target0:0:0/0:0:0:0/block/sda</stdout>
+ <name>/usr/bin/getconf PAGESIZE</name>
+ <stdout>4096</stdout>
+ </Command>
+ <Command>
+ <name>/usr/bin/lsscsi --transport</name>
+ <stdout>[2:0:0:0] disk sata:50000393a258296e /dev/sdc </stdout>
+ </Command>
+ <Command>
+ <name>/usr/bin/stat --format '%f' '/dev/sdc'</name>
+ <stdout>61b0</stdout>
+ </Command>
+ <Command>
+ <name>/usr/bin/test -d '/sys/firmware/efi/efivars'</name>
+ <exit-code>1</exit-code>
+ </Command>
+ <Command>
+ <name>/usr/bin/udevadm info '/dev/sdc'</name>
+ <stdout>P: /devices/pci0000:00/0000:00:17.0/ata3/host2/target2:0:0/2:0:0:0/block/sdc</stdout>
+ <stdout>N: sdc</stdout>
+ <stdout>L: 0</stdout>
+ <stdout>S: disk/by-path/pci-0000:00:17.0-ata-3.0</stdout>
+ <stdout>S: disk/by-uuid/d090269c-1a57-4bd3-a182-5a300b818a72</stdout>
+ <stdout>S: disk/by-id/scsi-SATA_TOSHIBA_MK3261GS_Y169P5D6T</stdout>
+ <stdout>S: disk/by-id/scsi-1ATA_TOSHIBA_MK3261GSYN_Y169P5D6T</stdout>
+ <stdout>S: disk/by-path/pci-0000:00:17.0-ata-3</stdout>
+ <stdout>S: disk/by-id/wwn-0x50000393a258296e</stdout>
+ <stdout>S: disk/by-id/scsi-350000393a258296e</stdout>
+ <stdout>S: disk/by-id/ata-TOSHIBA_MK3261GSYN_Y169P5D6T</stdout>
+ <stdout>S: disk/by-id/scsi-0ATA_TOSHIBA_MK3261GS_Y169P5D6T</stdout>
+ <stdout>E: DEVPATH=/devices/pci0000:00/0000:00:17.0/ata3/host2/target2:0:0/2:0:0:0/block/sdc</stdout>
+ <stdout>E: DEVNAME=/dev/sdc</stdout>
<stdout>E: DEVTYPE=disk</stdout>
+ <stdout>E: DISKSEQ=3</stdout>
+ <stdout>E: MAJOR=8</stdout>
+ <stdout>E: MINOR=32</stdout>
+ <stdout>E: SUBSYSTEM=block</stdout>
+ <stdout>E: USEC_INITIALIZED=5446833</stdout>
<stdout>E: DONT_DEL_PART_NODES=1</stdout>
<stdout>E: ID_ATA=1</stdout>
+ <stdout>E: ID_TYPE=disk</stdout>
+ <stdout>E: ID_BUS=ata</stdout>
+ <stdout>E: ID_MODEL=TOSHIBA_MK3261GSYN</stdout>
+ <stdout>E: ID_MODEL_ENC=TOSHIBA\x20MK3261GSYN\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</stdout>
+ <stdout>E: ID_REVISION=MH000C</stdout>
+ <stdout>E: ID_SERIAL=TOSHIBA_MK3261GSYN_Y169P5D6T</stdout>
+ <stdout>E: ID_SERIAL_SHORT=Y169P5D6T</stdout>
+ <stdout>E: ID_ATA_WRITE_CACHE=1</stdout>
+ <stdout>E: ID_ATA_WRITE_CACHE_ENABLED=1</stdout>
<stdout>E: ID_ATA_FEATURE_SET_PM=1</stdout>
<stdout>E: ID_ATA_FEATURE_SET_PM_ENABLED=1</stdout>
+ <stdout>E: ID_ATA_FEATURE_SET_SECURITY=1</stdout>
+ <stdout>E: ID_ATA_FEATURE_SET_SECURITY_ENABLED=0</stdout>
+ <stdout>E: ID_ATA_FEATURE_SET_SECURITY_ERASE_UNIT_MIN=62</stdout>
+ <stdout>E: ID_ATA_FEATURE_SET_SECURITY_ENHANCED_ERASE_UNIT_MIN=62</stdout>
+ <stdout>E: ID_ATA_FEATURE_SET_SECURITY_FROZEN=1</stdout>
+ <stdout>E: ID_ATA_FEATURE_SET_SMART=1</stdout>
+ <stdout>E: ID_ATA_FEATURE_SET_SMART_ENABLED=1</stdout>
+ <stdout>E: ID_ATA_FEATURE_SET_APM=1</stdout>
+ <stdout>E: ID_ATA_FEATURE_SET_APM_ENABLED=1</stdout>
+ <stdout>E: ID_ATA_FEATURE_SET_APM_CURRENT_VALUE=128</stdout>
+ <stdout>E: ID_ATA_DOWNLOAD_MICROCODE=1</stdout>
<stdout>E: ID_ATA_SATA=1</stdout>
<stdout>E: ID_ATA_SATA_SIGNAL_RATE_GEN2=1</stdout>
- <stdout>E: ID_ATA_WRITE_CACHE=1</stdout>
- <stdout>E: ID_ATA_WRITE_CACHE_ENABLED=1</stdout>
- <stdout>E: ID_BUS=ata</stdout>
- <stdout>E: ID_FS_TYPE=btrfs</stdout>
- <stdout>E: ID_FS_USAGE=filesystem</stdout>
- <stdout>E: ID_FS_UUID=1e7f6c7f-2111-4586-9a30-76e6a7dfdd92</stdout>
- <stdout>E: ID_FS_UUID_ENC=1e7f6c7f-2111-4586-9a30-76e6a7dfdd92</stdout>
- <stdout>E: ID_FS_UUID_SUB=f0461bbb-feb3-4158-8038-7e55cd1b2d37</stdout>
- <stdout>E: ID_FS_UUID_SUB_ENC=f0461bbb-feb3-4158-8038-7e55cd1b2d37</stdout>
- <stdout>E: ID_MODEL=VBOX_HARDDISK</stdout>
- <stdout>E: ID_MODEL_ENC=VBOX\x20HARDDISK\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</stdout>
- <stdout>E: ID_PART_TABLE_TYPE=dos</stdout>
- <stdout>E: ID_PART_TABLE_UUID=b2ef1c94</stdout>
- <stdout>E: ID_PATH=pci-0000:00:1f.2-ata-1</stdout>
- <stdout>E: ID_PATH_TAG=pci-0000_00_1f_2-ata-1</stdout>
- <stdout>E: ID_REVISION=1.0</stdout>
+ <stdout>E: ID_ATA_SATA_SIGNAL_RATE_GEN1=1</stdout>
+ <stdout>E: ID_ATA_ROTATION_RATE_RPM=7200</stdout>
+ <stdout>E: ID_WWN=0x50000393a258296e</stdout>
+ <stdout>E: ID_WWN_WITH_EXTENSION=0x50000393a258296e</stdout>
+ <stdout>E: ID_PATH=pci-0000:00:17.0-ata-3.0</stdout>
+ <stdout>E: ID_PATH_TAG=pci-0000_00_17_0-ata-3_0</stdout>
+ <stdout>E: ID_PATH_ATA_COMPAT=pci-0000:00:17.0-ata-3</stdout>
+ <stdout>E: SCSI_TPGS=0</stdout>
+ <stdout>E: SCSI_TYPE=disk</stdout>
+ <stdout>E: SCSI_VENDOR=ATA</stdout>
+ <stdout>E: SCSI_VENDOR_ENC=ATA\x20\x20\x20\x20\x20</stdout>
+ <stdout>E: SCSI_MODEL=TOSHIBA_MK3261GS</stdout>
+ <stdout>E: SCSI_MODEL_ENC=TOSHIBA\x20MK3261GS</stdout>
+ <stdout>E: SCSI_REVISION=0C</stdout>
<stdout>E: ID_SCSI=1</stdout>
<stdout>E: ID_SCSI_INQUIRY=1</stdout>
- <stdout>E: ID_SERIAL=VBOX_HARDDISK_VB4fc3dfc5-aa799b6b</stdout>
- <stdout>E: ID_SERIAL_SHORT=VB4fc3dfc5-aa799b6b</stdout>
- <stdout>E: ID_TYPE=disk</stdout>
+ <stdout>E: SCSI_IDENT_SERIAL=Y169P5D6T</stdout>
+ <stdout>E: SCSI_IDENT_LUN_VENDOR=Y169P5D6T</stdout>
+ <stdout>E: SCSI_IDENT_LUN_T10=ATA_TOSHIBA_MK3261GSYN_Y169P5D6T</stdout>
+ <stdout>E: SCSI_IDENT_LUN_ATA=TOSHIBA_MK3261GSYN_Y169P5D6T</stdout>
+ <stdout>E: SCSI_IDENT_LUN_NAA_REG=50000393a258296e</stdout>
<stdout>E: ID_VENDOR=ATA</stdout>
<stdout>E: ID_VENDOR_ENC=ATA\x20\x20\x20\x20\x20</stdout>
- <stdout>E: MAJOR=8</stdout>
- <stdout>E: MINOR=0</stdout>
+ <stdout>E: ID_SCSI_SERIAL=Y169P5D6T</stdout>
<stdout>E: MPATH_SBIN_PATH=/sbin</stdout>
- <stdout>E: SCSI_IDENT_LUN_ATA=VBOX_HARDDISK_VB4fc3dfc5-aa799b6b</stdout>
- <stdout>E: SCSI_IDENT_LUN_T10=ATA_VBOX_HARDDISK_VB4fc3dfc5-aa799b6b</stdout>
- <stdout>E: SCSI_IDENT_LUN_VENDOR=VB4fc3dfc5-aa799b6b</stdout>
- <stdout>E: SCSI_IDENT_SERIAL=VB4fc3dfc5-aa799b6b</stdout>
- <stdout>E: SCSI_MODEL=VBOX_HARDDISK</stdout>
- <stdout>E: SCSI_MODEL_ENC=VBOX\x20HARDDISK\x20\x20\x20</stdout>
- <stdout>E: SCSI_REVISION=1.0</stdout>
- <stdout>E: SCSI_TPGS=0</stdout>
- <stdout>E: SCSI_TYPE=disk</stdout>
- <stdout>E: SCSI_VENDOR=ATA</stdout>
- <stdout>E: SCSI_VENDOR_ENC=ATA\x20\x20\x20\x20\x20</stdout>
- <stdout>E: SUBSYSTEM=block</stdout>
- <stdout>E: TAGS=:systemd:</stdout>
- <stdout>E: USEC_INITIALIZED=2865031</stdout>
- </Command>
- <Command>
- <name>/usr/bin/udevadm info '/dev/sr0'</name>
- <stdout>P: /devices/pci0000:00/0000:00:1f.1/ata4/host3/target3:0:0/3:0:0:0/block/sr0</stdout>
- <stdout>N: sr0</stdout>
- <stdout>L: -100</stdout>
- <stdout>S: cdrom</stdout>
- <stdout>S: disk/by-id/ata-VBOX_CD-ROM_VB2-01700376</stdout>
- <stdout>S: disk/by-label/SLE-15-SP1-Installer-DVD-x86.001</stdout>
- <stdout>S: disk/by-path/pci-0000:00:1f.1-ata-2</stdout>
- <stdout>S: disk/by-uuid/2018-12-14-23-46-34-16</stdout>
- <stdout>S: dvd</stdout>
- <stdout>E: DEVLINKS=/dev/disk/by-path/pci-0000:00:1f.1-ata-2 /dev/disk/by-id/ata-VBOX_CD-ROM_VB2-01700376 /dev/disk/by-uuid/2018-12-14-23-46-34-16 /dev/cdrom /dev/dvd /dev/disk/by-label/SLE-15-SP1-Installer-DVD-x86.001</stdout>
- <stdout>E: DEVNAME=/dev/sr0</stdout>
- <stdout>E: DEVPATH=/devices/pci0000:00/0000:00:1f.1/ata4/host3/target3:0:0/3:0:0:0/block/sr0</stdout>
- <stdout>E: DEVTYPE=disk</stdout>
- <stdout>E: ID_ATA=1</stdout>
- <stdout>E: ID_BUS=ata</stdout>
- <stdout>E: ID_CDROM=1</stdout>
- <stdout>E: ID_CDROM_DVD=1</stdout>
- <stdout>E: ID_CDROM_MEDIA=1</stdout>
- <stdout>E: ID_CDROM_MEDIA_CD=1</stdout>
- <stdout>E: ID_CDROM_MEDIA_SESSION_COUNT=1</stdout>
- <stdout>E: ID_CDROM_MEDIA_TRACK_COUNT=1</stdout>
- <stdout>E: ID_CDROM_MEDIA_TRACK_COUNT_DATA=1</stdout>
- <stdout>E: ID_CDROM_MRW=1</stdout>
- <stdout>E: ID_CDROM_MRW_W=1</stdout>
- <stdout>E: ID_FS_APPLICATION_ID=SLE-15-SP1-Installer-DVD-x86_64-Build126.1-Media1</stdout>
- <stdout>E: ID_FS_BOOT_SYSTEM_ID=EL\x20TORITO\x20SPECIFICATION</stdout>
- <stdout>E: ID_FS_LABEL=SLE-15-SP1-Installer-DVD-x86.001</stdout>
- <stdout>E: ID_FS_LABEL_ENC=SLE-15-SP1-Installer-DVD-x86.001</stdout>
- <stdout>E: ID_FS_PUBLISHER_ID=SUSE\x20LINUX\x20GmbH</stdout>
- <stdout>E: ID_FS_SYSTEM_ID=LINUX</stdout>
- <stdout>E: ID_FS_TYPE=iso9660</stdout>
+ <stdout>E: DM_MULTIPATH_DEVICE_PATH=0</stdout>
+ <stdout>E: ID_FS_UUID=d090269c-1a57-4bd3-a182-5a300b818a72</stdout>
+ <stdout>E: ID_FS_UUID_ENC=d090269c-1a57-4bd3-a182-5a300b818a72</stdout>
+ <stdout>E: ID_FS_UUID_SUB=ac4735ad-3176-4f88-a9d8-7744f9c56548</stdout>
+ <stdout>E: ID_FS_UUID_SUB_ENC=ac4735ad-3176-4f88-a9d8-7744f9c56548</stdout>
+ <stdout>E: ID_FS_TYPE=btrfs</stdout>
<stdout>E: ID_FS_USAGE=filesystem</stdout>
- <stdout>E: ID_FS_UUID=2018-12-14-23-46-34-16</stdout>
- <stdout>E: ID_FS_UUID_ENC=2018-12-14-23-46-34-16</stdout>
- <stdout>E: ID_FS_VERSION=Joliet Extension</stdout>
- <stdout>E: ID_MODEL=VBOX_CD-ROM</stdout>
- <stdout>E: ID_MODEL_ENC=VBOX\x20CD-ROM\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</stdout>
+ <stdout>E: ID_PART_TABLE_UUID=401f8ba4</stdout>
<stdout>E: ID_PART_TABLE_TYPE=dos</stdout>
- <stdout>E: ID_PART_TABLE_UUID=46e82182</stdout>
- <stdout>E: ID_PATH=pci-0000:00:1f.1-ata-2</stdout>
- <stdout>E: ID_PATH_TAG=pci-0000_00_1f_1-ata-2</stdout>
- <stdout>E: ID_REVISION=1.0</stdout>
- <stdout>E: ID_SCSI=1</stdout>
- <stdout>E: ID_SCSI_INQUIRY=1</stdout>
- <stdout>E: ID_SERIAL=VBOX_CD-ROM_VB2-01700376</stdout>
- <stdout>E: ID_SERIAL_SHORT=VB2-01700376</stdout>
- <stdout>E: ID_TYPE=cd</stdout>
- <stdout>E: ID_VENDOR=VBOX</stdout>
- <stdout>E: ID_VENDOR_ENC=VBOX\x20\x20\x20\x20</stdout>
- <stdout>E: MAJOR=11</stdout>
- <stdout>E: MINOR=0</stdout>
- <stdout>E: SCSI_MODEL=CD-ROM</stdout>
- <stdout>E: SCSI_MODEL_ENC=CD-ROM\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</stdout>
- <stdout>E: SCSI_REVISION=1.0</stdout>
- <stdout>E: SCSI_TPGS=0</stdout>
- <stdout>E: SCSI_TYPE=cd/dvd</stdout>
- <stdout>E: SCSI_VENDOR=VBOX</stdout>
- <stdout>E: SCSI_VENDOR_ENC=VBOX\x20\x20\x20\x20</stdout>
- <stdout>E: SUBSYSTEM=block</stdout>
- <stdout>E: SYSTEMD_MOUNT_DEVICE_BOUND=1</stdout>
+ <stdout>E: COMPAT_SYMLINK_GENERATION=2</stdout>
+ <stdout>E: ID_BTRFS_READY=1</stdout>
+ <stdout>E: DEVLINKS=/dev/disk/by-path/pci-0000:00:17.0-ata-3.0 /dev/disk/by-uuid/d090269c-1a57-4bd3-a182-5a300b818a72 /dev/disk/by-id/scsi-SATA_TOSHIBA_MK3261GS_Y169P5D6T /dev/disk/by-id/scsi-1ATA_TOSHIBA_MK3261GSYN_Y169P5D6T /dev/disk/by-path/pci-0000:00:17.0-ata-3 /dev/disk/by-id/wwn-0x50000393a258296e /dev/disk/by-id/scsi-350000393a258296e /dev/disk/by-id/ata-TOSHIBA_MK3261GSYN_Y169P5D6T /dev/disk/by-id/scsi-0ATA_TOSHIBA_MK3261GS_Y169P5D6T</stdout>
<stdout>E: TAGS=:systemd:</stdout>
- <stdout>E: USEC_INITIALIZED=2854940</stdout>
+ <stdout>E: CURRENT_TAGS=:systemd:</stdout>
+ <stdout></stdout>
</Command>
<Command>
<name>/usr/bin/udevadm settle --timeout=20</name>
</Command>
<Command>
- <name>/usr/bin/getconf PAGESIZE</name>
- <stdout>4096</stdout>
- </Command>
- <Command>
- <name>/usr/bin/lsscsi --transport</name>
- <stdout>[0:0:0:0] disk sata: /dev/sda </stdout>
- <stdout>[3:0:0:0] cd/dvd ata: /dev/sr0</stdout>
- </Command>
- <Command>
- <name>/usr/bin/stat --format '%f' '/dev/sda'</name>
- <stdout>61b0</stdout>
- </Command>
- <Command>
- <name>/usr/bin/stat --format '%f' '/dev/sr0'</name>
- <stdout>61b0</stdout>
- </Command>
- <Command>
- <name>/usr/bin/test -d '/sys/firmware/efi/efivars'</name>
- <exit-code>1</exit-code>
- </Command>
- <Command>
<name>/usr/bin/uname -m</name>
<stdout>x86_64</stdout>
</Command>
<Command>
- <name>/usr/sbin/parted --script --machine '/dev/sda' unit s print</name>
+ <name>/usr/sbin/parted --script --machine '/dev/sdc' unit s print</name>
<stdout>BYT;</stdout>
- <stdout>/dev/sda:33554432s:scsi:512:512:msdos:ATA VBOX HARDDISK:;</stdout>
+ <stdout>/dev/sdc:625142448s:scsi:512:512:msdos:ATA TOSHIBA MK3261GS::4;</stdout>
</Command>
</Commands>
<Files>
<File>
- <name>/etc/fstab</name>
- <content>proc /proc proc defaults 0 0</content>
- <content>sysfs /sys sysfs noauto 0 0</content>
- <content>usbfs /proc/bus/usb usbfs noauto 0 0</content>
+ <name>/etc/crypttab</name>
</File>
<File>
- <name>/etc/crypttab</name>
+ <name>/etc/fstab</name>
</File>
<File>
<name>/proc/mounts</name>
- <content>tmpfs / tmpfs rw,relatime,size=2032748k,nr_inodes=0 0 0</content>
- <content>tmpfs / tmpfs rw,relatime,size=2032748k,nr_inodes=0 0 0</content>
- <content>proc /proc proc rw,relatime 0 0</content>
- <content>sysfs /sys sysfs rw,relatime 0 0</content>
- <content>/dev/loop0 /parts/mp_0000 squashfs ro,relatime 0 0</content>
- <content>/dev/loop1 /parts/mp_0001 squashfs ro,relatime 0 0</content>
- <content>devtmpfs /dev devtmpfs rw,relatime,size=975688k,nr_inodes=243922,mode=755 0 0</content>
- <content>devpts /dev/pts devpts rw,relatime,mode=600,ptmxmode=000 0 0</content>
- <content>rpc_pipefs /var/lib/nfs/rpc_pipefs rpc_pipefs rw,relatime 0 0</content>
- <content>/dev/disk/by-id/ata-VBOX_CD-ROM_VB2-01700376 /var/adm/mount iso9660 ro,relatime 0 0</content>
- <content>/dev/loop2 /mounts/mp_0000 squashfs ro,relatime 0 0</content>
- <content>/dev/loop3 /mounts/mp_0001 squashfs ro,relatime 0 0</content>
- <content>/dev/loop4 /mounts/mp_0002 squashfs ro,relatime 0 0</content>
- <content>/dev/loop5 /mounts/mp_0003 squashfs ro,relatime 0 0</content>
- <content>/dev/loop6 /mounts/mp_0004 squashfs ro,relatime 0 0</content>
+ <content>proc /proc proc rw,nosuid,nodev,noexec,relatime 0 0</content>
+ <content>sysfs /sys sysfs rw,nosuid,nodev,noexec,relatime 0 0</content>
+ <content>devtmpfs /dev devtmpfs rw,nosuid,size=16254664k,nr_inodes=4063666,mode=755,inode64 0 0</content>
+ <content>securityfs /sys/kernel/security securityfs rw,nosuid,nodev,noexec,relatime 0 0</content>
+ <content>tmpfs /dev/shm tmpfs rw,nosuid,nodev,inode64 0 0</content>
+ <content>devpts /dev/pts devpts rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000 0 0</content>
+ <content>tmpfs /run tmpfs rw,nosuid,nodev,size=6507684k,nr_inodes=819200,mode=755,inode64 0 0</content>
+ <content>cgroup2 /sys/fs/cgroup cgroup2 rw,nosuid,nodev,noexec,relatime,nsdelegate,memory_recursiveprot 0 0</content>
+ <content>pstore /sys/fs/pstore pstore rw,nosuid,nodev,noexec,relatime 0 0</content>
+ <content>none /sys/fs/bpf bpf rw,nosuid,nodev,noexec,relatime,mode=700 0 0</content>
+ <content>systemd-1 /proc/sys/fs/binfmt_misc autofs rw,relatime,fd=30,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=19639 0 0</content>
+ <content>tracefs /sys/kernel/tracing tracefs rw,nosuid,nodev,noexec,relatime 0 0</content>
+ <content>hugetlbfs /dev/hugepages hugetlbfs rw,relatime,pagesize=2M 0 0</content>
+ <content>debugfs /sys/kernel/debug debugfs rw,nosuid,nodev,noexec,relatime 0 0</content>
+ <content>mqueue /dev/mqueue mqueue rw,nosuid,nodev,noexec,relatime 0 0</content>
+ <content>fusectl /sys/fs/fuse/connections fusectl rw,nosuid,nodev,noexec,relatime 0 0</content>
+ <content>configfs /sys/kernel/config configfs rw,nosuid,nodev,noexec,relatime 0 0</content>
+ <content>tmpfs /tmp tmpfs rw,nosuid,nodev,nr_inodes=409600,inode64 0 0</content>
+ <content>tmpfs /run/user/0 tmpfs rw,nosuid,nodev,relatime,size=3253840k,nr_inodes=813460,mode=700,inode64 0 0</content>
</File>
<File>
<name>/proc/swaps</name>
- <content>Filename Type Size Used Priority</content>
+ <content>Filename Type Size Used Priority</content>
</File>
<File>
- <name>/sys/devices/pci0000:00/0000:00:1f.1/ata4/host3/target3:0:0/3:0:0:0/block/sr0/ext_range</name>
- <content>1</content>
- </File>
- <File>
- <name>/sys/devices/pci0000:00/0000:00:1f.2/ata1/host0/target0:0:0/0:0:0:0/block/sda/alignment_offset</name>
+ <name>/sys/devices/pci0000:00/0000:00:17.0/ata3/host2/target2:0:0/2:0:0:0/block/sdc/alignment_offset</name>
<content>0</content>
</File>
<File>
- <name>/sys/devices/pci0000:00/0000:00:1f.2/ata1/host0/target0:0:0/0:0:0:0/block/sda/ro</name>
- <content>0</content>
+ <name>/sys/devices/pci0000:00/0000:00:17.0/ata3/host2/target2:0:0/2:0:0:0/block/sdc/ext_range</name>
+ <content>256</content>
</File>
<File>
- <name>/sys/devices/pci0000:00/0000:00:1f.2/ata1/host0/target0:0:0/0:0:0:0/block/sda/ext_range</name>
- <content>256</content>
+ <name>/sys/devices/pci0000:00/0000:00:17.0/ata3/host2/target2:0:0/2:0:0:0/block/sdc/queue/dax</name>
+ <content>0</content>
</File>
<File>
- <name>/sys/devices/pci0000:00/0000:00:1f.2/ata1/host0/target0:0:0/0:0:0:0/block/sda/queue/logical_block_size</name>
+ <name>/sys/devices/pci0000:00/0000:00:17.0/ata3/host2/target2:0:0/2:0:0:0/block/sdc/queue/logical_block_size</name>
<content>512</content>
</File>
<File>
- <name>/sys/devices/pci0000:00/0000:00:1f.2/ata1/host0/target0:0:0/0:0:0:0/block/sda/queue/optimal_io_size</name>
+ <name>/sys/devices/pci0000:00/0000:00:17.0/ata3/host2/target2:0:0/2:0:0:0/block/sdc/queue/optimal_io_size</name>
<content>0</content>
</File>
<File>
- <name>/sys/devices/pci0000:00/0000:00:1f.2/ata1/host0/target0:0:0/0:0:0:0/block/sda/queue/rotational</name>
+ <name>/sys/devices/pci0000:00/0000:00:17.0/ata3/host2/target2:0:0/2:0:0:0/block/sdc/queue/rotational</name>
<content>1</content>
</File>
<File>
- <name>/sys/devices/pci0000:00/0000:00:1f.2/ata1/host0/target0:0:0/0:0:0:0/block/sda/queue/dax</name>
- <content>0</content>
+ <name>/sys/devices/pci0000:00/0000:00:17.0/ata3/host2/target2:0:0/2:0:0:0/block/sdc/queue/zoned</name>
+ <content>none</content>
</File>
<File>
- <name>/sys/devices/pci0000:00/0000:00:1f.2/ata1/host0/target0:0:0/0:0:0:0/block/sda/queue/zoned</name>
- <content>none</content>
+ <name>/sys/devices/pci0000:00/0000:00:17.0/ata3/host2/target2:0:0/2:0:0:0/block/sdc/ro</name>
+ <content>0</content>
</File>
<File>
- <name>/sys/devices/pci0000:00/0000:00:1f.2/ata1/host0/target0:0:0/0:0:0:0/block/sda/size</name>
- <content>33554432</content>
+ <name>/sys/devices/pci0000:00/0000:00:17.0/ata3/host2/target2:0:0/2:0:0:0/block/sdc/size</name>
+ <content>625142448</content>
</File>
</Files>
</Mockup>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-ng-4.4.58/testsuite/probe/ambiguous1.cc new/libstorage-ng-4.4.61/testsuite/probe/ambiguous1.cc
--- old/libstorage-ng-4.4.58/testsuite/probe/ambiguous1.cc 2021-11-23 14:13:04.000000000 +0100
+++ new/libstorage-ng-4.4.61/testsuite/probe/ambiguous1.cc 2021-12-01 12:38:48.000000000 +0100
@@ -32,11 +32,9 @@
Storage storage(environment);
storage.probe(&probe_callbacks_recorder);
- BOOST_REQUIRE_EQUAL(probe_messages.size(), 3);
+ BOOST_REQUIRE_EQUAL(probe_messages.size(), 2);
BOOST_CHECK_EQUAL(probe_messages[0], "begin:");
- BOOST_CHECK_EQUAL(probe_messages[1], "error: message = 'Detected a file system next to a partition table on the\n"
- "device /dev/sda. The file system will be ignored.', what = ''");
- BOOST_CHECK_EQUAL(probe_messages[2], "end:");
+ BOOST_CHECK_EQUAL(probe_messages[1], "end:");
const Devicegraph* probed = storage.get_probed();
probed->check();
@@ -49,5 +47,5 @@
BOOST_CHECK_MESSAGE(cmp.ok(), cmp);
BOOST_CHECK_EQUAL(required_features(probed), "");
- BOOST_CHECK_EQUAL(suggested_features(probed), "");
+ BOOST_CHECK_EQUAL(suggested_features(probed), "btrfs");
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-ng-4.4.58/testsuite/probe/ambiguous2-devicegraph.xml new/libstorage-ng-4.4.61/testsuite/probe/ambiguous2-devicegraph.xml
--- old/libstorage-ng-4.4.58/testsuite/probe/ambiguous2-devicegraph.xml 1970-01-01 01:00:00.000000000 +0100
+++ new/libstorage-ng-4.4.61/testsuite/probe/ambiguous2-devicegraph.xml 2021-12-01 12:38:48.000000000 +0100
@@ -0,0 +1,36 @@
+<?xml version="1.0"?>
+<!-- generated by libstorage-ng version 4.4.59, kassandra.suse.de, 2021-12-01 09:12:46 GMT -->
+<Devicegraph>
+ <Devices>
+ <Disk>
+ <sid>42</sid>
+ <name>/dev/sdc</name>
+ <sysfs-name>sdc</sysfs-name>
+ <sysfs-path>/devices/pci0000:00/0000:00:17.0/ata3/host2/target2:0:0/2:0:0:0/block/sdc</sysfs-path>
+ <region>
+ <length>625142448</length>
+ <block-size>512</block-size>
+ </region>
+ <udev-path>pci-0000:00:17.0-ata-3</udev-path>
+ <udev-path>pci-0000:00:17.0-ata-3.0</udev-path>
+ <udev-id>ata-TOSHIBA_MK3261GSYN_Y169P5D6T</udev-id>
+ <udev-id>scsi-0ATA_TOSHIBA_MK3261GS_Y169P5D6T</udev-id>
+ <udev-id>scsi-1ATA_TOSHIBA_MK3261GSYN_Y169P5D6T</udev-id>
+ <udev-id>scsi-350000393a258296e</udev-id>
+ <udev-id>scsi-SATA_TOSHIBA_MK3261GS_Y169P5D6T</udev-id>
+ <udev-id>wwn-0x50000393a258296e</udev-id>
+ <range>256</range>
+ <rotational>true</rotational>
+ <transport>SATA</transport>
+ </Disk>
+ <Gpt>
+ <sid>43</sid>
+ </Gpt>
+ </Devices>
+ <Holders>
+ <User>
+ <source-sid>42</source-sid>
+ <target-sid>43</target-sid>
+ </User>
+ </Holders>
+</Devicegraph>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-ng-4.4.58/testsuite/probe/ambiguous2-mockup.xml new/libstorage-ng-4.4.61/testsuite/probe/ambiguous2-mockup.xml
--- old/libstorage-ng-4.4.58/testsuite/probe/ambiguous2-mockup.xml 1970-01-01 01:00:00.000000000 +0100
+++ new/libstorage-ng-4.4.61/testsuite/probe/ambiguous2-mockup.xml 2021-12-01 12:38:48.000000000 +0100
@@ -0,0 +1,212 @@
+<?xml version="1.0"?>
+<!-- generated by libstorage-ng version 4.4.59, kassandra.suse.de, 2021-12-01 08:27:13 GMT -->
+<Mockup>
+ <Commands>
+ <Command>
+ <name>/bin/ls -1 --sort=none '/sys/block'</name>
+ <stdout>sdc</stdout>
+ </Command>
+ <Command>
+ <name>/sbin/blkid -c '/dev/null'</name>
+ <stdout>/dev/sdc: UUID="d090269c-1a57-4bd3-a182-5a300b818a72" UUID_SUB="ac4735ad-3176-4f88-a9d8-7744f9c56548" BLOCK_SIZE="4096" TYPE="btrfs" PTUUID="e00c8073-6bd2-44e6-90d0-2e7c17185cde" PTTYPE="gpt"</stdout>
+ </Command>
+ <Command>
+ <name>/sbin/dmraid --sets=active -ccc</name>
+ <stdout>no raid disks</stdout>
+ <exit-code>1</exit-code>
+ </Command>
+ <Command>
+ <name>/sbin/dmsetup table</name>
+ </Command>
+ <Command>
+ <name>/sbin/multipath -d -v 2 -ll</name>
+ </Command>
+ <Command>
+ <name>/usr/bin/getconf PAGESIZE</name>
+ <stdout>4096</stdout>
+ </Command>
+ <Command>
+ <name>/usr/bin/lsscsi --transport</name>
+ <stdout>[2:0:0:0] disk sata:50000393a258296e /dev/sdc </stdout>
+ </Command>
+ <Command>
+ <name>/usr/bin/stat --format '%f' '/dev/sdc'</name>
+ <stdout>61b0</stdout>
+ </Command>
+ <Command>
+ <name>/usr/bin/test -d '/sys/firmware/efi/efivars'</name>
+ <exit-code>1</exit-code>
+ </Command>
+ <Command>
+ <name>/usr/bin/udevadm info '/dev/sdc'</name>
+ <stdout>P: /devices/pci0000:00/0000:00:17.0/ata3/host2/target2:0:0/2:0:0:0/block/sdc</stdout>
+ <stdout>N: sdc</stdout>
+ <stdout>L: 0</stdout>
+ <stdout>S: disk/by-path/pci-0000:00:17.0-ata-3</stdout>
+ <stdout>S: disk/by-id/scsi-0ATA_TOSHIBA_MK3261GS_Y169P5D6T</stdout>
+ <stdout>S: disk/by-id/wwn-0x50000393a258296e</stdout>
+ <stdout>S: disk/by-id/scsi-350000393a258296e</stdout>
+ <stdout>S: disk/by-path/pci-0000:00:17.0-ata-3.0</stdout>
+ <stdout>S: disk/by-uuid/d090269c-1a57-4bd3-a182-5a300b818a72</stdout>
+ <stdout>S: disk/by-id/scsi-1ATA_TOSHIBA_MK3261GSYN_Y169P5D6T</stdout>
+ <stdout>S: disk/by-id/scsi-SATA_TOSHIBA_MK3261GS_Y169P5D6T</stdout>
+ <stdout>S: disk/by-id/ata-TOSHIBA_MK3261GSYN_Y169P5D6T</stdout>
+ <stdout>E: DEVPATH=/devices/pci0000:00/0000:00:17.0/ata3/host2/target2:0:0/2:0:0:0/block/sdc</stdout>
+ <stdout>E: DEVNAME=/dev/sdc</stdout>
+ <stdout>E: DEVTYPE=disk</stdout>
+ <stdout>E: DISKSEQ=3</stdout>
+ <stdout>E: MAJOR=8</stdout>
+ <stdout>E: MINOR=32</stdout>
+ <stdout>E: SUBSYSTEM=block</stdout>
+ <stdout>E: USEC_INITIALIZED=5446833</stdout>
+ <stdout>E: DONT_DEL_PART_NODES=1</stdout>
+ <stdout>E: ID_ATA=1</stdout>
+ <stdout>E: ID_TYPE=disk</stdout>
+ <stdout>E: ID_BUS=ata</stdout>
+ <stdout>E: ID_MODEL=TOSHIBA_MK3261GSYN</stdout>
+ <stdout>E: ID_MODEL_ENC=TOSHIBA\x20MK3261GSYN\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</stdout>
+ <stdout>E: ID_REVISION=MH000C</stdout>
+ <stdout>E: ID_SERIAL=TOSHIBA_MK3261GSYN_Y169P5D6T</stdout>
+ <stdout>E: ID_SERIAL_SHORT=Y169P5D6T</stdout>
+ <stdout>E: ID_ATA_WRITE_CACHE=1</stdout>
+ <stdout>E: ID_ATA_WRITE_CACHE_ENABLED=1</stdout>
+ <stdout>E: ID_ATA_FEATURE_SET_PM=1</stdout>
+ <stdout>E: ID_ATA_FEATURE_SET_PM_ENABLED=1</stdout>
+ <stdout>E: ID_ATA_FEATURE_SET_SECURITY=1</stdout>
+ <stdout>E: ID_ATA_FEATURE_SET_SECURITY_ENABLED=0</stdout>
+ <stdout>E: ID_ATA_FEATURE_SET_SECURITY_ERASE_UNIT_MIN=62</stdout>
+ <stdout>E: ID_ATA_FEATURE_SET_SECURITY_ENHANCED_ERASE_UNIT_MIN=62</stdout>
+ <stdout>E: ID_ATA_FEATURE_SET_SECURITY_FROZEN=1</stdout>
+ <stdout>E: ID_ATA_FEATURE_SET_SMART=1</stdout>
+ <stdout>E: ID_ATA_FEATURE_SET_SMART_ENABLED=1</stdout>
+ <stdout>E: ID_ATA_FEATURE_SET_APM=1</stdout>
+ <stdout>E: ID_ATA_FEATURE_SET_APM_ENABLED=1</stdout>
+ <stdout>E: ID_ATA_FEATURE_SET_APM_CURRENT_VALUE=128</stdout>
+ <stdout>E: ID_ATA_DOWNLOAD_MICROCODE=1</stdout>
+ <stdout>E: ID_ATA_SATA=1</stdout>
+ <stdout>E: ID_ATA_SATA_SIGNAL_RATE_GEN2=1</stdout>
+ <stdout>E: ID_ATA_SATA_SIGNAL_RATE_GEN1=1</stdout>
+ <stdout>E: ID_ATA_ROTATION_RATE_RPM=7200</stdout>
+ <stdout>E: ID_WWN=0x50000393a258296e</stdout>
+ <stdout>E: ID_WWN_WITH_EXTENSION=0x50000393a258296e</stdout>
+ <stdout>E: ID_PATH=pci-0000:00:17.0-ata-3.0</stdout>
+ <stdout>E: ID_PATH_TAG=pci-0000_00_17_0-ata-3_0</stdout>
+ <stdout>E: ID_PATH_ATA_COMPAT=pci-0000:00:17.0-ata-3</stdout>
+ <stdout>E: SCSI_TPGS=0</stdout>
+ <stdout>E: SCSI_TYPE=disk</stdout>
+ <stdout>E: SCSI_VENDOR=ATA</stdout>
+ <stdout>E: SCSI_VENDOR_ENC=ATA\x20\x20\x20\x20\x20</stdout>
+ <stdout>E: SCSI_MODEL=TOSHIBA_MK3261GS</stdout>
+ <stdout>E: SCSI_MODEL_ENC=TOSHIBA\x20MK3261GS</stdout>
+ <stdout>E: SCSI_REVISION=0C</stdout>
+ <stdout>E: ID_SCSI=1</stdout>
+ <stdout>E: ID_SCSI_INQUIRY=1</stdout>
+ <stdout>E: SCSI_IDENT_SERIAL=Y169P5D6T</stdout>
+ <stdout>E: SCSI_IDENT_LUN_VENDOR=Y169P5D6T</stdout>
+ <stdout>E: SCSI_IDENT_LUN_T10=ATA_TOSHIBA_MK3261GSYN_Y169P5D6T</stdout>
+ <stdout>E: SCSI_IDENT_LUN_ATA=TOSHIBA_MK3261GSYN_Y169P5D6T</stdout>
+ <stdout>E: SCSI_IDENT_LUN_NAA_REG=50000393a258296e</stdout>
+ <stdout>E: ID_VENDOR=ATA</stdout>
+ <stdout>E: ID_VENDOR_ENC=ATA\x20\x20\x20\x20\x20</stdout>
+ <stdout>E: ID_SCSI_SERIAL=Y169P5D6T</stdout>
+ <stdout>E: MPATH_SBIN_PATH=/sbin</stdout>
+ <stdout>E: DM_MULTIPATH_DEVICE_PATH=0</stdout>
+ <stdout>E: ID_FS_UUID=d090269c-1a57-4bd3-a182-5a300b818a72</stdout>
+ <stdout>E: ID_FS_UUID_ENC=d090269c-1a57-4bd3-a182-5a300b818a72</stdout>
+ <stdout>E: ID_FS_UUID_SUB=ac4735ad-3176-4f88-a9d8-7744f9c56548</stdout>
+ <stdout>E: ID_FS_UUID_SUB_ENC=ac4735ad-3176-4f88-a9d8-7744f9c56548</stdout>
+ <stdout>E: ID_FS_TYPE=btrfs</stdout>
+ <stdout>E: ID_FS_USAGE=filesystem</stdout>
+ <stdout>E: ID_PART_TABLE_UUID=e00c8073-6bd2-44e6-90d0-2e7c17185cde</stdout>
+ <stdout>E: ID_PART_TABLE_TYPE=gpt</stdout>
+ <stdout>E: COMPAT_SYMLINK_GENERATION=2</stdout>
+ <stdout>E: ID_BTRFS_READY=1</stdout>
+ <stdout>E: DEVLINKS=/dev/disk/by-path/pci-0000:00:17.0-ata-3 /dev/disk/by-id/scsi-0ATA_TOSHIBA_MK3261GS_Y169P5D6T /dev/disk/by-id/wwn-0x50000393a258296e /dev/disk/by-id/scsi-350000393a258296e /dev/disk/by-path/pci-0000:00:17.0-ata-3.0 /dev/disk/by-uuid/d090269c-1a57-4bd3-a182-5a300b818a72 /dev/disk/by-id/scsi-1ATA_TOSHIBA_MK3261GSYN_Y169P5D6T /dev/disk/by-id/scsi-SATA_TOSHIBA_MK3261GS_Y169P5D6T /dev/disk/by-id/ata-TOSHIBA_MK3261GSYN_Y169P5D6T</stdout>
+ <stdout>E: TAGS=:systemd:</stdout>
+ <stdout>E: CURRENT_TAGS=:systemd:</stdout>
+ <stdout></stdout>
+ </Command>
+ <Command>
+ <name>/usr/bin/udevadm settle --timeout=20</name>
+ </Command>
+ <Command>
+ <name>/usr/bin/uname -m</name>
+ <stdout>x86_64</stdout>
+ </Command>
+ <Command>
+ <name>/usr/sbin/parted --script --machine '/dev/sdc' unit s print</name>
+ <stdout>BYT;</stdout>
+ <stdout>/dev/sdc:625142448s:scsi:512:512:gpt:ATA TOSHIBA MK3261GS::128;</stdout>
+ </Command>
+ </Commands>
+ <Files>
+ <File>
+ <name>/etc/crypttab</name>
+ </File>
+ <File>
+ <name>/etc/fstab</name>
+ </File>
+ <File>
+ <name>/proc/mounts</name>
+ <content>proc /proc proc rw,nosuid,nodev,noexec,relatime 0 0</content>
+ <content>sysfs /sys sysfs rw,nosuid,nodev,noexec,relatime 0 0</content>
+ <content>devtmpfs /dev devtmpfs rw,nosuid,size=16254664k,nr_inodes=4063666,mode=755,inode64 0 0</content>
+ <content>securityfs /sys/kernel/security securityfs rw,nosuid,nodev,noexec,relatime 0 0</content>
+ <content>tmpfs /dev/shm tmpfs rw,nosuid,nodev,inode64 0 0</content>
+ <content>devpts /dev/pts devpts rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000 0 0</content>
+ <content>tmpfs /run tmpfs rw,nosuid,nodev,size=6507684k,nr_inodes=819200,mode=755,inode64 0 0</content>
+ <content>cgroup2 /sys/fs/cgroup cgroup2 rw,nosuid,nodev,noexec,relatime,nsdelegate,memory_recursiveprot 0 0</content>
+ <content>pstore /sys/fs/pstore pstore rw,nosuid,nodev,noexec,relatime 0 0</content>
+ <content>none /sys/fs/bpf bpf rw,nosuid,nodev,noexec,relatime,mode=700 0 0</content>
+ <content>systemd-1 /proc/sys/fs/binfmt_misc autofs rw,relatime,fd=30,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=19639 0 0</content>
+ <content>tracefs /sys/kernel/tracing tracefs rw,nosuid,nodev,noexec,relatime 0 0</content>
+ <content>hugetlbfs /dev/hugepages hugetlbfs rw,relatime,pagesize=2M 0 0</content>
+ <content>debugfs /sys/kernel/debug debugfs rw,nosuid,nodev,noexec,relatime 0 0</content>
+ <content>mqueue /dev/mqueue mqueue rw,nosuid,nodev,noexec,relatime 0 0</content>
+ <content>fusectl /sys/fs/fuse/connections fusectl rw,nosuid,nodev,noexec,relatime 0 0</content>
+ <content>configfs /sys/kernel/config configfs rw,nosuid,nodev,noexec,relatime 0 0</content>
+ <content>tmpfs /tmp tmpfs rw,nosuid,nodev,nr_inodes=409600,inode64 0 0</content>
+ <content>tmpfs /run/user/0 tmpfs rw,nosuid,nodev,relatime,size=3253840k,nr_inodes=813460,mode=700,inode64 0 0</content>
+ </File>
+ <File>
+ <name>/proc/swaps</name>
+ <content>Filename Type Size Used Priority</content>
+ </File>
+ <File>
+ <name>/sys/devices/pci0000:00/0000:00:17.0/ata3/host2/target2:0:0/2:0:0:0/block/sdc/alignment_offset</name>
+ <content>0</content>
+ </File>
+ <File>
+ <name>/sys/devices/pci0000:00/0000:00:17.0/ata3/host2/target2:0:0/2:0:0:0/block/sdc/ext_range</name>
+ <content>256</content>
+ </File>
+ <File>
+ <name>/sys/devices/pci0000:00/0000:00:17.0/ata3/host2/target2:0:0/2:0:0:0/block/sdc/queue/dax</name>
+ <content>0</content>
+ </File>
+ <File>
+ <name>/sys/devices/pci0000:00/0000:00:17.0/ata3/host2/target2:0:0/2:0:0:0/block/sdc/queue/logical_block_size</name>
+ <content>512</content>
+ </File>
+ <File>
+ <name>/sys/devices/pci0000:00/0000:00:17.0/ata3/host2/target2:0:0/2:0:0:0/block/sdc/queue/optimal_io_size</name>
+ <content>0</content>
+ </File>
+ <File>
+ <name>/sys/devices/pci0000:00/0000:00:17.0/ata3/host2/target2:0:0/2:0:0:0/block/sdc/queue/rotational</name>
+ <content>1</content>
+ </File>
+ <File>
+ <name>/sys/devices/pci0000:00/0000:00:17.0/ata3/host2/target2:0:0/2:0:0:0/block/sdc/queue/zoned</name>
+ <content>none</content>
+ </File>
+ <File>
+ <name>/sys/devices/pci0000:00/0000:00:17.0/ata3/host2/target2:0:0/2:0:0:0/block/sdc/ro</name>
+ <content>0</content>
+ </File>
+ <File>
+ <name>/sys/devices/pci0000:00/0000:00:17.0/ata3/host2/target2:0:0/2:0:0:0/block/sdc/size</name>
+ <content>625142448</content>
+ </File>
+ </Files>
+</Mockup>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-ng-4.4.58/testsuite/probe/ambiguous2.cc new/libstorage-ng-4.4.61/testsuite/probe/ambiguous2.cc
--- old/libstorage-ng-4.4.58/testsuite/probe/ambiguous2.cc 1970-01-01 01:00:00.000000000 +0100
+++ new/libstorage-ng-4.4.61/testsuite/probe/ambiguous2.cc 2021-12-01 12:38:48.000000000 +0100
@@ -0,0 +1,53 @@
+
+#define BOOST_TEST_DYN_LINK
+#define BOOST_TEST_MODULE libstorage
+
+#include <boost/test/unit_test.hpp>
+
+#include "storage/Environment.h"
+#include "storage/Storage.h"
+#include "storage/Devicegraph.h"
+#include "storage/UsedFeatures.h"
+
+#include "testsuite/helpers/TsCmp.h"
+#include "testsuite/helpers/CallbacksRecorder.h"
+
+
+using namespace std;
+using namespace storage;
+
+
+BOOST_AUTO_TEST_CASE(probe)
+{
+ setenv("LIBSTORAGE_MULTIPLE_DEVICES_BTRFS", "no", 1);
+
+ set_logger(get_stdout_logger());
+
+ Environment environment(true, ProbeMode::READ_MOCKUP, TargetMode::DIRECT);
+ environment.set_mockup_filename("ambiguous2-mockup.xml");
+
+ vector<string> probe_messages;
+ ProbeCallbacksRecorder probe_callbacks_recorder(probe_messages);
+
+ Storage storage(environment);
+ storage.probe(&probe_callbacks_recorder);
+
+ BOOST_REQUIRE_EQUAL(probe_messages.size(), 3);
+ BOOST_CHECK_EQUAL(probe_messages[0], "begin:");
+ BOOST_CHECK_EQUAL(probe_messages[1], "error: message = 'Detected a file system next to a partition table on the\n"
+ "device /dev/sdc. The file system will be ignored.', what = ''");
+ BOOST_CHECK_EQUAL(probe_messages[2], "end:");
+
+ const Devicegraph* probed = storage.get_probed();
+ probed->check();
+
+ Devicegraph* staging = storage.get_staging();
+ staging->load("ambiguous2-devicegraph.xml");
+ staging->check();
+
+ TsCmpDevicegraph cmp(*probed, *staging);
+ BOOST_CHECK_MESSAGE(cmp.ok(), cmp);
+
+ BOOST_CHECK_EQUAL(required_features(probed), "");
+ BOOST_CHECK_EQUAL(suggested_features(probed), "");
+}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-ng-4.4.58/testsuite/set-source.cc new/libstorage-ng-4.4.61/testsuite/set-source.cc
--- old/libstorage-ng-4.4.58/testsuite/set-source.cc 2021-11-23 14:13:04.000000000 +0100
+++ new/libstorage-ng-4.4.61/testsuite/set-source.cc 2021-12-01 12:38:48.000000000 +0100
@@ -6,6 +6,7 @@
#include "storage/Utils/HumanString.h"
#include "storage/Devices/DiskImpl.h"
+#include "storage/Devices/Multipath.h"
#include "storage/Devices/Gpt.h"
#include "storage/Holders/Holder.h"
#include "storage/Devicegraph.h"
@@ -61,3 +62,32 @@
BOOST_CHECK_EQUAL(sda1->get_udev_ids().size(), 1);
BOOST_CHECK_EQUAL(sda1->get_udev_ids()[0], "scsi-SATA_VBOX_HARDDISK_VB20a8f410-8a3f17dc-part1");
}
+
+
+BOOST_AUTO_TEST_CASE(test2)
+{
+ Environment environment(true, ProbeMode::NONE, TargetMode::DIRECT);
+
+ Storage storage(environment);
+
+ Devicegraph* staging = storage.get_staging();
+
+ Multipath* multipath1 = Multipath::create(staging, "/dev/mapper/mpatha");
+ multipath1->set_dm_table_name("dm-0");
+
+ Multipath* multipath2 = Multipath::create(staging, "/dev/mapper/mpathb");
+ multipath2->set_dm_table_name("dm-1");
+
+ Gpt* gpt = to_gpt(multipath1->create_partition_table(PtType::GPT));
+ Partition* partition = gpt->create_partition("/dev/mapper/mpatha-part2", Region(2048, 1048576, 512), PartitionType::PRIMARY);
+ partition->set_dm_table_name("dm-2");
+
+ BOOST_CHECK_EQUAL(partition->get_name(), "/dev/mapper/mpatha-part2");
+ BOOST_CHECK_EQUAL(partition->get_dm_table_name(), "dm-2");
+
+ Holder* holder = staging->find_holder(multipath1->get_sid(), gpt->get_sid());
+ holder->set_source(multipath2);
+
+ BOOST_CHECK_EQUAL(partition->get_name(), "/dev/mapper/mpathb-part2");
+ BOOST_CHECK_EQUAL(partition->get_dm_table_name(), "");
+}
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package libsoup2 for openSUSE:Factory checked in at 2021-11-29 17:28:18
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libsoup2 (Old)
and /work/SRC/openSUSE:Factory/.libsoup2.new.31177 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libsoup2"
Mon Nov 29 17:28:18 2021 rev:4 rq:934069 version:2.74.2
Changes:
--------
--- /work/SRC/openSUSE:Factory/libsoup2/libsoup2.changes 2021-10-29 22:34:37.111690852 +0200
+++ /work/SRC/openSUSE:Factory/.libsoup2.new.31177/libsoup2.changes 2021-12-02 02:17:12.626291252 +0100
@@ -1,0 +2,6 @@
+Wed Nov 24 21:45:21 UTC 2021 - Bj��rn Lie <bjorn.lie(a)gmail.com>
+
+- Update to version 2.74.2:
+ + Error when libsoup3 is already loaded before libsoup2.
+
+-------------------------------------------------------------------
Old:
----
libsoup-2.74.1.tar.xz
New:
----
libsoup-2.74.2.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ libsoup2.spec ++++++
--- /var/tmp/diff_new_pack.xFGui8/_old 2021-12-02 02:17:13.062289731 +0100
+++ /var/tmp/diff_new_pack.xFGui8/_new 2021-12-02 02:17:13.062289731 +0100
@@ -18,7 +18,7 @@
Name: libsoup2
%define _name libsoup
-Version: 2.74.1
+Version: 2.74.2
Release: 0
Summary: HTTP client/server library for GNOME
License: LGPL-2.1-or-later
++++++ libsoup-2.74.1.tar.xz -> libsoup-2.74.2.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libsoup-2.74.1/NEWS new/libsoup-2.74.2/NEWS
--- old/libsoup-2.74.1/NEWS 2021-10-24 18:04:54.536545500 +0200
+++ new/libsoup-2.74.2/NEWS 2021-11-24 21:32:05.952091000 +0100
@@ -1,3 +1,7 @@
+Changes in libsoup from 2.74.1 to 2.74.2:
+
+ * Error when libsoup3 is already loaded before libsoup2 [Patrick Griffis]
+
Changes in libsoup from 2.74.0 to 2.74.1:
* Fix support for older versions of Vala [Rico Tzschichholz]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libsoup-2.74.1/libsoup/soup-init.c new/libsoup-2.74.2/libsoup/soup-init.c
--- old/libsoup-2.74.1/libsoup/soup-init.c 2021-10-24 18:04:54.541545400 +0200
+++ new/libsoup-2.74.2/libsoup/soup-init.c 2021-11-24 21:32:05.957091000 +0100
@@ -10,6 +10,7 @@
#endif
#include <glib/gi18n-lib.h>
+#include <gmodule.h>
#include "gconstructor.h"
#ifdef G_OS_WIN32
@@ -19,6 +20,21 @@
HMODULE soup_dll;
#endif
+static gboolean
+soup3_is_loaded (void)
+{
+ GModule *module = g_module_open (NULL, 0);
+ gpointer func;
+ gboolean result = FALSE;
+
+ if (g_module_symbol (module, "soup_date_time_new_from_http_string", &func))
+ result = TRUE;
+
+ g_module_close (module);
+
+ return result;
+}
+
static void
soup_init (void)
{
@@ -34,6 +50,9 @@
#ifdef HAVE_BIND_TEXTDOMAIN_CODESET
bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
#endif
+
+ if (soup3_is_loaded ())
+ g_error ("libsoup3 symbols detected. Using libsoup2 and libsoup3 in the same process is not supported.");
}
#if defined (G_OS_WIN32)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libsoup-2.74.1/meson.build new/libsoup-2.74.2/meson.build
--- old/libsoup-2.74.1/meson.build 2021-10-24 18:04:54.546545500 +0200
+++ new/libsoup-2.74.2/meson.build 2021-11-24 21:32:05.962091200 +0100
@@ -1,5 +1,5 @@
project('libsoup', 'c',
- version: '2.74.1',
+ version: '2.74.2',
meson_version : '>=0.50',
license : 'LGPL2',
default_options : 'c_std=c99')
@@ -20,7 +20,7 @@
#
# When bumping the first component version, set the second and third components
# to 0. When bumping the second version, set the third one to zero.
-libversion = '1.11.1'
+libversion = '1.11.2'
apiversion = '2.4'
soversion = libversion.split('.')[0]
libsoup_api_name = '@0@-@1@'.format(meson.project_name(), apiversion)
@@ -83,12 +83,14 @@
glib_required_version = '>= 2.58'
glib_dep = dependency('glib-2.0', version : glib_required_version,
fallback: ['glib', 'libglib_dep'])
+gmodule_dep = dependency('gmodule-2.0', version : glib_required_version,
+ fallback: ['glib', 'libgmodule_dep'])
gobject_dep = dependency('gobject-2.0', version : glib_required_version,
fallback: ['glib', 'libgobject_dep'])
gio_dep = dependency('gio-2.0', version : glib_required_version,
fallback: ['glib', 'libgio_dep'])
-glib_deps = [glib_dep, gobject_dep, gio_dep]
+glib_deps = [glib_dep, gmodule_dep, gobject_dep, gio_dep]
sqlite_dep = dependency('sqlite3', required: false)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libsoup-2.74.1/tests/brotli-decompressor-test.c new/libsoup-2.74.2/tests/brotli-decompressor-test.c
--- old/libsoup-2.74.1/tests/brotli-decompressor-test.c 2021-10-24 18:04:54.549545500 +0200
+++ new/libsoup-2.74.2/tests/brotli-decompressor-test.c 2021-11-24 21:32:05.965091000 +0100
@@ -54,6 +54,9 @@
g_assert_cmpint (result, ==, G_CONVERTER_FINISHED);
+ /* NUL terminate data so we can cmpstr below. */
+ g_byte_array_append (out_bytes, (const guint8*)"\0", 1);
+
g_free (contents);
g_assert_true (g_file_get_contents (uncompressed_filename, &contents, &length, NULL));
g_assert_cmpstr ((char*)out_bytes->data, ==, contents);
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package libsoup for openSUSE:Factory checked in at 2021-11-29 17:28:17
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libsoup (Old)
and /work/SRC/openSUSE:Factory/.libsoup.new.31177 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libsoup"
Mon Nov 29 17:28:17 2021 rev:131 rq:934067 version:3.0.3
Changes:
--------
--- /work/SRC/openSUSE:Factory/libsoup/libsoup.changes 2021-11-06 18:18:33.220900785 +0100
+++ /work/SRC/openSUSE:Factory/.libsoup.new.31177/libsoup.changes 2021-12-02 02:17:11.498295186 +0100
@@ -1,0 +2,8 @@
+Wed Nov 24 20:07:35 UTC 2021 - Bj��rn Lie <bjorn.lie(a)gmail.com>
+
+- Update to version 3.0.3:
+ + Fix various HTTP/2 issues.
+ + Error when libsoup2 has been loaded before libsoup3.
+ + Fix memory leak when using TLS.
+
+-------------------------------------------------------------------
Old:
----
libsoup-3.0.2.tar.xz
New:
----
libsoup-3.0.3.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ libsoup.spec ++++++
--- /var/tmp/diff_new_pack.JZsI5t/_old 2021-12-02 02:17:12.062293219 +0100
+++ /var/tmp/diff_new_pack.JZsI5t/_new 2021-12-02 02:17:12.066293205 +0100
@@ -18,7 +18,7 @@
%define api_version 3.0
Name: libsoup
-Version: 3.0.2
+Version: 3.0.3
Release: 0
Summary: HTTP client/server library for GNOME
License: LGPL-2.1-or-later
++++++ libsoup-3.0.2.tar.xz -> libsoup-3.0.3.tar.xz ++++++
++++ 1890 lines of diff (skipped)
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package libsemigroups for openSUSE:Factory checked in at 2021-11-30 23:16:06
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libsemigroups (Old)
and /work/SRC/openSUSE:Factory/.libsemigroups.new.31177 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libsemigroups"
Tue Nov 30 23:16:06 2021 rev:11 rq:934733 version:2.1.2
Changes:
--------
--- /work/SRC/openSUSE:Factory/libsemigroups/libsemigroups.changes 2021-11-11 21:39:24.533019356 +0100
+++ /work/SRC/openSUSE:Factory/.libsemigroups.new.31177/libsemigroups.changes 2021-12-02 02:17:08.362306126 +0100
@@ -1,0 +2,18 @@
+Tue Nov 30 11:46:47 UTC 2021 - Jan Engelhardt <jengelh(a)inai.de>
+
+- Update to release 2.1.2
+ * New implementations of the linear time algorithm by Kambites
+ for equality checking and the algorithm by Mitchell and
+ Tsalakou for finding normal forms in small overlap monoids in
+ the class `Kambites`.
+ * A performance improvement in the implementation of Konieczny
+ algorithm, for determining the structure of a finite
+ semigroup or monoid.
+ * An implementation of the linear time algorithm by Radoszewski
+ and Rytter for checking equality of words in free bands in
+ the function.
+ * A major revision, expansion of the settings, and improvement
+ in the performance of the implementation of the Todd-Coxeter
+ algorithm in the class `ToddCoxeter`.
+
+-------------------------------------------------------------------
Old:
----
libsemigroups-2.0.3.tar.gz
New:
----
libsemigroups-2.1.2.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ libsemigroups.spec ++++++
--- /var/tmp/diff_new_pack.xxU1b6/_old 2021-12-02 02:17:08.738304815 +0100
+++ /var/tmp/diff_new_pack.xxU1b6/_new 2021-12-02 02:17:08.742304801 +0100
@@ -18,7 +18,7 @@
Name: libsemigroups
%define lname libsemigroups2
-Version: 2.0.3
+Version: 2.1.2
Release: 0
Summary: Library with algorithms for computing finite and finitely presented semigroups
License: GPL-3.0-or-later
++++++ libsemigroups-2.0.3.tar.gz -> libsemigroups-2.1.2.tar.gz ++++++
++++ 50117 lines of diff (skipped)
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package libreoffice for openSUSE:Factory checked in at 2021-11-29 17:28:22
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libreoffice (Old)
and /work/SRC/openSUSE:Factory/.libreoffice.new.31177 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libreoffice"
Mon Nov 29 17:28:22 2021 rev:240 rq:934158 version:7.2.3.2
Changes:
--------
--- /work/SRC/openSUSE:Factory/libreoffice/libreoffice.changes 2021-11-12 15:59:42.570577278 +0100
+++ /work/SRC/openSUSE:Factory/.libreoffice.new.31177/libreoffice.changes 2021-12-02 02:16:59.602336685 +0100
@@ -1,0 +2,5 @@
+Wed Nov 24 16:33:53 UTC 2021 - Danilo Spinella <danilo.spinella(a)suse.com>
+
+- Update to 7.2.3.2
+
+-------------------------------------------------------------------
Old:
----
libreoffice-7.2.3.1.tar.xz
libreoffice-7.2.3.1.tar.xz.asc
libreoffice-help-7.2.3.1.tar.xz
libreoffice-help-7.2.3.1.tar.xz.asc
libreoffice-translations-7.2.3.1.tar.xz
libreoffice-translations-7.2.3.1.tar.xz.asc
New:
----
libreoffice-7.2.3.2.tar.xz
libreoffice-7.2.3.2.tar.xz.asc
libreoffice-help-7.2.3.2.tar.xz
libreoffice-help-7.2.3.2.tar.xz.asc
libreoffice-translations-7.2.3.2.tar.xz
libreoffice-translations-7.2.3.2.tar.xz.asc
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ libreoffice.spec ++++++
--- /var/tmp/diff_new_pack.BNlNXP/_old 2021-12-02 02:17:03.114324434 +0100
+++ /var/tmp/diff_new_pack.BNlNXP/_new 2021-12-02 02:17:03.118324420 +0100
@@ -46,7 +46,7 @@
%endif
%bcond_with firebird
Name: libreoffice
-Version: 7.2.3.1
+Version: 7.2.3.2
Release: 0
Summary: A Free Office Suite (Framework)
License: LGPL-3.0-or-later AND MPL-2.0+
++++++ libreoffice-7.2.3.1.tar.xz -> libreoffice-7.2.3.2.tar.xz ++++++
/work/SRC/openSUSE:Factory/libreoffice/libreoffice-7.2.3.1.tar.xz /work/SRC/openSUSE:Factory/.libreoffice.new.31177/libreoffice-7.2.3.2.tar.xz differ: char 27, line 1
++++++ libreoffice-help-7.2.3.1.tar.xz -> libreoffice-help-7.2.3.2.tar.xz ++++++
/work/SRC/openSUSE:Factory/libreoffice/libreoffice-help-7.2.3.1.tar.xz /work/SRC/openSUSE:Factory/.libreoffice.new.31177/libreoffice-help-7.2.3.2.tar.xz differ: char 26, line 1
++++++ libreoffice-translations-7.2.3.1.tar.xz -> libreoffice-translations-7.2.3.2.tar.xz ++++++
/work/SRC/openSUSE:Factory/libreoffice/libreoffice-translations-7.2.3.1.tar.xz /work/SRC/openSUSE:Factory/.libreoffice.new.31177/libreoffice-translations-7.2.3.2.tar.xz differ: char 26, line 1
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package libmpdclient for openSUSE:Factory checked in at 2021-11-30 23:15:58
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libmpdclient (Old)
and /work/SRC/openSUSE:Factory/.libmpdclient.new.31177 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libmpdclient"
Tue Nov 30 23:15:58 2021 rev:8 rq:934612 version:2.20
Changes:
--------
--- /work/SRC/openSUSE:Factory/libmpdclient/libmpdclient.changes 2020-12-15 12:33:12.664136959 +0100
+++ /work/SRC/openSUSE:Factory/.libmpdclient.new.31177/libmpdclient.changes 2021-12-02 02:16:39.994404240 +0100
@@ -1,0 +2,16 @@
+Mon Nov 29 17:00:43 UTC 2021 - �������� ������������ <ilya(a)ilya.pp.ua>
+
+- Updated to 2.20
+ * https://raw.githubusercontent.com/MusicPlayerDaemon/libmpdclient/v2.20/NEWS
+ * support MPD protocol 0.23:
+ * getvol
+ * position argument for searchadd, findadd, load and playlistadd
+ * whence argument for addid and add
+ * range argument for playlistdelete
+ * support MPD protocol 0.22.4: binarylimit
+ * support MPD protocol 0.22.0: readpicture
+ * support MPD protocol 0.21.0: albumart
+ * support tags: "ComposerSort", "Ensemble", "Movement", "MovementNumber", "Location"
+ * queue: make "priority" parameter unsigned
+
+-------------------------------------------------------------------
Old:
----
libmpdclient-2.19.tar.xz
New:
----
libmpdclient-2.20.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ libmpdclient.spec ++++++
--- /var/tmp/diff_new_pack.P55rDJ/_old 2021-12-02 02:16:40.482402752 +0100
+++ /var/tmp/diff_new_pack.P55rDJ/_new 2021-12-02 02:16:40.482402752 +0100
@@ -1,7 +1,7 @@
#
# spec file for package libmpdclient
#
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2020 Tejas Guruswamy <tejas.guruswamy(a)opensuse.org>
#
# All modifications and additions to the file contributed by third parties
@@ -20,7 +20,7 @@
%define so_name 2
%define vala_version %(rpm -q --queryformat='%{VERSION}' vala | sed 's/\.[0-9]*$//g')
Name: libmpdclient
-Version: 2.19
+Version: 2.20
Release: 0
Summary: Library for interfacing the Music Player Daemon
License: BSD-3-Clause
++++++ libmpdclient-2.19.tar.xz -> libmpdclient-2.20.tar.xz ++++++
++++ 1747 lines of diff (skipped)
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package libmfx for openSUSE:Factory checked in at 2021-12-01 20:46:22
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libmfx (Old)
and /work/SRC/openSUSE:Factory/.libmfx.new.31177 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libmfx"
Wed Dec 1 20:46:22 2021 rev:14 rq:934705 version:21.3.5
Changes:
--------
--- /work/SRC/openSUSE:Factory/libmfx/libmfx.changes 2021-10-05 22:33:53.390873241 +0200
+++ /work/SRC/openSUSE:Factory/.libmfx.new.31177/libmfx.changes 2021-12-02 02:16:38.166409815 +0100
@@ -1,0 +2,40 @@
+Mon Nov 29 15:33:42 UTC 2021 - Bj��rn Lie <bjorn.lie(a)gmail.com>
+
+- Update to version 21.3.5:
+ * single change: Updates release notes for 21.3.4 release
+ * New features:
+ + VP9 Encode: Added WebRTC mode.
+ + Samples:
+ . Added "VuiTC" option to set VUI TransferCharacteristics in
+ sample_multi_transcode.
+ . Added the verification of input params before used in Init
+ for sample_encode
+ + Misc:
+ . Added support of DRM_FORMAT_NV12 for console mode
+ rendering.
+ . Added runtimes support matrix for Media SDK and oneVPL GPU
+ Runtime.
+ + Software requirements:
+ . Libdrm 2.4.84 or later
+ . Kernel 4.14 or later (5.4 recommended, consult kernel
+ support matrix wiki page for details)
+ + Known issues: Kernel 5.0 have known issue with endurance on
+ Skylake see
+ https://bugs.freedesktop.org/show_bug.cgi?id=110285 for
+ details.
+ * Limited support on certain platforms:
+ + MPEG-2 encode is not supported on Apollo Lake
+ + H.264 Flexible Encode Infrastructure only supported on
+ Broadwell and Skylake
+ + Multi Frame Encode (MFE), HEVC Flexible Encode Infrastructure
+ only supported on Skylake
+ + VP9 decoder is supported starting from Kabylake platform
+ + VP9 encoder is supported starting from Icelake platform
+ + SW fallback is unsupported for all components but MJPEG
+ + Keem Bay requires a VPU runtime library
+ + The following features are supported by Keem Bay runtime and
+ are not supported by Gen graphics runtime:
+ . mfxExtInsertHeaders
+ . mfxExtEncoderIPCMArea
+
+-------------------------------------------------------------------
Old:
----
intel-mediasdk-21.3.4.tar.gz
New:
----
intel-mediasdk-21.3.5.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ libmfx.spec ++++++
--- /var/tmp/diff_new_pack.YRFEdF/_old 2021-12-02 02:16:38.622408425 +0100
+++ /var/tmp/diff_new_pack.YRFEdF/_new 2021-12-02 02:16:38.626408412 +0100
@@ -19,13 +19,13 @@
%global sover 1
Name: libmfx
%define lname libmfx%{sover}
-Version: 21.3.4
+Version: 21.3.5
Release: 0
Summary: The Intel Media SDK
License: MIT
Group: Development/Languages/C and C++
URL: https://github.com/Intel-Media-SDK/MediaSDK
-Source0: https://github.com/Intel-Media-SDK/MediaSDK/archive/intel-mediasdk-%{versio…
+Source0: %{url}/archive/intel-mediasdk-%{version}.tar.gz
Patch0: cmake-sle12.patch
BuildRequires: cmake
%if 0%{?suse_version} < 1500
++++++ intel-mediasdk-21.3.4.tar.gz -> intel-mediasdk-21.3.5.tar.gz ++++++
/work/SRC/openSUSE:Factory/libmfx/intel-mediasdk-21.3.4.tar.gz /work/SRC/openSUSE:Factory/.libmfx.new.31177/intel-mediasdk-21.3.5.tar.gz differ: char 30, line 1
1
0