[tlbuild] asymptote-2.56 in tl sources
John Bowman
bowman at ualberta.ca
Thu Oct 10 00:41:44 CEST 2019
Hi Ken,
By the way, I'm not sure if --offscreen still works;
this is an experimental feature that I disabled by default some time ago
since it was causing issues on Nvidia cards
and I haven't tried it again since we upgraded to GLSL. If you don't have
freeglut, a much better option than
offscreen rendering is to use the new WebGL support (use the command line
option -fhtml). You won't even
need the glew library for that, just the glm header files.
-- John
On Wed, Oct 9, 2019 at 4:27 PM Ken Brown <kbrow1i at gmail.com> wrote:
> Hi John,
>
> Thanks for taking a look. Just to be clear, for several years I've been
> building asymptote for the Cygwin distribution by configuring with
> '--enable-gc=system --enable-offscreen
> --with-latex=/usr/share/texmf-dist/tex/latex
> --with-context=/usr/share/texmf-dist/tex/context/third'. The
> corresponding link
> command line contained '-lOSMesa -lGLEW -lglut -lGL -lfftw3 -ltirpc
> -lreadline
> -lrt -lsigsegv -lz -lm -L/usr/lib -lgc -lncurses -lgsl -lgslcblas', and
> the
> build did not use the Win32 API.
>
> This worked until the commit that removed the glew stuff from configure.ac
> and
> added the glew.c source, which caused the build to fail. Things got worse
> with
> the commit I cited in my first email, which caused the build to fail for a
> different reason (because -lfreeglut doesn't exist in the standard Cygwin
> distribution), and which also caused the build to stop using the POSIX API
> (e.g., for paths).
>
> Thanks again for looking at this.
>
> Ken
>
> On 10/9/2019 4:53 PM, John Bowman wrote:
> > Hi Ken,
> > Actually, we have always used the win32api, not the X11 headers. All I
> did was
> > simplify the build process
> > to make it easier for others, avoiding the need to move /usr/include/GL
> out of
> > the way.
> > I'll look at your patch to see if there is a way to compile against X11;
> I don't
> > have X11 installed in cygwin so it may take some work.
> >
> > Re: your glew additions: TeXLive has specifically requested that glew be
> > explicitly compiled in, using the included glew.c source
> > instead of the GLEW library.
> >
> > -- John
> >
> > On Wed, Oct 9, 2019 at 1:46 PM Ken Brown <kbrow1i at gmail.com
> > <mailto:kbrow1i at gmail.com>> wrote:
> >
> > On 10/6/2019 4:04 PM, Karl Berry wrote:
> > > John (Bowman) has made more efforts to ease the asymptote build.
> The
> > > current release (2.56) is in the TeX Live source tree now. If you
> have a
> > > chance, please try it. (But don't commit new binaries anywhere --
> we
> > > won't update the released TL until next year.) --thanks, karl.
> >
> > John,
> >
> > Commit 05f68ab80e7caa521c967b32ba672fa58bcaae3c in the asymptote git
> repo
> > changed the Cygwin build to use the Win32 API instead of the POSIX
> API. I
> > assume this was done for builds that use Cygwin as a tool for
> building an
> > MS-Windows asymptote, but it breaks the ordinary Cygwin build (both
> for the
> > Cygwin distribution and for native TeX Live).
> >
> > Can you make the two builds co-exist again? I was able to do the
> ordinary
> > Cygwin build by using the attached patch, but it probably breaks the
> other
> > use case.
> >
> > Ken
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/tlbuild/attachments/20191009/4bc09469/attachment.html>
More information about the tlbuild
mailing list