--- /dev/null
+minitube (1.6-1) unstable; urgency=low
+
+ * New upstream version (Closes: #650622, #647212)
+ * Recreate debian/patches/disable-update-check
+ * Recreate debian/patches/proper-tempfiles
+
+ -- Jakob Haufe <sur5r@sur5r.net> Wed, 07 Dec 2011 02:50:04 +0100
+
+minitube (1.5-2) unstable; urgency=low
+
+ * Do proper temporary file creation (Closes: #644935).
+
+ -- Jakob Haufe <sur5r@sur5r.net> Wed, 12 Oct 2011 23:06:30 +0200
+
+minitube (1.5-1.1) unstable; urgency=low
+
+ * Bump Standards-Version to 3.9.2 (no changes required)
+
+ -- Jakob Haufe <sur5r@sur5r.net> Sun, 14 Aug 2011 09:33:19 +0200
+
+minitube (1.5-1) unstable; urgency=low
+
+ * New upstream version (Closes: #637410)
+
+ -- Jakob Haufe <sur5r@sur5r.net> Fri, 12 Aug 2011 18:34:21 +0200
+
+minitube (1.4.3-1) unstable; urgency=low
+
+ * New upstream version (Closes: #623821)
+
+ -- Jakob Haufe <sur5r@sur5r.net> Fri, 10 Jun 2011 00:12:04 +0200
+
+minitube (1.4.2-1) unstable; urgency=low
+
+ * New upstream version
+
+ -- Jakob Haufe <sur5r@sur5r.net> Sun, 24 Apr 2011 19:30:24 +0200
+
+minitube (1.4.1-1) unstable; urgency=low
+
+ * New upstream version
+ * Disable update check, makes no sense for a packaged version (Closes:
+ #619941)
+
+ -- Jakob Haufe <sur5r@sur5r.net> Sun, 03 Apr 2011 20:38:04 +0200
+
+minitube (1.3-1) unstable; urgency=low
+
+ * New upstream version (Closes: #606670)
+
+ -- Jakob Haufe <sur5r@sur5r.net> Fri, 17 Dec 2010 00:23:23 +0100
+
+minitube (1.2-1) unstable; urgency=low
+
+ * New upstream version (Closes: #600070)
+
+ -- Jakob Haufe <sur5r@sur5r.net> Fri, 15 Oct 2010 01:48:10 +0200
+
+minitube (1.1-1) unstable; urgency=low
+
+ * New upstream version (Closes: #590320)
+ * Bump Standards-Version to 3.9.1 (no changes required)
+ * Add dependencies to dbus-x11 and gstreamer0.10-plugins-good
+
+ -- Jakob Haufe <sur5r@sur5r.net> Tue, 27 Jul 2010 23:04:09 +0200
+
+minitube (1.0-3) unstable; urgency=low
+
+ * Mention files with copyright by Nokia in debian/copyright. Thanks to Barry
+ deFreese for pointing it out.
+
+ -- Jakob Haufe <sur5r@sur5r.net> Wed, 09 Jun 2010 20:52:44 +0200
+
+minitube (1.0-2) unstable; urgency=low
+
+ * Make phonon and gstreamer dependencies more strict
+ * Remove now obsolete README.Debian
+ * Remove README.source template
+
+ -- Jakob Haufe <sur5r@sur5r.net> Thu, 06 May 2010 22:58:30 +0200
+
+minitube (1.0-1) unstable; urgency=low
+
+ * Initial release (Closes: #561012)
+
+ -- Jakob Haufe <sur5r@sur5r.net> Tue, 04 May 2010 21:51:02 +0200
+
--- /dev/null
+This work was packaged for Debian by:
+
+ Jakob Haufe <sur5r@sur5r.net> on Sun, 10 Jan 2010 02:28:52 +0100
+
+It was downloaded from <git://gitorious.org/minitube/minitube.git>
+
+Upstream Author:
+
+ Flavio Tordini <flavio.tordini@gmail.com>
+
+Copyright:
+
+ <Copyright (C) 2010 Flavio Tordini>
+
+License:
+
+ 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 of the License, or
+ (at your option) any later version.
+
+ This package 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/>.
+
+Files with other copyright statement than: Copyright Flavio Tordnini, License GPL verion 3
+------------------------------------------------------------------------------------------
+
+
+src/flickcharm.cpp src/flickcharm.h
+
+ Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
+ Contact: Qt Software Information (qt-info@nokia.com)
+
+ This file is part of the Graphics Dojo project on Qt Labs.
+
+ This file may be used under the terms of the GNU General Public
+ License version 2.0 or 3.0 as published by the Free Software Foundation
+ and appearing in the file LICENSE.GPL included in the packaging of
+ this file. Please review the following information to ensure GNU
+ General Public Licensing requirements will be met:
+ http://www.fsf.org/licensing/licenses/info/GPLv2.html and
+ http://www.gnu.org/copyleft/gpl.html.
+
+ If you are unsure which license is appropriate for your use, please
+ contact the sales department at qt-sales@nokia.com.
+
+ This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
+ WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+
+src/minisplitter.cpp src/minisplitter.h
+
+ Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
+
+ Contact: Qt Software Information (qt-info@nokia.com)
+
+ Commercial Usage
+
+ Licensees holding valid Qt Commercial licenses may use this file in
+ accordance with the Qt Commercial License Agreement provided with the
+ Software or, alternatively, in accordance with the terms contained in
+ a written agreement between you and Nokia.
+
+ GNU Lesser General Public License Usage
+
+ Alternatively, this file may be used under the terms of the GNU Lesser
+ General Public License version 2.1 as published by the Free Software
+ Foundation and appearing in the file LICENSE.LGPL included in the
+ packaging of this file. Please review the following information to
+ ensure the GNU Lesser General Public License version 2.1 requirements
+ will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+
+ If you are unsure which license is appropriate for your use, please
+ contact the sales department at qt-sales@nokia.com.
+
+
+src/searchlineedit.cpp src/searchlineedit.h src/urllineedit.cpp src/urllineedit.h
+
+ Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
+ Contact: Nokia Corporation (qt-info@nokia.com)
+
+ This file is part of the demonstration applications of the Qt Toolkit.
+
+ $QT_BEGIN_LICENSE:LGPL$
+ Commercial Usage
+ Licensees holding valid Qt Commercial licenses may use this file in
+ accordance with the Qt Commercial License Agreement provided with the
+ Software or, alternatively, in accordance with the terms contained in
+ a written agreement between you and Nokia.
+
+ GNU Lesser General Public License Usage
+ Alternatively, this file may be used under the terms of the GNU Lesser
+ General Public License version 2.1 as published by the Free Software
+ Foundation and appearing in the file LICENSE.LGPL included in the
+ packaging of this file. Please review the following information to
+ ensure the GNU Lesser General Public License version 2.1 requirements
+ will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+
+ In addition, as a special exception, Nokia gives you certain
+ additional rights. These rights are described in the Nokia Qt LGPL
+ Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this
+ package.
+
+ GNU General Public License Usage
+ Alternatively, this file may be used under the terms of the GNU
+ General Public License version 3.0 as published by the Free Software
+ Foundation and appearing in the file LICENSE.GPL included in the
+ packaging of this file. Please review the following information to
+ ensure the GNU General Public License version 3.0 requirements will be
+ met: http://www.gnu.org/copyleft/gpl.html.
+
+ If you are unsure which license is appropriate for your use, please
+ contact the sales department at http://www.qtsoftware.com/contact.
+ $QT_END_LICENSE$
+
+src/iconloader/qticonloader.cpp src/iconloader/qticonloader.h
+
+ Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
+ Contact: Qt Software Information (qt-info@nokia.com)
+
+ This file is part of the QtGui module of the Qt Toolkit.
+
+ Commercial Usage
+ Licensees holding valid Qt Commercial licenses may use this file in
+ accordance with the Qt Commercial License Agreement provided with the
+ Software or, alternatively, in accordance with the terms contained in
+ a written agreement between you and Nokia.
+
+ GNU Lesser General Public License Usage
+ Alternatively, this file may be used under the terms of the GNU Lesser
+ General Public License version 2.1 as published by the Free Software
+ Foundation and appearing in the file LICENSE.LGPL included in the
+ packaging of this file. Please review the following information to
+ ensure the GNU Lesser General Public License version 2.1 requirements
+ will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+
+ In addition, as a special exception, Nokia gives you certain
+ additional rights. These rights are described in the Nokia Qt LGPL
+ Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this
+ package.
+
+ GNU General Public License Usage
+ Alternatively, this file may be used under the terms of the GNU
+ General Public License version 3.0 as published by the Free Software
+ Foundation and appearing in the file LICENSE.GPL included in the
+ packaging of this file. Please review the following information to
+ ensure the GNU General Public License version 3.0 requirements will be
+ met: http://www.gnu.org/copyleft/gpl.html.
+
+ If you are unsure which license is appropriate for your use, please
+ contact the sales department at qt-sales@nokia.com.
+
+src/qtsingleapplication/*.{h,cpp}
+
+ This file is part of a Qt Solutions component.
+
+ Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
+
+ Contact: Qt Software Information (qt-info@nokia.com)
+
+ Commercial Usage
+ Licensees holding valid Qt Commercial licenses may use this file in
+ accordance with the Qt Solutions Commercial License Agreement provided
+ with the Software or, alternatively, in accordance with the terms
+ contained in a written agreement between you and Nokia.
+
+ GNU Lesser General Public License Usage
+ Alternatively, this file may be used under the terms of the GNU Lesser
+ General Public License version 2.1 as published by the Free Software
+ Foundation and appearing in the file LICENSE.LGPL included in the
+ packaging of this file. Please review the following information to
+ ensure the GNU Lesser General Public License version 2.1 requirements
+ will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+
+ In addition, as a special exception, Nokia gives you certain
+ additional rights. These rights are described in the Nokia Qt LGPL
+ Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this
+ package.
+
+ GNU General Public License Usage
+ Alternatively, this file may be used under the terms of the GNU
+ General Public License version 3.0 as published by the Free Software
+ Foundation and appearing in the file LICENSE.GPL included in the
+ packaging of this file. Please review the following information to
+ ensure the GNU General Public License version 3.0 requirements will be
+ met: http://www.gnu.org/copyleft/gpl.html.
+
+ Please note Third Party Software included with Qt Solutions may impose
+ additional restrictions and it is the user's responsibility to ensure
+ that they have met the licensing requirements of the GPL, LGPL, or Qt
+ Solutions Commercial license and the relevant license of the Third
+ Party Software they are using.
+
+ If you are unsure which license is appropriate for your use, please
+ contact the sales department at qt-sales@nokia.com.
+
+------------------------------------------------------------------------------------------
+
+On Debian systems, the complete text of the GNU General
+Public License version 3 can be found in `/usr/share/common-licenses/GPL-3'.
+
+The Debian packaging is:
+
+ Copyright (C) 2010 Jakob Haufe <sur5r@sur5r.net>
+
+and is licensed under the GPL version 3,
+see `/usr/share/common-licenses/GPL-3'.
+
+
+
--- /dev/null
+Description: Do proper temporary file creation
+ Upstream is using predictable temporary file names. Fix this in Debian
+ for now by using QTemporaryFile. This additionally ensures removal of
+ temporary files upon exit.
+Author: Jakob Haufe <sur5r@sur5r.net>
+Bug-Debian: http://bugs.debian.org/644935
+
+diff --git a/src/temporary.cpp b/src/temporary.cpp
+index a979cbd..bebcd1f 100644
+--- a/src/temporary.cpp
++++ b/src/temporary.cpp
+@@ -1,7 +1,7 @@
+ #include "temporary.h"
+ #include "constants.h"
+
+-static QList<QString> paths;
++static QList<QTemporaryFile*> tempfiles;
+ #ifdef Q_WS_X11
+ static QString userName;
+ #endif
+@@ -10,41 +10,21 @@ Temporary::Temporary() { }
+
+ QString Temporary::filename() {
+
+- static const QString tempDir = QDesktopServices::storageLocation(QDesktopServices::TempLocation);
++ QTemporaryFile *tempfile = new QTemporaryFile(QDir::tempPath() + "/" + Constants::UNIX_NAME + "-XXXXXX");
+
+- QString tempFile = tempDir + "/" + Constants::UNIX_NAME + "-" + QString::number(qrand());
++ tempfiles << tempfile;
+
+-#ifdef Q_WS_X11
+- if (userName.isNull()) {
+- userName = QString(getenv("USERNAME"));
+- if (userName.isEmpty())
+- userName = QString(getenv("USER"));
+- }
+- if (!userName.isEmpty())
+- tempFile += "-" + userName;
+-#endif
+-
+- if (QFile::exists(tempFile) && !QFile::remove(tempFile)) {
+- qDebug() << "Cannot remove temp file" << tempFile;
++ if (tempfiles.size() > 1) {
++ QTemporaryFile *removedFile = tempfiles.takeFirst();
++ delete removedFile;
+ }
+
+- paths << tempFile;
+-
+- if (paths.size() > 1) {
+- QString removedFile = paths.takeFirst();
+- if (QFile::exists(removedFile) && !QFile::remove(removedFile)) {
+- qDebug() << "Cannot remove temp file" << removedFile;
+- }
+- }
+-
+- return tempFile;
+-
++ tempfile->open();
++ return tempfile->fileName();
+ }
+
+ void Temporary::deleteAll() {
+- foreach(QString path, paths) {
+- if (QFile::exists(path) && !QFile::remove(path)) {
+- qDebug() << "Cannot remove temp file" << path;
+- }
++ foreach(QTemporaryFile *tempfile, tempfiles) {
++ delete tempfile;
+ }
+ }
+diff --git a/src/temporary.h b/src/temporary.h
+index 50b9633..0453572 100644
+--- a/src/temporary.h
++++ b/src/temporary.h
+@@ -3,6 +3,7 @@
+
+ #include <QtCore>
+ #include <QDesktopServices>
++#include <QTemporaryFile>
+
+ class Temporary {
+