File: metacafe_dl_system.patch

package info (click to toggle)
acetoneiso 2.4-7
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 15,224 kB
  • sloc: cpp: 5,629; makefile: 7
file content (26 lines) | stat: -rw-r--r-- 1,394 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
Description: Neutralize the MetaCafe download
Author: Bastian Germann <bage@debian.org>
Bug-Debian: https://bugs.debian.org/1028567
Forwarded: not-needed
Last-Update: 2024-09-20
--- acetoneiso-2.4.orig/acetoneiso/sources/utube.h
+++ acetoneiso-2.4/acetoneiso/sources/utube.h
@@ -132,16 +132,13 @@ QDir Homeutube = QDir::home();
 QFile yutubbodl(Homeutube.path() + "/.acetoneiso/metacafe-dl");
 yutubbodl.remove();
 //system ("rm $HOME/.acetoneiso/metacafe-dl > /dev/null 2>&1");
-if (system ("cd $HOME/.acetoneiso/;wget http://www.arrakis.es/~rggi3/metacafe-dl/metacafe-dl > /dev/null 2>&1")) {
-}
 //system ("chmod 755 $HOME/.acetoneiso/metacafe-dl > /dev/null 2>&1");
-yutubbodl.setPermissions(QFile::ReadOwner | QFile::WriteOwner | QFile::ExeOwner | QFile::ExeGroup | QFile::ReadGroup | QFile::ReadOther | QFile::ExeOther);
 
 bool ok;
 QString text = QInputDialog::getText(this, tr("AcetoneISO::MetaCafe"),
-                                          tr("Insert MetaCafe's URL:\n"), QLineEdit::Normal,
+                                          tr("Unavailable function!\n"), QLineEdit::Normal,
                                           "http://www.metacafe.com/", &ok);
-if (ok && !text.isEmpty()) {
+if (false) {
    QDir Home = QDir::home();
    QString fileName = QFileDialog::getSaveFileName(this, tr("AcetoneISO::Save Video file"),
 						       Home.path() + "/AcetoneISO_MetaCafe",