From a83a3b2c8ee59c9a1184b5d4a6d6c1a0dc4fe915 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Fri, 2 Jul 2021 11:12:42 +0100 Subject: [PATCH] remove "Spreadsheet" category from math.desktop --- ...desktop-include-Spreadsheet-category.patch | 39 +++++++++++++++++++ libreoffice.spec | 1 + 2 files changed, 40 insertions(+) create mode 100644 0001-math.desktop-include-Spreadsheet-category.patch diff --git a/0001-math.desktop-include-Spreadsheet-category.patch b/0001-math.desktop-include-Spreadsheet-category.patch new file mode 100644 index 0000000..2969ea8 --- /dev/null +++ b/0001-math.desktop-include-Spreadsheet-category.patch @@ -0,0 +1,39 @@ +From f586051919d047e2b67d32637817c3d96a898494 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= +Date: Wed, 9 Jun 2021 09:13:23 +0100 +Subject: [PATCH] math.desktop include "Spreadsheet" category + +but it's not a spreadsheet + +since... + +commit dad7fe7227fb80a32d3c2c777584dc9d74b9e929 +Date: Thu Jan 2 16:16:55 2014 +0100 + + Fix math categories to make SUSE rpm check happy + +Change-Id: I0397ea12cd7f29f4b0c1f0e0ad76a3429b55c455 +Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116884 +Tested-by: Jenkins +Reviewed-by: Adolfo Jayme Barrientos +(cherry picked from commit 2df2ce1b51d13bc9e203fab1b7eb3c88c906588c) +--- + sysui/desktop/menus/math.desktop | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/sysui/desktop/menus/math.desktop b/sysui/desktop/menus/math.desktop +index d2391be5c234..5a8192ae4abc 100644 +--- a/sysui/desktop/menus/math.desktop ++++ b/sysui/desktop/menus/math.desktop +@@ -21,7 +21,7 @@ Terminal=false + NoDisplay=false + Icon=math + Type=Application +-Categories=Office;Spreadsheet;Education;Science;Math;X-Red-Hat-Base;X-MandrivaLinux-Office-Other; ++Categories=Office;Education;Science;Math;X-Red-Hat-Base;X-MandrivaLinux-Office-Other; + Exec=${UNIXBASISROOTNAME} --math %%FILE%% + MimeType=application/vnd.oasis.opendocument.formula;application/vnd.sun.xml.math;application/vnd.oasis.opendocument.formula-template;text/mathml;application/mathml+xml; + Name=%PRODUCTNAME Math +-- +2.31.1 + diff --git a/libreoffice.spec b/libreoffice.spec index 3d1c6d5..3b74f40 100644 --- a/libreoffice.spec +++ b/libreoffice.spec @@ -264,6 +264,7 @@ Patch11: 0001-dtd-files-are-not-xml-files-and-shouldn-t-have-xml-h.patch Patch12: 0002-xmllint-Namespace-prefix-menu-on-menuseparator-is-no.patch Patch13: 0001-allow-system-firebird-4.patch Patch14: 0001-Remove-unused-DOCTYPE-from-odk-examples-xcu-file.patch +Patch15: 0001-math.desktop-include-Spreadsheet-category.patch # not upstreamed Patch500: 0001-disable-libe-book-support.patch