Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package guvcview for openSUSE:Factory checked in at 2024-08-28 21:29:40 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/guvcview (Old) and /work/SRC/openSUSE:Factory/.guvcview.new.2698 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "guvcview" Wed Aug 28 21:29:40 2024 rev:9 rq:1196339 version:2.1.0 Changes: -------- --- /work/SRC/openSUSE:Factory/guvcview/guvcview.changes 2024-02-27 22:49:19.504641086 +0100 +++ /work/SRC/openSUSE:Factory/.guvcview.new.2698/guvcview.changes 2024-08-28 21:29:49.206585812 +0200 @@ -1,0 +2,30 @@ +Tue Aug 27 18:06:06 UTC 2024 - Dave Plater <[email protected]> + +- Revert to ffmpeg-7 + +------------------------------------------------------------------- +Tue Aug 27 10:47:09 UTC 2024 - Dave Plater <[email protected]> + +- Force ffmpeg-6 library use in order to fix build + +------------------------------------------------------------------- +Tue Aug 27 08:07:37 UTC 2024 - Christophe Marin <[email protected]> + +- Update to 2.1.0 + * Fix audio channels deprecated warning for avcodec >= 58 + * Add button click support for certain type of digital + microscopes + * Small fixes + * Fix minimum version for audio channels api deprecated + warning for avcodec >= 59 + * Fix COPYING to the same GPL version (v2) as the source files + * Add binary fx filter + * Make guvcview skip metadada devices + * Enable OSD crosshair size to be changed in config +- Add patch to fix build failure with GCC 14: + * 0001-Fix-build-with-GCC-14.patch +- Fix license. There's no GPL-3.0-only file that could impact + the binaries license. +- Spec cleanup + +------------------------------------------------------------------- Old: ---- guvcview-src-2.0.8.tar.bz2 New: ---- 0001-Fix-build-with-GCC-14.patch guvcview-src-2.1.0.tar.bz2 BETA DEBUG BEGIN: New:- Add patch to fix build failure with GCC 14: * 0001-Fix-build-with-GCC-14.patch - Fix license. There's no GPL-3.0-only file that could impact BETA DEBUG END: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ guvcview.spec ++++++ --- /var/tmp/diff_new_pack.0lPqXI/_old 2024-08-28 21:29:50.434636954 +0200 +++ /var/tmp/diff_new_pack.0lPqXI/_new 2024-08-28 21:29:50.434636954 +0200 @@ -1,7 +1,7 @@ # -# spec file +# spec file for package guvcview # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2024 SUSE LLC # Copyright (c) 2012 Malcolm J Lewis <[email protected]> # Copyright (c) 2013 Marguerite Su <[email protected]> # @@ -18,8 +18,8 @@ # -%define sover0 2_0-2 -%define sover1 2_1-2 +%define sover0 2_2-2 +%define sover1 2_2-2 %global flavor @BUILD_FLAVOR@%{nil} %define pname guvcview @@ -32,18 +32,20 @@ %endif Name: guvcview%{?psuffix} -Version: 2.0.8 +Version: 2.1.0 Release: 0 # Reference to GPL-2.0 in some files? Summary: GTK+ UVC Viewer and Capturer -License: GPL-3.0-only +License: GPL-2.0-or-later Group: Productivity/Multimedia/Video/Players -URL: http://guvcview.sourceforge.net/ +URL: https://guvcview.sourceforge.net/ Source0: https://sourceforge.net/projects/guvcview/files/source/guvcview-src-%{version}.tar.bz2 # PATCH-FIX-OPENSUSE guvcview-SUSE.patch -- use SUSE-specific paths Patch0: guvcview-SUSE.patch # PATCH-FIX-OPENSUSE guvcview-qt5-nolibs_qt5names.patch -- use libraries from the GTK+ package Patch1: guvcview-qt5-nolibs_qt5names.patch +# PATCH-FIX-OPENSUSE 0001-Fix-build-with-GCC-14.patch -- Upstream already has the fix (although part of bigger changeset) +Patch2: 0001-Fix-build-with-GCC-14.patch BuildRequires: alsa-devel BuildRequires: automake BuildRequires: fdupes @@ -57,7 +59,7 @@ BuildRequires: libtool BuildRequires: libusb-1_0-devel BuildRequires: libv4l-devel -BuildRequires: pkg-config +BuildRequires: pkgconfig BuildRequires: portaudio-devel BuildRequires: update-desktop-files BuildRequires: pkgconfig(libavcodec) @@ -72,7 +74,6 @@ BuildRequires: pkgconfig(libgviewv4l2core) %endif Recommends: %{name}-lang -BuildRoot: %{_tmppath}/%{name}-%{version}-build %description A GTK interface for capturing and viewing video from devices @@ -160,11 +161,17 @@ %prep %setup -q -n %{pname}-src-%{version} %patch -P 0 -p1 +%patch -P 2 -p1 %if %{with qt5} %patch -P 1 -p1 %endif %build +# autoconf is too old in Leap +%if 0%{?suse_version} == 1500 +sed -i '/AC_CHECK_INCLUDES_DEFAULT/d' configure.ac +%endif + autoreconf -fiv %configure --disable-debian-menu \ --disable-desktop \ @@ -190,50 +197,37 @@ %fdupes %{buildroot} -rm -f %{buildroot}%{_libdir}/*.{la,a} - %if ! %{with qt5} -%post -n libgviewaudio-%{sover0} -p /sbin/ldconfig -%postun -n libgviewaudio-%{sover0} -p /sbin/ldconfig - -%post -n libgviewencoder-%{sover1} -p /sbin/ldconfig -%postun -n libgviewencoder-%{sover1} -p /sbin/ldconfig - -%post -n libgviewrender-%{sover1} -p /sbin/ldconfig -%postun -n libgviewrender-%{sover1} -p /sbin/ldconfig +rm %{buildroot}%{_libdir}/*.{la,a} -%post -n libgviewv4l2core-%{sover1} -p /sbin/ldconfig -%postun -n libgviewv4l2core-%{sover1} -p /sbin/ldconfig +%ldconfig_scriptlets -n libgviewaudio-%{sover0} +%ldconfig_scriptlets -n libgviewencoder-%{sover1} +%ldconfig_scriptlets -n libgviewrender-%{sover1} +%ldconfig_scriptlets -n libgviewv4l2core-%{sover1} %endif %files -%defattr(-,root,root) %license COPYING %doc AUTHORS ChangeLog README.md %{_bindir}/%{name} %{_datadir}/applications/%{name}.desktop %{_datadir}/pixmaps/%{name}.png -%{_mandir}/man1/%{name}.1%{ext_man} +%{_mandir}/man1/%{name}.1%{?ext_man} %if ! %{with qt5} %files -n libgviewaudio-%{sover0} -%defattr(-,root,root) %{_libdir}/libgviewaudio-*.so.* %files -n libgviewencoder-%{sover1} -%defattr(-,root,root) %{_libdir}/libgviewencoder-*.so.* %files -n libgviewrender-%{sover1} -%defattr(-,root,root) %{_libdir}/libgviewrender-*.so.* %files -n libgviewv4l2core-%{sover1} -%defattr(-,root,root) %{_libdir}/libgviewv4l2core-*.so.* %files devel -%defattr(-,root,root) %dir %{_includedir}/guvcview-2 %dir %{_includedir}/guvcview-2/libgviewaudio %dir %{_includedir}/guvcview-2/libgviewencoder ++++++ 0001-Fix-build-with-GCC-14.patch ++++++ >From 98feb36a5f4971ca152b2d90a923008d0bd6cf5f Mon Sep 17 00:00:00 2001 From: Christophe Marin <[email protected]> Date: Tue, 27 Aug 2024 10:31:02 +0200 Subject: [PATCH] =?UTF-8?q?Fix=20build=20with=20GCC=C2=A014?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- gview_v4l2core/jpeg_decoder.c | 1 + gview_v4l2core/uvc_h264.c | 1 + 2 files changed, 2 insertions(+) diff --git a/gview_v4l2core/jpeg_decoder.c b/gview_v4l2core/jpeg_decoder.c index 9d30ea2..d60fdf8 100644 --- a/gview_v4l2core/jpeg_decoder.c +++ b/gview_v4l2core/jpeg_decoder.c @@ -36,6 +36,7 @@ #include <string.h> #include <errno.h> #include <assert.h> +#include <libavutil/imgutils.h> #include "gviewv4l2core.h" #include "colorspaces.h" diff --git a/gview_v4l2core/uvc_h264.c b/gview_v4l2core/uvc_h264.c index ed0c6a8..a02271e 100644 --- a/gview_v4l2core/uvc_h264.c +++ b/gview_v4l2core/uvc_h264.c @@ -24,6 +24,7 @@ /* support for internationalization - i18n */ #include <inttypes.h> #include <libavcodec/avcodec.h> +#include <libavutil/imgutils.h> #include <math.h> #include <stdlib.h> #include <stdio.h> -- 2.46.0 ++++++ guvcview-src-2.0.8.tar.bz2 -> guvcview-src-2.1.0.tar.bz2 ++++++ ++++ 8659 lines of diff (skipped)
