From d75348f3811bd7b01531c9445a38cc9955aec50423832f858de11d8e76c11825 Mon Sep 17 00:00:00 2001 From: Berthold Gunreben Date: Mon, 10 Jan 2011 11:17:57 +0000 Subject: [PATCH] Accepting request 57296 from KDE:Distro:Factory Accepted submit request 57296 from user dirkmueller OBS-URL: https://build.opensuse.org/request/show/57296 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/k3b?expand=0&rev=26 --- add_mimetypes_bnc661777.diff | 11 +++++++++++ k3b.changes | 6 ++++++ k3b.spec | 2 ++ 3 files changed, 19 insertions(+) create mode 100644 add_mimetypes_bnc661777.diff diff --git a/add_mimetypes_bnc661777.diff b/add_mimetypes_bnc661777.diff new file mode 100644 index 0000000..8c97496 --- /dev/null +++ b/add_mimetypes_bnc661777.diff @@ -0,0 +1,11 @@ +--- src/k3b.desktop 2010-06-12 09:06:28.000000000 +0200 ++++ src/k3b.desktop_patched 2010-12-30 20:06:00.000000000 +0100 +@@ -135,7 +135,7 @@ + Name[x-test]=xxK3bxx + Name[zh_CN]=K3b + Name[zh_TW]=K3b +-MimeType=application/x-k3b;application/x-iso;application/x-cd-image;application/x-cue; ++MimeType=application/x-k3b;application/x-iso;application/x-cd-image;application/x-cue;x-content/blank-cd;x-content/blank-dvd;x-content/blank-bd;x-content/blank-hddvd; + X-KDE-StartupNotify=true + X-KDE-NativeMimeType=application/x-k3b; + Categories=KDE;Qt;AudioVideo;DiscBurning; diff --git a/k3b.changes b/k3b.changes index 130fe6b..9544bbb 100644 --- a/k3b.changes +++ b/k3b.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Dec 30 19:08:39 UTC 2010 - ctrippe@gmx.net + +- Add a few mimetypes to the desktop file for better integration in + GNOME (bnc#661777) + ------------------------------------------------------------------- Sun Nov 28 10:17:07 CET 2010 - jslaby@suse.de diff --git a/k3b.spec b/k3b.spec index f7e735c..9c0d609 100644 --- a/k3b.spec +++ b/k3b.spec @@ -51,6 +51,7 @@ Patch0: device-detection-fix.patch Patch1: initial-preference.diff # fixed in 2.0.2 / 2.1: https://bugs.kde.org/show_bug.cgi?id=238819 Patch2: k3b-2.0.1-qt47_settings_crash.patch +Patch3: add_mimetypes_bnc661777.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build %kde4_runtime_requires Provides: kde4-k3b = 4.2.1.svn942189 @@ -92,6 +93,7 @@ Authors: %patch0 -p1 %patch1 %patch2 +%patch3 %build %cmake_kde4 -d build