summaryrefslogtreecommitdiff
path: root/Build/source/utils/asymptote/build-scripts
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-03-27 22:27:57 +0000
committerKarl Berry <karl@freefriends.org>2019-03-27 22:27:57 +0000
commit9121faed0cf54a08882acf41120cf28fc3a32998 (patch)
treefe7f0c5e9ed02fe4a1fc389c27c88750c2807e43 /Build/source/utils/asymptote/build-scripts
parentb8e24fbf964b4030f68a8484a53d405869693266 (diff)
asy 2.48 sources
git-svn-id: svn://tug.org/texlive/trunk@50622 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/utils/asymptote/build-scripts')
-rw-r--r--Build/source/utils/asymptote/build-scripts/HOWTO-MSWindows30
-rwxr-xr-xBuild/source/utils/asymptote/build-scripts/build-asymptote4
-rwxr-xr-xBuild/source/utils/asymptote/build-scripts/build-asymptote.dos3
3 files changed, 21 insertions, 16 deletions
diff --git a/Build/source/utils/asymptote/build-scripts/HOWTO-MSWindows b/Build/source/utils/asymptote/build-scripts/HOWTO-MSWindows
index 3499bc73655..ece24a5022c 100644
--- a/Build/source/utils/asymptote/build-scripts/HOWTO-MSWindows
+++ b/Build/source/utils/asymptote/build-scripts/HOWTO-MSWindows
@@ -4,7 +4,7 @@ First run build-asymptote on Linux. This will build the documentation
and source tar ball and copy them to a directory ~/shared which needs to be
shared via virtualbox to the cygwin build environment.
-Install these cygwin packages:
+Install TeXLive and these Cygwin packages:
git
wget
@@ -17,16 +17,19 @@ flex
w32api-headers
w32api-runtime
zlib-devel
-libGLU-devel
libtirpc-devel (SRC)
libreadline-devel (SRC)
libfftw3-devel (SRC)
libgsl-devel (SRC)
+libGLEW-devel (SRC)
+glm-devel
automake1.15
libtool
mv /usr/include/GL /usr/include/GL.orig
+Install these cygwin packages:
+
Build and install static libraries from /usr/local/src:
gsl-devel:
@@ -41,7 +44,7 @@ fftw3-devel:
./configure --prefix=/usr --enable-shared
make install
-tirpc-devel (if rpc library is unavailable):
+tirpc-devel:
./configure --prefix=/usr --disable-gssapi
make install
ln -s /usr/include/tirpc/rpc /usr/include/rpc
@@ -52,19 +55,23 @@ termcap-1.3.1:
./configure --prefix=/usr
make install
+glew-2.1.0:
+make CFLAGS=-D_WIN32 glew.lib.static
+make install
+cp lib/libGLEW.a /usr/lib
+
git clone http://github.com/vectorgraphics/asymptote
-cd /usr/include
-patch -p0 < ~/asymptote/patches/cygwin_glu.patch
+freeglut-3.0.0:
+patch -p1 < ~/asymptote/patches/cygwin_freeglut-3.0.0.patch
+cmake CMakeLists.txt
+make
+cp lib/libfreeglut_static.a /usr/lib/libfreeglut.a
+cp -a include/GL/*.h /usr/include/w32api/GL/
mkdir -p ~/dll/cygwin
cp /usr/bin/cygwin1.dll ~/dll/cygwin
-cd
-~/asymptote/build-scripts/build-freeglut
-
-install texlive
-
mkdir ~/CTAN
cp -a ~/asymptote/build-scripts/README-binaries ~/CTAN
@@ -75,8 +82,7 @@ tar -zxf gc-$GCVERSION.tar.gz
tar -zxf libatomic_ops-$GCVERSION.tar.gz
mv libatomic_ops-$GCVERSION gc-$GCVERSION/libatomic_ops
cd gc-$GCVERSION
-patch -p1 < ~/asymptote/patches/cygwin_gc.patch
./configure --disable-shared
make check
-~/asymptote/build-scripts/build-asymptote.dos 2.43
+~/asymptote/build-scripts/build-asymptote.dos 2.48
diff --git a/Build/source/utils/asymptote/build-scripts/build-asymptote b/Build/source/utils/asymptote/build-scripts/build-asymptote
index f7f50c068f5..8a350a59b09 100755
--- a/Build/source/utils/asymptote/build-scripts/build-asymptote
+++ b/Build/source/utils/asymptote/build-scripts/build-asymptote
@@ -4,8 +4,8 @@
HOME=~bowman
SHARED=$HOME/shared/asy
-GCVERSION=7.6.2
-ATOMICVERSION=7.6.2
+GCVERSION=8.0.2
+ATOMICVERSION=7.6.8
GC=gc-$GCVERSION
MAKEFLAGS=-j8
diff --git a/Build/source/utils/asymptote/build-scripts/build-asymptote.dos b/Build/source/utils/asymptote/build-scripts/build-asymptote.dos
index 78bc9847ace..348ddd2abe9 100755
--- a/Build/source/utils/asymptote/build-scripts/build-asymptote.dos
+++ b/Build/source/utils/asymptote/build-scripts/build-asymptote.dos
@@ -34,10 +34,9 @@ ln -sf ../gc-$GC .
make -n MSDOS=1 >& /dev/null || ./configure OSTYPE=msdos --enable-gc=$GC --with-latex=/usr/local/share --with-context=/usr/local/share
rm -rf $BUILD
mkdir -p $BUILD
-cp -a $HOME/dll/cygwin/*.dll $HOME/dll/*.dll $BUILD
+cp -a $HOME/dll/cygwin/*.dll $BUILD
chmod 0644 $BUILD/*.dll
cp -a $BUILD/*.dll ~/CTAN/asymptote-$VERSION/binaries/$BINDIR/
-cp -a $HOME/dll/*.dll .
make MSDOS=1 DESTDIR="$BUILD/" docdir="$BUILD/"
test -f asy.list || make MSDOS=1 keywords DESTDIR="$BUILD/" docdir="$BUILD/"
make MSDOS=1 install-asy DESTDIR="$BUILD/" docdir="$BUILD/"