Commit a379cf55 by kollo

automated inno setup script for windows version

parent 5974f956
......@@ -333,10 +333,9 @@ WINDIST=WINDOWS/lib/SDL.dll \
WINDOWS/lib/README-GMP.txt \
WINDOWS/lib/README-LAPACK.txt \
xbasic.exe xbvm.exe xbbc.exe xbc.exe xb2c.exe \
Windows-Installer/readme.txt Windows-Installer/old/demo.bas \
Windows-Installer/x11basic.ico Windows-Installer/old/x11bver.txt \
Windows-Installer/X11-Basic.pdf Windows-Installer/bas.ico \
Windows-Installer/old/setup.exe
WINDOWS/readme-windows.txt \
WINDOWS/x11basic.ico WINDOWS/demo.bas \
WINDOWS/bas.ico ../COPYING ../RELEASE_NOTES INTRO
TOSDIST=xbasic.prg xbvm.prg xbbc.ttp xbc.prg xb2c.ttp ATARI-ST/AUTO/VT100EMU.PRG \
ATARI-ST/readme.txt ATARI-ST/demo.bas ../RELEASE_NOTES \
......@@ -635,9 +634,10 @@ TomTom: $(DIR33).zip
# this is depreciated. Better use Inno-Setup to create a self installing
# .exe file
windows: $(WINDIST)
windows: $(WINDIST) X11-Basic.iss
rm -f X11-Basic-@version@-$(RELEASE)-win.zip
zip -j -D -o X11-Basic-@version@-$(RELEASE)-win.zip $(WINDIST)
iscc X11-Basic.iss
# Make an ATARI ST version
......
Copyright (C) 2005-2013 Jason Hood
This software is provided 'as-is', without any express or implied
warranty. In no event will the author be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including commercial applications, and to alter it and redistribute it
freely, subject to the following restrictions:
1. The origin of this software must not be misrepresented; you must not
claim that you wrote the original software. If you use this software
in a product, an acknowledgment in the product documentation would be
appreciated but is not required.
2. Altered source versions must be plainly marked as such, and must not be
misrepresented as being the original software.
3. This notice may not be removed or altered from any source distribution.
Jason Hood
jadoxa@yahoo.com.au
## rot.bas / demo.bas
## Demonstration Program for the X11-Basic Package on WINDOWS
##
## A Spin arrow rotates around the directon of a magnetic field arrow
## which can be moved with the mouse.
##
' Test der Vektorrotationsroutinen zum Thema Polarisierte Elektronen
' Try to catch the spin!
'
## (c) Markus Hoffmann im Nov. 1999
'
'
bw=240
bh=240
pts=0.031
pt=pts
SIZEW 1,bw,bh
schwarz=COLOR_RGB(0,0,0)
weiss=COLOR_RGB(1,1,1)
rot=COLOR_RGB(1,0,0)
gelb=COLOR_RGB(1,1,0)
CLEARW
x1=0
x2=1
x3=0
i=0
DO
n1=MOUSEX-bw/2
n2=MOUSEY-bh/2
n3=SQRT(n1^2+n2^2)-100
betrag=SQRT(n1^2+n2^2+n3^2)
n1=n1/betrag
n2=n2/betrag
n3=n3/betrag
alpha=20*PI/180
INC i
IF n3<x3
COLOR weiss
LINE bw/2,bh/2,bw/2+x1*100,bh/2+x2*100
PCIRCLE bw/2+x1*100,bw/2+x2*100,5*(-x3+1)
COLOR rot
LINE bw/2,bh/2,bw/2+n1*100,bh/2+n2*100
PCIRCLE bw/2+n1*100,bh/2+n2*100,5*(-n3+1)
ELSE
COLOR rot
LINE bw/2,bh/2,bw/2+n1*100,bh/2+n2*100
PCIRCLE bw/2+n1*100,bh/2+n2*100,5*(-n3+1)
COLOR weiss
LINE bw/2,bh/2,bw/2+x1*100,bh/2+x2*100
PCIRCLE bw/2+x1*100,bw/2+x2*100,5*(-x3+1)
ENDIF
SHOWPAGE
PAUSE pt
IF TIMER-t>pts
pt=pt*0.9
ELSE IF TIMER-t<pts*0.9
pt=pt*1.1
ENDIF
t=TIMER
COLOR schwarz
PBOX 0,0,bw,bh
COLOR gelb
BOX bw/2-100,bh/2-100,bw/2+100,bh/2+100
COLOR weiss
sa=SIN(alpha)
ca=COS(alpha)-1
xs1=(1+ca*(n3^2+n2^2))*x1+(-n3*sa-n2*n1*ca)*x2+(n2*sa-n3*n1*ca)*x3
xs2=(n3*sa-ca*n1*n2)*x1+(1+ca*(n3^2+n1^2))*x2+(-n1*sa-n2*n3*ca)*x3
xs3=(-n2*sa-n3*n1*ca)*x1+(n1*sa-n2*n3*ca)*x2+(1+ca*(n2^2+n1^2))*x3
x1=xs1
x2=xs2
x3=xs3
b=x1^2+x2^2+x3^2
TEXT bw-80,bh-7,STR$(b)
LOOP
X11-Basic for WINDOWS is statically linked against the GMP library,
the GNU multiple precision arithmetic library, version 4.2.2.
Copyright 1991, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
2001, 2002, 2003, 2004, 2005, 2006, 2007 Free Software Foundation, Inc.
For details, see: https://gmplib.org/
GNU MP Copying Conditions
*************************
This library is "free"; this means that everyone is free to use it and
free to redistribute it on a free basis. The library is not in the
public domain; it is copyrighted and there are restrictions on its
distribution, but these restrictions are designed to permit everything
that a good cooperating citizen would want to do. What is not allowed
is to try to prevent others from further sharing any version of this
library that they might get from you.
Specifically, we want to make sure that you have the right to give
away copies of the library, that you receive source code or else can
get it if you want it, that you can change this library or use pieces
of it in new free programs, and that you know you can do these things.
To make sure that everyone has such rights, we have to forbid you to
deprive anyone else of these rights. For example, if you distribute
copies of the GNU MP library, you must give the recipients all the
rights that you have. You must make sure that they, too, receive or
can get the source code. And you must tell them their rights.
Also, for our own protection, we must make certain that everyone
finds out that there is no warranty for the GNU MP library. If it is
modified by someone else and passed on, we want their recipients to
know that what they have is not what we distributed, so that any
problems introduced by others will not reflect on our reputation.
The precise conditions of the license for the GNU MP library are
found in the Lesser General Public License version 3 that accompanies
the source code, see `COPYING.LIB'. Certain demonstration programs are
provided under the terms of the plain General Public License version 3,
see `COPYING'.
X11-Basic for WINDOWS is statically linked against the GMP library,
the GNU multiple precision arithmetic library, version 4.2.2.
Copyright 1991, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
2001, 2002, 2003, 2004, 2005, 2006, 2007 Free Software Foundation, Inc.
For details, see: https://gmplib.org/
GNU MP Copying Conditions
*************************
This library is "free"; this means that everyone is free to use it and
free to redistribute it on a free basis. The library is not in the
public domain; it is copyrighted and there are restrictions on its
distribution, but these restrictions are designed to permit everything
that a good cooperating citizen would want to do. What is not allowed
is to try to prevent others from further sharing any version of this
library that they might get from you.
Specifically, we want to make sure that you have the right to give
away copies of the library, that you receive source code or else can
get it if you want it, that you can change this library or use pieces
of it in new free programs, and that you know you can do these things.
To make sure that everyone has such rights, we have to forbid you to
deprive anyone else of these rights. For example, if you distribute
copies of the GNU MP library, you must give the recipients all the
rights that you have. You must make sure that they, too, receive or
can get the source code. And you must tell them their rights.
Also, for our own protection, we must make certain that everyone
finds out that there is no warranty for the GNU MP library. If it is
modified by someone else and passed on, we want their recipients to
know that what they have is not what we distributed, so that any
problems introduced by others will not reflect on our reputation.
The precise conditions of the license for the GNU MP library are
found in the Lesser General Public License version 3 that accompanies
the source code, see `COPYING.LIB'. Certain demonstration programs are
provided under the terms of the plain General Public License version 3,
see `COPYING'.
X11-Basic for WINDOWS was statically linked against the CLAPACK library.
LAPACK (Linear Algebra Package) is a standard software library for
numerical linear algebra.
LAPACK is licensed under a three-clause BSD style license,
a permissive free software license with few restrictions.
For details see: http://www.netlib.org/lapack/
and
http://www.netlib.org/clapack/
X11-Basic for WINDOWS was statically linked against the CLAPACK library.
LAPACK (Linear Algebra Package) is a standard software library for
numerical linear algebra.
LAPACK is licensed under a three-clause BSD style license,
a permissive free software license with few restrictions.
For details see: http://www.netlib.org/lapack/
and
http://www.netlib.org/clapack/
Please distribute this file with the SDL runtime environment:
The Simple DirectMedia Layer (SDL for short) is a cross-platfrom library
designed to make it easy to write multi-media software, such as games and
emulators.
The Simple DirectMedia Layer library source code is available from:
http://www.libsdl.org/
This library is distributed under the terms of the GNU LGPL license:
http://www.gnu.org/copyleft/lesser.html
Please distribute this file with the SDL runtime environment:
The Simple DirectMedia Layer (SDL for short) is a cross-platfrom library
designed to make it easy to write multi-media software, such as games and
emulators.
The Simple DirectMedia Layer library source code is available from:
http://www.libsdl.org/
This library is distributed under the terms of the GNU LGPL license:
http://www.gnu.org/copyleft/lesser.html
X X 1 1 BBBB
X X 1 1 B B i
X X 1 1 B B sss
X 1 1 ----- BBBB aaaa s s i cccc
X X 1 1 B B a a s i c
X X 1 1 B B a a s s i c
X X 1 1 BBBB aaaaa sss i cccc
VERSION 1.25
(C) 1997-2017 by Markus Hoffmann
(kollo@users.sourceforge.net)
(http://x11-basic.sourceforge.net/)
ALL RIGHTS RESERVED
THIS PROGRAM IS PROVIDED "AS IS" WITHOUT A WARRANTY OF ANY KIND
X11-Basic is subject to the GNU General Public License.
See the file `COPYING' for licensing information
This is the WINDOWS-Version of X11-Basic.
Summary: A Basic interpreter and compiler with graphics capabilities
Vendor: Markus Hoffmann
Name: X11Basic
Version: 1.25
Copyright: GPLv2
Group: Development/Languages
Source: https://gitlab.com/kollo/X11Basic/
URL: http://x11-basic.sourceforge.net/
Packager: Markus Hoffmann <kollo@users.sourceforge.net>
%description
X11-Basic is a dialect of the BASIC programming language with graphics
that integrates features like shell scripting, cgi-Programming
and full graphical visualisation into the easy to learn basic language on
modern computers. The syntax is most similar to the old GFA-Basic ATARI-ST
implementation.
This package includes the basic interpreter named xbasic. It can be used as a
shell, can run basic-scripts. You can make excecutable scripts p.ex.
*.cgi-Scripts for handling web-input. A pseudo compiler is included which
makes stand alone binaries out of the scripts. It compiles itself.
You will find the compiler and many other sample programs in
{install-dir}\examples.
Authors:
--------
Markus Hoffmann <kollo@users.sourceforge.net>
============================================================================
To INSTALL X11-Basic: click on setup.exe
To REMOVE X11-Basic: click on the software icon of the control panel
To CUSTOMIZE: Edit the registry-keys in
HKEY_LOCAL_MACHINE/SOFTWARE/x11basic
A short description of the syntax of X11-Basic can be found
in the file:
X11-Basic.pdf
============================================================================
Requirements for the Windows version:
- The X11-Basic interpreter (xbasic.exe) as well as the compiler
(xbc.exe) and the other excecutables coming with this package need
at least Windows 95 to run -- it was not tested in Windows 3.x yet.
- The SDL.dll (the Simple DirectMedia library) must be present. Al
though it is incuded in this package, and also installed by the
X11-Basic installer, there might already be a more recent version
available. A recent version can be downloadded at: http://www.libsdl.org/
See the File README-SDL.txt for more information.
- The libgfx.lib routines ( (c) A. Schiffler, 1999-2003, licensed under the
LGPL) are statically linked to the X11-Basic library.
See: http://www.ferzkopp.net/Software/SDL_gfx-2.0/
- X11-Basic for WINDOWS comes with ANSICON included in the package. This
enables the text console features under WINDOWS.
Please see the file README-ANSICON for details.
On older WINDOWS version ANSI.SYS need to be present to make use of the
text console features. You can find instructions on how to use and install
ANSI.SYS on your computer in the internet.
- optionally: you may want to install tcc, the tiny C compiler, to improve
the performance of the X11-Basic compiler.
See: http://bellard.org/tcc/
......@@ -7,8 +7,8 @@
#define MyAppName "X11-Basic"
#define MyAppURL "http://x11-basic.sourceforge.net/"
#define MyAppExeName "xbasic-wrapper.bat"
#define MyAppVersion "1.24"
#define MyAppRelease "32"
#define MyAppVersion "1.25"
#define MyAppRelease "47"
[Setup]
; NOTE: The value of AppId uniquely identifies this application.
......@@ -31,9 +31,9 @@ AppPublisherURL={#MyAppURL}
UninstallDisplayIcon={app}\x11basic.ico
OutputDir=Inno-Output
AppCopyright=Copyright (C) 1991-2016 Markus Hoffmann
LicenseFile=COPYING
InfoBeforeFile=RELEASE_NOTES
AppCopyright=Copyright (C) 1991-2017 Markus Hoffmann
LicenseFile=../COPYING
InfoBeforeFile=../RELEASE_NOTES
InfoAfterFile=INTRO
OutputBaseFilename={#MyAppName}-{#MyAppVersion}-{#MyAppRelease}-setup
......@@ -54,22 +54,22 @@ Source: "xbc.exe"; DestDir: "{app}"
Source: "xb2c.exe"; DestDir: "{app}"
Source: "xbvm.exe"; DestDir: "{app}"
Source: "xbbc.exe"; DestDir: "{app}"
Source: "Windows.extension/lib/SDL.dll"; DestDir: "{sys}"; Flags: sharedfile regserver 32bit
Source: "../examples2/simulation/rot.bas"; DestName: "demo.bas"; DestDir: "{app}/examples"
Source: "Windows-Installer/readme.txt"; DestDir: "{app}"; Flags: isreadme
Source: "Windows.extension/lib/libusb0.dll"; DestDir: "{sys}"; Flags: sharedfile regserver 32bit
Source: "Windows.extension/lib/README-libusb.txt"; DestDir: "{app}/contrib"; Flags: isreadme
Source: "Windows-Installer/x11basic.ico"; DestDir: "{app}"
Source: "Windows-Installer/X11-Basic.pdf"; DestDir: "{app}/doc"
Source: "Windows-Installer/bas.ico"; DestDir: "{app}"
Source: "Windows.extension/lib/README-SDL.txt"; DestDir: "{app}/contrib" ; Flags: isreadme
Source: "Windows.extension/lib/README-GMP.txt"; DestDir: "{app}/contrib" ; Flags: isreadme
Source: "Windows.extension/lib/README-LAPACK.txt"; DestDir: "{app}/contrib" ; Flags: isreadme
Source: "Windows.extension/ansicon/readme.txt"; DestName: "README-ANSICON.txt"; DestDir: "{app}/contrib" ; Flags: isreadme
Source: "Windows.extension/ansicon/LICENSE.txt"; DestName: "LICENSE-ANSICON.txt"; DestDir: "{app}/contrib"
Source: "Windows.extension/ansicon/x86/ANSI32.dll"; DestDir: "{app}/contrib"
Source: "Windows.extension/ansicon/x86/ansicon.exe"; DestDir: "{app}/contrib"
Source: "Windows.extension/xbasic-wrapper.bat"; DestDir: "{app}"
Source: "WINDOWS/lib/SDL.dll"; DestDir: "{sys}"; Flags: sharedfile regserver 32bit
Source: "WINDOWS/demo.bas"; DestName: "demo.bas"; DestDir: "{app}/examples"
Source: "WINDOWS/readme-windows.txt"; DestDir: "{app}"; Flags: isreadme
Source: "WINDOWS/lib/libusb0.dll"; DestDir: "{sys}"; Flags: sharedfile regserver 32bit
Source: "WINDOWS/lib/README-libusb.txt"; DestDir: "{app}/contrib"; Flags: isreadme
Source: "WINDOWS/x11basic.ico"; DestDir: "{app}"
Source: "../doc/manual/Outputs/X11-Basic-manual-1.25.pdf"; DestName: "X11-Basic.pdf"; DestDir: "{app}/doc"
Source: "WINDOWS/bas.ico"; DestDir: "{app}"
Source: "WINDOWS/lib/README-SDL.txt"; DestDir: "{app}/contrib" ; Flags: isreadme
Source: "WINDOWS/lib/README-GMP.txt"; DestDir: "{app}/contrib" ; Flags: isreadme
Source: "WINDOWS/lib/README-LAPACK.txt"; DestDir: "{app}/contrib" ; Flags: isreadme
Source: "WINDOWS/ansicon/readme.txt"; DestName: "README-ANSICON.txt"; DestDir: "{app}/contrib" ; Flags: isreadme
Source: "WINDOWS/ansicon/LICENSE.txt"; DestName: "LICENSE-ANSICON.txt"; DestDir: "{app}/contrib"
Source: "WINDOWS/ansicon/x86/ANSI32.dll"; DestDir: "{app}/contrib"
Source: "WINDOWS/ansicon/x86/ansicon.exe"; DestDir: "{app}/contrib"
Source: "WINDOWS/xbasic-wrapper.bat"; DestDir: "{app}"
[Icons]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment