[libreoffice/f19] Related: rhbz#1065807 don't throw with no 'Templates' dir under KDE
Caolán McNamara
caolanm at fedoraproject.org
Fri Feb 28 08:59:21 UTC 2014
commit 4be466de580c6bb1304be4cf6faffc6826b149bb
Author: Caolán McNamara <caolanm at redhat.com>
Date: Fri Feb 28 09:00:10 2014 +0000
Related: rhbz#1065807 don't throw with no 'Templates' dir under KDE
0001-KDE-don-t-throw-on-TemplatePathVariable.patch | 51 ++++++++++++++++++++
libreoffice.spec | 4 +-
2 files changed, 54 insertions(+), 1 deletions(-)
---
diff --git a/0001-KDE-don-t-throw-on-TemplatePathVariable.patch b/0001-KDE-don-t-throw-on-TemplatePathVariable.patch
new file mode 100644
index 0000000..4959bd7
--- /dev/null
+++ b/0001-KDE-don-t-throw-on-TemplatePathVariable.patch
@@ -0,0 +1,51 @@
+From e44a7eefb7f632977b4c8c91ad14244372c6e04d Mon Sep 17 00:00:00 2001
+From: Maxim Monastirsky <momonasmon at gmail.com>
+Date: Wed, 26 Feb 2014 17:02:38 +0200
+Subject: [PATCH] KDE: don't throw on TemplatePathVariable
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+This is required after commit
+838b77f5f3d6d8fd98891e99a23ff78a6a357cb2.
+
+Actual functionality is still missing.
+
+Change-Id: Ib94d8a982609de730d9c61bf7bf9886093c51f5b
+Reviewed-on: https://gerrit.libreoffice.org/8367
+Reviewed-by: Caolán McNamara <caolanm at redhat.com>
+Tested-by: Caolán McNamara <caolanm at redhat.com>
+---
+ shell/source/backends/kde4be/kde4backend.cxx | 2 +-
+ shell/source/backends/kdebe/kdebackend.cxx | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/shell/source/backends/kde4be/kde4backend.cxx b/shell/source/backends/kde4be/kde4backend.cxx
+index bf12683..1d486e4 100644
+--- a/shell/source/backends/kde4be/kde4backend.cxx
++++ b/shell/source/backends/kde4be/kde4backend.cxx
+@@ -172,7 +172,7 @@ css::uno::Any Service::getPropertyValue(OUString const & PropertyName)
+ || PropertyName == "SourceViewFontName" || PropertyName == "WorkPathVariable" || PropertyName == "ooInetFTPProxyName"
+ || PropertyName == "ooInetFTPProxyPort" || PropertyName == "ooInetHTTPProxyName" || PropertyName == "ooInetHTTPProxyPort"
+ || PropertyName == "ooInetHTTPSProxyName" || PropertyName == "ooInetHTTPSProxyPort" || PropertyName == "ooInetNoProxy"
+- || PropertyName == "ooInetProxyType" )
++ || PropertyName == "ooInetProxyType" || PropertyName == "TemplatePathVariable" )
+ {
+ return css::uno::makeAny(
+ enabled_
+diff --git a/shell/source/backends/kdebe/kdebackend.cxx b/shell/source/backends/kdebe/kdebackend.cxx
+index 8089632..08915e8 100644
+--- a/shell/source/backends/kdebe/kdebackend.cxx
++++ b/shell/source/backends/kdebe/kdebackend.cxx
+@@ -172,7 +172,7 @@ css::uno::Any Service::getPropertyValue(OUString const & PropertyName)
+ || PropertyName == "SourceViewFontName" || PropertyName == "WorkPathVariable" || PropertyName == "ooInetFTPProxyName"
+ || PropertyName == "ooInetFTPProxyPort" || PropertyName == "ooInetHTTPProxyName" || PropertyName == "ooInetHTTPProxyPort"
+ || PropertyName == "ooInetHTTPSProxyName" || PropertyName == "ooInetHTTPSProxyPort" || PropertyName == "ooInetNoProxy"
+- || PropertyName == "ooInetProxyType" )
++ || PropertyName == "ooInetProxyType" || PropertyName == "TemplatePathVariable" )
+ {
+ return css::uno::makeAny(
+ enabled_
+--
+1.8.5.3
+
diff --git a/libreoffice.spec b/libreoffice.spec
index 8eb2ffb..b0b3de9 100644
--- a/libreoffice.spec
+++ b/libreoffice.spec
@@ -271,6 +271,7 @@ Patch31: 0001-Related-rhbz-1065807-rework-i66157-for-multiple-writ.patch
Patch32: 0001-Resolves-rhbz-1065807-use-xdg-Templates-for-default-.patch
Patch33: 0001-explictly-list-common-lang-independant-template-dir.patch
Patch34: 0001-rhbz-1057977-avoid-use-of-invalidated-pointers.patch
+Patch35: 0001-KDE-don-t-throw-on-TemplatePathVariable.patch
%define instdir %{_libdir}
%define baseinstdir %{instdir}/libreoffice
@@ -1069,6 +1070,7 @@ mv -f redhat.soc extras/source/palettes/standard.soc
%patch32 -p1 -b .rhbz-1065807-use-xdg-Templates-for-default-.patch
%patch33 -p1 -b .explictly-list-common-lang-independant-template-dir.patch
%patch34 -p1 -b .rhbz-1057977-avoid-use-of-invalidated-pointers.patch
+%patch35 -p1 -b .KDE-don-t-throw-on-TemplatePathVariable.patch
# TODO: check this
# these are horribly incomplete--empty translations and copied english
@@ -2164,7 +2166,7 @@ update-desktop-database %{_datadir}/applications &> /dev/null || :
%endif
%changelog
-* Tue Feb 25 2014 Caolán McNamara <caolanm at redhat.com> - 1:4.1.5.3-3-UNBUILT
+* Fri Feb 28 2014 Caolán McNamara <caolanm at redhat.com> - 1:4.1.5.3-3-UNBUILT
- Resolves: rhbz#1065807 search XDG defined "Templates"
- Resolves: rhbz#1057977 do not crash when fonts are updated
More information about the scm-commits
mailing list