diff -Nru deepin-voice-recorder-5.0.0/debian/changelog deepin-voice-recorder-5.0.0/debian/changelog --- deepin-voice-recorder-5.0.0/debian/changelog 2020-03-23 06:12:28.000000000 +0000 +++ deepin-voice-recorder-5.0.0/debian/changelog 2020-12-08 14:04:20.000000000 +0000 @@ -1,8 +1,22 @@ -deepin-voice-recorder (5.0.0-1build1) focal; urgency=medium +deepin-voice-recorder (5.0.0-2) unstable; urgency=medium - * No-change rebuild for libgcc-s1 package name change. + [ Debian Janitor ] + * Set upstream metadata fields: Bug-Database, Bug-Submit, + Repository, Repository-Browse. - -- Matthias Klose Mon, 23 Mar 2020 07:12:28 +0100 + [ Arun Kumar Pariyar ] + * debian/patches: + + Add patch to fix build with Qt5.15+ (Closes: #975132). + + Add patch to fix build with dtk5. + * debian/control: + + Bump debhelper-compat to v13. + + Bump Standards-Version to 4.5.1. + + Tighten version of libdtkwidget-dev to (>=5.2~). + + Add Arun Kumar Pariyar to uploaders list. + * debian/rules: Drop DEB_LDFLAGS_MAINT_APPEND. + * debian/copyright: Add Upstream-Contact field. + + -- Arun Kumar Pariyar Tue, 08 Dec 2020 19:49:20 +0545 deepin-voice-recorder (5.0.0-1) unstable; urgency=medium diff -Nru deepin-voice-recorder-5.0.0/debian/control deepin-voice-recorder-5.0.0/debian/control --- deepin-voice-recorder-5.0.0/debian/control 2019-11-01 17:47:09.000000000 +0000 +++ deepin-voice-recorder-5.0.0/debian/control 2020-12-08 14:04:20.000000000 +0000 @@ -5,15 +5,16 @@ Uploaders: Yangfl , Yanhao Mo , + Arun Kumar Pariyar , Build-Depends: - debhelper-compat (= 12), + debhelper-compat (= 13), libavformat-dev, - libdtkwidget-dev, + libdtkwidget-dev (>=5.2~), pkg-config, qt5-qmake, qttools5-dev-tools, Rules-Requires-Root: no -Standards-Version: 4.4.1 +Standards-Version: 4.5.1 Homepage: https://github.com/linuxdeepin/deepin-voice-recorder Vcs-Git: https://salsa.debian.org/pkg-deepin-team/deepin-voice-recorder.git Vcs-Browser: https://salsa.debian.org/pkg-deepin-team/deepin-voice-recorder diff -Nru deepin-voice-recorder-5.0.0/debian/copyright deepin-voice-recorder-5.0.0/debian/copyright --- deepin-voice-recorder-5.0.0/debian/copyright 2019-01-13 15:13:04.000000000 +0000 +++ deepin-voice-recorder-5.0.0/debian/copyright 2020-12-08 14:04:20.000000000 +0000 @@ -1,6 +1,7 @@ Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: deepin-voice-recorder Source: https://github.com/linuxdeepin/deepin-voice-recorder +Upstream-Contact: https://github.com/linuxdeepin/deepin-voice-recorder/issues Files: * Copyright: 2011-2019 Deepin Technology Co., Ltd. diff -Nru deepin-voice-recorder-5.0.0/debian/patches/0001-Fix-build-with-Qt5.15.patch deepin-voice-recorder-5.0.0/debian/patches/0001-Fix-build-with-Qt5.15.patch --- deepin-voice-recorder-5.0.0/debian/patches/0001-Fix-build-with-Qt5.15.patch 1970-01-01 00:00:00.000000000 +0000 +++ deepin-voice-recorder-5.0.0/debian/patches/0001-Fix-build-with-Qt5.15.patch 2020-12-08 14:04:20.000000000 +0000 @@ -0,0 +1,38 @@ +From: Arun Kumar Pariyar +Date: Tue, 8 Dec 2020 01:58:54 +0545 +Subject: [PATCH] Fix build with Qt5.15+ + +--- + src/file_item.cpp | 2 +- + src/waveform.cpp | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/src/file_item.cpp b/src/file_item.cpp +index 08a9503..7ed34e6 100644 +--- a/src/file_item.cpp ++++ b/src/file_item.cpp +@@ -37,7 +37,7 @@ extern "C" { + #include + #include + #include +- ++#include + #include "file_item.h" + #include "label.h" + #include "utils.h" +diff --git a/src/waveform.cpp b/src/waveform.cpp +index 9f5b246..15cfa57 100644 +--- a/src/waveform.cpp ++++ b/src/waveform.cpp +@@ -30,7 +30,7 @@ + #include + #include + #include +- ++#include + #include "waveform.h" + + const int Waveform::SAMPLE_DURATION = 30; +-- +2.27.0 + diff -Nru deepin-voice-recorder-5.0.0/debian/patches/0002-fix-build-with-dtk5.patch deepin-voice-recorder-5.0.0/debian/patches/0002-fix-build-with-dtk5.patch --- deepin-voice-recorder-5.0.0/debian/patches/0002-fix-build-with-dtk5.patch 1970-01-01 00:00:00.000000000 +0000 +++ deepin-voice-recorder-5.0.0/debian/patches/0002-fix-build-with-dtk5.patch 2020-12-08 14:04:20.000000000 +0000 @@ -0,0 +1,24 @@ +From: Arun Kumar Pariyar +Date: Tue, 8 Dec 2020 02:16:47 +0545 +Subject: [PATCH] fix build with dtk5 + +--- + src/main_window.cpp | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/main_window.cpp b/src/main_window.cpp +index 091a1c4..37f1683 100644 +--- a/src/main_window.cpp ++++ b/src/main_window.cpp +@@ -60,7 +60,7 @@ MainWindow::MainWindow(DMainWindow *parent) : DMainWindow(parent) + this->titlebar()->setMenu(menu); + + Toolbar *toolbar = new Toolbar(); +- this->titlebar()->setCustomWidget(toolbar, Qt::AlignVCenter, false); ++ this->titlebar()->setCustomWidget(toolbar, false); + this->setFixedSize(440, 550); + + this->titlebar()->setBackgroundTransparent(true); +-- +2.27.0 + diff -Nru deepin-voice-recorder-5.0.0/debian/patches/series deepin-voice-recorder-5.0.0/debian/patches/series --- deepin-voice-recorder-5.0.0/debian/patches/series 1970-01-01 00:00:00.000000000 +0000 +++ deepin-voice-recorder-5.0.0/debian/patches/series 2020-12-08 14:04:20.000000000 +0000 @@ -0,0 +1,2 @@ +0001-Fix-build-with-Qt5.15.patch +0002-fix-build-with-dtk5.patch diff -Nru deepin-voice-recorder-5.0.0/debian/rules deepin-voice-recorder-5.0.0/debian/rules --- deepin-voice-recorder-5.0.0/debian/rules 2019-01-13 15:15:53.000000000 +0000 +++ deepin-voice-recorder-5.0.0/debian/rules 2020-12-08 14:04:20.000000000 +0000 @@ -9,8 +9,6 @@ # see ENVIRONMENT in dpkg-buildflags(1) # package maintainers to append CFLAGS #export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic -# package maintainers to append LDFLAGS -export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed export QT_SELECT := 5 diff -Nru deepin-voice-recorder-5.0.0/debian/upstream/metadata deepin-voice-recorder-5.0.0/debian/upstream/metadata --- deepin-voice-recorder-5.0.0/debian/upstream/metadata 1970-01-01 00:00:00.000000000 +0000 +++ deepin-voice-recorder-5.0.0/debian/upstream/metadata 2020-12-08 14:04:20.000000000 +0000 @@ -0,0 +1,4 @@ +Bug-Database: https://github.com/linuxdeepin/deepin-voice-recorder/issues +Bug-Submit: https://github.com/linuxdeepin/deepin-voice-recorder/issues/new +Repository: https://github.com/linuxdeepin/deepin-voice-recorder.git +Repository-Browse: https://github.com/linuxdeepin/deepin-voice-recorder