diff options
Diffstat (limited to 'sci-mathematics/giac')
-rw-r--r-- | sci-mathematics/giac/Manifest | 5 | ||||
-rw-r--r-- | sci-mathematics/giac/files/giac-1.7.0.13-xcas-desktop.patch | 33 | ||||
-rw-r--r-- | sci-mathematics/giac/giac-1.7.0.13-r1.ebuild | 166 | ||||
-rw-r--r-- | sci-mathematics/giac/giac-1.9.0.29-r1.ebuild | 2 |
4 files changed, 2 insertions, 204 deletions
diff --git a/sci-mathematics/giac/Manifest b/sci-mathematics/giac/Manifest index 7b4c491ef072..685131a728b3 100644 --- a/sci-mathematics/giac/Manifest +++ b/sci-mathematics/giac/Manifest @@ -1,9 +1,6 @@ AUX giac-1.6.0-pari-2.11.patch 783 BLAKE2B f173015006fef4a9f8176965f923664f11b0b05151b126cf74a5bccf5036e1fd3aa97f12fd91808fab7fe23a3194e6a4a7a9f12be5b69a5dfda5aedec8a0117c SHA512 56102439f05f0e27bda49f1e9803bbba7921c87eab383fc2f068ccca6ef598f11e35d00f5a737076a6a41df08ef9065e567cb84030ba6ea928520f371d51b9ed AUX giac-1.7.0.1-gsl_lapack.patch 2912 BLAKE2B b0f9f05126316b9b76d5f1a5ad737cc88ecbc71dc450ef714f6da323128d9c945ada9d658c73647987f84638498aa4d3bbef49062424ab63b53c76defc127902 SHA512 14bfcb04e5a23933cfa4635789bf02f6d6e6a528c167504678b3d2ecb38f135d0c05583712005fe53afd7696cc9ebee5dc3ab90cac056d75bd43be786075b011 -AUX giac-1.7.0.13-xcas-desktop.patch 890 BLAKE2B 31e33a52fdcb70c610edf21f046d112df3702e1d4f635cd4956bbe17d928839c9a0a87cb5ba5d6aeff94213b482ce22bd497d1d258aaa8abd6d8fc0116031f15 SHA512 269c733edc899051fc3de23021c322a3099499dfeb559ab1cada0964258a91a9735e620b480560226e5a3b492f2f5654062ee9c2c5479ae9789b012e7a5055ca AUX giac-1.9.0.21-pari-2.15.patch 298 BLAKE2B 99329cfd473ec3b580caf8f9700501e8b5dca9143cd04d883729880109d4e1962d19dce19aaf51e5d26ab09dc399a45a3a052847837f53a60c1b21087ebeabb8 SHA512 f9335dd47ee43ca10b784c8302422efcd5a835b1fe13fa134f5d36e453327e96624e77e086710f9d556352b1d62e6e693b3308fe8af329492e11d68cc9451b5b -DIST giac_1.7.0-13.tar.gz 86447065 BLAKE2B 4d91e83608f7ec376d133c2784ffce99447a9dd78b5c8582b81a0aae0b8ac59eec4db3ee4a8bcb39202c777c300178a181f2dc2ac74ab445ddba2f3efa0ecb1b SHA512 99fff7ce5117fd8c106601ead03679805d529fe12d5372cdd4ae54824aa6fdcbdaaa1a62ea1153391a1a65af8970e38fca7d95ca9983755ff06053f1d8b6d65a DIST giac_1.9.0-29.tar.gz 115441843 BLAKE2B 9114db489be0c51d67c87b0a0c187fecf9eca84d7cb3117e72793290c8e606e76c3d9bc8a2d573fc2de2f2d885fb34d18583302a5902d69045976114ac02b95e SHA512 57b58aa35c724eae7df36229cb3d45d1b724a8a88acb1d1dd0711be64dd7c891850e7242662e448ce955e76b856973f9065628b65ce0826c60e277cb944b21b7 -EBUILD giac-1.7.0.13-r1.ebuild 4266 BLAKE2B 642482f7e1dc0230d0e6255cfbfa22a5a5e5d3e64d978621db449fa7bc4706c53336d7cf40a4d1b9a6e5a75efa130d805d327a0e064cefc09696676445a00e7c SHA512 4b5a6b891131090c9c991697b9a6f123073bb1163da02eaae29d213f7b76bc271bd300ec382a35e262a934e6d0f6815c71fddee14772de80e55fc88a423961c8 -EBUILD giac-1.9.0.29-r1.ebuild 4543 BLAKE2B 7c226e159912c54129f6720a41fa0cf15c57dc1ffbc16404217d5a44b11a52965f5595146a8e02f7245a753cd6f42272b5d5f6caa15d671e82c39a8f50f6b587 SHA512 33b74fef82b7c221cfc79dfb5026bd4420832096d53cf67d461b23b563da90d091c025871f02863f2a32710018d7138a3fb397e8849c692a17ab272949b28db9 +EBUILD giac-1.9.0.29-r1.ebuild 4542 BLAKE2B dce03818ac9af080b4416b6546563e4be99617b220c4661a540f77e0127760582cfe0a3df8c6a2f94da676b8a0e9fa967be59748184b86eb8934481c607d7500 SHA512 6915110b6964d2e79d7da01cee85ee3b51b944f9879e5659447f0cba5d74bda8c4113ee9290203510fdb57ad1ba60eae52639b134ed74eec01b04a97d75cf066 MISC metadata.xml 1315 BLAKE2B a461d359b33617422f5863466bdbec9ddf56db03467b992c887bce9967d434913489602fd684edc893303078f89cf94d01b44cfdc0ccff33db9b42c5e686cfa8 SHA512 eaeb480010c9dbdfd75516e45e97e3226d2b2812c44e217b318c5a1d86dc40820bac0de69686d7b502775b14a6f1ed3bc11d2372b891c46a37080b4e84da9a1c diff --git a/sci-mathematics/giac/files/giac-1.7.0.13-xcas-desktop.patch b/sci-mathematics/giac/files/giac-1.7.0.13-xcas-desktop.patch deleted file mode 100644 index bc542b0a615c..000000000000 --- a/sci-mathematics/giac/files/giac-1.7.0.13-xcas-desktop.patch +++ /dev/null @@ -1,33 +0,0 @@ -From 51fa4502039ec09d4a9e1d6b2fa73e5a1f789f94 Mon Sep 17 00:00:00 2001 -From: Michael Orlitzky <michael@orlitzky.com> -Date: Tue, 15 Jun 2021 08:31:06 -0400 -Subject: [PATCH 1/1] xcas.desktop: fix "Version" field. - -The "Version" field in a desktop file refers to the version of the -specification, not the version of the software it launches: - - https://specifications.freedesktop.org/desktop-entry-spec - -This issue has already been fixed upstream: - - https://xcas.univ-grenoble-alpes.fr/forum/viewtopic.php?f=3&t=2716 - -and will be part of the next release. ---- - xcas.desktop | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/xcas.desktop b/xcas.desktop -index 9e1b648..fad99cd 100644 ---- a/xcas.desktop -+++ b/xcas.desktop -@@ -1,5 +1,5 @@ - [Desktop Entry] --Version=1.7 -+Version=1.0 - Keywords=computer algebra system;CAS; - Keywords[fr]=calcul formel;CAS; - Name=Xcas --- -2.31.1 - diff --git a/sci-mathematics/giac/giac-1.7.0.13-r1.ebuild b/sci-mathematics/giac/giac-1.7.0.13-r1.ebuild deleted file mode 100644 index 301046562c6f..000000000000 --- a/sci-mathematics/giac/giac-1.7.0.13-r1.ebuild +++ /dev/null @@ -1,166 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit autotools flag-o-matic xdg-utils - -FETCH_P="${PN}_"$(ver_rs 3 '-') -MY_PV=$(ver_cut 1-3) -DESCRIPTION="A free C++ Computer Algebra System library and its interfaces" -HOMEPAGE="https://www-fourier.ujf-grenoble.fr/~parisse/giac.html" -SRC_URI="https://www-fourier.ujf-grenoble.fr/~parisse/debian/dists/stable/main/source/${FETCH_P}.tar.gz" -LICENSE="GPL-2" - -SLOT="0" -KEYWORDS="amd64 ~x86" -LANGS="el en es pt" -IUSE="ao doc +ecm examples gc +glpk gui static-libs test" -for X in ${LANGS} ; do - IUSE="${IUSE} l10n_${X}" -done - -# nauty and cliquer are automagical dependencies -RDEPEND="dev-libs/gmp:=[cxx(+)] - sys-libs/readline:= - gui? ( x11-libs/fltk - media-libs/libpng:= ) - ao? ( media-libs/libao ) - dev-libs/mpfr:= - sci-libs/mpfi - sci-libs/gsl:= - sci-mathematics/pari:=[threads] - dev-libs/ntl:= - virtual/lapack - virtual/blas - net-misc/curl - sci-mathematics/cliquer - sci-mathematics/nauty - ecm? ( sci-mathematics/gmp-ecm ) - glpk? ( sci-mathematics/glpk ) - gc? ( dev-libs/boehm-gc )" - -DEPEND="${RDEPEND}" - -BDEPEND="dev-tex/hevea - virtual/pkgconfig - app-alternatives/yacc" - -PATCHES=( - "${FILESDIR}/${PN}-1.7.0.1-gsl_lapack.patch" - "${FILESDIR}/${PN}-1.6.0-pari-2.11.patch" - "${FILESDIR}/${PN}-1.7.0.13-xcas-desktop.patch" -) - -REQUIRED_USE="test? ( gui )" - -# The mirror restriction is due to the French documentation for which -# "Other kind of redistributions require the consent of the copyright -# holder." -RESTRICT="!test? ( test ) mirror" - -S="${WORKDIR}/${PN}-${MY_PV}" - -src_prepare() { - default - eautoreconf -} - -src_configure() { - append-cxxflags -std=c++14 # bug 788283 - - if use gui; then - append-cppflags -I$(fltk-config --includedir) - append-lfs-flags - - # Get the big-L flags from fltk's LDFLAGS. - append-ldflags $(fltk-config --ldflags | sed -e 's/\(-L\S*\)\s.*/\1/') - fi - - # Using libsamplerate is currently broken - # - # The giac build system supports --docdir, but the path /usr/share/giac/doc - # is hard-coded throughout the source code, so passing anything else to - # ./configure --docdir just causes problems. Later, we'll put things right. - # - # micropython is for specific use in an upstream project - econf \ - --enable-gmpxx \ - --disable-samplerate \ - --disable-micropy \ - --docdir="${EPREFIX}"/usr/share/giac/doc \ - $(use_enable static-libs static) \ - $(use_enable gui) \ - $(use_enable gui png) \ - $(use_enable ao) \ - $(use_enable ecm) \ - $(use_enable glpk) \ - $(use_enable gc) - -} - -src_install() { - docompress -x "/usr/share/doc/${PF}/"{aide_cas,doc,examples} - emake install DESTDIR="${D}" - - # Move all of /usr/share/giac (which contains only documentation) to - # its /usr/share/doc/${PF} counterpart. - dodir /usr/share/doc - mv "${ED}"/usr/share/giac "${ED}/usr/share/doc/${PF}" || die - - # and create a symlink from the original location to the new one - dosym "./doc/${PF}" /usr/share/giac - - # This is duplicated in ${ED}/usr/share/doc/${PF}/examples - rm -r "${ED}/usr/share/doc/${PF}/doc/Exemples" || die - - # These aren't supposed to be installed at all. - find "${ED}/usr/share/doc/${PF}" -type f -name 'Makefile*' -delete || die - - # The French docs are not freely licensed according to the README. - rm -r "${ED}/usr/share/doc/${PF}/doc/fr" || die - - dodoc AUTHORS ChangeLog INSTALL NEWS README TROUBLES - if ! use gui; then - rm -rf \ - "${ED}"/usr/bin/x* \ - "${ED}"/usr/share/application-registry \ - "${ED}"/usr/share/applications \ - "${ED}"/usr/share/icons \ - || die "failed to clean up fltk files" - fi - - if ! use doc; then - rm -r "${ED}/usr/share/doc/${PF}/doc" || die "failed to remove doc directory" - else - for lang in ${LANGS}; do - if use l10n_$lang; then - dosym ../aide_cas "/usr/share/doc/${PF}/doc/${lang}/aide_cas" - else - rm -r "${ED}/usr/share/giac/doc/${lang}" \ - || die "failed to remove ${lang} documentation" - fi - done - fi - - if ! use examples; then - rm -r "${ED}/usr/share/doc/${PF}/examples" \ - || die "failed to remove examples" - fi - - find "${ED}" -type f -name '*.la' -delete || die -} - -pkg_postinst() { - if use gui; then - xdg_desktop_database_update - xdg_icon_cache_update - fi -} - -pkg_postrm() { - if use gui; then - xdg_desktop_database_update - xdg_icon_cache_update - fi -} diff --git a/sci-mathematics/giac/giac-1.9.0.29-r1.ebuild b/sci-mathematics/giac/giac-1.9.0.29-r1.ebuild index 5c24d8828a7a..f4967f08420e 100644 --- a/sci-mathematics/giac/giac-1.9.0.29-r1.ebuild +++ b/sci-mathematics/giac/giac-1.9.0.29-r1.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://www-fourier.ujf-grenoble.fr/~parisse/debian/dists/stable/main/s LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 ~x86" LANGS="el en es pt" IUSE="ao doc +ecm examples gc +glpk gui test" for X in ${LANGS} ; do |