summaryrefslogtreecommitdiff
path: root/external
diff options
context:
space:
mode:
authorGabor Kelemen <kelemeng@ubuntu.com>2022-04-24 19:20:32 +0200
committerThorsten Behrens <thorsten.behrens@allotropia.de>2022-04-26 10:08:30 +0200
commit437b3b9d4ffc1cfba3bcc9dff1a72fe2656e3b30 (patch)
tree213343a3ba923c05bdec209d11e2d64ca0b1e0ca /external
parent2739f18fa93733a128321255aa49ddbefde36314 (diff)
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>
Diffstat (limited to 'external')
-rw-r--r--external/Module_external.mk1
-rw-r--r--external/ct2n/ConvertTextToNumber-1.3.2-no-license.patch16
-rw-r--r--external/ct2n/ConvertTextToNumber-1.3.2-no-visible-by-default.patch104
-rw-r--r--external/ct2n/ConvertTextToNumber-1.5.0-add-namespace-prefix.patch10
-rw-r--r--external/ct2n/ExternalPackage_ct2n.mk38
-rw-r--r--external/ct2n/Makefile7
-rw-r--r--external/ct2n/Module_ct2n.mk17
-rw-r--r--external/ct2n/README4
-rw-r--r--external/ct2n/UnpackedTarball_ct2n.mk32
-rw-r--r--external/ct2n/description-en-US.txt4
10 files changed, 0 insertions, 233 deletions
diff --git a/external/Module_external.mk b/external/Module_external.mk
index dd7ecafa74b9..9f0215e5ca9e 100644
--- a/external/Module_external.mk
+++ b/external/Module_external.mk
@@ -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 \
diff --git a/external/ct2n/ConvertTextToNumber-1.3.2-no-license.patch b/external/ct2n/ConvertTextToNumber-1.3.2-no-license.patch
deleted file mode 100644
index c4fe3dcd67e4..000000000000
--- a/external/ct2n/ConvertTextToNumber-1.3.2-no-license.patch
+++ /dev/null
@@ -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>
diff --git a/external/ct2n/ConvertTextToNumber-1.3.2-no-visible-by-default.patch b/external/ct2n/ConvertTextToNumber-1.3.2-no-visible-by-default.patch
deleted file mode 100644
index 50dd4b5f4775..000000000000
--- a/external/ct2n/ConvertTextToNumber-1.3.2-no-visible-by-default.patch
+++ /dev/null
@@ -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>
diff --git a/external/ct2n/ConvertTextToNumber-1.5.0-add-namespace-prefix.patch b/external/ct2n/ConvertTextToNumber-1.5.0-add-namespace-prefix.patch
deleted file mode 100644
index 8602989f7d7b..000000000000
--- a/external/ct2n/ConvertTextToNumber-1.5.0-add-namespace-prefix.patch
+++ /dev/null
@@ -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"/>
diff --git a/external/ct2n/ExternalPackage_ct2n.mk b/external/ct2n/ExternalPackage_ct2n.mk
deleted file mode 100644
index 9a4bf2d58119..000000000000
--- a/external/ct2n/ExternalPackage_ct2n.mk
+++ /dev/null
@@ -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:
diff --git a/external/ct2n/Makefile b/external/ct2n/Makefile
deleted file mode 100644
index e4968cf85fb6..000000000000
--- a/external/ct2n/Makefile
+++ /dev/null
@@ -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:
diff --git a/external/ct2n/Module_ct2n.mk b/external/ct2n/Module_ct2n.mk
deleted file mode 100644
index 03f4d7b33f1b..000000000000
--- a/external/ct2n/Module_ct2n.mk
+++ /dev/null
@@ -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:
diff --git a/external/ct2n/README b/external/ct2n/README
deleted file mode 100644
index dd3c09bfbffd..000000000000
--- a/external/ct2n/README
+++ /dev/null
@@ -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. \ No newline at end of file
diff --git a/external/ct2n/UnpackedTarball_ct2n.mk b/external/ct2n/UnpackedTarball_ct2n.mk
deleted file mode 100644
index 38cfb6743896..000000000000
--- a/external/ct2n/UnpackedTarball_ct2n.mk
+++ /dev/null
@@ -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:
diff --git a/external/ct2n/description-en-US.txt b/external/ct2n/description-en-US.txt
deleted file mode 100644
index 931d579dcee3..000000000000
--- a/external/ct2n/description-en-US.txt
+++ /dev/null
@@ -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.