Hello community,

here is the log from the commit of package v4l2loopback.13737 for 
openSUSE:Leap:15.2:Update checked in at 2020-08-21 00:20:15
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2:Update/v4l2loopback.13737 (Old)
 and      /work/SRC/openSUSE:Leap:15.2:Update/.v4l2loopback.13737.new.3399 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "v4l2loopback.13737"

Fri Aug 21 00:20:15 2020 rev:1 rq:828231 version:0.12.5

Changes:
--------
New Changes file:

--- /dev/null   2020-08-06 00:20:10.149648038 +0200
+++ 
/work/SRC/openSUSE:Leap:15.2:Update/.v4l2loopback.13737.new.3399/v4l2loopback.changes
       2020-08-21 00:20:15.814278446 +0200
@@ -0,0 +1,133 @@
+-------------------------------------------------------------------
+Sun Apr 19 17:41:58 UTC 2020 - Luigi Baldoni <aloi...@gmx.com>
+
+- Update to version 0.12.5
+  * Fix build in Linux 5.7-rc1 due to symbol name changes
+  * Simplify set/clear of V4L2_CAP_DEVICE_CAPS in querycaps
+  * Use temp-var for capabilities
+  * Also set vdev->device_caps
+
+-------------------------------------------------------------------
+Thu Apr  9 20:38:07 UTC 2020 - Luigi Baldoni <aloi...@gmx.com>
+
+- Update to version 0.12.4
+  * Explain what exclusive_caps does instead of referring to a
+    closed ticket
+  * Use "Chrome" rather than "Chromium"
+  * Mention exclusive_caps mode option
+  * Add linebreaks to fix markdown
+  * Set the default number of buffers to 2 
+  * instruction on obtaining yuv files
+  * infinite loop over yuv frames
+  * Drop cast to (time_t) 
+  * print "SUCCESS" message on installation success 
+  * use v4l2_buffer ptr instead of timeval 
+
+- Dropped v4l2loopback-dont_use_timeval.patch and
+  v4l2loopback-drop_cast_to_time_t.patch (merged upstream)
+
+-------------------------------------------------------------------
+Tue Feb 25 09:28:10 UTC 2020 - aloi...@gmx.com
+
+- Added v4l2loopback-dont_use_timeval.patch and
+  v4l2loopback-drop_cast_to_time_t.patch (fix boo#1164757)
+
+-------------------------------------------------------------------
+Wed Jan  8 14:19:20 UTC 2020 - Luigi Baldoni <aloi...@gmx.com>
+
+- Made build verbose
+- Removed Group and superfluous build requirements
+- Added v4l2loopback-include_header.patch (fixes boo#1159777)
+
+-------------------------------------------------------------------
+Sat Dec  7 08:31:59 UTC 2019 - Luigi Baldoni <aloi...@gmx.com>
+
+- Update to version 0.12.3
+  * v4l2lookback: Port to kernel 5.4+
+  * Set video_device->device_caps for linux>4.7.0
+  * Set some more device_caps
+  * Update issue templates
+
+-------------------------------------------------------------------
+Mon May 27 18:55:53 UTC 2019 - Luigi Baldoni <aloi...@gmx.com>
+
+- Update to version 0.12.2
+  * Fixed compat with kernel 5.0
+  * Replace v4l2_get_timestamp with ktime_get_ts(64) for
+    linux-5.1 compat
+
+- Dropped v4l2loopback-no_deprecated_function.patch (merged
+  upstream)
+
+-------------------------------------------------------------------
+Thu May 23 16:51:39 UTC 2019 - Luigi Baldoni <aloi...@gmx.com>
+
+- Added v4l2loopback-no_deprecated_function.patch (fix build with
+  newer kernels)
+
+-------------------------------------------------------------------
+Wed Jan 23 21:41:22 UTC 2019 - Luigi Baldoni <aloi...@gmx.com>
+
+- Update to version 0.12.1
+  [ IOhannes m zmölnig ]
+  * Fix permission of source code files
+  * Initialize variables
+  * Use %u to print size_t
+  * Improve coding style by removing unused variables
+  * More coding style fixes
+  * Use GStreamer-1.0 caps in the documentation
+  * Gst1.0 compat for example-script
+  * Protect VP9 and HEVC by #ifdef guards
+  [ Andrii Danyleiko ]
+  * Fix typo
+  [ Kai Kang ]
+  * Replace do_gettimeofday with v4l2_get_timestamp for linux-5
+    compat
+
+-------------------------------------------------------------------
+Mon Jul  2 12:15:49 UTC 2018 - aloi...@gmx.com
+
+- Update to version 0.12.0
+  * Fixed compat with kernel 4.16
+  * NV12 support
+  * 8bit Bayer support
+
+-------------------------------------------------------------------
+Mon Jun 25 16:26:15 UTC 2018 - aloi...@gmx.com
+
+- Use %{?linux_make_arch} when building kernel modules
+  (boo#1098050).
+
+-------------------------------------------------------------------
+Tue Apr  3 12:12:45 UTC 2018 - guillaume.gar...@opensuse.org
+
+- Update to 0.11.0:
+  * Adapted to new kernel timer API
+  * VP9 & HEVC support
+  * Hacks to work around issues with Google Chrome and GStreamer-0.10
+
+-------------------------------------------------------------------
+Fri Aug 11 17:33:50 UTC 2017 - aloi...@gmx.com
+
+- Added v4l-utils as runtime dependency
+
+-------------------------------------------------------------------
+Sat Jul 29 09:34:12 UTC 2017 - aloi...@gmx.com
+
+- Added preamble as source
+
+-------------------------------------------------------------------
+Fri Jul 28 19:53:08 UTC 2017 - aloi...@gmx.com
+
+- Update to 0.10.0
+
+-------------------------------------------------------------------
+Fri Jan 17 15:22:22 UTC 2014 - matwey.korni...@gmail.com
+
+- Update to 0.8.0 
+
+-------------------------------------------------------------------
+Sun Feb 17 13:27:21 UTC 2013 - matwey.korni...@gmail.com
+
+- Initial commit (0.6.3)
+

New:
----
  preamble
  v4l2loopback-0.12.5.tar.gz
  v4l2loopback-include_header.patch
  v4l2loopback.changes
  v4l2loopback.spec

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

Other differences:
------------------
++++++ v4l2loopback.spec ++++++
#
# spec file for package v4l2loopback
#
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via https://bugs.opensuse.org/
#


Name:           v4l2loopback
Version:        0.12.5
Release:        0
Summary:        A kernel module to create V4L2 loopback devices
License:        GPL-2.0-or-later
URL:            https://github.com/umlaeute/v4l2loopback
Source:         
https://github.com/umlaeute/v4l2loopback/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
Source1:        preamble
# PATCH-FIX-OPENSUSE v4l2loopback-include_header.patch
Patch0:         v4l2loopback-include_header.patch
BuildRequires:  %{kernel_module_package_buildreqs}
BuildRequires:  help2man
Requires:       v4l-utils
%kernel_module_package -p %{_sourcedir}/preamble

%description
This module allows you to create "virtual video devices" normal (v4l2)
applications will read these devices as if they were ordinary video
devices, but the video will not be read from e.g. a capture card but
instead it is generated by another application.

%package utils
Summary:        Utils for V4L2 loopback devices

%description utils
v4l2loopback-ctl for controlling FPS, placeholder image and image format.

%prep
%autosetup
set -- *
mkdir source
mv "$@" source/
mkdir obj

%build
for flavor in %{flavors_to_build}; do
        rm -rf obj/$flavor
        cp -r source obj/$flavor
        make V=1 %{?_smp_mflags} -C %{kernel_source $flavor} 
%{?linux_make_arch} modules M=$PWD/obj/$flavor
done

%install
export INSTALL_MOD_PATH=%{buildroot}
export INSTALL_MOD_DIR='%{kernel_module_package_moddir}'
for flavor in %{flavors_to_build}; do
        make V=1 -C %{kernel_source $flavor} modules_install M=$PWD/obj/$flavor
        make V=1 -C obj/$flavor install-utils 
DESTDIR=%{?buildroot:%{buildroot}} PREFIX=%{_prefix}
        make V=1 -C obj/$flavor install-man DESTDIR=%{?buildroot:%{buildroot}} 
PREFIX=%{_prefix}
done

%files utils
%attr(0755,root,root) %{_bindir}/v4l2loopback-ctl
%attr(0644,root,root) %{_mandir}/man1/v4l2loopback-ctl.1.gz

%changelog
++++++ preamble ++++++
Requires: kernel-%1

++++++ v4l2loopback-include_header.patch ++++++
From: Luigi Baldoni <aloi...@gmx.com>
Date: 2020-01-08 15:10:05 +0100
Subject: Include header outside of struct definition
References: (boo#1159777)

Make gcc DWARF generator work by moving struct
definition inside header file.

(many thanks to Mark J. Wielaard)

Index: v4l2loopback-0.12.3/v4l2loopback.c
===================================================================
--- v4l2loopback-0.12.3.orig/v4l2loopback.c
+++ v4l2loopback-0.12.3/v4l2loopback.c
@@ -397,9 +397,7 @@ struct v4l2l_format {
 #define V4L2_PIX_FMT_HEVC  v4l2_fourcc('H', 'E', 'V', 'C')
 #endif
 
-static const struct v4l2l_format formats[] = {
 #include "v4l2loopback_formats.h"
-};
 
 static const unsigned int FORMATS = ARRAY_SIZE(formats);
 
Index: v4l2loopback-0.12.3/v4l2loopback_formats.h
===================================================================
--- v4l2loopback-0.12.3.orig/v4l2loopback_formats.h
+++ v4l2loopback-0.12.3/v4l2loopback_formats.h
@@ -1,3 +1,4 @@
+static const struct v4l2l_format formats[] = {
   /* here come the packed formats */
 {
    .name     = "32 bpp RGB, le",
@@ -420,3 +421,4 @@
      .flags    = FORMAT_FLAGS_COMPRESSED,
      },
 #endif /* V4L2_PIX_FMT_HEVC */
+};

Reply via email to