From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 99E8F1582EF for ; Thu, 13 Feb 2025 10:10:58 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 84336343025 for ; Thu, 13 Feb 2025 10:10:58 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 7B1EF11042D; Thu, 13 Feb 2025 10:10:57 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 6CDC611042D for ; Thu, 13 Feb 2025 10:10:57 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1D190343025 for ; Thu, 13 Feb 2025 10:10:57 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7A224279A for ; Thu, 13 Feb 2025 10:10:55 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1739441195.d7a55c23f69bea9e6ba334139805bbd1f5b07c54.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-office/libreoffice-bin/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-office/libreoffice-bin/Manifest app-office/libreoffice-bin/libreoffice-bin-24.8.4.ebuild X-VCS-Directories: app-office/libreoffice-bin/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: d7a55c23f69bea9e6ba334139805bbd1f5b07c54 X-VCS-Branch: master Date: Thu, 13 Feb 2025 10:10:55 +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: 9545faec-1c83-459f-a8a0-78d09a7ca4d8 X-Archives-Hash: c3272371c8063ea0c8c1488498190637 commit: d7a55c23f69bea9e6ba334139805bbd1f5b07c54 Author: Sam James gentoo org> AuthorDate: Thu Feb 13 10:06:35 2025 +0000 Commit: Sam James gentoo org> CommitDate: Thu Feb 13 10:06:35 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d7a55c23 app-office/libreoffice-bin: add 24.8.4 ... as material hopefully more suitable to stable, though we could add 24.2.7.2 or 24.2.7.2-alike too, I suppose. Not that this will get much testing as it's shadowed in ~arch. Bug: https://bugs.gentoo.org/949193 Signed-off-by: Sam James gentoo.org> app-office/libreoffice-bin/Manifest | 1 + .../libreoffice-bin/libreoffice-bin-24.8.4.ebuild | 128 +++++++++++++++++++++ 2 files changed, 129 insertions(+) diff --git a/app-office/libreoffice-bin/Manifest b/app-office/libreoffice-bin/Manifest index e00d66d663a7..17aa8b704ea6 100644 --- a/app-office/libreoffice-bin/Manifest +++ b/app-office/libreoffice-bin/Manifest @@ -1,3 +1,4 @@ +DIST LibreOffice_24.8.4_Linux_x86-64_deb.tar.gz 209561263 BLAKE2B 7862e55d367c1ae4f10f638d6e36fcd21358e8b0079d1281d0cf4d44878c9148762b4aaec5cbf98195a7448aefc98d91489991cffcff70f11cd321dddf142fe0 SHA512 30c3f79495c8f63ef8287feb3a2e0e471673b6e6f06136cc3346d41bae2b53270f035dbde0ae5a2d111d224c52d9b4c0ba4fac682b205f31c4a9619ad6a8b944 DIST LibreOffice_25.2.0_Linux_x86-64_deb.tar.gz 207070838 BLAKE2B 066ea5f4144bd82c5af32ace7663ecba2821832a168a107d585e1107a08f8c09699e3a18dbcce3e9f2834cde586b13ef7351b54c232f59e2f623c3488750e52c SHA512 ab5f6b977abb7517500f64d9a534ac6afe2e66b1fcb12fdbbf2e2c8eb854225d5cb2520e4214ef6665ab1d0475d439dfa04b175f4c032740ebb5d894ae4ac5a6 DIST amd64-bin-libreoffice-24.2.7.2.tar.xz 155436428 BLAKE2B adfa8c683d00ecf028f5e9aa2d128cbb0e2010cbdc2a99b4c4a05317955869177d6411335529997ac66ea55db3ec19a8b7bf1b2d09d6f2720d92f26514a1fa4a SHA512 ae912280a7529aa4df95e95340b4c9a6ce655d0e24d0eac76dbfdf0d81acadff621555ee76aa8fd83f577d9ce1b81cf8486c4f48468d401166db9939fb611d89 DIST amd64-bin-libreoffice-gnome-24.2.7.2.xd3 2398948 BLAKE2B 104421683a356c40a79253b91d777f217ec9608c5e0fa69f6ef4d6f418298863a87ee2785b2dbf6a8207f6b3f024c71c6e798e396b2d2993af2fecf7dc87ef2c SHA512 aa13197c75c859256472f786fb938d7c3da68989e53da10d9b7d9ee211b894c9d5ce768038b266feb8e5f50da490252e1addfbcc1e4f8b7f8be87a2b33992d7d diff --git a/app-office/libreoffice-bin/libreoffice-bin-24.8.4.ebuild b/app-office/libreoffice-bin/libreoffice-bin-24.8.4.ebuild new file mode 100644 index 000000000000..16acdeb49787 --- /dev/null +++ b/app-office/libreoffice-bin/libreoffice-bin-24.8.4.ebuild @@ -0,0 +1,128 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit java-pkg-opt-2 prefix unpacker xdg + +DESCRIPTION="A full office productivity suite. Binary package" +HOMEPAGE="https://www.libreoffice.org" +SRC_URI_AMD64=" + https://download.documentfoundation.org/libreoffice/stable/${PV}/deb/x86_64/LibreOffice_${PV}_Linux_x86-64_deb.tar.gz +" +SRC_URI=" + amd64? ( ${SRC_URI_AMD64} ) +" +S="${WORKDIR}" + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="-* ~amd64" +IUSE="java gnome python" + +RDEPEND=" + acct-group/libreoffice + acct-user/libreoffice + app-accessibility/at-spi2-core:2 + app-arch/unzip + app-arch/zip + app-crypt/mit-krb5 + dev-libs/glib:2 + dev-libs/gobject-introspection + dev-libs/libxml2 + dev-libs/libxslt + dev-libs/nspr + dev-libs/nss + gnome-base/dconf + media-fonts/liberation-fonts + media-libs/fontconfig + media-libs/freetype + media-libs/gst-plugins-base:1.0 + media-libs/gstreamer:1.0 + media-libs/mesa[egl(+)] + net-dns/avahi + net-print/cups + sys-apps/dbus + sys-devel/gcc:* + sys-libs/glibc + sys-libs/zlib + virtual/libcrypt + virtual/opengl + x11-libs/cairo[X] + x11-libs/gdk-pixbuf:2 + x11-libs/gtk+:3[X] + x11-libs/libICE + x11-libs/libSM + x11-libs/libX11 + x11-libs/libXext + x11-libs/libXinerama + x11-libs/libXrandr + x11-libs/libXrender + x11-libs/pango + gnome? ( + dev-libs/glib:2 + >=gnome-base/dconf-0.40.0 + gnome-extra/evolution-data-server + ) + || ( x11-misc/xdg-utils kde-plasma/kde-cli-tools ) + java? ( virtual/jre:11 ) +" + +# TODO: l10n +PDEPEND="" +RESTRICT="test strip" + +QA_PREBUILT="opt/* usr/*" + +src_unpack() { + default + + BINPKG_BASE=$(find "${WORKDIR}" -mindepth 1 -maxdepth 1 -name 'LibreOffice_*' -type d -print || die) + BINPKG_BASE="${BINPKG_BASE##${WORKDIR}}" + [[ -z ${BINPKG_BASE} ]] && die "Failed to detect binary package directory!" + + # We don't package Firebird anymore + rm "${WORKDIR}"/${BINPKG_BASE}/DEBS/libobasis${PV%*.*}-firebird*_amd64.deb || die + + if ! use java ; then + rm "${WORKDIR}"/${BINPKG_BASE}/DEBS/libobasis${PV%*.*}-gnome-integration*_amd64.deb || die + fi + + # Requires KF5 as of 25.2.0, so we choose not to use it. + rm "${WORKDIR}"/${BINPKG_BASE}/DEBS/libobasis${PV%*.*}-kde-integration*_amd64.deb || die + + # Bundled Python is used (3.10 as of 25.2.0), so no need for system dependency. + if ! use python ; then + rm "${WORKDIR}"/${BINPKG_BASE}/DEBS/libobasis${PV%*.*}-python-script-provider*_amd64.deb || die + fi + + # The downloaded .deb has a DEBS/ directory with e.g. libreoffice25.2_25.2.0.3-3_amd64.deb + # and many other .debs for each component. + readarray -t -d '' debs < <(find "${WORKDIR}" -name '*.deb' -type f -print0 || die) + + local deb + for deb in "${debs[@]}" ; do + unpack_deb "${deb}" + done +} + +src_prepare() { + default + + cat <<-EOF > "${T}"/50-${PN} || die + SEARCH_DIRS_MASK="@GENTOO_PORTAGE_EPREFIX@/opt/libreoffice${PV%*.*}" + EOF + eprefixify "${T}"/50-${PN} +} + +src_install() { + dodir /usr /opt + mv "${S}"/usr/local/* "${S}"/usr || die + cp -aR "${S}"/opt/* "${ED}"/opt/ || die + cp -aR "${S}"/usr/* "${ED}"/usr/ || die + rmdir "${ED}"/usr/local || die + + # prevent revdep-rebuild from attempting to rebuild all the time + insinto /etc/revdep-rebuild + doins "${T}/50-${PN}" +}