Gentoo Archives: gentoo-commits

From: "Andreas HAttel (dilfridge)" <dilfridge@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in www-plugins/kpartsplugin/files: kpartsplugin-20110823-xpi.patch
Date: Tue, 03 Apr 2012 21:26:18
Message-Id: 20120403212609.210122004B@flycatcher.gentoo.org
1 dilfridge 12/04/03 21:26:09
2
3 Added: kpartsplugin-20110823-xpi.patch
4 Log:
5 Blacklist xpi files, bug 408695
6
7 (Portage version: 2.1.10.54/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.1 www-plugins/kpartsplugin/files/kpartsplugin-20110823-xpi.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/kpartsplugin/files/kpartsplugin-20110823-xpi.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/kpartsplugin/files/kpartsplugin-20110823-xpi.patch?rev=1.1&content-type=text/plain
14
15 Index: kpartsplugin-20110823-xpi.patch
16 ===================================================================
17 diff -ruN kpartsplugin-20110823.orif/src/kpartsplugin.cpp kpartsplugin-20110823/src/kpartsplugin.cpp
18 --- kpartsplugin-20110823.orif/src/kpartsplugin.cpp 2011-08-23 10:50:41.000000000 +0200
19 +++ kpartsplugin-20110823/src/kpartsplugin.cpp 2012-04-03 23:21:50.632024095 +0200
20 @@ -59,7 +59,11 @@
21
22 /// built-in list of mime types that should never be loaded with this plugin
23 /// comparison is done with "startsWith", so "inode/" covers e.g. "inode/directory"
24 -static const QStringList builtinBlacklisted = QStringList() << QLatin1String("all/") << QLatin1String("x-") << QLatin1String("inode/") << QLatin1String("application/x-shockwave") << QLatin1String("application/futuresplash") << QLatin1String("application/force-download") << QLatin1String("application/x-force-download") << QLatin1String("application/googletalk") << QLatin1String("interface/") << QLatin1String("message/") << QLatin1String("multipart/") << QLatin1String("application/x-java") << QLatin1String("application/java-archive") << QLatin1String("video/x-javafx");
25 +static const QStringList builtinBlacklisted = QStringList() << QLatin1String("all/") << QLatin1String("x-") << QLatin1String("inode/")
26 + << QLatin1String("application/x-shockwave") << QLatin1String("application/futuresplash") << QLatin1String("application/force-download")
27 + << QLatin1String("application/x-force-download") << QLatin1String("application/googletalk") << QLatin1String("interface/")
28 + << QLatin1String("message/") << QLatin1String("multipart/") << QLatin1String("application/x-java") << QLatin1String("application/java-archive")
29 + << QLatin1String("video/x-javafx") << QLatin1String("application/x-xpinstall");
30
31 static void initAllMimeTypes()
32 {