Hello community, here is the log from the commit of package qmmp for openSUSE:Factory checked in at 2018-06-02 12:14:26 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/qmmp (Old) and /work/SRC/openSUSE:Factory/.qmmp.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "qmmp" Sat Jun 2 12:14:26 2018 rev:59 rq:613447 version:1.2.2 Changes: -------- --- /work/SRC/openSUSE:Factory/qmmp/qmmp.changes 2018-04-25 10:00:20.973048577 +0200 +++ /work/SRC/openSUSE:Factory/.qmmp.new/qmmp.changes 2018-06-02 12:14:42.502355826 +0200 @@ -1,0 +2,7 @@ +Fri Jun 1 10:18:12 UTC 2018 - [email protected] + +- Update to version 1.2.2: + * Fix building with Qt 5.11+. + * Fix memory leaks. + +------------------------------------------------------------------- Old: ---- qmmp-1.2.1.tar.bz2 New: ---- qmmp-1.2.2.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ qmmp.spec ++++++ --- /var/tmp/diff_new_pack.rq1Jj4/_old 2018-06-02 12:14:43.670312986 +0200 +++ /var/tmp/diff_new_pack.rq1Jj4/_new 2018-06-02 12:14:43.670312986 +0200 @@ -20,12 +20,12 @@ %bcond_with faad %bcond_with restricted Name: qmmp -Version: 1.2.1 +Version: 1.2.2 Release: 0 Summary: Qt-based Multimedia Player License: GPL-2.0-or-later Group: Productivity/Multimedia/Sound/Players -Url: http://qmmp.ylsoftware.com/ +URL: http://qmmp.ylsoftware.com/ Source: http://qmmp.ylsoftware.com/files/%{name}-%{version}.tar.bz2 Source1: baselibs.conf # PATCH-FIX-UPSTREAM qmmp-fix_cdda_version.patch [email protected] -- Fix header detection for cdparanoia cdda.h. @@ -80,7 +80,7 @@ Requires: %{name}(%{sover})(Input) Requires: %{name}(%{sover})(Output) Requires: %{name}(%{sover})(Ui) -%if 0%{?suse_version} <= 1320 +%if 0%{?suse_version} < 1500 BuildRequires: desktop-file-utils %endif %if %{with faad} @@ -167,7 +167,7 @@ %postun -n lib%{name}%{sover} -p /sbin/ldconfig -%if 0%{?suse_version} <= 1320 +%if 0%{?suse_version} < 1500 %post %desktop_database_post %icon_theme_cache_post @@ -184,7 +184,8 @@ %endif %files -%doc AUTHORS ChangeLog COPYING README +%license COPYING +%doc AUTHORS ChangeLog README %{_bindir}/%{name} %{_datadir}/%{name}/ %{_datadir}/applications/%{name}*.desktop ++++++ qmmp-1.2.1.tar.bz2 -> qmmp-1.2.2.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qmmp-1.2.1/ChangeLog new/qmmp-1.2.2/ChangeLog --- old/qmmp-1.2.1/ChangeLog 2018-04-19 18:58:32.000000000 +0200 +++ new/qmmp-1.2.2/ChangeLog 2018-05-31 18:53:29.000000000 +0200 @@ -1365,3 +1365,7 @@ * updated Ukrainian translation (Gennady Motsyo) * updated Italian translation (Luigi Toscano) * updated Spanish translation (Joel Barrios) + +Version 1.2.2 +* fixed build with Qt 5.11 +* fixed memory leaks diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qmmp-1.2.1/ChangeLog.rus new/qmmp-1.2.2/ChangeLog.rus --- old/qmmp-1.2.1/ChangeLog.rus 2018-04-19 18:58:32.000000000 +0200 +++ new/qmmp-1.2.2/ChangeLog.rus 2018-05-31 18:53:29.000000000 +0200 @@ -1367,3 +1367,7 @@ * обновлён украинский перевод (Геннадий Моцьо) * обновлён итальянский перевод (Luigi Toscano) * обновлён испанский перевод (Joel Barrios) + +Версия 1.2.2 +* исправлена сборка с Qt 5.11 +* исправлены утечки памяти diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qmmp-1.2.1/ChangeLog.svn new/qmmp-1.2.2/ChangeLog.svn --- old/qmmp-1.2.1/ChangeLog.svn 2018-04-19 18:58:32.000000000 +0200 +++ new/qmmp-1.2.2/ChangeLog.svn 2018-05-31 18:53:29.000000000 +0200 @@ -1,4 +1,25 @@ ------------------------------------------------------------------------ +r7992 | trialuser02 | 2018-05-31 14:12:51 +0300 (Чт., 31 мая 2018) | 1 line + +updated changelogs +------------------------------------------------------------------------ +r7989 | trialuser02 | 2018-05-31 11:28:57 +0300 (Чт., 31 мая 2018) | 1 line + +fixed build with Qt 5.11 (Fixes #955) +------------------------------------------------------------------------ +r7968 | trialuser02 | 2018-05-27 22:56:41 +0300 (Вс., 27 мая 2018) | 2 lines + +sndfile: fixed memory leak + +------------------------------------------------------------------------ +r7964 | trialuser02 | 2018-05-27 13:12:10 +0300 (Вс., 27 мая 2018) | 1 line + +fixed memory leak +------------------------------------------------------------------------ +r7932 | trialuser02 | 2018-04-20 00:07:20 +0300 (Пт., 20 апр. 2018) | 1 line + +version bump +------------------------------------------------------------------------ r7921 | trialuser02 | 2018-04-19 19:37:11 +0300 (Чт., 19 апр. 2018) | 1 line fixed cmake 2.8.11 support diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qmmp-1.2.1/qmmp.pri new/qmmp-1.2.2/qmmp.pri --- old/qmmp-1.2.1/qmmp.pri 2018-04-19 18:58:32.000000000 +0200 +++ new/qmmp-1.2.2/qmmp.pri 2018-05-31 18:53:29.000000000 +0200 @@ -23,7 +23,7 @@ #Version -QMMP_VERSION = 1.2.1 +QMMP_VERSION = 1.2.2 #Comment/uncomment this if you want to change plugins list diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qmmp-1.2.1/src/app/qmmp.rc new/qmmp-1.2.2/src/app/qmmp.rc --- old/qmmp-1.2.1/src/app/qmmp.rc 2018-04-19 18:58:16.000000000 +0200 +++ new/qmmp-1.2.2/src/app/qmmp.rc 2018-05-31 18:53:28.000000000 +0200 @@ -1,7 +1,7 @@ #include <winver.h> -#define QMMP_FILEVERSION 1,2,1,0 -#define QMMP_PRODUCTVERSION "1.2.1.0" +#define QMMP_FILEVERSION 1,2,2,0 +#define QMMP_PRODUCTVERSION "1.2.2.0" IDI_ICON1 ICON DISCARDABLE "images\\ico\\qmmp.ico" IDI_ICON2 ICON DISCARDABLE "images\\ico\\qmmp_file.ico" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qmmp-1.2.1/src/plugins/Input/flac/cueparser.cpp new/qmmp-1.2.2/src/plugins/Input/flac/cueparser.cpp --- old/qmmp-1.2.1/src/plugins/Input/flac/cueparser.cpp 2018-04-19 18:58:17.000000000 +0200 +++ new/qmmp-1.2.2/src/plugins/Input/flac/cueparser.cpp 2018-05-31 18:53:28.000000000 +0200 @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2008-2017 by Ilya Kotov * + * Copyright (C) 2008-2018 by Ilya Kotov * * [email protected] * * * * This program is free software; you can redistribute it and/or modify * @@ -115,6 +115,8 @@ m_tracks.last()->info.setLength(l - m_tracks.last()->offset); else m_tracks.last()->info.setLength(0); + qDeleteAll(f_list); + f_list.clear(); } CUEParser::~CUEParser() diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qmmp-1.2.1/src/plugins/Input/sndfile/decodersndfilefactory.cpp new/qmmp-1.2.2/src/plugins/Input/sndfile/decodersndfilefactory.cpp --- old/qmmp-1.2.1/src/plugins/Input/sndfile/decodersndfilefactory.cpp 2018-04-19 18:58:17.000000000 +0200 +++ new/qmmp-1.2.2/src/plugins/Input/sndfile/decodersndfilefactory.cpp 2018-05-31 18:53:28.000000000 +0200 @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2007-2015 by Ilya Kotov * + * Copyright (C) 2007-2018 by Ilya Kotov * * [email protected] * * * * This program is free software; you can redistribute it and/or modify * @@ -117,21 +117,17 @@ list << new FileInfo(fileName); if (useMetaData) { - if (sf_get_string(sndfile, SF_STR_TITLE)) - { - char* title = strdup(sf_get_string(sndfile, SF_STR_TITLE)); + const char *title = sf_get_string(sndfile, SF_STR_TITLE); + if(title) list.at(0)->setMetaData(Qmmp::TITLE, QString::fromUtf8(title).trimmed()); - } - if (sf_get_string(sndfile, SF_STR_ARTIST)) - { - char* artist = strdup(sf_get_string(sndfile, SF_STR_ARTIST)); + + const char *artist = sf_get_string(sndfile, SF_STR_ARTIST); + if(artist) list.at(0)->setMetaData(Qmmp::ARTIST, QString::fromUtf8(artist).trimmed()); - } - if (sf_get_string(sndfile, SF_STR_COMMENT)) - { - char* comment = strdup(sf_get_string(sndfile, SF_STR_COMMENT)); + + const char *comment = sf_get_string(sndfile, SF_STR_COMMENT); + if(comment) list.at(0)->setMetaData(Qmmp::COMMENT, QString::fromUtf8(comment).trimmed()); - } } list.at(0)->setLength(int(snd_info.frames / snd_info.samplerate)); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qmmp-1.2.1/src/plugins/Input/wavpack/cueparser.cpp new/qmmp-1.2.2/src/plugins/Input/wavpack/cueparser.cpp --- old/qmmp-1.2.1/src/plugins/Input/wavpack/cueparser.cpp 2018-04-19 18:58:17.000000000 +0200 +++ new/qmmp-1.2.2/src/plugins/Input/wavpack/cueparser.cpp 2018-05-31 18:53:28.000000000 +0200 @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2008-2017 by Ilya Kotov * + * Copyright (C) 2008-2018 by Ilya Kotov * * [email protected] * * * * This program is free software; you can redistribute it and/or modify * @@ -115,6 +115,8 @@ m_tracks.last()->info.setLength(l - m_tracks.last()->offset); else m_tracks.last()->info.setLength(0); + qDeleteAll(f_list); + f_list.clear(); } CUEParser::~CUEParser() diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qmmp-1.2.1/src/plugins/Ui/skinned/hotkeyeditor.cpp new/qmmp-1.2.2/src/plugins/Ui/skinned/hotkeyeditor.cpp --- old/qmmp-1.2.1/src/plugins/Ui/skinned/hotkeyeditor.cpp 2018-04-19 18:58:16.000000000 +0200 +++ new/qmmp-1.2.2/src/plugins/Ui/skinned/hotkeyeditor.cpp 2018-05-31 18:53:28.000000000 +0200 @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2011-2015 by Ilya Kotov * + * Copyright (C) 2011-2018 by Ilya Kotov * * [email protected] * * * * This program is free software; you can redistribute it and/or modify * @@ -19,6 +19,7 @@ ***************************************************************************/ #include <QMessageBox> +#include <QAction> #include "actionmanager.h" #include "hotkeyeditor.h" #include "shortcutdialog.h" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qmmp-1.2.1/src/qmmp/qmmp.h new/qmmp-1.2.2/src/qmmp/qmmp.h --- old/qmmp-1.2.1/src/qmmp/qmmp.h 2018-04-19 18:58:32.000000000 +0200 +++ new/qmmp-1.2.2/src/qmmp/qmmp.h 2018-05-31 18:53:29.000000000 +0200 @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2008-2017 by Ilya Kotov * + * Copyright (C) 2008-2018 by Ilya Kotov * * [email protected] * * * * This program is free software; you can redistribute it and/or modify * @@ -24,7 +24,7 @@ #define QMMP_VERSION_MAJOR 1 #define QMMP_VERSION_MINOR 2 -#define QMMP_VERSION_PATCH 1 +#define QMMP_VERSION_PATCH 2 #define QMMP_VERSION_STABLE 1 #define QMMP_VERSION_INT (QMMP_VERSION_MAJOR<<16 | QMMP_VERSION_MINOR<<8 | QMMP_VERSION_PATCH) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qmmp-1.2.1/src/qmmpui/detailsdialog.cpp new/qmmp-1.2.2/src/qmmpui/detailsdialog.cpp --- old/qmmp-1.2.1/src/qmmpui/detailsdialog.cpp 2018-04-19 18:58:16.000000000 +0200 +++ new/qmmp-1.2.2/src/qmmpui/detailsdialog.cpp 2018-05-31 18:53:28.000000000 +0200 @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2009-2017 by Ilya Kotov * + * Copyright (C) 2009-2018 by Ilya Kotov * * [email protected] * * * * This program is free software; you can redistribute it and/or modify * @@ -24,6 +24,7 @@ #include <QFileInfo> #include <QProcess> #include <QPushButton> +#include <QStyle> #include <qmmp/metadatamanager.h> #include <qmmp/metadatamodel.h> #include <qmmp/tagmodel.h>
