x11-libs/goffice: add 0.10.59

Bug: https://bugs.gentoo.org/955369
Signed-off-by: David Seifert <soap@gentoo.org>
This commit is contained in:
David Seifert 2025-05-04 20:47:16 +02:00
parent 0f16bffb5b
commit 161220288a
No known key found for this signature in database
GPG Key ID: CE36E117202E3842
3 changed files with 79 additions and 0 deletions

View File

@ -1 +1,2 @@
DIST goffice-0.10.57.tar.xz 2518848 BLAKE2B d513722cf882d3fb320b2b60830027bf9d393c4032ac6d88305ba08af0effa070f74301911d8b28392a2490a0c0b5cf394d5d0cf73f1ccb79a81dc47789aa99a SHA512 be5a9f269dc8d1177df5a98b2294cf2344548eb7512c8937682eaabb09f6dce700b66990552e3ba6e1c8bc58f3d748136c63f5011da048ec1d415ef547f76dfc
DIST goffice-0.10.59.tar.xz 2493344 BLAKE2B 7019ba3fabc4f5a50bdd3f19f0ba9bcde100c06b20fd95ba8acafff5d21f03b28e743d653ce7d2b38afcae0571b9686389a9225abe2e6ff17e1990c44871c07a SHA512 a702e95687b8f7671f175431acb0925e22cf661b2c8d662b1cf9f45243efa75d6e28414613d833cfc1651fc926d0a0d2094e3c82361c03b38efd1ab9aa9471e7

View File

@ -0,0 +1,14 @@
https://bugs.gentoo.org/955369
https://gitlab.gnome.org/GNOME/goffice/-/merge_requests/17
--- a/configure
+++ b/configure
@@ -19495,7 +19495,7 @@
have_mandatory_funcs=yes
need_sunmath=0
ss_ccprog=`echo $CC | sed -e 's/ .*//'`
- ss_cc=`which $ss_ccprog`
+ ss_cc=`command -v $ss_ccprog`
ss_dir=`dirname "$ss_cc"`"/.."
if test ! -f "$ss_dir/lib/libsunmath.so"; then
ss_dir="/opt/SUNWspro"

View File

@ -0,0 +1,64 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit gnome.org libtool
DESCRIPTION="A library of document-centric objects and utilities"
HOMEPAGE="https://gitlab.gnome.org/GNOME/goffice/"
LICENSE="GPL-2"
SLOT="0.10"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-solaris"
IUSE="+introspection"
# FIXME: add lasem to tree
RDEPEND="
>=app-text/libspectre-0.2.6:=
>=dev-libs/glib-2.40.0:2
>=dev-libs/libxml2-2.4.12:2
dev-libs/libxslt
>=gnome-base/librsvg-2.22:2
>=gnome-extra/libgsf-1.14.24:=[introspection?]
>=x11-libs/cairo-1.10:=[svg(+)]
>=x11-libs/gdk-pixbuf-2.22:2
>=x11-libs/gtk+-3.20:3
>=x11-libs/pango-1.24:=
x11-libs/libXext:=
x11-libs/libXrender:=
introspection? (
>=dev-libs/gobject-introspection-1:=
>=gnome-extra/libgsf-1.14.23:=
)"
DEPEND="${RDEPEND}"
BDEPEND="
dev-lang/perl
dev-util/glib-utils
>=dev-build/gtk-doc-am-1.12
>=dev-util/intltool-0.35
virtual/pkgconfig"
PATCHES=( "${FILESDIR}"/${PN}-0.10.59-remove-which.patch )
src_prepare() {
default
elibtoolize
}
src_configure() {
econf \
--disable-gtk-doc \
--disable-maintainer-mode \
--without-lasem \
--with-gtk \
--with-config-backend=gsettings \
$(use_enable introspection)
}
src_install() {
default
dodoc MAINTAINERS
find "${ED}" -name '*.la' -delete || die
}