[kdebase-workspace] - "fonts/package" is an invalid MIME type (#581896)

Rex Dieter rdieter at fedoraproject.org
Sun Aug 29 20:32:19 UTC 2010


commit ffadad9acadac4b39ee19d96056532cd66c58c26
Author: Rex Dieter <rdieter at fedoraproject.org>
Date:   Sun Aug 29 15:37:33 2010 -0500

    - "fonts/package" is an invalid MIME type (#581896)

 ...ase-workspace-4.5.1-kfontview_dt_validate.patch |   12 ++++++++++++
 kdebase-workspace.spec                             |   11 +++++++++--
 2 files changed, 21 insertions(+), 2 deletions(-)
---
diff --git a/kdebase-workspace-4.5.1-kfontview_dt_validate.patch b/kdebase-workspace-4.5.1-kfontview_dt_validate.patch
new file mode 100644
index 0000000..7da4e5c
--- /dev/null
+++ b/kdebase-workspace-4.5.1-kfontview_dt_validate.patch
@@ -0,0 +1,12 @@
+diff -up kdebase-workspace-4.5.1/kcontrol/kfontinst/apps/kfontview.desktop.dt_validate kdebase-workspace-4.5.1/kcontrol/kfontinst/apps/kfontview.desktop
+--- kdebase-workspace-4.5.1/kcontrol/kfontinst/apps/kfontview.desktop.dt_validate	2010-08-04 14:13:52.000000000 -0500
++++ kdebase-workspace-4.5.1/kcontrol/kfontinst/apps/kfontview.desktop	2010-08-29 15:35:01.644474288 -0500
+@@ -90,7 +90,7 @@ Exec=kfontview %U
+ Icon=kfontview
+ X-KDE-StartupNotify=true
+ Type=Application
+-MimeType=application/x-font-ttf;application/x-font-type1;application/x-font-otf;application/x-font-pcf;application/x-font-bdf;fonts/package;
++MimeType=application/x-font-ttf;application/x-font-type1;application/x-font-otf;application/x-font-pcf;application/x-font-bdf;
+ GenericName=Font Viewer
+ GenericName[af]=Skriftipe Besigter
+ GenericName[ar]=عارض الخطوط
diff --git a/kdebase-workspace.spec b/kdebase-workspace.spec
index 2e2d5d8..0036544 100644
--- a/kdebase-workspace.spec
+++ b/kdebase-workspace.spec
@@ -15,9 +15,9 @@ Name:    kdebase-workspace
 Version: 4.5.1
 
 # for .0 releases we have to use '00' as '0' is treated as null by cmake, dont' forget to update
-%define kde4workspace_version 4.5.1
+%define kde4workspace_version %{version} 
 
-Release: 1%{?dist}
+Release: 2%{?dist}
 
 License: GPLv2
 Group:   User Interface/Desktops
@@ -66,6 +66,9 @@ Patch50: kdebase-workspace-4.3.3-kde#171685.patch
 Patch52: kdebase-workspace-4.4.85-kdebug238325.patch 
 # Display Settings are Lost on Logout, http://bugs.kde.org/183143 , http://bugzilla.redhat.com/607180
 Patch53: kdebase-workspace-4.4.4-kdebug183143.patch
+#  Error in file "/usr/share/applications/kde4/kfontview.desktop":
+# "fonts/package" is an invalid MIME type http://bugzilla.redhat.com/581896
+Patch54: kdebase-workspace-4.5.1-kfontview_dt_validate.patch
 
 ## 4.5 patches
 
@@ -316,6 +319,7 @@ Requires: akonadi
 %patch50 -p1 -b .kde#171685
 %patch52 -p1 -b .kdebug238325
 %patch53 -p1 -b .kdebug183143
+%patch54 -p1 -b .kfontview_dt_validate
 
 # 4.5 patches
 
@@ -692,6 +696,9 @@ fi
 
 
 %changelog
+* Sun Aug 29 2010 Rex Dieter <rdieter at fedoraproject.org> - 4.5.1-2
+- "fonts/package" is an invalid MIME type (#581896)
+
 * Fri Aug 27 2010 Jaroslav Reznik <jreznik at redhat.com> - 4.5.1-1
 - 4.5.1
 


More information about the scm-commits mailing list