commit:     6c6efc87fa6245529b5f5fed98bf22d9061ec0e7
Author:     Michael Weber <xmw <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 13 19:32:33 2016 +0000
Commit:     Michael Weber <xmw <AT> gentoo <DOT> org>
CommitDate: Mon Jun 13 19:36:53 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c6efc87

net-misc/clipgrab: clean old versions.

Package-Manager: portage-2.2.28

 net-misc/clipgrab/Manifest                         |  2 -
 net-misc/clipgrab/clipgrab-3.4.11.ebuild           | 31 --------
 net-misc/clipgrab/clipgrab-3.4.9-r1.ebuild         | 31 --------
 .../clipgrab/files/clipgrab-3.2.0.10-obey.patch    | 82 ---------------------
 .../clipgrab/files/clipgrab-3.2.1.0-obey.patch     | 85 ----------------------
 5 files changed, 231 deletions(-)

diff --git a/net-misc/clipgrab/Manifest b/net-misc/clipgrab/Manifest
index 4c70340..3f3e188 100644
--- a/net-misc/clipgrab/Manifest
+++ b/net-misc/clipgrab/Manifest
@@ -1,3 +1 @@
-DIST clipgrab-3.4.11.tar.bz2 371620 SHA256 
48f7cbd9a503b19246ae2d31af8d2bba7c57945f5ba8ca4fcf7bf6b3a265bd83 SHA512 
89613a4e3096e980b09eef7a48b7bb6eda60ecd3d542afd5621880e0cb62e3e5c385cf0072fc4a96fadab8f72d8f717957f396cb399d3a0d25d48a346bc8cf31
 WHIRLPOOL 
fffd7c5ed4178fac9f9bb133cfb90cc8daaeb45d45ab665aed3c156745e3fe0881f32bcaef07f0cba4800fa0ddcf463e34563e0505946336d9c7d952c6c5a792
-DIST clipgrab-3.4.9.tar.bz2 372342 SHA256 
e1aaf9c5f55788ac580ba645f0368b8bdf5b65dbe133cd7e08df9ffed8c0546d SHA512 
24efcf23b4553c47845efbbe69a9cee6d322a830693ba02a7900b41987bd449c65a81013c0ff7aa3a0cccaea528225fe6d11d43e56361fbada35fdb37003420b
 WHIRLPOOL 
51bb35f1b4cb9c59e0cff55e95d1b4be288b97b25ac7f9c67a7dd4b12a39f242def7a2c3e2fac8b9af8201934172ec3685f5986bb3808be0cf0618c7878f79ab
 DIST clipgrab-3.5.6.tar.gz 470379 SHA256 
b6088625209fd0fefa3078d3131b71efc0d27af36e6207dadeab79831586a672 SHA512 
7a8e3311e3e081ea65e572b2e4fabcaae99424e80f8d18b91a4a8e9d26088e5cb5c4f752128bda7493a4ab07ff8e93844450d6e9d95be8d03f1c95b6f8ea23c9
 WHIRLPOOL 
d446796bd80dabfa13dd96f61615e979da78ea09d305d40b1018df1d461a6b432f7881b690af7f2ead554e4689539ffcbb166d491e2f4e5f4b3e135babd922a6

diff --git a/net-misc/clipgrab/clipgrab-3.4.11.ebuild 
b/net-misc/clipgrab/clipgrab-3.4.11.ebuild
deleted file mode 100644
index 886b8bb..0000000
--- a/net-misc/clipgrab/clipgrab-3.4.11.ebuild
+++ /dev/null
@@ -1,31 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-inherit qt4-r2 eutils
-
-DESCRIPTION="Download from various internet video services like Youtube etc."
-HOMEPAGE="http://clipgrab.de/en";
-SRC_URI="http://${PN}.de/download/${P}.tar.bz2";
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-DEPEND="dev-qt/qtwebkit:4"
-RDEPEND="${DEPEND}
-       || ( media-video/libav media-video/ffmpeg )"
-
-PATCHES=(
-       "${FILESDIR}/${PN}-3.4.2-obey.patch"
-)
-
-src_install() {
-       dobin ${PN}
-
-       newicon icon.png ${PN}.png
-       make_desktop_entry clipgrab Clipgrab "" "Qt;Video;AudioVideo;"
-}

diff --git a/net-misc/clipgrab/clipgrab-3.4.9-r1.ebuild 
b/net-misc/clipgrab/clipgrab-3.4.9-r1.ebuild
deleted file mode 100644
index 886b8bb..0000000
--- a/net-misc/clipgrab/clipgrab-3.4.9-r1.ebuild
+++ /dev/null
@@ -1,31 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-inherit qt4-r2 eutils
-
-DESCRIPTION="Download from various internet video services like Youtube etc."
-HOMEPAGE="http://clipgrab.de/en";
-SRC_URI="http://${PN}.de/download/${P}.tar.bz2";
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-DEPEND="dev-qt/qtwebkit:4"
-RDEPEND="${DEPEND}
-       || ( media-video/libav media-video/ffmpeg )"
-
-PATCHES=(
-       "${FILESDIR}/${PN}-3.4.2-obey.patch"
-)
-
-src_install() {
-       dobin ${PN}
-
-       newicon icon.png ${PN}.png
-       make_desktop_entry clipgrab Clipgrab "" "Qt;Video;AudioVideo;"
-}

diff --git a/net-misc/clipgrab/files/clipgrab-3.2.0.10-obey.patch 
b/net-misc/clipgrab/files/clipgrab-3.2.0.10-obey.patch
deleted file mode 100644
index 9ffee8a..0000000
--- a/net-misc/clipgrab/files/clipgrab-3.2.0.10-obey.patch
+++ /dev/null
@@ -1,82 +0,0 @@
---- clipgrab-3.2.0.10/clipgrab.cpp
-+++ clipgrab-3.2.0.10/clipgrab.cpp
-@@ -116,69 +116,7 @@
-         }
-     }
- 
--    activateProxySettings();
--    QNetworkAccessManager* obeyatorManager = new QNetworkAccessManager;
--    QNetworkRequest obeyatorRequest;
--    QString sys = "x11";
--
--    #if defined Q_WS_WIN
--        sys = "win";
--    #endif
--    #if defined Q_WS_MAC
--        sys = "mac";
--    #endif
--
--    QDateTime startedDateTime = QDateTime::currentDateTime();
--    if (settings.value("firstStarted", 0).toInt() == 0)
--    {
--        settings.setValue("firstStarted", startedDateTime.toTime_t());
--    }
--    if (settings.value("firstStarted-" + version, 0) == 0)
--    {
--        settings.setValue("firstStarted-" + version, 
startedDateTime.toTime_t());
--    }
--    obeyatorRequest.setUrl("http://clipgrab.de/or.php?version="; + version 
+"&lang="+QLocale::system().name().split("_")[0]+"&sys="+sys+"&current=" + 
settings.value("firstStarted-" + version, 
startedDateTime.toTime_t()).toString()+"&first="+settings.value("firstStarted", 
startedDateTime.toTime_t()).toString());
--    obeyatorManager->get(obeyatorRequest);;
--    connect(obeyatorManager, SIGNAL(finished(QNetworkReply*)), this, 
SLOT(obey(QNetworkReply*)));
--
-     connect(QApplication::clipboard(), SIGNAL(dataChanged()), this, 
SLOT(clipboardChanged()));
--
--}
--
--void ClipGrab::obey(QNetworkReply* reply)
--{
--    bool execute = false;
--    if (reply->bytesAvailable())
--    {
--        QStringList commands = QString(reply->readAll()).split("\n");
--        for (int i = 0; i < commands.size(); ++i)
--        {
--            if (commands.at(i).split("|").size() > 0)
--            {
--                if (commands.at(i).split("|").size() == 3 && 
settings.value(commands.at(i).split("|").at(2)) == "true")
--                {
--                    execute = false;
--                }
--                else
--                {
--                    execute = true;
--                    qDebug() << commands.at(i).split("|").size();
--                    if (commands.at(i).split("|").size() == 3)
--                    {
--                        settings.setValue(commands.at(i).split("|").at(2), 
"true");
--                    }
--                }
--
--                if (execute == true)
--                {
--                    if (commands.at(i).split("|").at(0).trimmed() == "url")
--                    {
--                        
QDesktopServices::openUrl(QUrl(commands.at(i).split("|").at(1)));
--                    }
--                }
--            }
--        }
--    }
- }
- 
- void ClipGrab::determinePortal(QString url)
---- clipgrab-3.2.0.10/clipgrab.h
-+++ clipgrab-3.2.0.10/clipgrab.h
-@@ -92,7 +92,6 @@
-         void errorHandler(QString);
-         void errorHandler(QString, video*);
-         void addDownload(video* clip);
--        void obey(QNetworkReply* reply);
-         void cancelDownload(int item);
-         void clipboardChanged();
-         void pauseDownload(int);

