Mercurial > mxe-octave
annotate installer-files/cmdshell.bat @ 4472:0fdeee4cfe11
gnuplot: enable Qt terminal and set default to wxt
* src/gnuplot.mk: Depend on qt5 and build with QT=1 QT_DIR=$(HOST_PREFIX)/qt QT_BIN_DIR=(BUILD_TOOLS_PREFIX)/bin,
install gnuplot_qt.exe
* src/gnuplot-1-fixes.patch: add to patchto allow override of QT tools and paths
* installer-files/octave-firsttime.vbs: set GNUTERM=wxt
* installer-files/octave.vbs: set GNUTERM=wxt
* installer-files/octave.bat: set GNUTERM=wxt
* installer-files/cmdshell.bat: set GNUTERM=wxt
author | Mike Miller <mtmiller@octave.org> |
---|---|
date | Wed, 06 Sep 2017 16:19:37 -0700 |
parents | 8f71549f53b9 |
children | 202fa20cf559 |
rev | line source |
---|---|
3963
9d402d735dd1
nsis-installer: add bash window menu if devel tools enabled
John Donoghue
parents:
diff
changeset
|
1 @echo off |
9d402d735dd1
nsis-installer: add bash window menu if devel tools enabled
John Donoghue
parents:
diff
changeset
|
2 |
4062
57bc5d4ff660
cmdshell: use OCTAVE_HOME variable instead of OCT_HOME
John D
parents:
3963
diff
changeset
|
3 set OCTAVE_HOME=%~dp0 |
4257
8f71549f53b9
cmdshell: set HOME and OCTAVE_HOME without spaces (Bug #49765)
John D
parents:
4232
diff
changeset
|
4 Rem convert to 8.3 format |
8f71549f53b9
cmdshell: set HOME and OCTAVE_HOME without spaces (Bug #49765)
John D
parents:
4232
diff
changeset
|
5 for %%I in ("%OCTAVE_HOME%") do set OCTAVE_HOME=%%~sI |
3963
9d402d735dd1
nsis-installer: add bash window menu if devel tools enabled
John Donoghue
parents:
diff
changeset
|
6 |
9d402d735dd1
nsis-installer: add bash window menu if devel tools enabled
John Donoghue
parents:
diff
changeset
|
7 Rem Set up PATH. Make sure the octave bin dir |
9d402d735dd1
nsis-installer: add bash window menu if devel tools enabled
John Donoghue
parents:
diff
changeset
|
8 Rem comes first. |
9d402d735dd1
nsis-installer: add bash window menu if devel tools enabled
John Donoghue
parents:
diff
changeset
|
9 |
4232 | 10 set PATH=%OCTAVE_HOME%qt5\bin;%OCTAVE_HOME%bin;%PATH% |
3963
9d402d735dd1
nsis-installer: add bash window menu if devel tools enabled
John Donoghue
parents:
diff
changeset
|
11 set TERM=cygwin |
4183 | 12 set GS=gs.exe |
4472
0fdeee4cfe11
gnuplot: enable Qt terminal and set default to wxt
Mike Miller <mtmiller@octave.org>
parents:
4257
diff
changeset
|
13 set GNUTERM=wxt |
3963
9d402d735dd1
nsis-installer: add bash window menu if devel tools enabled
John Donoghue
parents:
diff
changeset
|
14 |
4257
8f71549f53b9
cmdshell: set HOME and OCTAVE_HOME without spaces (Bug #49765)
John D
parents:
4232
diff
changeset
|
15 Rem set home if not already set |
8f71549f53b9
cmdshell: set HOME and OCTAVE_HOME without spaces (Bug #49765)
John D
parents:
4232
diff
changeset
|
16 if "%HOME%"=="" set HOME=%USERPROFILE% |
8f71549f53b9
cmdshell: set HOME and OCTAVE_HOME without spaces (Bug #49765)
John D
parents:
4232
diff
changeset
|
17 if "%HOME%"=="" set HOME=%HOMEDRIVE%%HOMEPATH% |
3963
9d402d735dd1
nsis-installer: add bash window menu if devel tools enabled
John Donoghue
parents:
diff
changeset
|
18 |
4257
8f71549f53b9
cmdshell: set HOME and OCTAVE_HOME without spaces (Bug #49765)
John D
parents:
4232
diff
changeset
|
19 Rem set HOME to 8.3 format |
8f71549f53b9
cmdshell: set HOME and OCTAVE_HOME without spaces (Bug #49765)
John D
parents:
4232
diff
changeset
|
20 for %%I in ("%HOME%") do set HOME=%%~sI |
3963
9d402d735dd1
nsis-installer: add bash window menu if devel tools enabled
John Donoghue
parents:
diff
changeset
|
21 |
4257
8f71549f53b9
cmdshell: set HOME and OCTAVE_HOME without spaces (Bug #49765)
John D
parents:
4232
diff
changeset
|
22 %OCTAVE_HOME%\bin\bash.exe --login -i |
8f71549f53b9
cmdshell: set HOME and OCTAVE_HOME without spaces (Bug #49765)
John D
parents:
4232
diff
changeset
|
23 |