Skip to content

Commit

Permalink
Fix lintian warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
handsome-feng committed Aug 18, 2021
1 parent 071c52d commit 651affc
Show file tree
Hide file tree
Showing 11 changed files with 160 additions and 28 deletions.
3 changes: 3 additions & 0 deletions data/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ appsdir = $(datadir)/applications
apps_in_files = ukui-volume-control.desktop.in
apps_DATA = $(apps_in_files:.desktop.in=.desktop)

systemddir = /lib/systemd/system
systemd_DATA = ukui-media-control-mute-led.service

gsettingsschema_in_files = org.ukui.media.gschema.xml.in
gsettings_SCHEMAS = $(gsettingsschema_in_files:.xml.in=.xml)
@GSETTINGS_RULES@
Expand Down
61 changes: 35 additions & 26 deletions debian/copyright
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ Comment:
Using license from COPYING file.

Files: data/images/*
scripts/*
Copyright: 2020, Tianjin KYLIN Information Technology Co., Ltd.
License: GPL-2+

Expand All @@ -19,32 +18,42 @@ Copyright: 2017, Tianjin KYLIN Information Technology Co., Ltd.
License: GPL-2+ or GPL-3+ or LGPL-2+

Files: debian/*
Copyright: 2014, Mike Gabriel <[email protected]>
2011-2014, Stefano Karapetsas <[email protected]>
2020, handsome_feng <jianfengli@ubuntukylin.com>
Copyright: 2020, handsome_feng <[email protected]>
2014, Mike Gabriel <[email protected]>
2011-2014, Stefano Karapetsas <stefano@karapetsas.com>
License: GPL-2+ or GPL-3+ or LGPL-2+

Files: scripts/*
Copyright: 2020, Tianjin KYLIN Information Technology Co., Ltd.
License: GPL-2+

Files: ukui-volume-control-applet-qt/*
Copyright: 2019, Tianjin KYLIN Information Technology Co., Ltd.
Copyright: 2019, 2020, Tianjin KYLIN Information Technology Co., Ltd.
License: GPL-3+

Files: ukui-volume-control-applet-qt/QtSingleApplication/*
Copyright: 2013, Digia Plc and/or its subsidiary(-ies).
License: BSD-3-clause

Files: ukui-volume-control-applet-qt/QtSingleApplication/QtLockedFile
ukui-volume-control-applet-qt/QtSingleApplication/QtSingleApplication
Copyright: 2013, Digia Plc and/or its subsidiary(-ies).
License: BSD-3-Clause

Files: ukui-volume-control-applet-qt/ukmedia_custom_sound.cpp
ukui-volume-control-applet-qt/ukmedia_custom_sound.h
ukui-volume-control-applet-qt/ukui_media_set_headset_widget.cpp
ukui-volume-control-applet-qt/ukui_media_set_headset_widget.h
Copyright: 2021, KylinSoft Co., Ltd.
License: GPL-3+

Files: ukui-volume-control-applet-qt/ukmedia_monitor_window_thread.cpp
ukui-volume-control-applet-qt/ukmedia_monitor_window_thread.h
ukui-volume-control-applet-qt/ukmedia_monitor_window_thread.h
Copyright: 2020
License: GPL-3+

Files: ukui-volume-control-applet-qt/ukui-media-control-led/*
Copyright: 2021, KylinSoft Co., Ltd.
License: GPL-3+

Files: ukui-volume-control/*
Copyright: 2014, Michal Ratajsky <[email protected]>
2008, 2009, Red Hat, Inc.
2008, 2009, Red Hat, Inc.
License: GPL-2+

Files: ukui-volume-control/Makefile.am
Expand All @@ -55,51 +64,51 @@ Comment:

Files: ukui-volume-control/gvc-balance-bar.c
Copyright: 2014, Michal Ratajsky <[email protected]>
2008, William Jon McCann
2008, William Jon McCann
License: GPL-2+

Files: ukui-volume-control/gvc-channel-bar.c
ukui-volume-control/gvc-mixer-dialog.c
ukui-volume-control/gvc-stream-status-icon.c
ukui-volume-control/gvc-mixer-dialog.c
ukui-volume-control/gvc-stream-status-icon.c
Copyright: 2017, Tianjin KYLIN Information Technology Co., Ltd.
2014, Michal Ratajsky <[email protected]>
2008, William Jon McCann
2014, Michal Ratajsky <[email protected]>
2008, William Jon McCann
License: GPL-2+

Files: ukui-volume-control/gvc-channel-bar.h
Copyright: 2017, Tianjin KYLIN Information Technology Co., Ltd.
2014, Michal Ratajsky <[email protected]>
2008, Red Hat, Inc.
2014, Michal Ratajsky <[email protected]>
2008, Red Hat, Inc.
License: GPL-2+

Files: ukui-volume-control/gvc-combo-box.c
ukui-volume-control/gvc-speaker-test.c
ukui-volume-control/gvc-speaker-test.c
Copyright: 2014, Michal Ratajsky <[email protected]>
2009, Bastien Nocera
2009, Bastien Nocera
License: GPL-2+

Files: ukui-volume-control/gvc-level-bar.c
ukui-volume-control/gvc-level-bar.h
ukui-volume-control/gvc-level-bar.h
Copyright: 2014, Michal Ratajsky <[email protected]>
2008, William Jon McCann <[email protected]>
2008, William Jon McCann <[email protected]>
License: GPL-2+

Files: ukui-volume-control/gvc-sound-theme-chooser.c
Copyright: 2008, William Jon McCann
2008, Bastien Nocera <[email protected]>
2008, Bastien Nocera <[email protected]>
License: GPL-2+

Files: ukui-volume-control/gvc-sound-theme-chooser.h
Copyright: 2008, Red Hat, Inc.
License: GPL-2+

Files: ukui-volume-control/gvc-utils.c
ukui-volume-control/gvc-utils.h
ukui-volume-control/gvc-utils.h
Copyright: 2014, Michal Ratajsky <[email protected]>
License: GPL-2+

Files: ukui-volume-control/sound-theme-file-utils.c
ukui-volume-control/sound-theme-file-utils.h
ukui-volume-control/sound-theme-file-utils.h
Copyright: 2008, Bastien Nocera <[email protected]>
License: GPL-2+

Expand Down
2 changes: 1 addition & 1 deletion debian/ukui-media.install
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
usr/bin/
usr/share/applications/
lib/systemd/system/
ukui-volume-control-applet-qt/build/ukui-volume-control-applet-qt usr/bin
ukui-volume-control-applet-qt/ukui-media-control-led/build/ukui-media-control-led usr/bin
ukui-volume-control-applet-qt/translations/*.qm usr/share/ukui-media/translations/
Expand All @@ -13,4 +14,3 @@ ukui-volume-control-applet-qt/data/org.ukui.audio.gschema.xml /usr/share/glib-2.
ukui-volume-control-applet-qt/data/org.ukui.sound.gschema.xml /usr/share/glib-2.0/schemas
scripts/detection_output_mode.sh /usr/share/ukui-media/scripts
data/org.ukui.media.sound.gschema.xml /usr/share/glib-2.0/schemas
data/ukui-media-control-mute-led.service /lib/systemd/system
2 changes: 1 addition & 1 deletion man/Makefile.am
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
man_MANS = ukui-volume-control.1 ukui-volume-control-applet.1 ukui-volume-control-applet-qt.1
man_MANS = ukui-volume-control.1 ukui-volume-control-applet.1 ukui-volume-control-applet-qt.1 ukui-media-control-led.1

EXTRA_DIST = $(man_MANS)
18 changes: 18 additions & 0 deletions ukui-volume-control-applet-qt/ukmedia_custom_sound.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
/*
* Copyright (C) 2021 KylinSoft Co., Ltd.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3, or (at your option)
* any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, see <http://www.gnu.org/licenses/&gt;.
*
*/

