external/python3/ExternalPackage_python3.mk         |    2 +-
 external/python3/ExternalProject_python3.mk         |    2 +-
 external/python3/UnpackedTarball_python3.mk         |    1 -
 external/python3/python-3.5.tweak.strip.soabi.patch |   12 ------------
 4 files changed, 2 insertions(+), 15 deletions(-)

New commits:
commit e0c736642a34d10d899fc8a8a55ef2483b6b46d5
Author:     Xisco Fauli <xiscofa...@libreoffice.org>
AuthorDate: Mon Jan 27 12:56:08 2025 +0100
Commit:     Michael Stahl <michael.st...@allotropia.de>
CommitDate: Thu Feb 6 10:23:49 2025 +0100

    tdf#162786, tdf#159988: python3: do not strip soabi on linux/macOS
    
    Otherwise libraries installed through pip do not work
    
    Change-Id: Ib916964ce7d309faffaad1763884b1600b139c18
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/180781
    Tested-by: Jenkins
    Reviewed-by: Xisco Fauli <xiscofa...@libreoffice.org>
    (cherry picked from commit 3575986e30705d588d4eea94eb669474a3adbf77)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/181158
    Reviewed-by: Michael Stahl <michael.st...@allotropia.de>

diff --git a/external/python3/ExternalPackage_python3.mk 
b/external/python3/ExternalPackage_python3.mk
index 111d81d18789..9b2cf68cd6a8 100644
--- a/external/python3/ExternalPackage_python3.mk
+++ b/external/python3/ExternalPackage_python3.mk
@@ -58,7 +58,7 @@ $(eval $(call 
gb_ExternalPackage_add_file,python3,$(LIBO_BIN_FOLDER)/libpython$(
 # Obviously this list should not contain stuff with external dependencies
 # that may not be available on baseline systems.
 
-python3_EXTENSION_MODULE_SUFFIX=cpython-$(PYTHON_VERSION_MAJOR).$(PYTHON_VERSION_MINOR)$(if
 $(ENABLE_DBGUTIL),d)
+python3_EXTENSION_MODULE_SUFFIX=cpython-$(PYTHON_VERSION_MAJOR)$(PYTHON_VERSION_MINOR)$(if
 $(ENABLE_DBGUTIL),d)-x86_64-linux-gnu
 python3_EXTENSION_MODULES= \
        LO_lib/array.$(python3_EXTENSION_MODULE_SUFFIX).so \
        LO_lib/_asyncio.$(python3_EXTENSION_MODULE_SUFFIX).so \
diff --git a/external/python3/ExternalProject_python3.mk 
b/external/python3/ExternalProject_python3.mk
index c21cfc7973a2..c4464f8b5adb 100644
--- a/external/python3/ExternalProject_python3.mk
+++ b/external/python3/ExternalProject_python3.mk
@@ -143,7 +143,7 @@ endif
 ifeq ($(OS),MACOSX)
 
 
python3_fw_prefix:=$(gb_UnpackedTarball_workdir)/python3/python-inst/@__________________________________________________OOO/LibreOfficePython.framework/Versions/$(PYTHON_VERSION_MAJOR).$(PYTHON_VERSION_MINOR)
-python3_EXTENSION_MODULE_SUFFIX:=cpython-$(PYTHON_VERSION_MAJOR).$(PYTHON_VERSION_MINOR)$(if
 $(ENABLE_DBGUTIL),d)
+python3_EXTENSION_MODULE_SUFFIX:=cpython-$(PYTHON_VERSION_MAJOR)$(PYTHON_VERSION_MINOR)$(if
 $(ENABLE_DBGUTIL),d)-darwin
 
 # rule to allow relocating the whole framework, removing reference to 
buildinstallation directory
 # also scripts are not allowed to be signed as executables (with extended 
attributes), but need to
diff --git a/external/python3/UnpackedTarball_python3.mk 
b/external/python3/UnpackedTarball_python3.mk
index 5a9cf9f03fde..d972417a7f9b 100644
--- a/external/python3/UnpackedTarball_python3.mk
+++ b/external/python3/UnpackedTarball_python3.mk
@@ -31,7 +31,6 @@ $(eval $(call gb_UnpackedTarball_add_patches,python3,\
        external/python3/python-3.7.6-msvc-ssl.patch.1 \
        external/python3/python-3.5.4-msvc-disable.patch.1 \
        external/python3/ubsan.patch.0 \
-       external/python3/python-3.5.tweak.strip.soabi.patch \
        external/python3/darwin.patch.0 \
        external/python3/tsan.patch.0 \
        external/python3/init-sys-streams-cant-initialize-stdin.patch.0 \
diff --git a/external/python3/python-3.5.tweak.strip.soabi.patch 
b/external/python3/python-3.5.tweak.strip.soabi.patch
deleted file mode 100644
index 4c2bb2bb9a29..000000000000
--- a/external/python3/python-3.5.tweak.strip.soabi.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -ru python3.orig/configure python3/configure
---- misc/python3.orig/configure        2015-07-26 21:14:31.127377193 +0200
-+++ misc/python3/configure     2015-07-26 21:21:34.975405648 +0200
-@@ -15229,7 +15229,7 @@
- $as_echo "$ABIFLAGS" >&6; }
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking SOABI" >&5
- $as_echo_n "checking SOABI... " >&6; }
--SOABI='cpython-'`echo $VERSION | tr -d 
.`${ABIFLAGS}${PLATFORM_TRIPLET:+-$PLATFORM_TRIPLET}
-+SOABI='cpython-'`echo $VERSION$ABIFLAGS`
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SOABI" >&5
- $as_echo "$SOABI" >&6; }
- 

Reply via email to