You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by ar...@apache.org on 2026/07/05 14:59:47 UTC
(openoffice) branch python3-linux created (now b0bc83fb79)
This is an automated email from the ASF dual-hosted git repository.
ardovm pushed a change to branch python3-linux
in repository https://gitbox.apache.org/repos/asf/openoffice.git
at b0bc83fb79 Fix installation of the python module under Linux
This branch includes the following new commits:
new 7972273fcb Download Python-3.11.15
new fa8c1404cc Ensure that the pyexpat module is built
new b0bc83fb79 Fix installation of the python module under Linux
The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
(openoffice) 02/03: Ensure that the pyexpat module is built
Posted by ar...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
ardovm pushed a commit to branch python3-linux
in repository https://gitbox.apache.org/repos/asf/openoffice.git
commit fa8c1404cc5b2462350ec296f8eaaa4b8afe72a0
Author: Arrigo Marchiori <ar...@yahoo.it>
AuthorDate: Sun Jul 5 16:52:44 2026 +0200
Ensure that the pyexpat module is built
Apply the same logic as for the _md5 and _shaXXX modules.
---
main/python/makefile.mk | 1 +
main/python/python-pyexpat.patch | 11 +++++++++++
2 files changed, 12 insertions(+)
diff --git a/main/python/makefile.mk b/main/python/makefile.mk
index 042a4cf092..f757899c9d 100644
--- a/main/python/makefile.mk
+++ b/main/python/makefile.mk
@@ -45,6 +45,7 @@ TARFILE_NAME=Python-$(PYVERSION)
TARFILE_MD5=57f84cbd92d478ceff55217d88a07ded
PATCH_FILES=\
python-md5.patch \
+ python-pyexpat.patch \
python-solver-before-std.patch \
python-$(PYVERSION)-sysbase.patch \
python-$(PYVERSION)-nohardlink.patch
diff --git a/main/python/python-pyexpat.patch b/main/python/python-pyexpat.patch
new file mode 100644
index 0000000000..756572d12d
--- /dev/null
+++ b/main/python/python-pyexpat.patch
@@ -0,0 +1,11 @@
+--- misc/Python-3.11.15/Modules/Setup 2026-03-03 01:52:57.000000000 +0100
++++ misc/build/Python-3.11.15/Modules/Setup 2026-07-04 12:51:02.908154677 +0200
+@@ -159,7 +159,7 @@
+
+ # XML
+ #_elementtree _elementtree.c
+-#pyexpat pyexpat.c
++pyexpat pyexpat.c
+
+ # hashing builtins
+ #_blake2 _blake2/blake2module.c _blake2/blake2b_impl.c _blake2/blake2s_impl.c
(openoffice) 01/03: Download Python-3.11.15
Posted by ar...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
ardovm pushed a commit to branch python3-linux
in repository https://gitbox.apache.org/repos/asf/openoffice.git
commit 7972273fcbbaa36fac8b806eda9ac82d32915b72
Author: Arrigo Marchiori <ar...@yahoo.it>
AuthorDate: Sun Jul 5 16:51:09 2026 +0200
Download Python-3.11.15
---
main/external_deps.lst | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/main/external_deps.lst b/main/external_deps.lst
index 07a35373ca..598f097564 100644
--- a/main/external_deps.lst
+++ b/main/external_deps.lst
@@ -194,9 +194,9 @@ if (ENABLE_MEDIAWIKI == YES)
URL2 = $(OOO_EXTRAS)$(MD5)-$(name)
if (SYSTEM_PYTHON != YES)
- MD5 = 38c84292658ed4456157195f1c9bcbe1
- name = Python-2.7.18.tgz
- URL1 = https://www.python.org/ftp/python/2.7.18/$(name)
+ MD5 = 57f84cbd92d478ceff55217d88a07ded
+ name = Python-3.11.15.tgz
+ URL1 = https://www.python.org/ftp/python/3.11.15/$(name)
URL2 = $(OOO_EXTRAS)$(MD5)-$(name)
if (SYSTEM_BOOST != YES)
(openoffice) 03/03: Fix installation of the python module under Linux
Posted by ar...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
ardovm pushed a commit to branch python3-linux
in repository https://gitbox.apache.org/repos/asf/openoffice.git
commit b0bc83fb798fedfd03b1bd7f521f631833cc94be
Author: Arrigo Marchiori <ar...@yahoo.it>
AuthorDate: Sun Jul 5 16:54:29 2026 +0200
Fix installation of the python module under Linux
Explicitly name the possible _sysconfigdata_XXX.py files.
Copy the cpython include subdirectory.
---
main/python/prj/d.lst | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/main/python/prj/d.lst b/main/python/prj/d.lst
index 3a8d7d22c6..875a75943f 100644
--- a/main/python/prj/d.lst
+++ b/main/python/prj/d.lst
@@ -60,11 +60,15 @@ mkdir: %_DEST%\lib%_EXT%\python\python3.11\config
..\%__SRC%\misc\build\Python-3.11.15\Makefile %_DEST%\lib%_EXT%\python\python3.11\config\Makefile
# TODO: _sysconfigdata filename is platform-mangled (e.g. _sysconfigdata__darwin_darwin.py on macOS,
# _sysconfigdata__linux_x86_64-linux-gnu.py on Linux). Verify exact name from built tree.
-..\%__SRC%\misc\build\python-inst\lib\python3.11\_sysconfigdata*.py %_DEST%\lib%_EXT%\python\_sysconfigdata.py
+..\%__SRC%\misc\build\python-inst\lib\python3.11\_sysconfigdata__darwin_darwin.py %_DEST%\lib%_EXT%\python\_sysconfigdata.py
+..\%__SRC%\misc\build\python-inst\lib\python3.11\_sysconfigdata__linux_x86_64-linux-gnu.py %_DEST%\lib%_EXT%\python\_sysconfigdata.py
..\pyversion.mk %_DEST%\inc%_EXT%\pyversion.mk
..\pyversion_dmake.mk %_DEST%\inc%_EXT%\pyversion_dmake.mk
+mkdir: %_DEST%\inc%_EXT%\python\cpython
+
..\%__SRC%\misc\build\Python-3.11.15\Include\* %_DEST%\inc%_EXT%\python\*
+..\%__SRC%\misc\build\Python-3.11.15\Include\cpython\* %_DEST%\inc%_EXT%\python\cpython\*
#unix ONLY !
..\%__SRC%\misc\build\python-inst\bin\python %_DEST%\bin%_EXT%\python