Opened 4 years ago

Last modified 31 hours ago

#21783 new enhancement

QEPCAD: Location of default.qepcadrc and other files, get rid of qepcad bits in src/bin/sage-location, add spkg-configure

Reported by: mkoeppe Owned by:
Priority: major Milestone: sage-9.3
Component: packages: optional Keywords:
Cc: fbissey, embray, felixs, jdemeyer, chapoton, jhpalmieri Merged in:
Authors: Reviewers:
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Description (last modified by mkoeppe)

QEPCAD assumes unusual locations for several files, including

  • $SAGE_LOCAL/default.qepcadrc (which would better live in $SAGE_ETC (= $SAGE_LOCAL/etc)
  • $SAGE_LOCAL/bin/qepcad.help (which would better live in $SAGE_LOCAL/share/qepcad)

We already use Fedora's patches (https://src.fedoraproject.org/rpms/qepcad-B/blob/master/f/qepcad-B.spec), which make some changes to qepcad's environment.

Writing default.qepcadrc is the last productive bit in sage-location. We should get rid of it if possible. (When we get rid of sage-location, we can finally close tickets #15146, #17479, #11755).

Fedora has a package, so we should add spkg-configure.m4

Change History (8)

comment:1 Changed 4 years ago by mkoeppe

  • Branch set to u/mkoeppe/qepcad__location_of_default_qepcadrc_and_other_files

comment:2 Changed 4 years ago by git

  • Commit set to b090a6d34497e73b697b68fe258f6831c48f3c48

Branch pushed to git repo; I updated commit sha1. New commits:

b090a6dinitialize SAGE_ETC (from environ) in sage-location before use

comment:3 Changed 4 years ago by fbissey

Remind me, why are you pulling SAGE_ETC from sage.misc.misc rather than sage.env? In fact I would like to know if this file is needed at all.

It just write one useful line for qepcadrc

SINGULAR $expanded_path_to_SAGE_LOCAL/bin

If this is the path to singular, unless it is hardcoded to a location by default, it is in the path and therefore not very useful.

comment:4 Changed 3 months ago by mkoeppe

  • Branch u/mkoeppe/qepcad__location_of_default_qepcadrc_and_other_files deleted
  • Commit b090a6d34497e73b697b68fe258f6831c48f3c48 deleted

comment:5 Changed 3 months ago by mkoeppe

  • Cc jhpalmieri added
  • Description modified (diff)
  • Milestone changed from sage-wishlist to sage-9.2
  • Summary changed from QEPCAD: Location of default.qepcadrc and other files to QEPCAD: Location of default.qepcadrc and other files, get rid of qepcad bits in src/bin/sage-location

comment:6 Changed 3 months ago by mkoeppe

  • Description modified (diff)

comment:7 Changed 2 months ago by mkoeppe

  • Milestone changed from sage-9.2 to sage-9.3

comment:8 Changed 31 hours ago by mkoeppe

  • Description modified (diff)
  • Summary changed from QEPCAD: Location of default.qepcadrc and other files, get rid of qepcad bits in src/bin/sage-location to QEPCAD: Location of default.qepcadrc and other files, get rid of qepcad bits in src/bin/sage-location, add spkg-configure
Note: See TracTickets for help on using tickets.