Reapply "add an autotext 'common' directory like templates/common"

This reverts commit 331bcad4db now
there is a fix for the problem that triggered the revert.

Change-Id: I4acacd51d5799e80dfa42a0433278e684d82a860
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/178577
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Tested-by: Jenkins
This commit is contained in:
Caolán McNamara
2024-12-16 14:33:15 +01:00
parent 703cbc0bb7
commit 2388501ed8
5 changed files with 18 additions and 0 deletions
+1
View File
@@ -959,6 +959,7 @@ $(eval $(call gb_Helper_register_packages_for_install,ooo,\
extensions_OOoSpotlightImporter \
) \
extras_autocorr \
extras_autotext \
extras_autotextuser \
extras_cfgsrvnolang \
extras_cfgusr \
+1
View File
@@ -16,6 +16,7 @@ $(eval $(call gb_Module_add_targets,extras,\
CustomTarget_gallsystem \
CustomTarget_templates \
Package_autocorr \
Package_autotext \
Package_autotextuser \
Package_cfgsrvnolang \
Package_cfgusr \
+14
View File
@@ -0,0 +1,14 @@
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
#
# This file is part of the LibreOffice project.
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
$(eval $(call gb_Package_Package,extras_autotext,$(gb_CustomTarget_workdir)/extras/source/autotext))
$(eval $(call gb_Package_add_empty_directory,extras_autotext,$(LIBO_SHARE_FOLDER)/autotext/common))
# vim: set noet sw=4 ts=4:
@@ -34,6 +34,7 @@
</node>
<node oor:name="AutoText" oor:op="fuse" oor:mandatory="true">
<node oor:name="InternalPaths">
<node oor:name="$(insturl)/@LIBO_SHARE_FOLDER@/autotext/common" oor:op="fuse"/>
<node oor:name="$(insturl)/@LIBO_SHARE_FOLDER@/autotext/$(vlang)" oor:op="fuse"/>
</node>
<prop oor:name="WritePath">
@@ -1377,6 +1377,7 @@
</info>
<value>
<it>$(insturl)/@LIBO_SHARE_FOLDER@/autotext/$(vlang)</it>
<it>$(insturl)/@LIBO_SHARE_FOLDER@/autotext/common</it>
<it>$(userurl)/autotext</it>
</value>
</prop>