Overview

Request 843465 accepted

* Replace manually defined macros to enable/disable different lisp bindings with %bcond_with(out) macros.
* Improve dependency resolution between the different lisp versions of maxima_exec by using Supplements: packageand() appropriately.
* Enable sbcl compiled binaries and package it (needed for maxima-jupyter).
* Enable mathjax support for installed html manual (pass --enable-mathjax to configure).
* Add Requires: rlwrap to maxima, needed for rmaxima.
* Add Suggests: maxima-exec-sbcl to maxima to weakly recommend a specific flavour of maxima in case the user doesn't specify one during installation.
* Add README.SUSE.packaging documenting the packaging changes that will be needed for pkgs depending on maxima.

Loading...


Atri Bhattacharya's avatar

Just a couple of notes for any prospective reviewer:

  • This is going to break the build deps (but not the runtime deps) of any package depending on maxima, leaving the package in an unresolvable state due to multiple providers of maxima_exec being available. This should be fixed at the individual pkg level with an additional Requires: maxima-exec-${flavor}. The only pkg depending on maxima in openSUSE:Factory is wxMaxima, and I have gone ahead and fixed it in this case (see pkg in my branch project).
  • When building multiple lisp flavours, maxima sets sbcl as the preferred default lisp but it tries and finds other lisp implementations just fine in case maxima-exec-sbcl is not installed. Thus, I have only added the weaker Suggests on maxima-exec-sbcl for maxima rather than a Requires or even Recommends. At any rate, at least one maxima-exec-${flavor} must be installed for maxima to work; this is still ensured by the Requires: maxima_exec for maxima.

Lars Vogdt's avatar

Thanks a lot for your explanation! Would you mind to a) place the comment above in a "README.SUSE.packaging" file and b) refer to that in the package (changelog)? I guess a lot more packagers would love to read your information in the package and not alone in this submit request ;-)


Atri Bhattacharya's avatar

Great idea, thanks! Will send an sr soon.

Request History
Atri Bhattacharya's avatar

badshah400 created request

* Replace manually defined macros to enable/disable different lisp bindings with %bcond_with(out) macros.
* Improve dependency resolution between the different lisp versions of maxima_exec by using Supplements: packageand() appropriately.
* Enable sbcl compiled binaries and package it (needed for maxima-jupyter).
* Enable mathjax support for installed html manual (pass --enable-mathjax to configure).
* Add Requires: rlwrap to maxima, needed for rmaxima.
* Add Suggests: maxima-exec-sbcl to maxima to weakly recommend a specific flavour of maxima in case the user doesn't specify one during installation.
* Add README.SUSE.packaging documenting the packaging changes that will be needed for pkgs depending on maxima.


Lars Vogdt's avatar

lrupp accepted request

ok

openSUSE Build Service is sponsored by