#10202: Use pkg-config --define-variable option to set ${SAGE_ROOT} anytime pkg-
config is invoked
---------------------------+------------------------------------------------
Reporter: jason | Owner: leif
Type: enhancement | Status: needs_review
Priority: critical | Milestone: sage-4.7
Component: packages | Keywords:
Author: | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
---------------------------+------------------------------------------------
Description changed by jason:
Old description:
> Currently we rewrite all of the local/lib/pkgconfig/*.pc files every time
> we move locations. Instead, we should just use the --define-variable
> option of pkg-config to define a ${SAGE_ROOT} variable. Then we don't
> have to keep rewriting files every time.
>
> INSTRUCTIONS FOR TESTING:
>
> 1. Download a fresh sage-4.7.alpha5.tar source archive
>
> 2. Extract and delete the spkg/standard/sage_scripts-4.7.alpha5.spkg
>
> 3. Put
> http://sage.math.washington.edu/home/jason/sage_scripts-4.7.alpha5.p0.spkg
> into the spkg/standard/ directory
>
> 4. Make Sage
New description:
Currently we rewrite all of the local/lib/pkgconfig/*.pc files every time
we move locations. Instead, we should just use the --define-variable
option of pkg-config to define a ${SAGE_ROOT} variable. Then we don't have
to keep rewriting files every time.
INSTRUCTIONS FOR TESTING:
1. Download a fresh sage-4.7.alpha5.tar source archive
2. Extract and delete the spkg/standard/sage_scripts-4.7.alpha5.spkg
3. Put
http://sage.math.washington.edu/home/jason/sage_scripts-4.7.alpha5.p0.spkg
into the spkg/standard/ directory
4. Make Sage
Note to release manager: you have to edit the sage_scripts spkg-install to
copy over the pkg-config shell script; see my sage_scripts spkg above.
P.S. Why is the sage_scripts spkg-install not under version control?!?
--
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10202#comment:23>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.