diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 09:27:58 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 09:27:58 +0000 |
commit | a82e74173109d825d49ce7bfd89d2128e3d156db (patch) | |
tree | ab88cd6010b6438c71236f0ab1abeee12abda55d /debian | |
parent | Merging upstream version 4:24.2.1. (diff) | |
download | libreoffice-a82e74173109d825d49ce7bfd89d2128e3d156db.tar.xz libreoffice-a82e74173109d825d49ce7bfd89d2128e3d156db.zip |
Adding debian version 4:24.2.1-1.debian/4%24.2.1-1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian')
-rw-r--r-- | debian/changelog | 42 | ||||
-rw-r--r-- | debian/control | 53 | ||||
-rw-r--r-- | debian/control.in | 2 | ||||
-rw-r--r-- | debian/control.plasma.in | 2 | ||||
-rw-r--r-- | debian/control.reportbuilder.in | 1 | ||||
-rw-r--r-- | debian/patches/series | 1 | ||||
-rw-r--r-- | debian/patches/sw-do-not-require-cui.diff | 28 | ||||
-rwxr-xr-x | debian/rules | 93 |
8 files changed, 154 insertions, 68 deletions
diff --git a/debian/changelog b/debian/changelog index 902efef99f..c833c29e20 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,45 @@ +libreoffice (4:24.2.1-1) unstable; urgency=medium + + * LibreOffice 24.2.1 final (identical to rc2) + + * upload to unstable + + * debian/rules: + - also suggest libreoffice-{hyphenation,spellcheck}-tr in -l10n-tr + and libreoffice-{hyphenation,spellcheck}-fr in -l10n-fr (as for fi) + - revert building with -O2 on riscv64. Makes payloadNaN test pass on + boards which failed before, so it's probably not a correct result. + upstream makefile does -Os anyways + - add some more safety nets for t64: + - Build-Depend on dpkg-dev (>= 1.22.5) on affected archs + - Build-Depend on libxmlsec1-dev (>= 1.2.39-4) on affected archs + + -- Rene Engelhard <rene@debian.org> Wed, 28 Feb 2024 18:06:52 +0100 + +libreoffice (4:24.2.1~rc2-1) experimental; urgency=medium + + * New upstream release candidate + + -- Rene Engelhard <rene@debian.org> Sun, 25 Feb 2024 16:22:37 +0100 + +libreoffice (4:24.2.1~rc1-1) experimental; urgency=medium + + * New upstream release candidate + + * debian/rules: + - enable hy (Armenian) langpack + - error out on bookworm-backports if we detect t64 packages. Mention + needed revert + - fix to actually make parallel build/packaging of kf5/(upcoming) kf6 + work + - micro-optimization: don't build-depend on default-jdk for architectures + where Java is disabled + - try building with -O2 on riscv64; the test bug is supposed to be fixed + and since the latest gcc-13/binutils -O2 also links + * debian/rules, debian/control.plasma.in: conditionalize -kfX Recommends + + -- Rene Engelhard <rene@debian.org> Fri, 09 Feb 2024 17:01:49 +0100 + libreoffice (4:24.2.0-3) experimental; urgency=medium * debian/rules: diff --git a/debian/control b/debian/control index 6c8f0693b1..8468373735 100644 --- a/debian/control +++ b/debian/control @@ -18,9 +18,9 @@ Build-Depends: autoconf, coinor-libcoinmp-dev, coinor-libcoinutils-dev, debhelper-compat (= 12), - default-jdk (>= 2:1.17) [!hppa !hurd-i386 !kfreebsd-amd64 !kfreebsd-i386 !hurd-i386 !powerpcspe !s390 !sparc] <!nojava>, + default-jdk (>= 2:1.17) [!hppa !hurd-i386 !kfreebsd-amd64 !kfreebsd-i386 !hurd-i386 !powerpcspe !s390 !sparc !ppc64el !s390x !armhf] <!nojava>, dh-python <!nopython>, - diffutils, + dpkg-dev (>= 1.22.5) [armel armhf hppa kfreebsd-i386 m68k mips mipsel powerpc powerpcspe sparc], firebird-dev, flex, fontforge-nox | fontforge, @@ -170,6 +170,7 @@ Build-Depends: autoconf, libxml2-dev, libxml2-utils, libxmlsec1-dev (>= 1.2.35), + libxmlsec1-dev (>= 1.2.39-5) [armhf] <!nocheck>, libxrandr-dev, libxrender-dev, libxslt1-dev, @@ -216,9 +217,10 @@ Build-Depends-Arch: at-spi2-core [!alpha !armel !hppa !i386 !ia64 !kfreebsd-amd6 gpgconf [!alpha !armel !hppa !i386 !ia64 !kfreebsd-amd64 !kfreebsd-i386 !loong64 !m68k !mips !mipsel !mips64 !mips64el !powerpc !powerpcspe !ppc64 !ppc64el !riscv64 !s390x !sparc !sparc64] <!nocheck>, hunspell-en-us [!alpha !armel !hppa !i386 !ia64 !kfreebsd-amd64 !kfreebsd-i386 !loong64 !m68k !mips !mipsel !mips64 !mips64el !powerpc !powerpcspe !ppc64 !ppc64el !riscv64 !s390x !sparc !sparc64] <!nocheck>, hyphen-en-us [!alpha !armel !hppa !i386 !ia64 !kfreebsd-amd64 !kfreebsd-i386 !loong64 !m68k !mips !mipsel !mips64 !mips64el !powerpc !powerpcspe !ppc64 !ppc64el !riscv64 !s390x !sparc !sparc64] <!nocheck>, + hyphen-es [!alpha !armel !hppa !i386 !ia64 !kfreebsd-amd64 !kfreebsd-i386 !loong64 !m68k !mips !mipsel !mips64 !mips64el !powerpc !powerpcspe !ppc64 !ppc64el !riscv64 !s390x !sparc !sparc64] <!nocheck>, imagemagick [!alpha !armel !hppa !i386 !ia64 !kfreebsd-amd64 !kfreebsd-i386 !loong64 !m68k !mips !mipsel !mips64 !mips64el !powerpc !powerpcspe !ppc64 !ppc64el !riscv64 !s390x !sparc !sparc64] <!nocheck>, libatspi2.0-dev [!alpha !armel !hppa !i386 !ia64 !kfreebsd-amd64 !kfreebsd-i386 !loong64 !m68k !mips !mipsel !mips64 !mips64el !powerpc !powerpcspe !ppc64 !ppc64el !riscv64 !s390x !sparc !sparc64] <!nocheck>, - libcppunit-dev (>= 1.15.1-4) [amd64 arm64] <!nocheck>, + libcppunit-dev (>= 1.15.1-4) [amd64 arm64 armhf] <!nocheck>, libcppunit-dev <!nocheck>, libnumbertext-data (>= 1.0.11) <!nocheck>, locales [!alpha !armel !hppa !i386 !ia64 !kfreebsd-amd64 !kfreebsd-i386 !loong64 !m68k !mips !mipsel !mips64 !mips64el !powerpc !powerpcspe !ppc64 !ppc64el !riscv64 !s390x !sparc !sparc64] <!nocheck>, @@ -247,10 +249,9 @@ Build-Conflicts: amd-libopencl1, fonts-opensymbol <!nocheck>, nvidia-glx-dev, nvidia-glx-legacy-dev, - nvidia-libopencl1, - systemd-coredump <!nocheck> + nvidia-libopencl1 Standards-Version: 4.0.1 -Vcs-Git: https://salsa.debian.org/libreoffice-team/libreoffice/libreoffice.git +Vcs-Git: https://salsa.debian.org/libreoffice-team/libreoffice/libreoffice.git -b debian-experimental-24.2 Vcs-Browser: https://salsa.debian.org/libreoffice-team/libreoffice/libreoffice Bugs: Homepage: http://www.libreoffice.org @@ -2160,8 +2161,8 @@ Depends: libreoffice-common (>= 1:7.0.0~alpha~), ${misc:Depends} Recommends: libreoffice-core (>> ${base-version}) Provides: libreoffice-l10n (= ${help-l10n-virtual-version}) -Suggests: hunspell-dictionary-fr | myspell-dictionary-fr, - hyphen-fr, +Suggests: hunspell-dictionary-fr | myspell-dictionary-fr | libreoffice-spellcheck-fr, + hyphen-fr | libreoffice-hyphenation-fr, libreoffice-grammarcheck-fr, libreoffice-help-fr, mythes-fr @@ -2462,6 +2463,37 @@ Description: office productivity suite -- Hungarian language package install extra dictionaries/hyphenation patterns/thesauri independently of the language packs. +Package: libreoffice-l10n-hy +Section: localization +Architecture: all +Depends: libreoffice-common (>= 1:7.0.0~alpha~), + locales | locales-all, + ${misc:Depends} +Recommends: libreoffice-core (>> ${base-version}) +Provides: libreoffice-l10n (= ${help-l10n-virtual-version}) +Suggests: hunspell-dictionary-hy | myspell-dictionary-hy, + hyphen-hy, + libreoffice-grammarcheck-hy, + libreoffice-help-hy, + mythes-hy +Description: office productivity suite -- Armenian language package + LibreOffice is a full-featured office productivity suite that provides + a near drop-in replacement for Microsoft(R) Office. + . + This package contains the localization of LibreOffice in + Armenian. + It contains the user interface, the templates and the autotext features. + (please note that not all this is available for all possible languages). + You can switch user interface language using the locales system. + . + Spelling dictionaries, hyphenation patterns, thesauri and help are not + included in this package. There are some available in separate packages + (myspell-*, hyphen-*, mythes-*, libreoffice-help-*) + . + If you just want to be able to spellcheck etc. in other languages, you can + install extra dictionaries/hyphenation patterns/thesauri independently of + the language packs. + Package: libreoffice-l10n-id Section: localization Architecture: all @@ -3865,8 +3897,8 @@ Depends: libreoffice-common (>= 1:7.0.0~alpha~), ${misc:Depends} Recommends: libreoffice-core (>> ${base-version}) Provides: libreoffice-l10n (= ${help-l10n-virtual-version}) -Suggests: hunspell-dictionary-tr | myspell-dictionary-tr, - hyphen-tr, +Suggests: hunspell-dictionary-tr | myspell-dictionary-tr | libreoffice-spellcheck-tr, + hyphen-tr | libreoffice-hyphenation-tr, libreoffice-grammarcheck-tr, libreoffice-help-tr, mythes-tr @@ -5076,6 +5108,7 @@ Replaces: libreoffice-common (<< 4:7.6.0~beta1), libreoffice-report-builder (<< 4:7.6.0~beta1) Breaks: libreoffice-common (<< 4:7.6.0~beta1), libreoffice-report-builder (<< 4:7.6.0~beta1) +Depends: ${misc:Depends} Description: UI data ("config") for the LibreOffice Report Builder LibreOffice is a full-featured office productivity suite that provides a near drop-in replacement for Microsoft(R) Office. diff --git a/debian/control.in b/debian/control.in index f6b6d87a62..9076a24372 100644 --- a/debian/control.in +++ b/debian/control.in @@ -14,7 +14,7 @@ Build-Conflicts: nvidia-glx-dev, fontconfig-config (= 2.14.1-2) <!nocheck>, fontconfig-config (= 2.14.1-3) <!nocheck> Standards-Version: 4.0.1 -Vcs-Git: https://salsa.debian.org/libreoffice-team/libreoffice/libreoffice.git +Vcs-Git: https://salsa.debian.org/libreoffice-team/libreoffice/libreoffice.git -b debian-experimental-24.2 Vcs-Browser: https://salsa.debian.org/libreoffice-team/libreoffice/libreoffice Bugs: @BUGS@ Homepage: http://www.libreoffice.org diff --git a/debian/control.plasma.in b/debian/control.plasma.in index dc56010de0..ced72a9c35 100644 --- a/debian/control.plasma.in +++ b/debian/control.plasma.in @@ -3,7 +3,7 @@ Architecture: %OOO_ARCHS% Depends: libreoffice-core (= ${binary:Version}), ${misc:Depends}, ${shlibs:Depends} -Recommends: libreoffice-kf5 +Recommends: libreoffice-kf@PLASMA_VERSION@ Replaces: libreoffice-kde5 (<< 1:6.4.0~) Description: office productivity suite -- some Plasma integration LibreOffice is a full-featured office productivity suite that provides diff --git a/debian/control.reportbuilder.in b/debian/control.reportbuilder.in index f67bd4c39b..99f33d264c 100644 --- a/debian/control.reportbuilder.in +++ b/debian/control.reportbuilder.in @@ -59,6 +59,7 @@ Section: misc Architecture: all Replaces: libreoffice-report-builder (<< 4:7.6.0~beta1), libreoffice-common (<< 4:7.6.0~beta1) Breaks: libreoffice-report-builder (<< 4:7.6.0~beta1), libreoffice-common (<< 4:7.6.0~beta1) +Depends: ${misc:Depends} Description: UI data ("config") for the LibreOffice Report Builder LibreOffice is a full-featured office productivity suite that provides a near drop-in replacement for Microsoft(R) Office. diff --git a/debian/patches/series b/debian/patches/series index 4eba62e51f..b25a3b7f78 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -48,4 +48,3 @@ we-dont-have-the-needed-fonts.diff adapt-for-new-carlito.diff fix-system-abseil-build.diff fix-riscv64-bridge.diff -sw-do-not-require-cui.diff diff --git a/debian/patches/sw-do-not-require-cui.diff b/debian/patches/sw-do-not-require-cui.diff deleted file mode 100644 index 449d6f4817..0000000000 --- a/debian/patches/sw-do-not-require-cui.diff +++ /dev/null @@ -1,28 +0,0 @@ -From 8d26ca7f9ac37b5ada0a2c463b37181bcc8301a8 Mon Sep 17 00:00:00 2001 -From: Noel Grandin <noel.grandin@collabora.co.uk> -Date: Tue, 30 Jan 2024 14:13:41 +0200 -Subject: tdf#158695 convert-to bogusly needs libcui (--disable-gui build) - -Change-Id: I8e13902c4ee9b4b17e921b68b0626f7728cb0c18 -Reviewed-on: https://gerrit.libreoffice.org/c/core/+/162749 -Tested-by: Jenkins -Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> ---- - sw/Library_sw.mk | 1 - - 1 file changed, 1 deletion(-) - -diff --git a/sw/Library_sw.mk b/sw/Library_sw.mk -index bd5d831f7f2f..707f5506d6a6 100644 ---- a/sw/Library_sw.mk -+++ b/sw/Library_sw.mk -@@ -56,7 +56,6 @@ $(eval $(call gb_Library_use_libraries,sw,\ - comphelper \ - cppu \ - cppuhelper \ -- cui \ - $(call gb_Helper_optional,DBCONNECTIVITY, \ - dbtools) \ - docmodel \ --- -cgit v1.2.3 - diff --git a/debian/rules b/debian/rules index 1b00ae9276..463962bb57 100755 --- a/debian/rules +++ b/debian/rules @@ -83,7 +83,7 @@ lo_sources_ver=$(shell grep AC_INIT $(SOURCE_TREE)/configure.ac | grep documentf # NOT in proper libreoffice-3-6 branch # use ./g checkout -b tag-libreoffice-3.6.2.1 libreoffice-3.6.2.1 GIT_TAG=libreoffice-$(lo_sources_ver) -GIT_BRANCH=libreoffice-24-2-0 +GIT_BRANCH=libreoffice-24-2-1 endif ifeq "$(USE_SOURCE_TARBALLS)" "y" lo_sources_ver=$(shell cat $(CURDIR)/sources.ver | cut -d= -f2) @@ -103,7 +103,6 @@ BUILD_DEPS=\ bc,\ bison,\ bzip2,\ - diffutils, \ flex, \ fontforge-nox | fontforge, \ gperf,\ @@ -206,8 +205,7 @@ SYSTEM_STUFF += cairo ifeq "$(ENABLE_GUI)" "y" BUILD_PLASMA=y # let's assume we won't ship two plasmas parallel.. -KF_VERSION=5 -PLASMA_VERSION=$(KF_VERSION) +PLASMA_VERSION=5 ENABLE_QT5=n #QT5_MINVER= endif @@ -239,7 +237,6 @@ DWZ_ARGS:=-L 100000000 endif endif SYSTEM_STUFF += xmlsec -USE_SYSTEMD=n SYSTEM_STUFF += zxcvbn ifeq ($(filter noinsttest,$(DEB_BUILD_PROFILES)),) @@ -268,6 +265,7 @@ ifeq "$(ENABLE_JAVA)" "y" SYSTEM_STUFF += beanshell SYSTEM_STUFF += hsqldb endif +ENABLE_LPSOLVE=y SYSTEM_STUFF += lpsolve USE_SHARED_LPSOLVE=y #LPSOLVE_MIN_VERSION= @@ -477,7 +475,8 @@ CONFIGURE_FLAGS+= \ --disable-fetch-external \ --without-fonts --enable-build-opensymbol \ --without-myspell-dicts \ - --with-branding=$(CURDIR)/debian/branding + --with-branding=$(CURDIR)/debian/branding \ + --without-coredumpctl ifeq "$(ENABLE_GUI)" "y" BUILD_DEPS += ,\ @@ -539,6 +538,8 @@ RTL_ARCH := $(shell grep RTL_ARCH debian/vars.$(DEB_HOST_ARCH) | cut -d"=" -f2) OOO_64BIT_ARCHS = $(filter alpha amd64 arm64 ia64 kfreebsd-amd64 loong64 mips64 mips64el ppc64 ppc64el riscv64 s390x sparc64, $(OOO_ARCHS)) $(eval $(call gen_no_archs,OOO_64BIT_ARCHS)) +OOO_32BIT_ARCHS = $(filter-out $(OOO_64BIT_ARCHS),$(OOO_ARCHS)) +$(eval $(call gen_no_archs,OOO_32BIT_ARCHS)) OOO_BE_ARCHS = $(filter hppa m68k mips mips64 powerpc powerpcspe ppc64 s390 s390x sparc sparc64,$(OOO_ARCHS)) $(eval $(call gen_no_archs,OOO_BE_ARCHS)) OOO_LE_ARCHS = $(filter-out $(OOO_BE_ARCHS),$(OOO_ARCHS)) @@ -628,8 +629,9 @@ endif # Java... # upstream says --source=1.8 / --target=1.8 so 1.8 is fine in runtime JAVA_RUNTIME_BASELINE=8 +JAVA_BRIDGE_BROKEN_ARCHS:=ppc64el s390x armhf ifeq "$(JDK)" "default" -OOO_JAVA_ARCHS = $(filter-out ppc64el s390x armhf,$(filter $(OOO_ARCHS),$(java$(JAVA_RUNTIME_BASELINE)_architectures))) +OOO_JAVA_ARCHS = $(filter-out $(JAVA_BRIDGE_BROKEN_ARCHS),$(filter $(OOO_ARCHS),$(java$(JAVA_RUNTIME_BASELINE)_architectures))) else OOO_JAVA_ARCHS = $(OOO_ARCHS) endif @@ -715,6 +717,15 @@ ifeq "$(DEB_DISTRIBUTION)" "bookworm-backports" BUGS=mailto:debian-backports@lists.debian.org SYSTEM_STUFF := $(filter-out frozen mdds orcus libcmis,$(SYSTEM_STUFF)) BOOKWORM_BACKPORT=y + ENABLE_KF6=n +endif + +ifeq "$(BOOKWORM_BACKPORT)" "y" + ifneq (,$(shell grep t64 debian/control)) +$(error Revert t64 rename 6f794ba67d113395d7662c2ebf5f67b37eddff09 for bookworm-backports!) + endif +else + BUILD_DEPS += , dpkg-dev (>= 1.22.5) [$(filter-out i386,$(OOO_32BIT_ARCHS))] endif CONFIGURE_FLAGS += $(foreach i, $(SYSTEM_STUFF),--with-system-$(i)) @@ -837,7 +848,10 @@ ifeq "$(DEB_HOST_ARCH)" "i386" endif endif ifeq "$(DEB_HOST_ARCH)" "riscv64" - # see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1039906#26 + # see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1039906#26 (fixed) + # and it seems it the payloadNaN test actually passes with -O2 where it's + # unclear whether it actually is on hardware supporting it. Let's keep at + # -O0 for now and be sure it fails before shipping something broken ifneq (noopt,$(findstring noopt,$(DEB_BUILD_OPTIONS))) DEB_BUILD_OPTIONS += noopt endif @@ -958,6 +972,9 @@ else endif ifneq (,$(filter xmlsec, $(SYSTEM_STUFF))) BUILD_DEPS += , libxmlsec1-dev (>= 1.2.35) + ifneq ($(BOOKWORM_BACKPORT),y) + BUILD_DEPS += , libxmlsec1-dev (>= 1.2.39-5) [$(filter $(OOO_CHECK_FATAL_ARCHS),$(filter-out i386,$(OOO_32BIT_ARCHS)))] <!nocheck> + endif endif ifneq (,$(filter expat, $(SYSTEM_STUFF))) BUILD_DEPS += , libexpat1-dev @@ -1091,9 +1108,6 @@ endif ifeq "$(RUN_MAKE_CHECK)" "y" BUILD_DEPS_ARCH += , locales$(OOO_NO_CHECK_ARCHS) <!nocheck> BUILD_DEPS_ARCH += , gdb$(OOO_NO_CHECK_ARCHS) <!nocheck> - ifeq "$(USE_SYSTEMD)" "y" - BUILD_DEPS_ARCH += , systemd$(OOO_NO_CHECK_ARCHS) <!nocheck>, systemd-coredump$(OOO_NO_CHECK_ARCHS) (>= 248) <!nocheck>, jq$(OOO_NO_CHECK_ARCHS) <!nocheck> - endif BUILD_DEPS_ARCH += , fontconfig [$(OOO_AUTOPKGTEST_ARCHS)] <!nocheck> ifeq ($(BOOKWORM_BACKPORT),y) BUILD_DEPS_ARCH += , fonts-liberation2 [$(OOO_AUTOPKGTEST_ARCHS)] <!nocheck> @@ -1132,6 +1146,11 @@ endif BUILD_DEPS_ARCH += , hunspell-en-us$(OOO_NO_CHECK_ARCHS) <!nocheck> BUILD_DEPS_ARCH += , hyphen-en-us$(OOO_NO_CHECK_ARCHS) <!nocheck> + # for test_tdf159102_smart_justify_with_automatic_hyphenation. + # The test itself claims the test must not depend on the installed hyphenation patterns + # but installing this (which is suggested by writer as missing even after + # opening the .fodt) fixes it + BUILD_DEPS_ARCH += , hyphen-es$(OOO_NO_CHECK_ARCHS) <!nocheck> endif # we don't run any cppunit check in all builds ifneq "$(AUTOPKGTEST_BUILD)" "y" @@ -1140,7 +1159,7 @@ endif # without the deterministic order patch the xmlsecurity_signing test fails. See # https://cgit.freedesktop.org/libreoffice/core/commit/external/cppunit/order.patch.0?id=2f2246d22e2a8ccbc1dc3e6f5243734a61edf270 ifeq "$(ENABLE_LTO)" "y" - BUILD_DEPS_ARCH += , libcppunit-dev (>= 1.15.1-4) [$(filter $(OOO_CHECK_ARCHS),$(OOO_64BIT_ARCHS))] <!nocheck> + BUILD_DEPS_ARCH += , libcppunit-dev (>= 1.15.1-4) [$(filter $(OOO_CHECK_ARCHS),$(OOO_ARCHS))] <!nocheck> endif endif ifeq ($(MAKECMDGOALS),build-indep) @@ -1177,7 +1196,7 @@ ifneq "$(BUILD_ONLY_EN_US)" "y" # have gid_Module_Root.$iso #ISOS=$(shell $(SOURCE_TREE)/bin/lo-xlate-lang -i all') ISOS:=en-US af am ar as ast be bg bn bn-IN br bs ca ca-valencia cs cy da de dz el \ - en-GB en-ZA eo es et eu fa fi fr ga gd gl gu gug he hi hr hu id is it ja \ + en-GB en-ZA eo es et eu fa fi fr ga gd gl gu gug he hi hr hu hy id is it ja \ ka kk km kmr-Latn kn ko lt lv mk mn ml mr nb ne nl nn nr nso oc om or \ pa-IN pl pt pt-BR ro ru rw si sk sl sr sr-Latn ss st sv szl \ ta te tg th tn tr ts ug uk uz ve vi xh zh-CN zh-TW zu @@ -1190,7 +1209,7 @@ ifneq "$(BUILD_ONLY_EN_US)" "y" endif #LANGPACKISOS:=$(shell $(SOURCE_TREE)/bin/lo-xlate-lang -i all') LANGPACKISOS:=en-US af am ar as ast be bg bn bn-IN br bs ca ca-valencia cs cy da de dz el \ - en-GB en-ZA eo es et eu fa fi fr ga gd gl gu gug he hi hr hu id is it ja \ + en-GB en-ZA eo es et eu fa fi fr ga gd gl gu gug he hi hr hu hy id is it ja \ ka kk km kmr-Latn kn ko lt lv mk mn ml mr nb ne nl nn nr nso oc om or \ pa-IN pl pt pt-BR ro ru rw si sk sl sr sr-Latn ss st sv szl \ ta te tg th tn tr ts ug uk uz ve vi xh zh-CN zh-TW zu @@ -1225,7 +1244,7 @@ ifeq "$(ENABLE_JAVA)" "y" JAVA_HOME=/usr/lib/jvm/default-java DEFAULT_JDK := $(call java_dependency, default-jdk) # build-depend on 1.9 (upstream needs it anyway for module-info support) - BUILD_DEPS += , $(shell echo $(DEFAULT_JDK) | sed -e 's/default-jdk/default-jdk (>= 2:1.17)/') <!nojava> + BUILD_DEPS += , $(shell echo $(DEFAULT_JDK) | sed -e 's/default-jdk/default-jdk (>= 2:1.17)/' | sed -e 's/\]/$(foreach i,$(JAVA_BRIDGE_BROKEN_ARCHS), !$(i))\]/') <!nojava> endif ifeq "$(JDK)" "openjdk" BUILD_DEPS += , openjdk-$(JAVA_MAINVER)-jdk <!nojava> @@ -1630,14 +1649,18 @@ ifeq "$(ENABLE_JAVA)" "y" endif endif -ifneq (,$(filter lpsolve, $(SYSTEM_STUFF))) - ifeq "$(USE_SHARED_LPSOLVE)" "y" +ifeq ($(ENABLE_LPSOLVE),y) + ifneq (,$(filter lpsolve, $(SYSTEM_STUFF))) + ifeq "$(USE_SHARED_LPSOLVE)" "y" BUILD_DEPS += , liblpsolve55-dev $(LPSOLVE_MIN_VERSION), lp-solve $(LPSOLVE_MIN_VERSION) LPSOLVE_DEP = lp-solve $(LPSOLVE_MIN_VERSION) - else + else BUILD_DEPS += , liblpsolve55-dev $(LPSOLVE_MIN_VERSION) - endif + endif BUILD_DEPS += , libsuitesparse-dev $(SUITESPARSE_MIN_VERSION) + endif +else + CONFIGURE_FLAGS += --disable-lpsolve endif ifeq "$(USE_DBUS)" "y" @@ -2092,7 +2115,8 @@ ifeq "$(ENABLE_QT6)" "y" cat debian/control.qt6.in >> debian/control.new endif ifeq "$(BUILD_PLASMA)" "y" - cat debian/control.plasma.in >> debian/control.new + sed -e "s|@PLASMA_VERSION@|$(PLASMA_VERSION)|g" \ + >> debian/control.new < debian/control.plasma.in endif cat debian/control.postgresql.in >> debian/control.new ifeq "$(ENABLE_EVO2)" "y" @@ -2147,9 +2171,6 @@ ifneq "$(ALLOW_CLANG)" "y" else perl -pi -e "s/(Build-Conflicts: .*)/\1,clang [$(filter-out $(OOO_CLANG_ARCHS),$(OOO_ARCHS))],/" debian/control.new endif -ifeq "$(USE_SYSTEMD)" "n" - perl -pi -e "s/(Build-Conflicts: .*)/\1,systemd-coredump <!nocheck>,/" debian/control.new -endif $(PYTHON) debian/scripts/joinctrl.py < debian/control.new > debian/control.tmp mv debian/control.tmp debian/control.new @@ -2158,6 +2179,12 @@ endif # match myspell-fi and libreoffice-soikko/-voikko perl -pi -e 's/myspell-dictionary-fi/myspell-dictionary-fi | libreoffice-spellcheck-fi/' debian/control.new perl -pi -e 's/hyphen-fi/hyphen-fi | libreoffice-hyphenation-fi/' debian/control.new + # similar for -l10n-tr and zemberek + perl -pi -e 's/myspell-dictionary-tr/myspell-dictionary-tr | libreoffice-spellcheck-tr/' debian/control.new + perl -pi -e 's/hyphen-tr/hyphen-tr | libreoffice-hyphenation-tr/' debian/control.new + # and for -l10n-fr and grammalecte + perl -pi -e 's/myspell-dictionary-fr/myspell-dictionary-fr | libreoffice-spellcheck-fr/' debian/control.new + perl -pi -e 's/hyphen-fr/hyphen-fr | libreoffice-hyphenation-fr/' debian/control.new ifeq "$(USE_DBUS)" "y" ifeq "$(ENABLE_BLUETOOTH)" "y" @@ -2388,6 +2415,7 @@ endif touch $@ check: +ifneq (nocheck,$(findstring nocheck,$(DEB_BUILD_OPTIONS))) ifneq (,$(filter $(DEB_HOST_ARCH),$(OOO_NO_BASE_ARCHS))) patch -p1 < $(CURDIR)/debian/tests/patches/disable-db-tests.diff endif @@ -2529,6 +2557,7 @@ ifneq (nocheck,$(findstring nocheck,$(DEB_BUILD_OPTIONS))) endif endif endif +endif install: $(STAMP_DIR)/install-common $(STAMP_DIR)/install-arch $(STAMP_DIR)/install-indep @@ -2577,14 +2606,24 @@ ifeq "$(ENABLE_QT6)" "y" debian/tmp/pkg/libreoffice-qt6/$(OODIR)/program endif ifeq "$(shell echo $(ENABLE_KF5)$(ENABLE_KF6) | grep -q y && echo true)" "true" - mv debian/tmp/pkg/libreoffice-kde \ - debian/tmp/pkg/libreoffice-kf$(KF_VERSION) ifeq "$(BUILD_PLASMA)" "y" mkdir -p debian/tmp/pkg/libreoffice-plasma/$(OODIR)/program - mv debian/tmp/pkg/libreoffice-kf5/$(OODIR)/program/libkf$(KF_VERSION)be1lo.so \ + mv debian/tmp/pkg/libreoffice-kde/$(OODIR)/program/libkf$(PLASMA_VERSION)be1lo.so \ debian/tmp/pkg/libreoffice-plasma/$(OODIR)/program + # remove other ones maybe built by --enable-kfX + rm -f debian/tmp/pkg/libreoffice-kf5/$(OODIR)/libkf*be1lo.so else - rm -f debian/tmp/pkg/libreoffice-kf5/$(OODIR)/libkf$(KF_VERSION)be1lo.so + rm -f debian/tmp/pkg/libreoffice-kf5/$(OODIR)/libkf*be1lo.so +endif +ifeq "$(ENABLE_KF5)" "y" + mkdir -p debian/tmp/pkg/libreoffice-kf5/$(OODIR)/program + mv debian/tmp/pkg/libreoffice-kde/$(OODIR)/program/libvclplug_kf5lo.so \ + debian/tmp/pkg/libreoffice-kf5/$(OODIR)/program +endif +ifeq "$(ENABLE_KF6)" "y" + mkdir -p debian/tmp/pkg/libreoffice-kf6/$(OODIR)/program + mv debian/tmp/pkg/libreoffice-kde/$(OODIR)/program/libvclplug_kf6lo.so \ + debian/tmp/pkg/libreoffice-kf6/$(OODIR)/program endif endif |