Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package deepin-screen-recorder for openSUSE:Factory checked in at 2022-01-31 22:56:44 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/deepin-screen-recorder (Old) and /work/SRC/openSUSE:Factory/.deepin-screen-recorder.new.1898 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "deepin-screen-recorder" Mon Jan 31 22:56:44 2022 rev:5 rq:950157 version:5.10.9 Changes: -------- --- /work/SRC/openSUSE:Factory/deepin-screen-recorder/deepin-screen-recorder.changes 2021-08-18 08:55:56.610972361 +0200 +++ /work/SRC/openSUSE:Factory/.deepin-screen-recorder.new.1898/deepin-screen-recorder.changes 2022-01-31 22:56:50.973772397 +0100 @@ -1,0 +2,12 @@ +Sun Jan 30 14:55:04 UTC 2022 - Hillwood Yang <hillw...@opensuse.org> + +- Fix build on Leap 15.4 + +------------------------------------------------------------------- +Sun Jan 30 08:32:23 UTC 2022 - Hillwood Yang <hillw...@opensuse.org> + +- Update version to 5.10.9 + * Update documents + * Fix bugs + +------------------------------------------------------------------- Old: ---- deepin-screen-recorder-5.9.10.tar.gz New: ---- deepin-screen-recorder-5.10.9.tar.gz deepin-screen-recorder-rpmlintrc ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ deepin-screen-recorder.spec ++++++ --- /var/tmp/diff_new_pack.BBPUW7/_old 2022-01-31 22:56:52.061765071 +0100 +++ /var/tmp/diff_new_pack.BBPUW7/_new 2022-01-31 22:56:52.065765044 +0100 @@ -1,7 +1,7 @@ # # spec file for package deepin-screen-recorder # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,13 +17,15 @@ Name: deepin-screen-recorder -Version: 5.9.10 +Version: 5.10.9 Release: 0 Summary: Deepin Screen Recorder License: GPL-3.0-or-later Group: Productivity/Multimedia/Video/Editors and Convertors URL: https://github.com/linuxdeepin/deepin-screen-recorder Source0: https://github.com/linuxdeepin/deepin-screen-recorder/archive/%{version}/%{name}-%{version}.tar.gz +# fdupes macro works +Source1: %{name}-rpmlintrc %ifarch ppc ppc64 ppc64le s390 s390x BuildRequires: deepin-desktop-base %else @@ -54,6 +56,11 @@ BuildRequires: pkgconfig(dtkwidget) >= 5.0.0 BuildRequires: pkgconfig(dtkwm) BuildRequires: pkgconfig(libprocps) +%if 0%{?suse_version} > 1500 +BuildRequires: pkgconfig(opencv4) +%else +BuildRequires: pkgconfig(opencv) +%endif BuildRequires: pkgconfig(x11) BuildRequires: pkgconfig(xcb) BuildRequires: pkgconfig(xcb-util) @@ -82,9 +89,15 @@ %prep %autosetup -p1 -n %{name}-%{version} +sed -i '/#include<opencv2/i #include <opencv2/imgproc/types_c.h>' src/utils/pixmergethread.h +%if 0%{?suse_version} > 1500 +sed -i 's/dframeworkdbus/dframeworkdbus opencv4/' src/src.pro +%else +sed -i 's/dframeworkdbus/dframeworkdbus opencv/' src/src.pro +%endif sed -i '/include <X11.extensions.XTest.h>/a #undef min' src/event_monitor.cpp sed -i '/#include <iostream>/d;1i #include <iostream>' src/screen_shot_event.cpp -sed -i '/include <X11.extensions.shape.h>/a #undef None' src/utils.cpp +# sed -i '/include <X11.extensions.shape.h>/a #undef None' src/utils.cpp sed -i 's|/usr/lib|$$LIB_INSTALL_DIR|g' src/dde-dock-plugins/recordtime/recordtime.pro %build ++++++ deepin-screen-recorder-5.9.10.tar.gz -> deepin-screen-recorder-5.10.9.tar.gz ++++++ /work/SRC/openSUSE:Factory/deepin-screen-recorder/deepin-screen-recorder-5.9.10.tar.gz /work/SRC/openSUSE:Factory/.deepin-screen-recorder.new.1898/deepin-screen-recorder-5.10.9.tar.gz differ: char 13, line 1 ++++++ deepin-screen-recorder-rpmlintrc ++++++ # %fdupes works in spec addFilter("files-duplicated-waste .*")