From 6779b039f215206c5dc73abeee1b45f565922e50 Mon Sep 17 00:00:00 2001 From: Christian Wiese Date: Mon, 26 Jul 2010 13:36:03 +0200 Subject: [PATCH] akonadi: fixed to not update mimetypes to avoid shared files with kdebase --- kde/akonadi/no-mimetypes-update.patch | 28 +++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 kde/akonadi/no-mimetypes-update.patch diff --git a/kde/akonadi/no-mimetypes-update.patch b/kde/akonadi/no-mimetypes-update.patch new file mode 100644 index 000000000..d46fab0a4 --- /dev/null +++ b/kde/akonadi/no-mimetypes-update.patch @@ -0,0 +1,28 @@ +# --- SDE-COPYRIGHT-NOTE-BEGIN --- +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# +# Filename: package/.../akonadi/no-mimetypes-update.patch +# Copyright (C) 2010 The OpenSDE Project +# +# More information can be found in the files COPYING and README. +# +# This patch file is dual-licensed. It is available under the license the +# patched project is licensed under, as long as it is an OpenSource license +# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms +# of the GNU General Public License as published by the Free Software +# Foundation; either version 2 of the License, or (at your option) any later +# version. +# --- SDE-COPYRIGHT-NOTE-END --- + +To avoid shared files we do not run the mimetypes update. + +--- akonadi-1.1.1/CMakeLists.txt.orig 2010-07-26 13:12:30.704515278 +0200 ++++ akonadi-1.1.1/CMakeLists.txt 2010-07-26 13:13:34.092027952 +0200 +@@ -156,7 +156,6 @@ + ############# install stuff ###################### + + install(FILES akonadi-mime.xml DESTINATION ${XDG_MIME_INSTALL_DIR}) +-update_xdg_mimetypes(${XDG_MIME_INSTALL_DIR}) + + if(NOT WIN32) # pkgconfig file + configure_file(${CMAKE_CURRENT_SOURCE_DIR}/akonadi.pc.cmake ${CMAKE_CURRENT_BINARY_DIR}/akonadi.pc @ONLY)