From 55c1f7e1ac184201c4133a38695358180ef3b7fc Mon Sep 17 00:00:00 2001 From: Denis Silakov Date: Mon, 20 Jun 2016 15:01:55 +0300 Subject: [PATCH] Do not show startcenter icon in mate --- libreoffice-5.1.2.2-desktop-startcenter-nomate.patch | 11 +++++++++++ libreoffice.spec | 3 ++- 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 libreoffice-5.1.2.2-desktop-startcenter-nomate.patch diff --git a/libreoffice-5.1.2.2-desktop-startcenter-nomate.patch b/libreoffice-5.1.2.2-desktop-startcenter-nomate.patch new file mode 100644 index 0000000..11adf34 --- /dev/null +++ b/libreoffice-5.1.2.2-desktop-startcenter-nomate.patch @@ -0,0 +1,11 @@ +diff -Naur libreoffice-5.1.2.2.orig/sysui/desktop/menus/startcenter.desktop libreoffice-5.1.2.2/sysui/desktop/menus/startcenter.desktop +--- libreoffice-5.1.2.2.orig/sysui/desktop/menus/startcenter.desktop 2016-06-20 14:43:18.462937106 +0300 ++++ libreoffice-5.1.2.2/sysui/desktop/menus/startcenter.desktop 2016-06-20 14:44:47.325503837 +0300 +@@ -34,6 +34,7 @@ + + ##Define Actions + Actions=Writer;Calc;Impress;Draw;Base;Math; ++NotShowIn=MATE; + + [Desktop Action Writer] + Name=Writer diff --git a/libreoffice.spec b/libreoffice.spec index 5868f06..866cbea 100644 --- a/libreoffice.spec +++ b/libreoffice.spec @@ -41,7 +41,7 @@ Summary: Office suite Name: libreoffice Epoch: 1 Version: 5.1.2 -Release: 2 +Release: 3 License: (MPLv1.1 or LGPLv3+) and LGPLv3 and LGPLv2+ and BSD and (MPLv1.1 or GPLv2 or LGPLv2 or Netscape) and Public Domain and ASL 2.0 and Artistic Group: Office Url: http://www.libreoffice.org @@ -107,6 +107,7 @@ Patch100: libreoffice-4.1-vendor.patch Patch101: libreoffice-5.1.1.3-desktop-categories.patch Patch102: libreoffice-4.4.2.2-desktop-protocols.patch #Patch103: libreoffice-5.1.1.3-desktop-startcenter-nodisplay.patch +Patch104: libreoffice-5.1.2.2-desktop-startcenter-nomate.patch BuildRequires: bison BuildRequires: bsh