- Remove patch to look for help in /usr/share, we symlink it back to

lib, so there is no actual need to search for it directly, migth
  fix bnc#915996:
  * officecfg-help-in-usr-share.diff

OBS-URL: https://build.opensuse.org/package/show/LibreOffice:Factory/libreoffice?expand=0&rev=242
This commit is contained in:
Tomáš Chvátal 2015-04-09 12:42:47 +00:00 committed by Git OBS Bridge
parent 0c1c16f72a
commit af102ccccc
3 changed files with 8 additions and 39 deletions

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Thu Apr 9 12:42:00 UTC 2015 - tchvatal@suse.com
- Remove patch to look for help in /usr/share, we symlink it back to
lib, so there is no actual need to search for it directly, migth
fix bnc#915996:
* officecfg-help-in-usr-share.diff
-------------------------------------------------------------------
Wed Apr 8 13:06:41 UTC 2015 - andras.timar@collabora.com

View File

@ -60,9 +60,6 @@ Source2003: %{external_url}/798b2ffdc8bcfe7bca2cf92b62caf685-rhino1_5R5.zip
Source2004: %{external_url}/35c94d2df8893241173de1d16b6034c0-swingExSrc.zip
# Needed for wiki-published and always taken as bundled
Source2005: %{external_url}/a7983f859eafb2677d7ff386a023bc40-xsltml_2.1.2.zip
# search help icons in %{_prefix}/share
# FIXME: make it configurable in integrate into git
Patch0: officecfg-help-in-usr-share.diff
# change user config dir name from ~/.libreoffice/3 to ~/.libreoffice/3-suse
# to avoid BerkleyDB incompatibility with the plain build
# FIXME: make it configurable and push upstream
@ -838,7 +835,6 @@ Provides additional %{langname} translations and resources for %{project}. \
%prep
%setup -q -b1 -b2
%patch0 -p1
%patch1
%patch2 -p1
%patch3 -p1

View File

@ -1,35 +0,0 @@
Index: libreoffice-4.4.0.1/officecfg/registry/data/org/openoffice/Office/Paths.xcu
===================================================================
--- libreoffice-4.4.0.1.orig/officecfg/registry/data/org/openoffice/Office/Paths.xcu
+++ libreoffice-4.4.0.1/officecfg/registry/data/org/openoffice/Office/Paths.xcu
@@ -98,7 +98,7 @@
</node>
<node oor:name="Help" oor:op="fuse" oor:mandatory="true">
<node oor:name="InternalPaths">
- <node oor:name="$(instpath)/@LIBO_SHARE_HELP_FOLDER@" oor:op="fuse"/>
+ <node oor:name="/usr/share/help" oor:op="fuse"/>
</node>
</node>
<node oor:name="Linguistic" oor:op="fuse" oor:mandatory="true">
Index: libreoffice-4.4.0.1/officecfg/registry/schema/org/openoffice/Office/Common.xcs
===================================================================
--- libreoffice-4.4.0.1.orig/officecfg/registry/schema/org/openoffice/Office/Common.xcs
+++ libreoffice-4.4.0.1/officecfg/registry/schema/org/openoffice/Office/Common.xcs
@@ -1615,7 +1615,7 @@
<info>
<desc>Specifies the path to the Office help files.</desc>
</info>
- <value>$(instpath)/@LIBO_SHARE_HELP_FOLDER@</value>
+ <value>/usr/share/help</value>
</prop>
<prop oor:name="Linguistic" oor:type="xs:string" oor:nillable="false">
<info>
@@ -1810,7 +1810,7 @@
<desc>Specifies the default directory where Office help files are
located.</desc>
</info>
- <value>$(instpath)/@LIBO_SHARE_HELP_FOLDER@</value>
+ <value>/usr/share/help</value>
</prop>
<prop oor:name="Linguistic" oor:type="xs:string" oor:nillable="false">
<info>