From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 1D07915838C for ; Sun, 28 Jan 2024 16:28:45 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9C6EBE29C9; Sun, 28 Jan 2024 16:28:43 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 767BFE29BB for ; Sun, 28 Jan 2024 16:28:43 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 82E8034345D for ; Sun, 28 Jan 2024 16:28:42 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1E93414B6 for ; Sun, 28 Jan 2024 16:28:41 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1706459294.39f7beea6f0956479fb82b3d774ca0777cd0aae7.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-office/libreoffice/, app-office/libreoffice/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-office/libreoffice/files/libreoffice-24.2-kf6-buildfix.patch app-office/libreoffice/libreoffice-24.2.0.3.ebuild X-VCS-Directories: app-office/libreoffice/ app-office/libreoffice/files/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 39f7beea6f0956479fb82b3d774ca0777cd0aae7 X-VCS-Branch: master Date: Sun, 28 Jan 2024 16:28:41 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 57c62714-6c54-4dc7-b20b-8f2c29fa44e6 X-Archives-Hash: 6db6ca053f5050445a1f60e5330a07b6 commit: 39f7beea6f0956479fb82b3d774ca0777cd0aae7 Author: Andreas Sturmlechner gentoo org> AuthorDate: Sun Jan 28 10:22:57 2024 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Sun Jan 28 16:28:14 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=39f7beea app-office/libreoffice: Fix build with KF6 Signed-off-by: Andreas Sturmlechner gentoo.org> .../libreoffice/files/libreoffice-24.2-kf6-buildfix.patch | 13 +++++++++++++ app-office/libreoffice/libreoffice-24.2.0.3.ebuild | 7 +++++++ 2 files changed, 20 insertions(+) diff --git a/app-office/libreoffice/files/libreoffice-24.2-kf6-buildfix.patch b/app-office/libreoffice/files/libreoffice-24.2-kf6-buildfix.patch new file mode 100644 index 000000000000..7fefb4a51f7b --- /dev/null +++ b/app-office/libreoffice/files/libreoffice-24.2-kf6-buildfix.patch @@ -0,0 +1,13 @@ +Source: https://raw.githubusercontent.com/OpenMandrivaAssociation/libreoffice/master/libreoffice-24.2-kf6-buildfix.patch + +--- a/configure.ac ++++ b/configure.ac +@@ -13465,7 +13465,7 @@ then + AC_MSG_ERROR([KF6 libraries not found. Please specify the root of your KF6 installation by exporting KF6DIR before running "configure".]) + fi + +- KF6_CFLAGS="-I$kf6_incdir -I$kf6_incdir/KCoreAddons -I$kf6_incdir/KI18n -I$kf6_incdir/KConfigCore -I$kf6_incdir/KWindowSystem -I$kf6_incdir/KIO -I$kf6_incdir/KIOCore -I$kf6_incdir/KIOWidgets -I$kf6_incdir/KIOFileWidgets -I$qt6_incdir -I$qt6_incdir/QtCore -I$qt6_incdir/QtGui -I$qt6_incdir/QtWidgets -I$qt6_incdir/QtNetwork -DQT_CLEAN_NAMESPACE -DQT_THREAD_SUPPORT -DQT_NO_VERSION_TAGGING" ++ KF6_CFLAGS="-I$kf6_incdir -I$kf6_incdir/KCoreAddons -I$kf6_incdir/KI18n -I$kf6_incdir/KConfig -I$kf6_incdir/KConfigCore -I$kf6_incdir/KWindowSystem -I$kf6_incdir/KIO -I$kf6_incdir/KIOCore -I$kf6_incdir/KIOWidgets -I$kf6_incdir/KIOFileWidgets -I$qt6_incdir -I$qt6_incdir/QtCore -I$qt6_incdir/QtGui -I$qt6_incdir/QtWidgets -I$qt6_incdir/QtNetwork -DQT_CLEAN_NAMESPACE -DQT_THREAD_SUPPORT -DQT_NO_VERSION_TAGGING" + KF6_LIBS="-L$kf6_libdir -lKF6CoreAddons -lKF6I18n -lKF6ConfigCore -lKF6WindowSystem -lKF6KIOCore -lKF6KIOWidgets -lKF6KIOFileWidgets -L$qt6_libdir -lQt6Core -lQt6Gui -lQt6Widgets -lQt6Network" + KF6_CFLAGS=$(printf '%s' "$KF6_CFLAGS" | sed -e "s/-I/${ISYSTEM?}/g") + diff --git a/app-office/libreoffice/libreoffice-24.2.0.3.ebuild b/app-office/libreoffice/libreoffice-24.2.0.3.ebuild index 27202c7f0efc..4c68aafe99c5 100644 --- a/app-office/libreoffice/libreoffice-24.2.0.3.ebuild +++ b/app-office/libreoffice/libreoffice-24.2.0.3.ebuild @@ -312,6 +312,13 @@ PATCHES=( "${FILESDIR}/${PN}-5.3.4.2-kioclient5.patch" "${FILESDIR}/${PN}-6.1-nomancompress.patch" "${FILESDIR}/${PN}-24.2-qtdetect.patch" + + # not yet upstream, sourced from Mandriva + "${FILESDIR}/${PN}-24.2-kf6-buildfix.patch" + + # maybe upstreamable + "${FILESDIR}/${PN}-7.5.8.2-icu-74-compatibility.patch" + ) S="${WORKDIR}/${PN}-${MY_PV}"