--- /dev/null
+minitube (1.8-1) unstable; urgency=low
+
+ Starting with 1.8-1, minitube no longer depends on a particular phonon
+ backend, and can thus no longer directly depend on all codec-related
+ packages.
+
+ Users of the GStreamer backend might want to
+
+ * apt-get install gstreamer0.10-plugins-good gstreamer0.10-x
+
+ and maybe
+
+ * apt-get install gstreamer0.10-ffmpeg gstreamer0.10-plugins-bad
+
+ as well.
+
+ The VLC backend seems to pull in all necessary dependencies by itself.
+
+ -- Jakob Haufe <sur5r@sur5r.net> Sun, 23 Sep 2012 16:55:34 +0200
--- /dev/null
+minitube (2.2-1) unstable; urgency=medium
+
+ * New upstream version (Closes: #757806)
+ * Bump Standards-Version to 3.9.5 (no changes required)
+
+ -- Jakob Haufe <sur5r@sur5r.net> Sat, 06 Sep 2014 21:19:24 +0200
+
+minitube (2.1.6-1) unstable; urgency=low
+
+ * New upstream version (Closes: #739480)
+ * Update watchfile to work with new Gitorious
+ * Refresh patches
+
+ -- Jakob Haufe <sur5r@sur5r.net> Sun, 15 Jun 2014 14:49:50 +0200
+
+minitube (2.0-1) unstable; urgency=low
+
+ * New upstream version
+ * Switch from hardening-wrapper to buildflags.mk
+ * Refresh patches:
+ - Drop gcc-4.7.patch, fixed upstream
+ - Rebuild assure-quit-keybinding
+ - Rebuild disable-update-check
+ * Update Standards-Version to 3.9.4
+ - Add Vcs-* control fields
+ - No further changes needed
+
+ -- Jakob Haufe <sur5r@sur5r.net> Thu, 23 May 2013 13:54:01 +0200
+
+minitube (1.9-1) unstable; urgency=low
+
+ * New upstream version (Closes: #673696)
+ * Refresh disable-update-check
+ * Refresh proper-tempfiles
+ * Use hardening-wrapper
+
+ -- Jakob Haufe <sur5r@sur5r.net> Sat, 29 Sep 2012 02:43:53 +0200
+
+minitube (1.8-1) unstable; urgency=low
+
+ * Ack NMU (thanks gregoa)
+ * New upstream version (Closes: #673696)
+ * Bump Standards-Version to 3.9.3 (no changes required)
+ * Bump debhelper compat level to 9
+ * Switch to xz compression
+ * No longer directly depend on GStreamer phonon backed
+
+ -- Jakob Haufe <sur5r@sur5r.net> Sun, 23 Sep 2012 19:52:04 +0200
+
+minitube (1.7-1.1) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * Fix "ftbfs with GCC-4.7": add patch that adds missing include.
+ (Closes: #667281)
+
+ -- gregor herrmann <gregoa@debian.org> Wed, 09 May 2012 16:44:42 +0200
+
+minitube (1.7-1) unstable; urgency=low
+
+ * New upstream version (Closes: #658990)
+ * New patch: assure-quit-keybinding
+
+ -- Jakob Haufe <sur5r@sur5r.net> Wed, 15 Feb 2012 22:06:35 +0100
+
+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
+Source: minitube
+Section: video
+Priority: extra
+Maintainer: Jakob Haufe <sur5r@sur5r.net>
+Build-Depends: cdbs, debhelper (>= 9), libqt4-dev (>= 4:4.5), libphonon-dev, dpkg-dev (>= 1.16.1~)
+Standards-Version: 3.9.5
+Homepage: http://flavio.tordini.org/minitube
+Vcs-Browser: http://git.sur5r.net/?p=minitube;a=summary
+Vcs-Git: git://git.sur5r.net/minitube
+
+Package: minitube
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, phonon-backend-gstreamer | phonon-backend, dbus-x11
+Description: Native YouTube client
+ Minitube is a native YouTube client. With it you can watch YouTube videos in
+ a new way: you type a keyword, Minitube gives you an endless video stream.
+ .
+ Minitube does not require the Flash Player.
+ .
+ Minitube is not about cloning the original YouTube web interface, it aims to
+ create a new TV-like experience.
+
--- /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
+?package(minitube):needs="X11" section="Applications/Video"\
+ title="minitube" command="/usr/bin/minitube"
--- /dev/null
+.\" Hey, EMACS: -*- nroff -*-
+.TH MINITUBE 1 "January 22, 2010"
+.SH NAME
+minitube \- Native YouTube client
+.SH SYNOPSIS
+.B minitube
+.SH DESCRIPTION
+This manual page documents briefly the
+.B minitube
+command.
+.PP
+\fBminitube\fP is a native YouTube client. With it you can watch YouTube
+videos in a new way: you type a keyword, Minitube gives you an endless
+video stream. Minitube does not require the Flash Player.
+.SH OPTIONS
+Minitube currently does not take any options.
+.SH AUTHOR
+minitube was written by Flavio Tordini <flavio.tordini@gmail.com>.
+.PP
+This manual page was written by Jakob Haufe <sur5r@sur5r.net>,
+for the Debian project (and may be used by others).
--- /dev/null
+debian/minitube.1
--- /dev/null
+Description: Make Ctrl+Q work on normal X11 desktops
+ Upstream changed from explicit Ctrl+Q to QkeySequence::Quit, which Qt defines
+ to Ctrl+Q for OSX, KDE and Gnome, but not for other X11 desktops, so
+ explicitely add Ctrl+Q back.
+Author: Jakob Haufe <sur5r@sur5r.net>
+Forwarded: no
+Last-Update: 2014-01-25
+
+diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
+index 3392ff2..2e97174 100644
+--- a/src/mainwindow.cpp
++++ b/src/mainwindow.cpp
+@@ -376,7 +376,9 @@ void MainWindow::createActions() {
+
+ quitAct = new QAction(tr("&Quit"), this);
+ quitAct->setMenuRole(QAction::QuitRole);
+- quitAct->setShortcut(QKeySequence(QKeySequence::Quit));
++ quitAct->setShortcuts(QList<QKeySequence>()
++ << QKeySequence(QKeySequence::Quit)
++ << QKeySequence(Qt::CTRL + Qt::Key_Q));
+ quitAct->setStatusTip(tr("Bye"));
+ actions->insert("quit", quitAct);
+ connect(quitAct, SIGNAL(triggered()), SLOT(quit()));
--- /dev/null
+Description: Disable update check as it's useless for a packaged version
+Author: Jakob Haufe <sur5r@sur5r.net>
+
+diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
+index 3392ff2..a18e7f0 100644
+--- a/src/mainwindow.cpp
++++ b/src/mainwindow.cpp
+@@ -197,7 +197,7 @@ void MainWindow::lazyInit() {
+
+ JsFunctions::instance();
+
+- checkForUpdate();
++ //checkForUpdate();
+
+ ChannelAggregator::instance()->start();
+ }
--- /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 362cbd8..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,43 +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
+-
+- // tempFile += ".mp4";
+-
+- 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 {
+
--- /dev/null
+disable-update-check
+proper-tempfiles
+assure-quit-keybinding
--- /dev/null
+#!/usr/bin/make -f
+
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+export DEB_CFLAGS_MAINT_APPEND = -Wall
+include /usr/share/dpkg/buildflags.mk
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/qmake.mk
+
+
+# Add here any variable or target overrides you need.
--- /dev/null
+3.0 (quilt)
--- /dev/null
+compression = xz
+compression-level = 7
--- /dev/null
+version=3
+
+opts=filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/minitube-$1\.tar\.gz/ https://github.com/flaviotordini/minitube/tags .*/v?(\d\S*)\.tar\.gz