Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#35338 - [asymptote] Add offscreen support to package

Attached to Project: Arch Linux
Opened by Kazuo Teramoto (kazuo) - Friday, 17 May 2013, 12:46 GMT
Last edited by Rémy Oudompheng (remyoudompheng) - Sunday, 21 July 2013, 09:38 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Rémy Oudompheng (remyoudompheng)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Asymptote can be compiled with mesa offscreen support passing --enable-offscreen to configure, this make possible to render 3d without the need of a running X display.

The needed dependence is osmesa, included in extra/mesa. Mesa is an implicit dependence of asymptote by the following dep. tree:

asymptote -> texlive-core -> texlive-bin -> poppler -> cairo -> mesa

I don't think this dep. tree will change anytime soon, so IMHO adding an explicit mesa dependence will not do any harm.

Offscreen rendering is disable by default, so no behaviour change will be introduced by this modification.

Testing can be done with:
$ DISPLAY= asy -nooffscreen /usr/share/doc/asymptote/examples/sacone3D.asy
freeglut (asy): failed to open display ''

versus (with --enable-offscreen)
$ DISPLAY= asy -offscreen /usr/share/doc/asymptote/examples/sacone3D.asy
This task depends upon

Closed by  Rémy Oudompheng (remyoudompheng)
Sunday, 21 July 2013, 09:38 GMT
Reason for closing:  Fixed
Additional comments about closing:  was fixed in 2.23-1 (03 Jun 2013)

Loading...