From 2ac74a81734998fc49cac69abfef9c7a4c3e7b69 Mon Sep 17 00:00:00 2001 From: Guillermo Joandet Date: Sat, 4 Feb 2023 12:39:21 -0300 Subject: app-office/gnumeric/gnumeric: Version bump to 1.12.55 Closes: https://bugs.gentoo.org/734256 Signed-off-by: Guillermo Joandet Closes: https://github.com/gentoo/gentoo/pull/29422 Signed-off-by: Matt Turner --- app-office/gnumeric/Manifest | 1 + app-office/gnumeric/gnumeric-1.12.55.ebuild | 93 +++++++++++++++++++++++++++++ 2 files changed, 94 insertions(+) create mode 100644 app-office/gnumeric/gnumeric-1.12.55.ebuild (limited to 'app-office') diff --git a/app-office/gnumeric/Manifest b/app-office/gnumeric/Manifest index 1264f8aa27e4..1db59ec9f071 100644 --- a/app-office/gnumeric/Manifest +++ b/app-office/gnumeric/Manifest @@ -1,2 +1,3 @@ DIST gnumeric-1.12.53.tar.xz 18125272 BLAKE2B 6c25107977492391152c403d2ad6fef79161bc9045660090e12cdd281e5832b4f9e414a0ef5e67f93c10ca789097b510fafed712dcea5b6210f67428a2dc7dd7 SHA512 6e9d7b12f9448c75d39985984fac9880c61583fbac10ad9070f5ec7a5bd573874d79e13372d9a185616a5cdb5f53d3f67aeda6ca4bae33e3f5ca0a2160045d7b DIST gnumeric-1.12.54.tar.xz 18127208 BLAKE2B e9ca517d9d305ec0bbd9d1755b2f510b88e4b9311684f83b20edf804eb885ca7951411a44ff15d7b2ff33b9b938a304532f81839c0da75413c08822b51ad2a9c SHA512 6d390373fcd85ee7090a3eaf6a3fc84b7cb3545c5b64ada59fc3c3bfe04b387a08597bdf85e53bd59e11bfd7d40e8f239eff3fd5e5ec775649836507975e7567 +DIST gnumeric-1.12.55.tar.xz 18157492 BLAKE2B 6c084f681e33f00af80cc11dbddf33166877ca30480ae6fc6b65a0ef06271c634e2ba24af55df4c6b306833e2611e959dcbd8b117c97bbf46598419ed4d124e4 SHA512 04127a353d5109e3a31d9a3bd42d6d177366cc6c5d900516b4c8a7a8fcaecc71bd4e2e94876719246841070964b393af97988cafbd6313cea135c1757889e878 diff --git a/app-office/gnumeric/gnumeric-1.12.55.ebuild b/app-office/gnumeric/gnumeric-1.12.55.ebuild new file mode 100644 index 000000000000..a5c1dbefdfbc --- /dev/null +++ b/app-office/gnumeric/gnumeric-1.12.55.ebuild @@ -0,0 +1,93 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +PYTHON_COMPAT=( python3_{9..11} ) + +inherit autotools gnome.org python-r1 xdg + +DESCRIPTION="The GNOME Spreadsheet" +HOMEPAGE="http://www.gnumeric.org/" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~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.55:0.10[introspection?] + >=dev-libs/libxml2-2.4.12:2 + >=x11-libs/pango-1.24.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-util/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 +} -- cgit v1.2.3-65-gdbad