Hello community, here is the log from the commit of package pavucontrol-qt for openSUSE:Factory checked in at 2018-06-29 22:30:11 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/pavucontrol-qt (Old) and /work/SRC/openSUSE:Factory/.pavucontrol-qt.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "pavucontrol-qt" Fri Jun 29 22:30:11 2018 rev:4 rq:618035 version:0.4.0 Changes: -------- --- /work/SRC/openSUSE:Factory/pavucontrol-qt/pavucontrol-qt.changes 2017-10-24 22:23:30.276058547 +0200 +++ /work/SRC/openSUSE:Factory/.pavucontrol-qt.new/pavucontrol-qt.changes 2018-06-29 22:30:11.910310704 +0200 @@ -1,0 +2,14 @@ +Tue May 22 14:36:05 UTC 2018 - [email protected] + +- Update to 0.4.0: + * Bumped minor version to 4 + * Spanish translation update + * Qt5.11 beta: xxxwidget: include QAction explicitely + * CMake: Prevent in-source builds + * build: Use pkg-config's *_LDFLAGS + * fix http -> https + * Fixed mentions of LXDE + * pavucontrol: Remove unique application constraint + * Add Simplified Chinese desktop entry + +------------------------------------------------------------------- Old: ---- pavucontrol-qt-0.3.0.tar.xz pavucontrol-qt-0.3.0.tar.xz.asc New: ---- pavucontrol-qt-0.4.0.tar.xz pavucontrol-qt-0.4.0.tar.xz.asc ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ pavucontrol-qt.spec ++++++ --- /var/tmp/diff_new_pack.Y6BBBq/_old 2018-06-29 22:30:12.446310295 +0200 +++ /var/tmp/diff_new_pack.Y6BBBq/_new 2018-06-29 22:30:12.458310287 +0200 @@ -1,7 +1,7 @@ # # spec file for package pavucontrol-qt # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,18 +17,18 @@ Name: pavucontrol-qt -Version: 0.3.0 +Version: 0.4.0 Release: 0 Summary: Qt port of pavucontrol -License: GPL-2.0 +License: GPL-2.0-only Group: System/GUI/LXQt -Url: https://github.com/lxde/pavucontrol-qt +URL: https://github.com/lxde/pavucontrol-qt Source: https://github.com/lxde/%{name}/releases/download/%{version}/%{name}-%{version}.tar.xz Source1: https://github.com/lxde/%{name}/releases/download/%{version}/%{name}-%{version}.tar.xz.asc Source2: %{name}.keyring BuildRequires: cmake >= 3.0.2 BuildRequires: gcc-c++ -BuildRequires: lxqt-build-tools-devel +BuildRequires: lxqt-build-tools-devel >= 0.5.0 BuildRequires: pkgconfig BuildRequires: xdg-user-dirs BuildRequires: cmake(KF5WindowSystem) @@ -40,7 +40,6 @@ BuildRequires: pkgconfig(libpulse-mainloop-glib) >= 0.9.16 BuildRequires: pkgconfig(lxqt) Recommends: %{name}-lang -BuildRoot: %{_tmppath}/%{name}-%{version}-build %description PulseAudio Volume Control (pavucontrol) is a simple volume control tool @@ -61,8 +60,8 @@ %cmake_install %files -%defattr(-,root,root) -%doc AUTHORS CHANGELOG LICENSE README.md +%license LICENSE +%doc AUTHORS CHANGELOG README.md %{_bindir}/%{name} %{_datadir}/applications/%{name}.desktop ++++++ pavucontrol-qt-0.3.0.tar.xz -> pavucontrol-qt-0.4.0.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pavucontrol-qt-0.3.0/CHANGELOG new/pavucontrol-qt-0.4.0/CHANGELOG --- old/pavucontrol-qt-0.3.0/CHANGELOG 2017-09-24 14:35:55.000000000 +0200 +++ new/pavucontrol-qt-0.4.0/CHANGELOG 2018-05-21 19:42:20.000000000 +0200 @@ -1,7 +1,21 @@ -pavucontrol-qt-0.3.0 / 2017-09-24 +pavucontrol-qt-0.4.0 / 2018-05-21 ================================= + * Bumped minor version to 4 + * Spanish translation update + * Qt5.11 beta: xxxwidget: include QAction explicitely + * CMake: Prevent in-source builds + * build: Use pkg-config's *_LDFLAGS + * fix http -> https + * Fixed mentions of LXDE + * pavucontrol: Remove unique application constraint + * Add Simplified Chinese desktop entry + +0.3.0 / 2017-09-24 +================== + + * Release 0.3.0: Update changelog * Bump version to 0.3.0 * correct spelling mistake * Added Lithuanian .desktop file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pavucontrol-qt-0.3.0/CMakeLists.txt new/pavucontrol-qt-0.4.0/CMakeLists.txt --- old/pavucontrol-qt-0.3.0/CMakeLists.txt 2017-09-24 14:35:55.000000000 +0200 +++ new/pavucontrol-qt-0.4.0/CMakeLists.txt 2018-05-21 19:42:20.000000000 +0200 @@ -3,7 +3,7 @@ option(UPDATE_TRANSLATIONS "Update source translation translations/*.ts files" OFF) -set(LXQTBT_MINIMUM_VERSION "0.4.0") +set(LXQTBT_MINIMUM_VERSION "0.5.0") list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake") set(CMAKE_INCLUDE_CURRENT_DIR ON) @@ -24,11 +24,12 @@ endif() set(PAVUCONTROLQT_MAJOR_VERSION 0) -set(PAVUCONTROLQT_MINOR_VERSION 3) +set(PAVUCONTROLQT_MINOR_VERSION 4) set(PAVUCONTROLQT_PATCH_VERSION 0) set(PAVUCONTROLQT_VERSION ${PAVUCONTROLQT_MAJOR_VERSION}.${PAVUCONTROLQT_MINOR_VERSION}.${PAVUCONTROLQT_PATCH_VERSION}) add_definitions("-DPAVUCONTROLQT_VERSION=\"${PAVUCONTROLQT_VERSION}\"") +include(LXQtPreventInSourceBuilds) include(LXQtCompilerSettings NO_POLICY_SCOPE) include(LXQtTranslate) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pavucontrol-qt-0.3.0/README.md new/pavucontrol-qt-0.4.0/README.md --- old/pavucontrol-qt-0.3.0/README.md 2017-09-24 14:35:55.000000000 +0200 +++ new/pavucontrol-qt-0.4.0/README.md 2018-05-21 19:42:20.000000000 +0200 @@ -13,7 +13,7 @@ ### Compiling source code Runtime dependencies are qtbase and PulseAudio client library libpulse. -Additional build dependencies are CMake and [liblxqt](https://github.com/lxde/liblxqt) as well as optionally Git to pull latest VCS checkouts. The localization files were outsourced to repository [lxqt-l10n](https://github.com/lxde/lxqt-l10n) so the corresponding dependencies are needed, too. Please refer to this repository's `README.md` for further information. +Additional build dependencies are CMake and [liblxqt](https://github.com/lxqt/liblxqt) as well as optionally Git to pull latest VCS checkouts. The localization files were outsourced to repository [lxqt-l10n](https://github.com/lxqt/lxqt-l10n) so the corresponding dependencies are needed, too. Please refer to this repository's `README.md` for further information. Code configuration is handled by CMake. CMake variable `CMAKE_INSTALL_PREFIX` has to be set to `/usr` on most operating systems. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pavucontrol-qt-0.3.0/src/CMakeLists.txt new/pavucontrol-qt-0.4.0/src/CMakeLists.txt --- old/pavucontrol-qt-0.3.0/src/CMakeLists.txt 2017-09-24 14:35:55.000000000 +0200 +++ new/pavucontrol-qt-0.4.0/src/CMakeLists.txt 2018-05-21 19:42:20.000000000 +0200 @@ -35,7 +35,6 @@ sourceoutputwidget.cc sourcewidget.cc streamwidget.cc - uniqueapplication.cc ) set(pavucontrol-qt_UI @@ -84,8 +83,8 @@ target_link_libraries(pavucontrol-qt Qt5::Widgets Qt5::DBus - ${PULSE_LIBRARIES} - ${GLIB_LIBRARIES} + ${PULSE_LDFLAGS} + ${GLIB_LDFLAGS} ) install(TARGETS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pavucontrol-qt-0.3.0/src/Makefile.am new/pavucontrol-qt-0.4.0/src/Makefile.am --- old/pavucontrol-qt-0.3.0/src/Makefile.am 2017-09-24 14:35:55.000000000 +0200 +++ new/pavucontrol-qt-0.4.0/src/Makefile.am 2018-05-21 19:42:20.000000000 +0200 @@ -13,7 +13,7 @@ # General Public License for more details. # # You should have received a copy of the GNU General Public License -# along with pavucontrol. If not, see <http://www.gnu.org/licenses/>. +# along with pavucontrol. If not, see <https://www.gnu.org/licenses/>. desktopdir = $(datadir)/applications gladedir = $(pkgdatadir) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pavucontrol-qt-0.3.0/src/cardwidget.cc new/pavucontrol-qt-0.4.0/src/cardwidget.cc --- old/pavucontrol-qt-0.3.0/src/cardwidget.cc 2017-09-24 14:35:55.000000000 +0200 +++ new/pavucontrol-qt-0.4.0/src/cardwidget.cc 2018-05-21 19:42:20.000000000 +0200 @@ -15,7 +15,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License - along with pavucontrol. If not, see <http://www.gnu.org/licenses/>. + along with pavucontrol. If not, see <https://www.gnu.org/licenses/>. ***/ #ifdef HAVE_CONFIG_H diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pavucontrol-qt-0.3.0/src/cardwidget.h new/pavucontrol-qt-0.4.0/src/cardwidget.h --- old/pavucontrol-qt-0.3.0/src/cardwidget.h 2017-09-24 14:35:55.000000000 +0200 +++ new/pavucontrol-qt-0.4.0/src/cardwidget.h 2018-05-21 19:42:20.000000000 +0200 @@ -15,7 +15,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License - along with pavucontrol. If not, see <http://www.gnu.org/licenses/>. + along with pavucontrol. If not, see <https://www.gnu.org/licenses/>. ***/ #ifndef cardwidget_h diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pavucontrol-qt-0.3.0/src/channel.cc new/pavucontrol-qt-0.4.0/src/channel.cc --- old/pavucontrol-qt-0.3.0/src/channel.cc 2017-09-24 14:35:55.000000000 +0200 +++ new/pavucontrol-qt-0.4.0/src/channel.cc 2018-05-21 19:42:20.000000000 +0200 @@ -15,7 +15,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License - along with pavucontrol. If not, see <http://www.gnu.org/licenses/>. + along with pavucontrol. If not, see <https://www.gnu.org/licenses/>. ***/ #ifdef HAVE_CONFIG_H diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pavucontrol-qt-0.3.0/src/channel.h new/pavucontrol-qt-0.4.0/src/channel.h --- old/pavucontrol-qt-0.3.0/src/channel.h 2017-09-24 14:35:55.000000000 +0200 +++ new/pavucontrol-qt-0.4.0/src/channel.h 2018-05-21 19:42:20.000000000 +0200 @@ -15,7 +15,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License - along with pavucontrol. If not, see <http://www.gnu.org/licenses/>. + along with pavucontrol. If not, see <https://www.gnu.org/licenses/>. ***/ #ifndef channel_h diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pavucontrol-qt-0.3.0/src/devicewidget.cc new/pavucontrol-qt-0.4.0/src/devicewidget.cc --- old/pavucontrol-qt-0.3.0/src/devicewidget.cc 2017-09-24 14:35:55.000000000 +0200 +++ new/pavucontrol-qt-0.4.0/src/devicewidget.cc 2018-05-21 19:42:20.000000000 +0200 @@ -15,7 +15,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License - along with pavucontrol. If not, see <http://www.gnu.org/licenses/>. + along with pavucontrol. If not, see <https://www.gnu.org/licenses/>. ***/ #ifdef HAVE_CONFIG_H @@ -28,6 +28,7 @@ #include "devicewidget.h" #include "channel.h" #include <sstream> +#include <QAction> #include <QLabel> #include <QMessageBox> #include <QInputDialog> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pavucontrol-qt-0.3.0/src/devicewidget.h new/pavucontrol-qt-0.4.0/src/devicewidget.h --- old/pavucontrol-qt-0.3.0/src/devicewidget.h 2017-09-24 14:35:55.000000000 +0200 +++ new/pavucontrol-qt-0.4.0/src/devicewidget.h 2018-05-21 19:42:20.000000000 +0200 @@ -15,7 +15,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License - along with pavucontrol. If not, see <http://www.gnu.org/licenses/>. + along with pavucontrol. If not, see <https://www.gnu.org/licenses/>. ***/ #ifndef devicewidget_h @@ -30,6 +30,7 @@ class MainWindow; class Channel; +class QAction; class DeviceWidget : public MinimalStreamWidget, public Ui::DeviceWidget { Q_OBJECT diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pavucontrol-qt-0.3.0/src/mainwindow.cc new/pavucontrol-qt-0.4.0/src/mainwindow.cc --- old/pavucontrol-qt-0.3.0/src/mainwindow.cc 2017-09-24 14:35:55.000000000 +0200 +++ new/pavucontrol-qt-0.4.0/src/mainwindow.cc 2018-05-21 19:42:20.000000000 +0200 @@ -15,7 +15,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License - along with pavucontrol. If not, see <http://www.gnu.org/licenses/>. + along with pavucontrol. If not, see <https://www.gnu.org/licenses/>. ***/ #ifdef HAVE_CONFIG_H diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pavucontrol-qt-0.3.0/src/mainwindow.h new/pavucontrol-qt-0.4.0/src/mainwindow.h --- old/pavucontrol-qt-0.3.0/src/mainwindow.h 2017-09-24 14:35:55.000000000 +0200 +++ new/pavucontrol-qt-0.4.0/src/mainwindow.h 2018-05-21 19:42:20.000000000 +0200 @@ -15,7 +15,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License - along with pavucontrol. If not, see <http://www.gnu.org/licenses/>. + along with pavucontrol. If not, see <https://www.gnu.org/licenses/>. ***/ #ifndef mainwindow_h diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pavucontrol-qt-0.3.0/src/minimalstreamwidget.cc new/pavucontrol-qt-0.4.0/src/minimalstreamwidget.cc --- old/pavucontrol-qt-0.3.0/src/minimalstreamwidget.cc 2017-09-24 14:35:55.000000000 +0200 +++ new/pavucontrol-qt-0.4.0/src/minimalstreamwidget.cc 2018-05-21 19:42:20.000000000 +0200 @@ -15,7 +15,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License - along with pavucontrol. If not, see <http://www.gnu.org/licenses/>. + along with pavucontrol. If not, see <https://www.gnu.org/licenses/>. ***/ #ifdef HAVE_CONFIG_H diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pavucontrol-qt-0.3.0/src/minimalstreamwidget.h new/pavucontrol-qt-0.4.0/src/minimalstreamwidget.h --- old/pavucontrol-qt-0.3.0/src/minimalstreamwidget.h 2017-09-24 14:35:55.000000000 +0200 +++ new/pavucontrol-qt-0.4.0/src/minimalstreamwidget.h 2018-05-21 19:42:20.000000000 +0200 @@ -15,7 +15,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License - along with pavucontrol. If not, see <http://www.gnu.org/licenses/>. + along with pavucontrol. If not, see <https://www.gnu.org/licenses/>. ***/ #ifndef minimalstreamwidget_h diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pavucontrol-qt-0.3.0/src/pavucontrol.cc new/pavucontrol-qt-0.4.0/src/pavucontrol.cc --- old/pavucontrol-qt-0.3.0/src/pavucontrol.cc 2017-09-24 14:35:55.000000000 +0200 +++ new/pavucontrol-qt-0.4.0/src/pavucontrol.cc 2018-05-21 19:42:20.000000000 +0200 @@ -15,7 +15,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License - along with pavucontrol. If not, see <http://www.gnu.org/licenses/>. + along with pavucontrol. If not, see <https://www.gnu.org/licenses/>. ***/ #ifdef HAVE_CONFIG_H @@ -49,7 +49,6 @@ #include <QTranslator> #include <QCommandLineParser> #include <QCommandLineOption> -#include "uniqueapplication.h" #include <QString> static pa_context* context = NULL; @@ -647,10 +646,7 @@ signal(SIGPIPE, SIG_IGN); - UniqueApplication app(argc, argv); - - if(app.active()) - return 0; + QApplication app(argc, argv); app.setOrganizationName(QStringLiteral("pavucontrol-qt")); app.setAttribute(Qt::AA_UseHighDpiPixmaps, true); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pavucontrol-qt-0.3.0/src/pavucontrol.h new/pavucontrol-qt-0.4.0/src/pavucontrol.h --- old/pavucontrol-qt-0.3.0/src/pavucontrol.h 2017-09-24 14:35:55.000000000 +0200 +++ new/pavucontrol-qt-0.4.0/src/pavucontrol.h 2018-05-21 19:42:20.000000000 +0200 @@ -15,7 +15,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License - along with pavucontrol. If not, see <http://www.gnu.org/licenses/>. + along with pavucontrol. If not, see <https://www.gnu.org/licenses/>. ***/ #ifndef pavucontrol_h diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pavucontrol-qt-0.3.0/src/rolewidget.cc new/pavucontrol-qt-0.4.0/src/rolewidget.cc --- old/pavucontrol-qt-0.3.0/src/rolewidget.cc 2017-09-24 14:35:55.000000000 +0200 +++ new/pavucontrol-qt-0.4.0/src/rolewidget.cc 2018-05-21 19:42:20.000000000 +0200 @@ -15,7 +15,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License - along with pavucontrol. If not, see <http://www.gnu.org/licenses/>. + along with pavucontrol. If not, see <https://www.gnu.org/licenses/>. ***/ #ifdef HAVE_CONFIG_H diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pavucontrol-qt-0.3.0/src/rolewidget.h new/pavucontrol-qt-0.4.0/src/rolewidget.h --- old/pavucontrol-qt-0.3.0/src/rolewidget.h 2017-09-24 14:35:55.000000000 +0200 +++ new/pavucontrol-qt-0.4.0/src/rolewidget.h 2018-05-21 19:42:20.000000000 +0200 @@ -15,7 +15,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License - along with pavucontrol. If not, see <http://www.gnu.org/licenses/>. + along with pavucontrol. If not, see <https://www.gnu.org/licenses/>. ***/ #ifndef rolewidget_h diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pavucontrol-qt-0.3.0/src/sinkinputwidget.cc new/pavucontrol-qt-0.4.0/src/sinkinputwidget.cc --- old/pavucontrol-qt-0.3.0/src/sinkinputwidget.cc 2017-09-24 14:35:55.000000000 +0200 +++ new/pavucontrol-qt-0.4.0/src/sinkinputwidget.cc 2018-05-21 19:42:20.000000000 +0200 @@ -15,7 +15,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License - along with pavucontrol. If not, see <http://www.gnu.org/licenses/>. + along with pavucontrol. If not, see <https://www.gnu.org/licenses/>. ***/ #ifdef HAVE_CONFIG_H diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pavucontrol-qt-0.3.0/src/sinkinputwidget.h new/pavucontrol-qt-0.4.0/src/sinkinputwidget.h --- old/pavucontrol-qt-0.3.0/src/sinkinputwidget.h 2017-09-24 14:35:55.000000000 +0200 +++ new/pavucontrol-qt-0.4.0/src/sinkinputwidget.h 2018-05-21 19:42:20.000000000 +0200 @@ -15,7 +15,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License - along with pavucontrol. If not, see <http://www.gnu.org/licenses/>. + along with pavucontrol. If not, see <https://www.gnu.org/licenses/>. ***/ #ifndef sinkinputwidget_h @@ -24,6 +24,7 @@ #include "pavucontrol.h" #include "streamwidget.h" +#include <QAction> class MainWindow; class QMenu; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pavucontrol-qt-0.3.0/src/sinkwidget.cc new/pavucontrol-qt-0.4.0/src/sinkwidget.cc --- old/pavucontrol-qt-0.3.0/src/sinkwidget.cc 2017-09-24 14:35:55.000000000 +0200 +++ new/pavucontrol-qt-0.4.0/src/sinkwidget.cc 2018-05-21 19:42:20.000000000 +0200 @@ -15,7 +15,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License - along with pavucontrol. If not, see <http://www.gnu.org/licenses/>. + along with pavucontrol. If not, see <https://www.gnu.org/licenses/>. ***/ #ifdef HAVE_CONFIG_H diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pavucontrol-qt-0.3.0/src/sinkwidget.h new/pavucontrol-qt-0.4.0/src/sinkwidget.h --- old/pavucontrol-qt-0.3.0/src/sinkwidget.h 2017-09-24 14:35:55.000000000 +0200 +++ new/pavucontrol-qt-0.4.0/src/sinkwidget.h 2018-05-21 19:42:20.000000000 +0200 @@ -15,7 +15,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License - along with pavucontrol. If not, see <http://www.gnu.org/licenses/>. + along with pavucontrol. If not, see <https://www.gnu.org/licenses/>. ***/ #ifndef sinkwidget_h diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pavucontrol-qt-0.3.0/src/sourceoutputwidget.cc new/pavucontrol-qt-0.4.0/src/sourceoutputwidget.cc --- old/pavucontrol-qt-0.3.0/src/sourceoutputwidget.cc 2017-09-24 14:35:55.000000000 +0200 +++ new/pavucontrol-qt-0.4.0/src/sourceoutputwidget.cc 2018-05-21 19:42:20.000000000 +0200 @@ -15,7 +15,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License - along with pavucontrol. If not, see <http://www.gnu.org/licenses/>. + along with pavucontrol. If not, see <https://www.gnu.org/licenses/>. ***/ #ifdef HAVE_CONFIG_H diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pavucontrol-qt-0.3.0/src/sourceoutputwidget.h new/pavucontrol-qt-0.4.0/src/sourceoutputwidget.h --- old/pavucontrol-qt-0.3.0/src/sourceoutputwidget.h 2017-09-24 14:35:55.000000000 +0200 +++ new/pavucontrol-qt-0.4.0/src/sourceoutputwidget.h 2018-05-21 19:42:20.000000000 +0200 @@ -15,7 +15,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License - along with pavucontrol. If not, see <http://www.gnu.org/licenses/>. + along with pavucontrol. If not, see <https://www.gnu.org/licenses/>. ***/ #ifndef sourceoutputwidget_h @@ -24,6 +24,7 @@ #include "pavucontrol.h" #include "streamwidget.h" +#include <QAction> class MainWindow; class QMenu; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pavucontrol-qt-0.3.0/src/sourcewidget.cc new/pavucontrol-qt-0.4.0/src/sourcewidget.cc --- old/pavucontrol-qt-0.3.0/src/sourcewidget.cc 2017-09-24 14:35:55.000000000 +0200 +++ new/pavucontrol-qt-0.4.0/src/sourcewidget.cc 2018-05-21 19:42:20.000000000 +0200 @@ -15,7 +15,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License - along with pavucontrol. If not, see <http://www.gnu.org/licenses/>. + along with pavucontrol. If not, see <https://www.gnu.org/licenses/>. ***/ #ifdef HAVE_CONFIG_H diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pavucontrol-qt-0.3.0/src/sourcewidget.h new/pavucontrol-qt-0.4.0/src/sourcewidget.h --- old/pavucontrol-qt-0.3.0/src/sourcewidget.h 2017-09-24 14:35:55.000000000 +0200 +++ new/pavucontrol-qt-0.4.0/src/sourcewidget.h 2018-05-21 19:42:20.000000000 +0200 @@ -15,7 +15,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License - along with pavucontrol. If not, see <http://www.gnu.org/licenses/>. + along with pavucontrol. If not, see <https://www.gnu.org/licenses/>. ***/ #ifndef sourcewidget_h diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pavucontrol-qt-0.3.0/src/streamwidget.cc new/pavucontrol-qt-0.4.0/src/streamwidget.cc --- old/pavucontrol-qt-0.3.0/src/streamwidget.cc 2017-09-24 14:35:55.000000000 +0200 +++ new/pavucontrol-qt-0.4.0/src/streamwidget.cc 2018-05-21 19:42:20.000000000 +0200 @@ -15,7 +15,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License - along with pavucontrol. If not, see <http://www.gnu.org/licenses/>. + along with pavucontrol. If not, see <https://www.gnu.org/licenses/>. ***/ #ifdef HAVE_CONFIG_H @@ -25,7 +25,7 @@ #include "streamwidget.h" #include "mainwindow.h" #include "channel.h" - +#include <QAction> /*** StreamWidget ***/ StreamWidget::StreamWidget(MainWindow *parent) : diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pavucontrol-qt-0.3.0/src/streamwidget.h new/pavucontrol-qt-0.4.0/src/streamwidget.h --- old/pavucontrol-qt-0.3.0/src/streamwidget.h 2017-09-24 14:35:55.000000000 +0200 +++ new/pavucontrol-qt-0.4.0/src/streamwidget.h 2018-05-21 19:42:20.000000000 +0200 @@ -15,7 +15,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License - along with pavucontrol. If not, see <http://www.gnu.org/licenses/>. + along with pavucontrol. If not, see <https://www.gnu.org/licenses/>. ***/ #ifndef streamwidget_h @@ -29,6 +29,7 @@ class MainWindow; class Channel; +class QAction; class StreamWidget : public MinimalStreamWidget, public Ui::StreamWidget { Q_OBJECT diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pavucontrol-qt-0.3.0/src/translations/pavucontrol-qt_es.desktop new/pavucontrol-qt-0.4.0/src/translations/pavucontrol-qt_es.desktop --- old/pavucontrol-qt-0.3.0/src/translations/pavucontrol-qt_es.desktop 1970-01-01 01:00:00.000000000 +0100 +++ new/pavucontrol-qt-0.4.0/src/translations/pavucontrol-qt_es.desktop 2018-05-21 19:42:20.000000000 +0200 @@ -0,0 +1,3 @@ +Name[es]=Control de volumen de PulseAudio +GenericName[es]=Control de volumen +Comment[es]=Ajustar el nivel del volumen diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pavucontrol-qt-0.3.0/src/translations/pavucontrol-qt_zh_CN.desktop new/pavucontrol-qt-0.4.0/src/translations/pavucontrol-qt_zh_CN.desktop --- old/pavucontrol-qt-0.3.0/src/translations/pavucontrol-qt_zh_CN.desktop 1970-01-01 01:00:00.000000000 +0100 +++ new/pavucontrol-qt-0.4.0/src/translations/pavucontrol-qt_zh_CN.desktop 2018-05-21 19:42:20.000000000 +0200 @@ -0,0 +1,3 @@ +Name[zh_CN]=PulseAudio 音量控制 +GenericName[zh_CN]=音量控制 +Comment[zh_CN]=调整音量 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pavucontrol-qt-0.3.0/src/uniqueapplication.cc new/pavucontrol-qt-0.4.0/src/uniqueapplication.cc --- old/pavucontrol-qt-0.3.0/src/uniqueapplication.cc 2017-09-24 14:35:55.000000000 +0200 +++ new/pavucontrol-qt-0.4.0/src/uniqueapplication.cc 1970-01-01 01:00:00.000000000 +0100 @@ -1,48 +0,0 @@ -/*** - This file is part of pavucontrol-qt. - - Copyright 2006-2008 Lennart Poettering - Copyright 2008 Sjoerd Simons <[email protected]> - Copyright 2016 Helio Chissini de Castro <[email protected]> - - pavucontrol 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 2 of the License, or - (at your option) any later version. - - pavucontrol 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 pavucontrol. If not, see <http://www.gnu.org/licenses/>. -***/ - -#include "uniqueapplication.h" - -UniqueApplication::UniqueApplication(int &argc, char **argv) - : QApplication(argc, argv) -{ - uniq = new QSharedMemory("pavucontrol-Qt", this); -} - -UniqueApplication::~UniqueApplication() -{ - if(uniq->isAttached()) - uniq->detach(); -} - -bool UniqueApplication::active() -{ - if(uniq->attach(QSharedMemory::ReadOnly)){ - uniq->detach(); - return true; - } - - if(uniq->create(1)){ - return false; - } - - return true; -} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pavucontrol-qt-0.3.0/src/uniqueapplication.h new/pavucontrol-qt-0.4.0/src/uniqueapplication.h --- old/pavucontrol-qt-0.3.0/src/uniqueapplication.h 2017-09-24 14:35:55.000000000 +0200 +++ new/pavucontrol-qt-0.4.0/src/uniqueapplication.h 1970-01-01 01:00:00.000000000 +0100 @@ -1,42 +0,0 @@ -/*** - This file is part of pavucontrol-qt. - - Copyright 2006-2008 Lennart Poettering - Copyright 2008 Sjoerd Simons <[email protected]> - Copyright 2016 Helio Chissini de Castro <[email protected]> - - pavucontrol 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 2 of the License, or - (at your option) any later version. - - pavucontrol 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 pavucontrol. If not, see <http://www.gnu.org/licenses/>. -***/ - -#ifndef UNIQUEAPPLICATION_H -#define UNIQUEAPPLICATION_H - -#include <QApplication> -#include <QSharedMemory> - -class UniqueApplication : public QApplication -{ - Q_OBJECT - -public: - UniqueApplication(int &argc, char** argv); - ~UniqueApplication(); - - bool active(); - -private: - QSharedMemory *uniq; -}; - -#endif // UNIQUEAPPLICATION_H
