Open DanGrayson opened 3 years ago
The gftables are in the architecture-independent singular-data
package in Debian/Ubuntu, so they should be available no matter what. This is what I have in debian/control
:
Package: macaulay2
Architecture: any
Depends: macaulay2-common (= ${source:Version}),
singular-data,
${misc:Depends},
${shlibs:Depends}
Of course, one disadvantage is that singular-data
has singular-ui
in its Recommends
, and so we end up getting all of Singular, too, at least until #1681 is dealt with.
One simple fix: if we build gftables, install it in the binary portion of the distribution.
The assumption is that the architecture independent files in the Macaulay2 distributions are the same for all debian-based architectures, so that there only has to be one common
*.deb
file for them. But: if factory is built on one of those architectures, then its*.deb
file will contain thegftables
directory as/usr/share/Macaulay2/Core/factory/gftables
, and M2 will look there for it, whereas the others will install it as/usr/share/singular/factory/gftables
.So, in that case, one has to be careful to upload the fatter common
*.deb
file.There has to be a better way.