Diff giac-1.9.0.29-r1 with a giac-1.9.0.55-r1

/usr/portage/sci-mathematics/giac/giac-1.9.0.55-r1.ebuild 2023-10-09 14:52:35.112368492 +0300
1
# Copyright 1999-2022 Gentoo Authors
1
# Copyright 1999-2023 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4 4
EAPI=8
......
13 13
LICENSE="GPL-2"
14 14

  
15 15
SLOT="0"
16
KEYWORDS="amd64 ~x86"
16
KEYWORDS="~amd64 ~x86"
17 17
LANGS="el en es pt"
18 18
IUSE="ao doc +ecm examples gc +glpk gui test"
19 19
for X in ${LANGS} ; do
......
22 22

  
23 23
# nauty and cliquer are automagical dependencies
24 24
RDEPEND="dev-libs/gmp:=[cxx(+)]
25
	sys-libs/readline:=
26
	gui? ( x11-libs/fltk[opengl]
27
		media-libs/libpng:= )
28
	ao? ( media-libs/libao )
29 25
	dev-libs/mpfr:=
26
	dev-libs/ntl:=
27
	net-misc/curl
30 28
	sci-libs/mpfi
31 29
	sci-libs/gsl:=
30
	sci-mathematics/cliquer
31
	sci-mathematics/nauty
32 32
	sci-mathematics/pari:=[threads]
33
	dev-libs/ntl:=
33
	sys-libs/readline:=
34 34
	virtual/lapack
35 35
	virtual/blas
36
	net-misc/curl
37
	sci-mathematics/cliquer
38
	sci-mathematics/nauty
36
	ao? ( media-libs/libao )
39 37
	ecm? ( sci-mathematics/gmp-ecm )
38
	gc? ( dev-libs/boehm-gc )
40 39
	glpk? ( sci-mathematics/glpk )
41
	gc? ( dev-libs/boehm-gc )"
40
	gui? (
41
		media-libs/libpng:=
42
		x11-libs/fltk[opengl]
43
		x11-libs/gl2ps
44
	)"
42 45

  
43 46
DEPEND="${RDEPEND}"
44 47

  
......
50 53
	"${FILESDIR}/${PN}-1.7.0.1-gsl_lapack.patch"
51 54
	"${FILESDIR}/${PN}-1.6.0-pari-2.11.patch"
52 55
	"${FILESDIR}/${PN}-1.9.0.21-pari-2.15.patch"
56
	"${FILESDIR}/${PN}-1.9.0.55-pari-2.15-test.patch"
57
	"${FILESDIR}/${PN}-1.9.0.55-undefined-behavior.patch"
58
	"${FILESDIR}/${PN}-1.9.0.55-system-gl2ps.patch"
53 59
)
54 60

  
55 61
REQUIRED_USE="test? ( gui )"
......
62 68
S="${WORKDIR}/${PN}-${MY_PV}"
63 69

  
64 70
src_prepare() {
71
	# giac-1.9.0.55 tries to compile a bundled version of FLTK for you
72
	# if you pass --enable-fltk but the system version isn't detected.
73
	# We make sure that cannot happen under any circumstances.
74
	rm fltk-1.3.8-source.tar.bz2 || die
75

  
76
	# similar deal with gl2ps
77
	rm src/gl2ps.[ch] || die
78

  
65 79
	default
66 80
	eautoreconf
67 81
}
......
88 102
	# but doesn't disable compiling against fltk. png is needed as part of fltk
89 103
	# support.
90 104
	#
91
	# As of 1.9.0.25, --{en,dis}able-gui is no op. The only way to disable gui is
92
	# use the fltk enable flag.
105
	# As of 1.9.0.25, --{en,dis}able-gui is no op. The only way to
106
	# disable the gui is though --disable-fltk.
93 107
	econf \
94 108
		--enable-gmpxx \
95 109
		--disable-samplerate \
Thank you!