Gentoo Archives: gentoo-commits

From: Matt Turner <mattst88@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-office/gnumeric/
Date: Thu, 22 Sep 2022 02:56:27
Message-Id: 1663815362.68e7792528767ad3cf99374135970d847e8b2d6b.mattst88@gentoo
1 commit: 68e7792528767ad3cf99374135970d847e8b2d6b
2 Author: Pascal Jäger <pascal.jaeger <AT> leimstift <DOT> de>
3 AuthorDate: Wed Sep 21 13:25:36 2022 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Thu Sep 22 02:56:02 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68e77925
7
8 app-office/gnumeric: bump to 1.12.53
9
10 Signed-off-by: Pascal Jäger <pascal.jaeger <AT> leimstift.de>
11 Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
12
13 app-office/gnumeric/Manifest | 1 +
14 app-office/gnumeric/gnumeric-1.12.53.ebuild | 94 +++++++++++++++++++++++++++++
15 2 files changed, 95 insertions(+)
16
17 diff --git a/app-office/gnumeric/Manifest b/app-office/gnumeric/Manifest
18 index 470816fe06d8..7d3875bf9608 100644
19 --- a/app-office/gnumeric/Manifest
20 +++ b/app-office/gnumeric/Manifest
21 @@ -1 +1,2 @@
22 DIST gnumeric-1.12.52.tar.xz 18115444 BLAKE2B 6d8489c27b6f7bd0ffad7d255b606a48ca9660dd38973e4bb529d38797a3029db4a0a399e40f69c84ddf33b96d27cfc184fd079fbe16590b92e056c1a836b037 SHA512 3baa2d2c4ed5f740429454f988ea527991febf38f49df17f0d88affe501c676bae95149fb0cdb4b369ef8d32247c1f4fe4c0eeab9a60329e1332aaf9c566f868
23 +DIST gnumeric-1.12.53.tar.xz 18125272 BLAKE2B 6c25107977492391152c403d2ad6fef79161bc9045660090e12cdd281e5832b4f9e414a0ef5e67f93c10ca789097b510fafed712dcea5b6210f67428a2dc7dd7 SHA512 6e9d7b12f9448c75d39985984fac9880c61583fbac10ad9070f5ec7a5bd573874d79e13372d9a185616a5cdb5f53d3f67aeda6ca4bae33e3f5ca0a2160045d7b
24
25 diff --git a/app-office/gnumeric/gnumeric-1.12.53.ebuild b/app-office/gnumeric/gnumeric-1.12.53.ebuild
26 new file mode 100644
27 index 000000000000..2f621517609c
28 --- /dev/null
29 +++ b/app-office/gnumeric/gnumeric-1.12.53.ebuild
30 @@ -0,0 +1,94 @@
31 +# Copyright 1999-2022 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=8
35 +PYTHON_COMPAT=( python3_{8..11} )
36 +
37 +inherit autotools gnome.org python-r1 xdg
38 +
39 +DESCRIPTION="The GNOME Spreadsheet"
40 +HOMEPAGE="http://www.gnumeric.org/"
41 +
42 +LICENSE="GPL-2"
43 +SLOT="0"
44 +KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
45 +IUSE="+introspection libgda perl"
46 +REQUIRED_USE="introspection? ( ${PYTHON_REQUIRED_USE} )"
47 +
48 +# Missing gnome-extra/libgnomedb required version in tree
49 +# but its upstream is dead and will be dropped soon.
50 +
51 +# lots of missing files, also fails tests due to 80-bit long story
52 +# upstream bug #721556
53 +RESTRICT="test"
54 +
55 +# Gnumeric has two python components
56 +# 1. The python loader for loading python-based plugins.
57 +# This component is pure python 2 and a port "is not currently being worked on".
58 +# 2. The python gobject-based introspection API. This component is compatible
59 +# with python 3.
60 +# Component 1. can only be re-enabled once someone has ported the upstream
61 +# codebase to python 3.
62 +# https://gitlab.gnome.org/GNOME/gnumeric/issues/419#note_618852
63 +RDEPEND="
64 + app-arch/bzip2
65 + sys-libs/zlib
66 + >=dev-libs/glib-2.40.0:2
67 + >=gnome-extra/libgsf-1.14.33:=
68 + >=x11-libs/goffice-0.10.51:0.10[introspection?]
69 + >=dev-libs/libxml2-2.4.12:2
70 + >=x11-libs/pango-1.24.0:=
71 +
72 + >=x11-libs/gtk+-3.8.7:3
73 + x11-libs/cairo:=[svg]
74 +
75 + introspection? (
76 + ${PYTHON_DEPS}
77 + >=dev-libs/gobject-introspection-1:=
78 + )
79 + perl? ( dev-lang/perl:= )
80 + libgda? ( gnome-extra/libgda:5[gtk] )"
81 +DEPEND="${RDEPEND}"
82 +BDEPEND="
83 + app-text/docbook-xml-dtd:4.5
84 + app-text/yelp-tools
85 + dev-util/gtk-doc-am
86 + >=dev-util/intltool-0.35.0
87 + virtual/pkgconfig"
88 +
89 +src_prepare() {
90 + default
91 +
92 + # Manage gi overrides ourselves
93 + sed '/SUBDIRS/ s/introspection//' -i Makefile.{am,in} || die
94 +
95 + # Changed from 'elibtoolize' for bug # 791610
96 + eautoreconf
97 +}
98 +
99 +src_configure() {
100 + econf \
101 + --disable-gtk-doc \
102 + --disable-maintainer-mode \
103 + --disable-schemas-compile \
104 + --disable-static \
105 + --without-psiconv \
106 + --without-python \
107 + --with-zlib \
108 + $(use_with libgda gda) \
109 + $(use_enable introspection) \
110 + $(use_with perl)
111 +}
112 +
113 +src_install() {
114 + default
115 + dodoc HACKING MAINTAINERS
116 +
117 + if use introspection; then
118 + python_moduleinto gi.overrides
119 + python_foreach_impl python_domodule introspection/gi/overrides/Gnm.py
120 + fi
121 +
122 + # no static archives
123 + find "${ED}" -name '*.la' -delete || die
124 +}