Summary: | [science overlay] sci-mathematics/gap-4.4.10.ebuild (New Package) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Thomas Veith (RETIRED) <xtv> |
Component: | New packages | Assignee: | Default Assignee for New Packages <maintainer-wanted> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | anton.kochkov, frp.bissey, kamensky.fb, mjo, sci-mathematics |
Priority: | Normal | Keywords: | InOverlay, PullRequest |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://github.com/gentoo/gentoo/pull/34472 | ||
Whiteboard: | Science overlay | ||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 201321 | ||
Attachments: |
gap-4.4.2.ebuild
gentoo-carat.diff gentoo-gap-config.diff New version Updated patch Another patch needed New Version Don't build gmp, updated CLK_TCK patch, updated Updated ebuild. New version -- gap-4.5_p5 gap-4.5_p5.ebuild gap-4.5_p5.ebuild |
Description
Thomas Veith (RETIRED)
2004-04-28 07:39:45 UTC
Created attachment 30243 [details]
gap-4.4.2.ebuild
Created attachment 30244 [details, diff]
gentoo-carat.diff
fixes carat to be built with gmp
Created attachment 30245 [details, diff]
gentoo-gap-config.diff
allows the main gap system to be built with user provided CFLAGS (make.conf)
Created attachment 89284 [details]
New version
Here's an updated ebuild, since the files for 4.4.2 doesn't seem to be available anymore.
Created attachment 89287 [details, diff]
Updated patch
Created attachment 89288 [details, diff]
Another patch needed
This should be in sci-mathematics, not app-sci. (or games-puzzle?) Created attachment 143669 [details]
New Version
There is a new version of this application, gap-4.4.10, and also for severe packages, as xtom, that now is in the 1.1.2 version, and the latest packages-2008_02_05-17_04_UTC.tar.bz2.
The ebuild i've attached have severe errors... I'll try to fix it, if somebody can do it earlier please do it. Created attachment 159497 [details, diff]
Don't build gmp, updated
This patch works for me, the previous one seems to have stopped working.
Created attachment 159499 [details, diff]
CLK_TCK patch, updated
Bumped directory version number in the patch.
Created attachment 159501 [details]
Updated ebuild.
Bumped version of 'PACKAGES', since I couldn't download the old version. Made it build, except for building of 'pargap' which I commented out. (Think 'make' went ultra recursive on pargap, and called itself thousands of times deep.)
gap> tst := Filename( DirectoriesLibrary("tst"), "testall.g" );;
gap> Read(tst);
You should start GAP4 using: `gap -N -A -x 80 -r -m 100m'.
The more GAP4stones you get, the faster your system is.
The runtime of the following tests (in general) increases.
You should expect about 100000 GAP4stones on a Pentium III/1 GHz.
The `next' time is an approximation of the running time for the next file.
Architecture: x86_64-pc-linux-gnu-gcc
test file GAP4stones time(msec)
-------------------------------------------
testing: /usr/share/gap-4.4.10/tst/gaussian.tst
gaussian.tst 0 4
...
testing: /usr/share/gap-4.4.10/tst/grppcnrm.tst
grppcnrm.tst 430175 24122
-------------------------------------------
total 481504 35915
gap>
(In reply to comment #12) > Created an attachment (id=159501) [edit] > Updated ebuild. > > Bumped version of 'PACKAGES', since I couldn't download the old version. Made > it build, except for building of 'pargap' which I commented out. (Think 'make' > went ultra recursive on pargap, and called itself thousands of times deep.) > > gap> tst := Filename( DirectoriesLibrary("tst"), "testall.g" );; > gap> Read(tst); > You should start GAP4 using: `gap -N -A -x 80 -r -m 100m'. > The more GAP4stones you get, the faster your system is. > The runtime of the following tests (in general) increases. > You should expect about 100000 GAP4stones on a Pentium III/1 GHz. > The `next' time is an approximation of the running time for the next file. > > Architecture: x86_64-pc-linux-gnu-gcc > > test file GAP4stones time(msec) > ------------------------------------------- > testing: /usr/share/gap-4.4.10/tst/gaussian.tst > gaussian.tst 0 4 > ... > testing: /usr/share/gap-4.4.10/tst/grppcnrm.tst > grppcnrm.tst 430175 24122 > ------------------------------------------- > total 481504 35915 > > gap> > I know that may be a bit insane but could we split the packages? Or even make them into separate ebuilds (I know more work). I am making this bug a dependency of the sage bug and sage only needs Guava. I also just read the list of packages you compile, I would have thought from gap web page that there were more of them in that tarball (will be checking later today). Francois Funny that, I don't own this bug or bug #201321 so I cannot make them depend on each other :( Really thinking of becoming a dev just for this. This ebuild has also been in the science overlay, but I haven't compared the two ones yet. Andrey any insights on this? (In reply to comment #15) > This ebuild has also been in the science overlay, but I haven't compared the > two ones yet. Andrey any insights on this? > I have had a look as I also tried the science overlay one. There are 2 main differences: *the science overlay ebuild is plain gap with the standard shipped package, this one includes optional, reviewed, gap packages. *patch - in the science overlay no patch but an .el file for amd64. Here we have a strange config patch that definitely need reviewing, and 2 patches on the optional packages. For sage I want at least one optional package: Guava which is build with this ebuild. Ideally we would want to either to have use flags for individual optional package or separate ebuild (although it may take some figuring out). Separate ebuild has the advantage that one can update a package without updating gap. Francois (In reply to comment #16) > For sage I want at least one optional package: Guava which is build with > this ebuild. Ideally we would want to either to have use flags for individual > optional package or separate ebuild (although it may take some figuring out). > Separate ebuild has the advantage that one can update a package without > updating gap. Exactly. I think separate ebuilds would be much better (or maybe ebuilds for some thematic groups of gap packages, like in texlive). Not everybody will want *all* gap packages. I planned to write such separate ebuilds, but has not yet done so. I don't understand the configure patch here. gap compiles fine without it, so, why create future maintainance problems by patches? Patches for specific gap packages need to be reviewed by a gap (and group theory!) specialist, I am neither. Ideally, such patches should go upstream and be reviewed by the gap project. I'll have a look if I can supplement the science overlay ebuild (which only installed the core gap) by ebuilds for gap packages (at least the most useful ones). Is there any news about gap coming in portage? (In reply to comment #18) > Is there any news about gap coming in portage? Is there something wrong with the version in sci overlay? Created attachment 324190 [details] New version -- gap-4.5_p5 I used old ebuild (4.4.12) to create new one. However I am not programmer nor I know ebuild writing customs so please have a look inside and correct what should be! In 4.5 version there were some changes, including readline support, gmp support and new packaging scheme. Detailed instructions I followed while writing this ebuild are below. http://www.gap-system.org/Download/INSTALL Added USE flags: readline: adds support for sys-libs/readline static-gmp: builds dev-libs/gmp _shipped_ with gap (currently 5.0.5) gmp: use system dev-libs/gmp There is an open issue with gap-packages. How should we deal with them? (instalation as in Section 7 of http://www.gap-system.org/Download/INSTALL ) packages USE flag? GAP_PACKAGES? I don't use vim nor emacs so I didn't check 'magic' happening in ebuild when enabling related USE. Cheers, m Created attachment 324198 [details]
gap-4.5_p5.ebuild
Created attachment 324750 [details]
gap-4.5_p5.ebuild
Latest GAP version is 4.10.2 (June 2019), please update your ebuild accordingly: https://github.com/gap-system/gap/releases/tag/v4.10.2 Release notes here: https://www.gap-system.org/Manuals/doc/changes/chap2.html#X788B3576809DC149 (In reply to Anton Kochkov from comment #24) > Latest GAP version is 4.10.2 (June 2019), please update your ebuild > accordingly: > > https://github.com/gap-system/gap/releases/tag/v4.10.2 > > Release notes here: > https://www.gap-system.org/Manuals/doc/changes/chap2.html#X788B3576809DC149 gap-4.10.2 and a collection of gap packages are available in the sage-on-gentoo overlay https://github.com/cschwan/sage-on-gentoo There's now a pull request at https://github.com/gentoo/gentoo/pull/34472 As of a few minutes ago, GAP is in Gentoo. And by the end of today gap will be out of the sage-on-gentoo overlay. That may be a shock. Thanks Michael! |