Skip to content

Commit 2c3de93

Browse files
BenderBlogMingcongBai
authored andcommitted
fricas: new, 1.3.11
1 parent c6e0328 commit 2c3de93

File tree

4 files changed

+72
-0
lines changed

4 files changed

+72
-0
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
abinfo "Checking fricas build..."
2+
cd "$BLDDIR"
3+
make check
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
PKGNAME=fricas
2+
PKGSEC=math
3+
4+
# Note: x11-lib is used in the HyperDoc.
5+
PKGDEP__SBCL="gawk x11-lib sbcl"
6+
PKGDEP__ECL="gawk x11-lib ecl"
7+
PKGDEP__AMD64="$PKGDEP__SBCL"
8+
9+
# FIXME: Continue out of heap while build with sbcl on PPC64EL and ARM64
10+
#PKGDEP__PPC64EL="$PKGDEP__SBCL"
11+
#PKGDEP__ARM64="$PKGDEP__SBCL"
12+
PKGDEP="$PKGDEP__ECL"
13+
14+
# Note: Ref. https://fricas.github.io/install.html#latex-optional
15+
PKGSUG="texlive emacs"
16+
17+
# Note: In order to build the graphical examples, xvfb
18+
# must be used, it is in this package. From FriCAS document
19+
#
20+
# If you compile FriCAS from the FriCAS git repository,
21+
# and configure does not detect the xvfb-run program,
22+
# then graphic examples will not be built. This results
23+
# in broken HyperDoc pages – all graphic examples will
24+
# be missing (and trying to access them will crash hypertex).
25+
#
26+
# Ref. https://fricas.github.io/install.html#hyperdoc-and-graphics
27+
#
28+
# FIXME: Disable now, since fricas2d have bug related to
29+
# "double free or corruption (!prev)", and I can't fix it:P
30+
#
31+
#BUILDDEP="xorg-server"
32+
33+
PKGDES="General purpose computer algebra system"
34+
35+
AUTOTOOLS_AFTER__ECL=(
36+
--with-lisp=ecl
37+
)
38+
AUTOTOOLS_AFTER__SBCL=(
39+
--with-lisp='sbcl --dynamic-space-size 4096'
40+
--enable-gmp
41+
)
42+
AUTOTOOLS_AFTER__AMD64=("${AUTOTOOLS_AFTER__SBCL[@]}")
43+
44+
# FIXME: Continue out of heap while build with sbcl on PPC64EL and ARM64
45+
#AUTOTOOLS_AFTER__ARM64="$AUTOTOOLS_AFTER__SBCL"
46+
#AUTOTOOLS_AFTER__PPC64EL="$AUTOTOOLS_AFTER__SBCL"
47+
AUTOTOOLS_AFTER=("${AUTOTOOLS_AFTER__ECL[@]}")
48+
49+
# Note: Else sbcl version of the software will not run,
50+
# it seems FRICASsys got a lot of things inside.
51+
ABSTRIP__AMD64=0
52+
ABSTRIP__PPC64EL=0
53+
ABSTRIP__ARM64=0
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#!/usr/bin/env xdg-open
2+
[Desktop Entry]
3+
Name=FriCAS
4+
Keywords=computer algebra system;CAS;
5+
Keywords[zh_CN]=计算机代数系统;CAS;
6+
Comment=Fricas Computer Algebra System
7+
Comment[zh_CN]=FriCAS 计算机代数系统
8+
Exec=fricas
9+
Icon=fricas
10+
Terminal=true
11+
Type=Application
12+
Categories=Education;Math;

app-scientific/fricas/spec

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
VER=1.3.11
2+
SRCS="git::commit=tags/$VER::https://github.com/fricas/fricas"
3+
CHKSUMS="SKIP"
4+
CHKUPDATE="anitya::id=376467"

0 commit comments

Comments
 (0)