#include "ukmedia_custom_sound.h"

CustomSound::CustomSound()
Expand Down
17 changes: 17 additions & 0 deletions ukui-volume-control-applet-qt/ukmedia_custom_sound.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
/*
* Copyright (C) 2021 KylinSoft Co., Ltd.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3, or (at your option)
* any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, see <http://www.gnu.org/licenses/&gt;.
*
*/
#ifndef CUSTOMSOUND_H
#define CUSTOMSOUND_H
//#include <QtXml>
Expand Down
17 changes: 17 additions & 0 deletions ukui-volume-control-applet-qt/ukui-media-control-led/main.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
/*
* Copyright (C) 2021 KylinSoft Co., Ltd.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3, or (at your option)
* any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, see <http://www.gnu.org/licenses/&gt;.
*
*/
#include "ukui_media_control_led.h"
//#include <QApplication>
#include <QCoreApplication>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
/*
* Copyright (C) 2021 KylinSoft Co., Ltd.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3, or (at your option)
* any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, see <http://www.gnu.org/licenses/&gt;.
*
*/
#include "ukui_media_control_led.h"
#include <QFileInfo>
#include <QDebug>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
/*
* Copyright (C) 2021 KylinSoft Co., Ltd.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3, or (at your option)
* any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, see <http://www.gnu.org/licenses/&gt;.
*
*/
#ifndef MATE_MEDIA_CONTROL_LED_H
#define MATE_MEDIA_CONTROL_LED_H

Expand Down
17 changes: 17 additions & 0 deletions ukui-volume-control-applet-qt/ukui_media_set_headset_widget.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
/*
* Copyright (C) 2021 KylinSoft Co., Ltd.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3, or (at your option)
* any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, see <http://www.gnu.org/licenses/&gt;.
*
*/
#include "ukui_media_set_headset_widget.h"

#include <QHBoxLayout>
Expand Down
17 changes: 17 additions & 0 deletions ukui-volume-control-applet-qt/ukui_media_set_headset_widget.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
/*
* Copyright (C) 2021 KylinSoft Co., Ltd.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3, or (at your option)
* any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, see <http://www.gnu.org/licenses/&gt;.
*
*/
#ifndef UKUIMEDIASETHEADSETWIDGET_H
#define UKUIMEDIASETHEADSETWIDGET_H

Expand Down

0 comments on commit 651affc

Please sign in to comment.