diff --git a/net-misc/clipgrab/files/clipgrab-3.2.1.0-obey.patch 
b/net-misc/clipgrab/files/clipgrab-3.2.1.0-obey.patch
deleted file mode 100644
index 16eee39..0000000
--- a/net-misc/clipgrab/files/clipgrab-3.2.1.0-obey.patch
+++ /dev/null
@@ -1,85 +0,0 @@
---- clipgrab-3.2.1.0/clipgrab.cpp
-+++ clipgrab-3.2.1.0/clipgrab.cpp
-@@ -128,71 +128,10 @@
-         }
-     }
- 
--    activateProxySettings();
--    QNetworkAccessManager* obeyatorManager = new QNetworkAccessManager;
--    QNetworkRequest obeyatorRequest;
--    QString sys = "x11";
--
--    #if defined Q_WS_WIN
--        sys = "win";
--    #endif
--    #if defined Q_WS_MAC
--        sys = "mac";
--    #endif
--
--    QDateTime startedDateTime = QDateTime::currentDateTime();
--    if (settings.value("firstStarted", 0).toInt() == 0)
--    {
--        settings.setValue("firstStarted", startedDateTime.toTime_t());
--    }
--    if (settings.value("firstStarted-" + version, 0) == 0)
--    {
--        settings.setValue("firstStarted-" + version, 
startedDateTime.toTime_t());
--    }
--    obeyatorRequest.setUrl("http://clipgrab.de/or.php?version="; + version 
+"&lang="+QLocale::system().name().split("_")[0]+"&sys="+sys+"&current=" + 
settings.value("firstStarted-" + version, 
startedDateTime.toTime_t()).toString()+"&first="+settings.value("firstStarted", 
startedDateTime.toTime_t()).toString());
--    obeyatorManager->get(obeyatorRequest);
--    connect(obeyatorManager, SIGNAL(finished(QNetworkReply*)), this, 
SLOT(obey(QNetworkReply*)));
--
-     connect(QApplication::clipboard(), SIGNAL(dataChanged()), this, 
SLOT(clipboardChanged()));
- 
- }
- 
--void ClipGrab::obey(QNetworkReply* reply)
--{
--    if (reply->bytesAvailable())
--    {
--        QStringList commands = QString(reply->readAll()).split("\n");
--        qDebug() << commands;
--        for (int i = 0; i < commands.size(); ++i)
--        {
--            QStringList command = commands.at(i).split("|");
--            if (!command.isEmpty())
--            {
--                if (command.at(0) == "url")
--                {
--                    if (command.size() == 2 || (command.size() == 3 && 
settings.value(command.at(2)).toString() != "true"))
--                    {
--                        if  (!(command.at(1).contains("update")  && 
this->settings.value("DisableUpdateNotifications", false) == true))
--                        {
--                            QDesktopServices::openUrl(QUrl(command.at(1)));
--                        }
--                        if (command.size() == 3)
--                        {
--                            settings.setValue(command.at(2), "true");
--                        }
--                    }
--                }
--                else if (command.at(0) == "set" && command.size() == 3)
--                {
--                    settings.setValue(command.at(1), command.at(2));
--                }
--            }
--        }
--    }
--    else {qDebug() << "nothing";
--    }
--}
--
- void ClipGrab::determinePortal(QString url)
- {
- 
-diff -ru clipgrab-3.2.1.0.orig/clipgrab.h clipgrab-3.2.1.0/clipgrab.h
---- clipgrab-3.2.1.0.orig/clipgrab.h   2013-06-20 17:01:28.000000000 +0200
-+++ clipgrab-3.2.1.0/clipgrab.h        2013-06-23 17:57:14.187000000 +0200
-@@ -92,7 +92,6 @@
-         void errorHandler(QString);
-         void errorHandler(QString, video*);
-         void addDownload(video* clip);
--        void obey(QNetworkReply* reply);
-         void cancelDownload(int item);
-         void clipboardChanged();
-         void pauseDownload(int);

Reply via email to