summaryrefslogtreecommitdiff
path: root/app-office/gnumeric
diff options
context:
space:
mode:
Diffstat (limited to 'app-office/gnumeric')
-rw-r--r--app-office/gnumeric/Manifest4
-rw-r--r--app-office/gnumeric/gnumeric-1.12.57.ebuild4
-rw-r--r--app-office/gnumeric/gnumeric-1.12.59.ebuild93
3 files changed, 98 insertions, 3 deletions
diff --git a/app-office/gnumeric/Manifest b/app-office/gnumeric/Manifest
index 5aa1515c2c18..ce175bfdf7cc 100644
--- a/app-office/gnumeric/Manifest
+++ b/app-office/gnumeric/Manifest
@@ -1,3 +1,5 @@
DIST gnumeric-1.12.57.tar.xz 18149400 BLAKE2B d268cd2ac260e13be51bca53f4456b9db4d67376c34d15dd6483c1c697f6418120fc31630894fe037979a46277d557fd7b66f226d92d8ab414d87c9c5e27b53f SHA512 67886aff17338c41997cb71d2ee8fcac0f3b9dfc4ef1897b50866844e002ba7867f263daa3aadcaa10ba29746795fad0a4f852bdc22cdd4bc41293c952b69e9d
-EBUILD gnumeric-1.12.57.ebuild 2323 BLAKE2B a24da116c253873ea3e12eb98bb4ddf1f61d8d4ddf5b6c3a0c000151d8e4cd44a9b2f0313280454983dd7c1d99bfe9cd478e947b5f65dfcd0e87a0bebfcd5acb SHA512 6cafd1acf267c931a31d593397db970945f8571a3210c5e8ab57d1e305e38dccee6a233c2d4445257e67496e396b7768c7acd8b76749d892f413b86e4dbf6522
+DIST gnumeric-1.12.59.tar.xz 17773992 BLAKE2B be227ae70e4861ab1a7a1864ebcb57eed7f99052756f56cf29825a98682933f9ec7bbecd68e933043665065865466881ca1431b5e8b3b6a216461cc5e6495388 SHA512 51b4fc23166d75788bcb86260c5e17fa4bb48f8920a0f9bc001609417be75f707650f057c58d480e9ded1dc8460407629329c19154c65d273a6edc7682d3428f
+EBUILD gnumeric-1.12.57.ebuild 2323 BLAKE2B 9513a498449667c2e7a6f7784a676393b375e98ae641a3b7ac8247c7fe502145eacf12efa73cf74ace4120a366f4c5e703abdc95297d56d103f2b20aa01cdfe9 SHA512 a0ae2d96e2b6ebd85385e92c5d0d1d64d8df52768be23efe4d9824a214a899d96047774a8aa94ee6f7b730979140e091379f7c136da4ad01f43c1754882ded4d
+EBUILD gnumeric-1.12.59.ebuild 2324 BLAKE2B ac0a1f97627f9d4252a1cb4503857386037837e4622273da9829bfbd91862e454d0cb081f2df169957f26b6e6857ba519627ddcb7315c61dd692131271a7cd08 SHA512 7bf3f8618ec7c9d069e4587de410643ca3373a2c1be9ac7011d0ee904ae1bed05b9a1047fb51fa70f15617f6eb1326f633d8b62dc89f3fa547619c5a9f90b4f9
MISC metadata.xml 627 BLAKE2B 6704cf7889bf073ee97e1af9145395462f326aa44ad6fa04f4cc4908bbde8a486518c0f11e3a9ab887835c0af862868b8a86ca29191ac1bdf179aa060c621020 SHA512 451313a3c0d62af5f647bcdce0ac76bf1948189bb70c555f6aa871245bf3ce62b0ad306c8835a7c42b24333c3e9ce449a209d3d6967e487ec061792969092107
diff --git a/app-office/gnumeric/gnumeric-1.12.57.ebuild b/app-office/gnumeric/gnumeric-1.12.57.ebuild
index 30a6af66d5b1..11b930b58595 100644
--- a/app-office/gnumeric/gnumeric-1.12.57.ebuild
+++ b/app-office/gnumeric/gnumeric-1.12.57.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-PYTHON_COMPAT=( python3_{10..12} )
+PYTHON_COMPAT=( python3_{10..13} )
inherit gnome.org libtool python-r1 xdg
diff --git a/app-office/gnumeric/gnumeric-1.12.59.ebuild b/app-office/gnumeric/gnumeric-1.12.59.ebuild
new file mode 100644
index 000000000000..e7e4a942b8df
--- /dev/null
+++ b/app-office/gnumeric/gnumeric-1.12.59.ebuild
@@ -0,0 +1,93 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+PYTHON_COMPAT=( python3_{10..13} )
+
+inherit gnome.org libtool python-r1 xdg
+
+DESCRIPTION="The GNOME Spreadsheet"
+HOMEPAGE="http://www.gnumeric.org/"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
+IUSE="+introspection libgda perl"
+REQUIRED_USE="introspection? ( ${PYTHON_REQUIRED_USE} )"
+
+# Missing gnome-extra/libgnomedb required version in tree
+# but its upstream is dead and will be dropped soon.
+
+# lots of missing files, also fails tests due to 80-bit long story
+# upstream bug #721556
+RESTRICT="test"
+
+# Gnumeric has two python components
+# 1. The python loader for loading python-based plugins.
+# This component is pure python 2 and a port "is not currently being worked on".
+# 2. The python gobject-based introspection API. This component is compatible
+# with python 3.
+# Component 1. can only be re-enabled once someone has ported the upstream
+# codebase to python 3.
+# https://gitlab.gnome.org/GNOME/gnumeric/issues/419#note_618852
+RDEPEND="
+ app-arch/bzip2
+ sys-libs/zlib
+ >=dev-libs/glib-2.40.0:2
+ >=gnome-extra/libgsf-1.14.33:=
+ >=x11-libs/goffice-0.10.57:0.10[introspection?]
+ >=dev-libs/libxml2-2.4.12:2
+ >=x11-libs/pango-1.46.0:=
+
+ >=x11-libs/gtk+-3.8.7:3
+ x11-libs/cairo:=[svg(+)]
+
+ introspection? (
+ ${PYTHON_DEPS}
+ >=dev-libs/gobject-introspection-1:=
+ )
+ perl? ( dev-lang/perl:= )
+ libgda? ( gnome-extra/libgda:5[gtk] )"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ app-text/docbook-xml-dtd:4.5
+ app-text/yelp-tools
+ dev-build/gtk-doc-am
+ >=dev-util/intltool-0.35.0
+ virtual/pkgconfig"
+
+src_prepare() {
+ default
+
+ # Manage gi overrides ourselves
+ sed '/SUBDIRS/ s/introspection//' -i Makefile.{am,in} || die
+
+ elibtoolize
+}
+
+src_configure() {
+ econf \
+ --disable-gtk-doc \
+ --disable-maintainer-mode \
+ --disable-schemas-compile \
+ --disable-static \
+ --without-psiconv \
+ --without-python \
+ --with-zlib \
+ $(use_with libgda gda) \
+ $(use_enable introspection) \
+ $(use_with perl)
+}
+
+src_install() {
+ default
+ dodoc HACKING MAINTAINERS
+
+ if use introspection; then
+ python_moduleinto gi.overrides
+ python_foreach_impl python_domodule introspection/gi/overrides/Gnm.py
+ fi
+
+ # no static archives
+ find "${ED}" -name '*.la' -delete || die
+}