Drop unused CT2N extension

It is not bundled by any downstream distributions
so it makes no much sense to keep it integrated here.

Change-Id: I80180e53e050b8b3cd1b173ef01b51e8d706f295
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133355
Tested-by: Jenkins
Reviewed-by: Thorsten Behrens <thorsten.behrens@allotropia.de>
This commit is contained in:
Gabor Kelemen 2022-04-24 19:20:32 +02:00 committed by Thorsten Behrens
parent 2739f18fa9
commit 437b3b9d4f
22 changed files with 0 additions and 291 deletions

View file

@ -115,7 +115,6 @@ $(WORKDIR)/download: $(BUILDDIR)/config_$(gb_Side).mk $(SRCDIR)/download.lst $(S
$(call fetch_Optional,LIBCMIS,LIBCMIS_TARBALL) \
$(call fetch_Optional,COINMP,COINMP_TARBALL) \
$(call fetch_Optional,CPPUNIT,CPPUNIT_TARBALL) \
$(call fetch_Optional,CT2N,CT2N_TARBALL) \
$(call fetch_Optional,CUCKOO,CUCKOO_TARBALL) \
$(call fetch_Optional,CURL,CURL_TARBALL) \
$(call fetch_Optional,EBOOK,EBOOK_TARBALL) \

View file

@ -822,12 +822,6 @@ $(eval $(call gb_Helper_register_jars_for_install,OOO,extensions_rhino, \
))
endif
ifeq (CT2N,$(filter CT2N,$(BUILD_TYPE)))
$(eval $(call gb_Helper_register_packages_for_install,extensions_ct2n,\
ct2n \
))
endif
ifeq (NUMBERTEXT,$(filter NUMBERTEXT,$(BUILD_TYPE)))
$(eval $(call gb_Helper_register_packages_for_install,extensions_numbertext,\
numbertext \

View file

@ -13239,7 +13239,6 @@ dnl There are standalone tests for each of these below.
WITH_EXTRA_EXTENSIONS=
AC_SUBST([WITH_EXTRA_EXTENSIONS])
libo_CHECK_EXTENSION([ConvertTextToNumber],[CT2N],[ct2n],[ct2n],[])
libo_CHECK_EXTENSION([Numbertext],[NUMBERTEXT],[numbertext],[numbertext],[b7cae45ad2c23551fd6ccb8ae2c1f59e-numbertext_0.9.5.oxt])
if test "x$with_java" != "xno"; then
libo_CHECK_EXTENSION([NLPSolver],[NLPSOLVER],[nlpsolver],[nlpsolver],[])

View file

@ -6,7 +6,6 @@
--enable-eot
--enable-epm
--enable-evolution2
--enable-ext-ct2n
--enable-ext-languagetool
--with-system-mariadb
--enable-ext-nlpsolver

View file

@ -1,4 +1,3 @@
--disable-ext-ct2n
--disable-ext-numbertext
--disable-firebird-sdbc
--disable-lotuswordpro

View file

@ -33,8 +33,6 @@ export COINMP_SHA256SUM := 86c798780b9e1f5921fe4efe651a93cb420623b45aa1fdff57af8
export COINMP_TARBALL := CoinMP-1.7.6.tgz
export CPPUNIT_SHA256SUM := 89c5c6665337f56fd2db36bc3805a5619709d51fb136e51937072f63fcc717a7
export CPPUNIT_TARBALL := cppunit-1.15.1.tar.gz
export CT2N_SHA256SUM := 71b238efd2734be9800af07566daea8d6685aeed28db5eb5fa0e6453f4d85de3
export CT2N_TARBALL := 1f467e5bb703f12cbbb09d5cf67ecf4a-converttexttonumber-1-5-0.oxt
export CURL_SHA256SUM := ac8e1087711084548d788ef18b9b732c8de887457b81f616fc681d1044b32f98
export CURL_TARBALL := curl-7.81.0.tar.gz
export EBOOK_SHA256SUM := 7e8d8ff34f27831aca3bc6f9cc532c2f90d2057c778963b884ff3d1e34dfe1f9

View file

@ -28,7 +28,6 @@ $(eval $(call gb_Module_add_moduledirs,external,\
$(call gb_Helper_optional,LIBCMIS,libcmis) \
$(call gb_Helper_optional,COINMP,coinmp) \
$(call gb_Helper_optional,CPPUNIT,cppunit) \
$(call gb_Helper_optional,CT2N,ct2n) \
$(call gb_Helper_optional,CURL,curl) \
$(call gb_Helper_optional,DRAGONBOX,dragonbox) \
dtoa \

View file

@ -1,16 +0,0 @@
diff -purN misc/description.xml misc/build/description.xml
--- misc/description.xml 2009-02-03 00:07:30.000000000 +0100
+++ misc/build/description.xml 2010-03-05 21:38:48.000000000 +0100
@@ -5,12 +5,4 @@
xmlns:xlink="http://www.w3.org/1999/xlink">
<identifier value="nl.nouenoff.ct2n"/>
<version value="1.5.0"/>
- <!-- <dependencies>
-
- </dependencies> -->
- <registration>
- <simple-license accept-by="admin" default-license-id="ID0" suppress-on-update="true" >
- <license-text xlink:href="registration/COPYING" lang="en" license-id="ID0" />
- </simple-license>
- </registration>
</description>

View file

@ -1,104 +0,0 @@
diff -purN misc/Office/UI/BaseWindowState.xcu misc/build/Office/UI/BaseWindowState.xcu
--- misc/Office/UI/BaseWindowState.xcu 2008-02-09 23:26:50.000000000 +0100
+++ misc/build/Office/UI/BaseWindowState.xcu 2010-03-05 21:36:37.000000000 +0100
@@ -9,6 +9,9 @@
<prop oor:name="UIName" oor:type="xs:string">
<value>CT2N</value>
</prop>
+ <prop oor:name="Visible" oor:type="xs:boolean">
+ <value>false</value>
+ </prop>
</node>
</node>
</node>
diff -purN misc/Office/UI/BasicIDEWindowState.xcu misc/build/Office/UI/BasicIDEWindowState.xcu
--- misc/Office/UI/BasicIDEWindowState.xcu 2008-02-09 23:26:50.000000000 +0100
+++ misc/build/Office/UI/BasicIDEWindowState.xcu 2010-03-05 21:36:46.000000000 +0100
@@ -9,6 +9,9 @@
<prop oor:name="UIName" oor:type="xs:string">
<value>CT2N</value>
</prop>
+ <prop oor:name="Visible" oor:type="xs:boolean">
+ <value>false</value>
+ </prop>
</node>
</node>
</node>
diff -purN misc/Office/UI/CalcWindowState.xcu misc/build/Office/UI/CalcWindowState.xcu
--- misc/Office/UI/CalcWindowState.xcu 2008-02-09 23:26:50.000000000 +0100
+++ misc/build/Office/UI/CalcWindowState.xcu 2010-03-05 21:36:32.000000000 +0100
@@ -9,6 +9,9 @@
<prop oor:name="UIName" oor:type="xs:string">
<value>CT2N</value>
</prop>
+ <prop oor:name="Visible" oor:type="xs:boolean">
+ <value>false</value>
+ </prop>
</node>
</node>
</node>
diff -purN misc/Office/UI/DrawWindowState.xcu misc/build/Office/UI/DrawWindowState.xcu
--- misc/Office/UI/DrawWindowState.xcu 2008-02-09 23:26:50.000000000 +0100
+++ misc/build/Office/UI/DrawWindowState.xcu 2010-03-05 21:36:54.000000000 +0100
@@ -9,6 +9,9 @@
<prop oor:name="UIName" oor:type="xs:string">
<value>CT2N</value>
</prop>
+ <prop oor:name="Visible" oor:type="xs:boolean">
+ <value>false</value>
+ </prop>
</node>
</node>
</node>
diff -purN misc/Office/UI/ImpressWindowState.xcu misc/build/Office/UI/ImpressWindowState.xcu
--- misc/Office/UI/ImpressWindowState.xcu 2008-02-09 23:26:50.000000000 +0100
+++ misc/build/Office/UI/ImpressWindowState.xcu 2010-03-05 21:36:59.000000000 +0100
@@ -9,6 +9,9 @@
<prop oor:name="UIName" oor:type="xs:string">
<value>CT2N</value>
</prop>
+ <prop oor:name="Visible" oor:type="xs:boolean">
+ <value>false</value>
+ </prop>
</node>
</node>
</node>
diff -purN misc/Office/UI/MathWindowState.xcu misc/build/Office/UI/MathWindowState.xcu
--- misc/Office/UI/MathWindowState.xcu 2008-02-09 23:26:50.000000000 +0100
+++ misc/build/Office/UI/MathWindowState.xcu 2010-03-05 21:37:03.000000000 +0100
@@ -9,6 +9,9 @@
<prop oor:name="UIName" oor:type="xs:string">
<value>CT2N</value>
</prop>
+ <prop oor:name="Visible" oor:type="xs:boolean">
+ <value>false</value>
+ </prop>
</node>
</node>
</node>
diff -purN misc/Office/UI/StartModuleWindowState.xcu misc/build/Office/UI/StartModuleWindowState.xcu
--- misc/Office/UI/StartModuleWindowState.xcu 2008-02-09 23:26:50.000000000 +0100
+++ misc/build/Office/UI/StartModuleWindowState.xcu 2010-03-05 21:37:09.000000000 +0100
@@ -9,6 +9,9 @@
<prop oor:name="UIName" oor:type="xs:string">
<value>CT2N</value>
</prop>
+ <prop oor:name="Visible" oor:type="xs:boolean">
+ <value>false</value>
+ </prop>
</node>
</node>
</node>
diff -purN misc/Office/UI/WriterWindowState.xcu misc/build/Office/UI/WriterWindowState.xcu
--- misc/Office/UI/WriterWindowState.xcu 2008-02-09 23:26:50.000000000 +0100
+++ misc/build/Office/UI/WriterWindowState.xcu 2010-03-05 21:37:17.000000000 +0100
@@ -9,6 +9,9 @@
<prop oor:name="UIName" oor:type="xs:string">
<value>CT2N</value>
</prop>
+ <prop oor:name="Visible" oor:type="xs:boolean">
+ <value>false</value>
+ </prop>
</node>
</node>
</node>

View file

@ -1,10 +0,0 @@
diff -purN misc/META-INF/manifest.xml misc/build/META-INF/manifest.xml
--- misc/META-INF/manifest.xml 2019-08-14 20:57:00.000000000 +0900
+++ misc/build/META-INF/manifest.xml 2019-08-14 20:58:00.000000000 +0900
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<manifest:manifest>
+<manifest:manifest xmlns:manifest="http://openoffice.org/2001/manifest">
<manifest:file-entry manifest:full-path="CT2N/" manifest:media-type="application/vnd.sun.star.basic-library"/>
<manifest:file-entry manifest:full-path="pkg-desc/pkg-description.txt" manifest:media-type="application/vnd.sun.star.package-bundle-description"/>
<manifest:file-entry manifest:full-path="Office/UI/BaseWindowState.xcu" manifest:media-type="application/vnd.sun.star.configuration-data"/>

View file

@ -1,38 +0,0 @@
# -*- 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_ExternalPackage_ExternalPackage,ct2n,ct2n))
$(eval $(call gb_ExternalPackage_add_unpacked_files_with_dir,ct2n,$(LIBO_SHARE_FOLDER)/extensions/ConvertTextToNumber,\
Addons.xcu \
CT2N/MainCode.xba \
CT2N/ToClipbord.xba \
CT2N/Language.xba \
CT2N/dialog.xlb \
CT2N/dlgCode.xba \
CT2N/script.xlb \
CT2N/dlgCT2N.xdl \
CT2N/UserSettings.xba \
META-INF/manifest.xml \
Office/UI/BaseWindowState.xcu \
Office/UI/ImpressWindowState.xcu \
Office/UI/StartModuleWindowState.xcu \
Office/UI/BasicIDEWindowState.xcu \
Office/UI/CalcWindowState.xcu \
Office/UI/WriterWindowState.xcu \
Office/UI/DrawWindowState.xcu \
Office/UI/MathWindowState.xcu \
description.xml \
icons/image1_26.bmp \
icons/image1_16.bmp \
pkg-desc/pkg-description.txt \
registration/COPYING \
))
# vim: set noet sw=4 ts=4:

View file

@ -1,7 +0,0 @@
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
module_directory:=$(dir $(realpath $(firstword $(MAKEFILE_LIST))))
include $(module_directory)/../../solenv/gbuild/partial_build.mk
# vim: set noet sw=4 ts=4:

View file

@ -1,17 +0,0 @@
# -*- 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_Module_Module,ct2n))
$(eval $(call gb_Module_add_targets,ct2n,\
ExternalPackage_ct2n \
UnpackedTarball_ct2n \
))
# vim:set noet sw=4 ts=4:

View file

@ -1,4 +0,0 @@
From [https://extensions.libreoffice.org/en/extensions/show/ct2n-convert-text-to-number-and-dates].
ConvertTextToNumber replaces numbers and dates, formatted
as text, with real numbers.

View file

@ -1,32 +0,0 @@
# -*- 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_UnpackedTarball_UnpackedTarball,ct2n))
$(eval $(call gb_UnpackedTarball_set_tarball,ct2n,$(CT2N_TARBALL),0))
$(eval $(call gb_UnpackedTarball_add_patches,ct2n,\
external/ct2n/ConvertTextToNumber-1.3.2-no-license.patch \
external/ct2n/ConvertTextToNumber-1.3.2-no-visible-by-default.patch \
external/ct2n/ConvertTextToNumber-1.5.0-add-namespace-prefix.patch \
))
$(eval $(call gb_UnpackedTarball_fix_end_of_line,ct2n,\
description.xml \
Office/UI/BaseWindowState.xcu \
Office/UI/BasicIDEWindowState.xcu \
Office/UI/CalcWindowState.xcu \
Office/UI/DrawWindowState.xcu \
Office/UI/ImpressWindowState.xcu \
Office/UI/MathWindowState.xcu \
Office/UI/StartModuleWindowState.xcu \
Office/UI/WriterWindowState.xcu \
))
# vim: set noet sw=4 ts=4:

View file

@ -1,4 +0,0 @@
From [https://extensions.libreoffice.org/en/extensions/show/ct2n-convert-text-to-number-and-dates].
ConvertTextToNumber replaces numbers and dates, formatted
as text, with real numbers.

View file

@ -2274,13 +2274,6 @@
<hr />
<h1><a id="a__Extensions" name="a__Extensions">Extensions</a></h1>
<p>Only third party extensions are listed here whose source code is not in the LibreOffice tree.</p>
<div class="CT2N">
<h2>Convert Text to Number</h2>
<p>The following software may be included in this product: Convert Text to Number. Use of any of this software is
governed by the terms of the license below:</p>
<p>Copyright (C) 2008/2009 - Cor Nouws</p>
<p><a href="#a__LGPL_version_3">Jump to LGPL Version 3</a></p>
</div>
<div class="LANGUAGETOOL">
<h2>LanguageTool Grammar Checker</h2>
<p>The following software may be included in this product: LanguageTool Grammar Checker. Use of any of this

View file

@ -18,7 +18,6 @@ $(eval $(call gb_AutoInstall_add_module,brand,,LIBO_EXECUTABLE,,PACKAGE_FILELIST
$(eval $(call gb_AutoInstall_add_module,calc,LIBO_LIB_FILE,,,PACKAGE_FILELIST))
$(eval $(call gb_AutoInstall_add_module,calc_brand,,LIBO_EXECUTABLE,,PACKAGE_FILELIST))
$(eval $(call gb_AutoInstall_add_module,draw_brand,,LIBO_EXECUTABLE,,PACKAGE_FILELIST))
$(eval $(call gb_AutoInstall_add_module,extensions_ct2n,,,,PACKAGE_FILELIST))
$(eval $(call gb_AutoInstall_add_module,extensions_bsh,,,LIBO_JAR_FILE))
$(eval $(call gb_AutoInstall_add_module,extensions_numbertext,,,,PACKAGE_FILELIST))
$(eval $(call gb_AutoInstall_add_module,extensions_rhino,,,LIBO_JAR_FILE))

View file

@ -10,7 +10,6 @@
$(eval $(call gb_InstallModule_InstallModule,scp2/extensions))
$(eval $(call gb_InstallModule_use_auto_install_libs,scp2/extensions,extensions_bsh))
$(eval $(call gb_InstallModule_use_auto_install_libs,scp2/extensions,extensions_ct2n))
$(eval $(call gb_InstallModule_use_auto_install_libs,scp2/extensions,extensions_rhino))
$(eval $(call gb_InstallModule_use_auto_install_libs,scp2/extensions,extensions_numbertext))

View file

@ -61,22 +61,6 @@ Module gid_Module_Optional_Extensions_NumberText
End
#endif
/* ** ConvertTextToNumber ** */
#ifdef WITH_EXTENSION_CT2N
#include "AutoInstall/extensions_ct2n"
Module gid_Module_Optional_Extensions_CT2N
PackageInfo = "packinfo_extensions.txt";
MOD_NAME_DESC(MODULE_OPTIONAL_EXTENSIONS_CT2N);
ParentID = gid_Module_Optional_Extensions;
Files = (auto_extensions_ct2n_ALL);
Default = YES;
Styles = ( );
End
#endif
/* ** NLPSolver ** */
#ifdef WITH_EXTENSION_NLPSOLVER

View file

@ -34,12 +34,6 @@ en-US = "Numbertext"
[STR_DESC_MODULE_OPTIONAL_EXTENSIONS_NUMBERTEXT]
en-US = "Provides the NUMBERTEXT/MONEYTEXT spreadsheet functions which convert numbers to localized text, e.g. '100' to 'hundred'."
[STR_NAME_MODULE_OPTIONAL_EXTENSIONS_CT2N]
en-US = "Convert Text to Number"
[STR_DESC_MODULE_OPTIONAL_EXTENSIONS_CT2N]
en-US = "Convert Text to Number"
[STR_NAME_MODULE_OPTIONAL_EXTENSIONS_NLPSOLVER]
en-US = "Solver for Nonlinear Programming"

View file

@ -64,21 +64,6 @@ destpath = "/opt"
packageversion = "%PACKAGEVERSION"
End
Start
module = "gid_Module_Optional_Extensions_CT2N"
solarispackagename = "%BASISPACKAGEPREFIX%WITHOUTDOTPRODUCTVERSION-extension-ct2n"
solarisrequires = "%BASISPACKAGEPREFIX%WITHOUTDOTPRODUCTVERSION-core (Name="Core module for %PRODUCTNAME %PRODUCTVERSION")"
packagename = "%BASISPACKAGEPREFIX%PRODUCTVERSION-extension-ct2n"
requires = "%BASISPACKAGEPREFIX%PRODUCTVERSION-core %PACKAGEVERSION %PACKAGEVERSION-%PACKAGEREVISION"
linuxpatchrequires = ""
copyright = "Copyright (c) 2008 Cor Nouws"
solariscopyright = "solariscopyrightfile"
vendor = "The Document Foundation"
description = "ConvertTextToNumber extension for %PRODUCTNAME %PRODUCTVERSION"
destpath = "/opt"
packageversion = "%PACKAGEVERSION"
End
Start
module = "gid_Module_Optional_Extensions_NLPSolver"
solarispackagename = "%BASISPACKAGEPREFIX%WITHOUTDOTPRODUCTVERSION-extension-nlpsolver"