Gentoo Archives: gentoo-commits

From: Mart Raudsepp <leio@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/genius/
Date: Tue, 12 Mar 2019 06:48:09
Message-Id: 1552373199.5162aec5c90b9cbcbade84a5136193a276d0be24.leio@gentoo
1 commit: 5162aec5c90b9cbcbade84a5136193a276d0be24
2 Author: Mart Raudsepp <leio <AT> gentoo <DOT> org>
3 AuthorDate: Tue Mar 12 06:38:20 2019 +0000
4 Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org>
5 CommitDate: Tue Mar 12 06:46:39 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5162aec5
7
8 sci-mathematics/genius: bump to 1.0.23
9
10 Intentionally not bumping to 1.0.24, as that mainly just bundles
11 vte:0, and we don't need it just hiding as a copy, at least not
12 until we still have to have vte:0 packages anyways.
13 Other changes:
14
15 * Remove long unnecessary libgnome*, libglade and popt rdeps
16 * Remove gone rarian and gnome-doc-utils build deps
17 * Depend on minimum versions required by configure.ac
18 * Fix LICENSE to GPL3 _or later_
19 * Depend on virtual/yacc instead of local ORing of providers
20 * gettext shouldn't be optional, and it is required by gtk+ anyway,
21 and it's build time for translations anyway (libintl at runtime)
22 * Remove gtk-update-icon-cache explicit dep - other packages don't
23 add their own dep, but rely on gtk+ pulling it in, as that's what
24 will actually use the cache. Do the same here
25
26 Unfortunately QA warns about unrecognized --disable-scrollkeeper
27 configure passing, but nothing worth doing about here - upstream has
28 commented that stuff out with "#" comments in configure.ac, instead
29 of "dnl" comments, thus it appears in configure and gnome2.eclass
30 greps finds it and passes the argument.
31
32 Closes: https://bugs.gentoo.org/605792
33 Package-Manager: Portage-2.3.52, Repoman-2.3.12
34 Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org>
35
36 sci-mathematics/genius/Manifest | 1 +
37 sci-mathematics/genius/genius-1.0.23.ebuild | 48 +++++++++++++++++++++++++++++
38 2 files changed, 49 insertions(+)
39
40 diff --git a/sci-mathematics/genius/Manifest b/sci-mathematics/genius/Manifest
41 index ac41674e7f7..b530a96a482 100644
42 --- a/sci-mathematics/genius/Manifest
43 +++ b/sci-mathematics/genius/Manifest
44 @@ -1,2 +1,3 @@
45 DIST genius-1.0.21.tar.xz 2539784 BLAKE2B c4b6451c422c5f5a6a41d8af9ee003f69c4d813202eedba8eccabdcb2eb2405df552487e11f4ebd546968a04b2e6da2244452871d58fcef68d68105415f6ef98 SHA512 d4f5e80e1cc6216d7f460f7de86d232566eeb30fec90b93b2e6ccb8d2d0c14aaadf9b969c9a4f940a036e246f085edd02298c769504b620d2eb97ef2a3a852da
46 +DIST genius-1.0.23.tar.xz 2910332 BLAKE2B 8c9822737dfd0b445092c6b96376249093f3cfece4f0b98cb1bf62e9066336875fc014798b301686a9ffcaf5e37c1f324771c5b9e86c1578455874964427cca6 SHA512 8c64235d22734a7653468d39500ebbaa38b0ba7c25e292b4e96ddf825082584bf8c70e7ddc463b685ea01d51d3e08233b4e0cf8816a9a0e3357badb90d8e43c7
47 DIST genius-reference.pdf 1024944 BLAKE2B e0058fbd266a4ed4bf29306520ac64b7ff9a970fa79b5132f5556b61a97dd985fe916c888d0d5a678528ef231a9c66310dc2affe01491c7848451b3d54f58274 SHA512 04af3870104d2320b1d4b345d74d713a0dfcdf8a228002506508f437659b3ef6037ead0b1f6b37cc335692150750b58c4007fdaaddd9540233474ccd10dac285
48
49 diff --git a/sci-mathematics/genius/genius-1.0.23.ebuild b/sci-mathematics/genius/genius-1.0.23.ebuild
50 new file mode 100644
51 index 00000000000..ee3c65d9455
52 --- /dev/null
53 +++ b/sci-mathematics/genius/genius-1.0.23.ebuild
54 @@ -0,0 +1,48 @@
55 +# Copyright 1999-2019 Gentoo Authors
56 +# Distributed under the terms of the GNU General Public License v2
57 +
58 +EAPI=6
59 +GNOME2_LA_PUNT="yes"
60 +
61 +inherit gnome2
62 +
63 +DESCRIPTION="Genius Mathematics Tool and the GEL Language"
64 +HOMEPAGE="https://www.jirka.org/genius.html"
65 +SRC_URI="${SRC_URI}
66 + doc? ( https://www.jirka.org/${PN}-reference.pdf )"
67 +
68 +LICENSE="GPL-3+"
69 +SLOT="0"
70 +KEYWORDS="~amd64 ~x86"
71 +IUSE="doc gnome"
72 +
73 +RDEPEND="
74 + >=dev-libs/glib-2.16:2
75 + dev-libs/gmp:0=
76 + dev-libs/mpfr:0=
77 + sys-libs/ncurses:0=
78 + sys-libs/readline:0=
79 + gnome? (
80 + >=x11-libs/gtk+-2.18:2
81 + x11-libs/gtksourceview:2.0
82 + >=x11-libs/vte-0.26.0:0 )
83 +"
84 +DEPEND="${RDEPEND}
85 + dev-util/intltool
86 + virtual/yacc
87 + sys-devel/flex
88 +" # eautoreconf needs autoconf-archive
89 +
90 +src_configure() {
91 + # Unrecognized --disable-scrollkeeper warning comes from gnome2.eclass adding it based on grep, but upstream has them commented out in .ac with "#" instead of "dnl"
92 + gnome2_src_configure \
93 + $(use_enable gnome) \
94 + --enable-nls \
95 + --disable-extra-gcc-optimization \
96 + --disable-static
97 +}
98 +
99 +src_install() {
100 + use doc && DOCS+=" ${DISTDIR}/${PN}-reference.pdf"
101 + gnome2_src_install
102 +}