[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Axiom-developer] patch for graphics
From: |
Bill Page |
Subject: |
[Axiom-developer] patch for graphics |
Date: |
Sun, 5 Dec 2004 00:23:49 -0500 |
On Saturday, December 04, 2004 4:03 PM I wrote:
> TwoDimensionalViewport
> (5) -> Cannot open
> /home/wspage/axiom-build/mnt/linux/../../share/graph/header.ps
> to read.
>
The problem is obviously that Gfun.c looks in the wrong
place. A quick patch file is below for your convenience.
Later I will try to use arch to patch axiom--main--1.
Note: After making the change Gfun.c, make took a very long
time to get to the point of rebuilding the graphics programs.
It did things like re-build AXIOMsys and the daase files
before getting around to the graphdir. Is there a short-cut?
Can we not be make this more efficient by including some
dependencies in the part that makes the databases so that
it doesn't get rebuilt if it doesn't have to? Do you have
any hints on how to do this?
Regards,
Bill Page.
----------
--- axiom/src/graph/Gdraws/Gfun.c.pamphlet 2004-11-29
23:16:13.000000000 -0500
+++ axiom-build/src/graph/Gdraws/Gfun.c.pamphlet 2004-12-04
22:27:45.000000000 -0500
@@ -871,41 +871,41 @@
else if ((envAXIOM = getenv("AXIOM")) != NULL) {
psData[headerps].flag = yes;
sprintf(psData[headerps].filename, "%s%s", envAXIOM,
- "/../../share/graph/header.ps");
+ "/lib/graph/header.ps");
sprintf(psData[drawps].filename, "%s%s", envAXIOM,
- "/../../share/graph/draw.ps");
+ "/lib/graph/draw.ps");
sprintf(psData[drawarcps].filename, "%s%s", envAXIOM,
- "/../../share/graph/drawarc.ps");
+ "/lib/graph/drawarc.ps");
sprintf(psData[drawfilledps].filename, "%s%s", envAXIOM,
- "/../../share/graph/drwfilled.ps");
+ "/lib/graph/drwfilled.ps");
sprintf(psData[drawcolorps].filename, "%s%s", envAXIOM,
- "/../../share/graph/drawcolor.ps");
+ "/lib/graph/drawcolor.ps");
sprintf(psData[fillpolyps].filename, "%s%s", envAXIOM,
- "/../../share/graph/fillpoly.ps");
+ "/lib/graph/fillpoly.ps");
sprintf(psData[colorpolyps].filename, "%s%s", envAXIOM,
- "/../../share/graph/colorpoly.ps");
+ "/lib/graph/colorpoly.ps");
sprintf(psData[fillwolps].filename, "%s%s", envAXIOM,
- "/../../share/graph/fillwol.ps");
+ "/lib/graph/fillwol.ps");
sprintf(psData[colorwolps].filename, "%s%s", envAXIOM,
- "/../../share/graph/colorwol.ps");
+ "/lib/graph/colorwol.ps");
sprintf(psData[drawpointps].filename, "%s%s", envAXIOM,
- "/../../share/graph/drawpoint.ps");
+ "/lib/graph/drawpoint.ps");
sprintf(psData[drawlineps].filename, "%s%s", envAXIOM,
- "/../../share/graph/drawline.ps");
+ "/lib/graph/drawline.ps");
sprintf(psData[drawlinesps].filename, "%s%s", envAXIOM,
- "/../../share/graph/drawlines.ps");
+ "/lib/graph/drawlines.ps");
sprintf(psData[drawrectps].filename, "%s%s", envAXIOM,
- "/../../share/graph/drawrect.ps");
+ "/lib/graph/drawrect.ps");
sprintf(psData[drawstrps].filename, "%s%s", envAXIOM,
- "/../../share/graph/drawstr.ps");
+ "/lib/graph/drawstr.ps");
sprintf(psData[drawIstrps].filename, "%s%s", envAXIOM,
- "/../../share/graph/drawIstr.ps");
+ "/lib/graph/drawIstr.ps");
sprintf(psData[fillarcps].filename, "%s%s", envAXIOM,
- "/../../share/graph/fillarc.ps");
+ "/lib/graph/fillarc.ps");
sprintf(psData[setupps].filename, "%s%s", envAXIOM,
- "/../../share/graph/setup.ps");
+ "/lib/graph/setup.ps");
sprintf(psData[endps].filename, "%s%s", envAXIOM,
- "/../../share/graph/end.ps");
+ "/lib/graph/end.ps");
}
else {
fprintf(stderr, " need environment variable AXIOM or DEVE; process
aborted\n");
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Axiom-developer] patch for graphics,
Bill Page <=