1 |
commit: b25a0e485c87a456a031042e0c8f969f50e04688 |
2 |
Author: Johannes Huber <johu <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Nov 23 20:11:17 2013 +0000 |
4 |
Commit: Johannes Huber <johu <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Nov 23 20:11:17 2013 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/kde.git;a=commit;h=b25a0e48 |
7 |
|
8 |
[kde-frameworks/kcoreaddons] Drop fake mimetypes |
9 |
|
10 |
Package-Manager: portage-2.2.7 |
11 |
|
12 |
--- |
13 |
.../kcoreaddons/files/kcoreaddons-mimetypes.patch | 39 ++++++++++++++++++++++ |
14 |
kde-frameworks/kcoreaddons/kcoreaddons-9999.ebuild | 2 ++ |
15 |
2 files changed, 41 insertions(+) |
16 |
|
17 |
diff --git a/kde-frameworks/kcoreaddons/files/kcoreaddons-mimetypes.patch b/kde-frameworks/kcoreaddons/files/kcoreaddons-mimetypes.patch |
18 |
new file mode 100644 |
19 |
index 0000000..184c12b |
20 |
--- /dev/null |
21 |
+++ b/kde-frameworks/kcoreaddons/files/kcoreaddons-mimetypes.patch |
22 |
@@ -0,0 +1,39 @@ |
23 |
+diff --git a/tier1/kcoreaddons/src/mimetypes/kde5.xml b/tier1/kcoreaddons/src/mimetypes/kde5.xml |
24 |
+index 905392b..fb32a8e 100644 |
25 |
+--- a/tier1/kcoreaddons/src/mimetypes/kde5.xml |
26 |
++++ b/tier1/kcoreaddons/src/mimetypes/kde5.xml |
27 |
+@@ -174,34 +174,6 @@ Notes: |
28 |
+ <glob pattern="*.abc"/> |
29 |
+ </mime-type> |
30 |
+ |
31 |
+- <!-- all/ fake mime types --> |
32 |
+- <mime-type type="all/all"> |
33 |
+- <comment>all files and folders</comment> |
34 |
+- </mime-type> |
35 |
+- <mime-type type="all/allfiles"> |
36 |
+- <comment>all files</comment> |
37 |
+- </mime-type> |
38 |
+- |
39 |
+- <!-- uri/ fake mime types --> |
40 |
+- <mime-type type="uri/mms"> |
41 |
+- <comment>mms: URIs</comment> |
42 |
+- </mime-type> |
43 |
+- <mime-type type="uri/mmst"> |
44 |
+- <comment>mmst: URIs</comment> |
45 |
+- </mime-type> |
46 |
+- <mime-type type="uri/mmsu"> |
47 |
+- <comment>mmsu: URIs</comment> |
48 |
+- </mime-type> |
49 |
+- <mime-type type="uri/pnm"> |
50 |
+- <comment>pnm: URIs</comment> |
51 |
+- </mime-type> |
52 |
+- <mime-type type="uri/rtspt"> |
53 |
+- <comment>rtspt: URIs</comment> |
54 |
+- </mime-type> |
55 |
+- <mime-type type="uri/rtspu"> |
56 |
+- <comment>rtspu: URIs</comment> |
57 |
+- </mime-type> |
58 |
+- |
59 |
+ <mime-type type="application/vnd.kde.fontspackage"> |
60 |
+ <sub-class-of type="application/zip"/> |
61 |
+ <comment>fonts package</comment> |
62 |
|
63 |
diff --git a/kde-frameworks/kcoreaddons/kcoreaddons-9999.ebuild b/kde-frameworks/kcoreaddons/kcoreaddons-9999.ebuild |
64 |
index e28aa48..fac7ac4 100644 |
65 |
--- a/kde-frameworks/kcoreaddons/kcoreaddons-9999.ebuild |
66 |
+++ b/kde-frameworks/kcoreaddons/kcoreaddons-9999.ebuild |
67 |
@@ -20,6 +20,8 @@ DEPEND="${RDEPEND} |
68 |
x11-misc/shared-mime-info |
69 |
" |
70 |
|
71 |
+PATCHES=( "${FILESDIR}/${PN}-mimetypes.patch" ) |
72 |
+ |
73 |
src_configure() { |
74 |
local mycmakeargs=( |
75 |
$(cmake-utils_use_find_package fam FAM) |