libreoffice: add nopython patch for ecne

This commit is contained in:
Luis Guzmán 2026-04-04 17:26:05 -06:00 committed by Ark74
parent 5dc81d59a0
commit caa1d82025
3 changed files with 17 additions and 3 deletions

View file

@ -0,0 +1,14 @@
diff --git a/debian/rules b/debian/rules
index abb880f..90b89d5 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2340,7 +2340,9 @@ ifeq "$(ENABLE_RUST)" "y"
endif
ifneq "$(PYTHON_VERSION)" "default"
+ifneq "$(PYTHON)" ""
rm -f bin/$(PYTHON)
+endif
endif
dh_clean

View file

@ -1,6 +1,6 @@
#!/bin/sh
#
# Copyright (C) 2025 Luis Guzmán <ark@switnet.org>
# Copyright (C) 2026 Luis Guzmán <ark@switnet.org>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@ -17,14 +17,14 @@
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#
VERSION=5
VERSION=6
EXTERNAL='deb-src http://ppa.launchpad.net/libreoffice/ppa/ubuntu $UPSTREAM main'
REPOKEY="73AEE920AD55F5A0"
BACKPORT=true
. ./config
patch_p1 $DATA/debian-rules_7.3.patch
apply_patch_changes
# Increase CPU usage for amd64 build.
sed -i "/NUM_CPUS=/s|3|7|" debian/rules