Adjust uri/ mimetypes to use newer x-scheme-handler/ (#587573)
This commit is contained in:
parent
23f43378ed
commit
572485f4d9
|
@ -0,0 +1,110 @@
|
||||||
|
diff --git a/kio/misc/mms.protocol b/kio/misc/mms.protocol
|
||||||
|
index 286ccd8..e8afbdb 100644
|
||||||
|
--- a/kio/misc/mms.protocol
|
||||||
|
+++ b/kio/misc/mms.protocol
|
||||||
|
@@ -1,7 +1,7 @@
|
||||||
|
[Protocol]
|
||||||
|
helper=true
|
||||||
|
exec=
|
||||||
|
-defaultMimetype=uri/mms
|
||||||
|
+defaultMimetype=x-scheme-handler/mms
|
||||||
|
protocol=mms
|
||||||
|
input=none
|
||||||
|
output=none
|
||||||
|
diff --git a/kio/misc/mmst.protocol b/kio/misc/mmst.protocol
|
||||||
|
index 1f0f763..455694a 100644
|
||||||
|
--- a/kio/misc/mmst.protocol
|
||||||
|
+++ b/kio/misc/mmst.protocol
|
||||||
|
@@ -1,5 +1,5 @@
|
||||||
|
[Protocol]
|
||||||
|
-defaultMimetype=uri/mmst
|
||||||
|
+defaultMimetype=x-scheme-handler/mmst
|
||||||
|
exec=
|
||||||
|
protocol=mmst
|
||||||
|
input=none
|
||||||
|
diff --git a/kio/misc/mmsu.protocol b/kio/misc/mmsu.protocol
|
||||||
|
index deda935..1c1a7f6 100644
|
||||||
|
--- a/kio/misc/mmsu.protocol
|
||||||
|
+++ b/kio/misc/mmsu.protocol
|
||||||
|
@@ -1,5 +1,5 @@
|
||||||
|
[Protocol]
|
||||||
|
-defaultMimetype=uri/mmsu
|
||||||
|
+defaultMimetype=x-scheme-handler/mmsu
|
||||||
|
exec=
|
||||||
|
protocol=mmsu
|
||||||
|
input=none
|
||||||
|
diff --git a/kio/misc/pnm.protocol b/kio/misc/pnm.protocol
|
||||||
|
index 3ca3a7d..fe44c37 100644
|
||||||
|
--- a/kio/misc/pnm.protocol
|
||||||
|
+++ b/kio/misc/pnm.protocol
|
||||||
|
@@ -1,5 +1,5 @@
|
||||||
|
[Protocol]
|
||||||
|
-defaultMimetype=uri/pnm
|
||||||
|
+defaultMimetype=x-scheme-handler/pnm
|
||||||
|
exec=
|
||||||
|
protocol=pnm
|
||||||
|
input=none
|
||||||
|
diff --git a/kio/misc/rtspt.protocol b/kio/misc/rtspt.protocol
|
||||||
|
index 9e4fe96..4d86282 100644
|
||||||
|
--- a/kio/misc/rtspt.protocol
|
||||||
|
+++ b/kio/misc/rtspt.protocol
|
||||||
|
@@ -1,5 +1,5 @@
|
||||||
|
[Protocol]
|
||||||
|
-defaultMimetype=uri/rtspt
|
||||||
|
+defaultMimetype=x-scheme-handler/rtspt
|
||||||
|
exec=
|
||||||
|
protocol=rtspt
|
||||||
|
input=none
|
||||||
|
diff --git a/kio/misc/rtspu.protocol b/kio/misc/rtspu.protocol
|
||||||
|
index 9cc9299..5fc9d6b 100644
|
||||||
|
--- a/kio/misc/rtspu.protocol
|
||||||
|
+++ b/kio/misc/rtspu.protocol
|
||||||
|
@@ -1,5 +1,5 @@
|
||||||
|
[Protocol]
|
||||||
|
-defaultMimetype=uri/rtspu
|
||||||
|
+defaultMimetype=x-scheme-handler/rtspu
|
||||||
|
exec=
|
||||||
|
protocol=rtspu
|
||||||
|
input=none
|
||||||
|
diff --git a/mimetypes/kde.xml b/mimetypes/kde.xml
|
||||||
|
index 2810b5b..8de16f6 100644
|
||||||
|
--- a/mimetypes/kde.xml
|
||||||
|
+++ b/mimetypes/kde.xml
|
||||||
|
@@ -187,24 +187,30 @@ Notes:
|
||||||
|
<comment>all files</comment>
|
||||||
|
</mime-type>
|
||||||
|
|
||||||
|
- <!-- uri/ fake mime types -->
|
||||||
|
- <mime-type type="uri/mms">
|
||||||
|
+ <!-- x-scheme-handler/ fake(ish) mime types -->
|
||||||
|
+ <mime-type type="x-scheme-handler/mms">
|
||||||
|
<comment>mms: URIs</comment>
|
||||||
|
+ <alias type="uri/mms"/>
|
||||||
|
</mime-type>
|
||||||
|
- <mime-type type="uri/mmst">
|
||||||
|
+ <mime-type type="x-scheme-handler/mmst">
|
||||||
|
<comment>mmst: URIs</comment>
|
||||||
|
+ <alias type="uri/mmst"/>
|
||||||
|
</mime-type>
|
||||||
|
- <mime-type type="uri/mmsu">
|
||||||
|
+ <mime-type type="x-scheme-handler/mmsu">
|
||||||
|
<comment>mmsu: URIs</comment>
|
||||||
|
+ <alias type="uri/mmsu"/>
|
||||||
|
</mime-type>
|
||||||
|
- <mime-type type="uri/pnm">
|
||||||
|
+ <mime-type type="x-scheme-handler/pnm">
|
||||||
|
<comment>pnm: URIs</comment>
|
||||||
|
+ <alias type="uri/pnm"/>
|
||||||
|
</mime-type>
|
||||||
|
- <mime-type type="uri/rtspt">
|
||||||
|
+ <mime-type type="x-scheme-handler/rtspt">
|
||||||
|
<comment>rtspt: URIs</comment>
|
||||||
|
+ <alias type="uri/rtspt"/>
|
||||||
|
</mime-type>
|
||||||
|
- <mime-type type="uri/rtspu">
|
||||||
|
+ <mime-type type="x-scheme-handler/rtspu">
|
||||||
|
<comment>rtspu: URIs</comment>
|
||||||
|
+ <alias type="uri/rtspu"/>
|
||||||
|
</mime-type>
|
||||||
|
|
||||||
|
<mime-type type="application/vnd.kde.fontspackage">
|
|
@ -16,7 +16,7 @@
|
||||||
|
|
||||||
Summary: KDE Libraries
|
Summary: KDE Libraries
|
||||||
Version: 4.6.2
|
Version: 4.6.2
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
|
|
||||||
Name: kdelibs
|
Name: kdelibs
|
||||||
Epoch: 6
|
Epoch: 6
|
||||||
|
@ -89,6 +89,9 @@ Patch27: kdelibs-4.5.80-no_rpath.patch
|
||||||
# reverting to our past gnupg2-only setup.
|
# reverting to our past gnupg2-only setup.
|
||||||
# TODO: try to use either gpg or gpg2, whichever is available
|
# TODO: try to use either gpg or gpg2, whichever is available
|
||||||
Patch50: kdelibs-4.5.1-knewstuff_gpg2.patch
|
Patch50: kdelibs-4.5.1-knewstuff_gpg2.patch
|
||||||
|
# https://bugs.kde.org/show_bug.cgi?id=269045
|
||||||
|
# https://git.reviewboard.kde.org/r/101231/
|
||||||
|
Patch51: kdelibs-4-6.2-uri_mimetypes.patch
|
||||||
|
|
||||||
## upstream
|
## upstream
|
||||||
# https://projects.kde.org/projects/kde/kdelibs/repository/revisions/72cbad117d0abb4b47a5d00754ea465eda6c06b5
|
# https://projects.kde.org/projects/kde/kdelibs/repository/revisions/72cbad117d0abb4b47a5d00754ea465eda6c06b5
|
||||||
|
@ -275,6 +278,7 @@ sed -i -e "s|@@VERSION_RELEASE@@|%{version}-%{release}|" kio/kio/kprotocolmanage
|
||||||
|
|
||||||
# upstreamable patches
|
# upstreamable patches
|
||||||
%patch50 -p1 -b .knewstuff_gpg2
|
%patch50 -p1 -b .knewstuff_gpg2
|
||||||
|
%patch51 -p1 -b .uri_mimetypes
|
||||||
|
|
||||||
# upstream patches
|
# upstream patches
|
||||||
%patch100 -p1 -b .kde270538
|
%patch100 -p1 -b .kde270538
|
||||||
|
@ -533,6 +537,9 @@ rm -rf %{buildroot}
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Apr 25 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.2-3
|
||||||
|
- Adjust uri/ mimetypes to use newer x-scheme-handler/ (#587573)
|
||||||
|
|
||||||
* Tue Apr 19 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.2-2
|
* Tue Apr 19 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.2-2
|
||||||
- Solid::Networking::status() returning Solid::Networking::Status::Unknown (kde#270538)
|
- Solid::Networking::status() returning Solid::Networking::Status::Unknown (kde#270538)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue