patch: prefer gtk3_kde5 over kde5 because of maturity of gtk3 rendering

This commit is contained in:
Mikhail Novosyolov 2020-04-04 20:48:21 +03:00
parent 80bc506427
commit d919e9890c
2 changed files with 24 additions and 1 deletions

21
gtk3_kde5-priority.patch Normal file
View file

@ -0,0 +1,21 @@
--- libreoffice-6.3.5.2/vcl/source/app/salplug.cxx.orig2 2020-04-04 20:44:52.950045617 +0300
+++ libreoffice-6.3.5.2/vcl/source/app/salplug.cxx 2020-04-04 20:44:55.713958634 +0300
@@ -151,12 +151,15 @@
{
static const char* const pKDEFallbackList[] =
{
-#if ENABLE_KDE5
- "kde5",
-#endif
#if ENABLE_GTK3_KDE5
+// prefer gtk3_kde5 over kde5 because of maturity of gtk3 rendering;
+// based on kde4 vcl experience, I don't trust kde5 VCL,
+// and other people wrote about problems in it //mikhailnov
"gtk3_kde5",
#endif
+#if ENABLE_KDE5
+ "kde5",
+#endif
"gtk3", "gtk", "gen", nullptr
};

View file

@ -45,7 +45,7 @@ Summary: Office suite
Name: libreoffice Name: libreoffice
Epoch: 1 Epoch: 1
Version: 6.3.5 Version: 6.3.5
Release: 6 Release: 7
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 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 Group: Office
Url: http://www.libreoffice.org Url: http://www.libreoffice.org
@ -95,6 +95,8 @@ Patch2: libreoffice-6.3.5.2-kde4-detection.patch
Patch3: 6fbfad6b00e8c35346ee59cd32a0d7ccc0d8c19c.patch Patch3: 6fbfad6b00e8c35346ee59cd32a0d7ccc0d8c19c.patch
# For Clang <9, GCC <10, when building with libstdc++-gcc10 # For Clang <9, GCC <10, when building with libstdc++-gcc10
Patch4: span-old-compilers.patch Patch4: span-old-compilers.patch
# prefer gtk3_kde5 over kde5 because of maturity of gtk3 rendering
Patch5: gtk3_kde5-priority.patch
# ROSA vendor patch # ROSA vendor patch
Patch100: libreoffice-4.1-vendor.patch Patch100: libreoffice-4.1-vendor.patch