drop support for VMS #453
parent
b4eb70cf74
commit
8df65487ff
|
@ -1,6 +1,6 @@
|
|||
ACLOCAL_AMFLAGS = -I m4
|
||||
SUBDIRS = src config tests
|
||||
EXTRA_DIST = test docs examples windows VMS cmake bootstrap.sh CMakeLists.txt CONTRIBUTORS README.md CHANGELOG.md CONTRIBUTING.md
|
||||
EXTRA_DIST = test docs examples windows cmake bootstrap.sh CMakeLists.txt CONTRIBUTORS README.md CHANGELOG.md CONTRIBUTING.md
|
||||
|
||||
clean-local:
|
||||
$(srcdir)/cmake/distclean.sh --automake
|
||||
|
|
1322
VMS/CONFIGURE.COM
1322
VMS/CONFIGURE.COM
File diff suppressed because it is too large
Load Diff
|
@ -1,79 +0,0 @@
|
|||
Dear OpenVMS user,
|
||||
|
||||
**Important**
|
||||
|
||||
We will drop support to VMS in version v2.4.0. We never test on VMS,
|
||||
and we have no way of doing so. And we haven't had any report on the
|
||||
topic in years. Pleas provide feedback if you still need the support.
|
||||
|
||||
https://github.com/libgd/libgd/issues/453
|
||||
|
||||
Installation process is identical to one in *nix* world and consist to
|
||||
four simple steps:
|
||||
1. Installing required libraries
|
||||
2. Configuration
|
||||
3. Compiling
|
||||
4. Installation.
|
||||
|
||||
|
||||
1. Please install required libraries first:
|
||||
|
||||
1. ZLIB 1.2 or newer
|
||||
2. PNG 1.2.12 or newer
|
||||
3. FreeType 2
|
||||
4. JPEG 6B
|
||||
|
||||
All may be found at OpenVMS libSDL porting project site
|
||||
http://fafner.dyndns.org/~alexey/libsdl/required.html
|
||||
|
||||
Also, system should have MMS make utility from DEC or
|
||||
free analogue MMK. And C compiler with runtime, of course. ;)
|
||||
|
||||
|
||||
2. Configuration is doing automatically by a configuration script:
|
||||
|
||||
$@[.VMS]CONFIGURE
|
||||
|
||||
The script detects hardware,system and required libraries have been installed.
|
||||
Compilation stage will be prepeared to create shared and static libraries.
|
||||
Alpha,IA64 or VAX platform are supported. Optional argument "static"
|
||||
tells to configurator to make static libraries only:
|
||||
|
||||
$@[.VMS]CONFIGURE STATIC
|
||||
|
||||
CONFIGURE script checks your ZLIB, FREETYPE, JPEG, PNG libraries.
|
||||
If it detects any troubles, you may get and install good and tested ones
|
||||
from OpenVMS libSDL porting project site:
|
||||
http://fafner.dyndns.org/~alexey/libsdl/required.html
|
||||
|
||||
When success, it creates a building script named BUILD.COM
|
||||
|
||||
3. Compilation:
|
||||
|
||||
$@BUILD
|
||||
|
||||
It should be error-free.
|
||||
|
||||
When success, it creates a setup script named LIBGD$STARTUP.COM
|
||||
|
||||
4. Setup OpenVMS environment before using libGD:
|
||||
|
||||
$@LIBGD$STARTUP
|
||||
|
||||
LIBGD and its utilites are ready to using.
|
||||
|
||||
Optionally you may insert this startup file into your LOGIN.COM
|
||||
to set libGD environment every time you login automatically.
|
||||
|
||||
To learn libGD please refer libGD official documentation.
|
||||
Compiling with library should be:
|
||||
|
||||
$CC/INCL=LIBGD PROG
|
||||
$LINK PROG, LIBGD:LIBGD/OPT
|
||||
|
||||
|
||||
|
||||
yours,
|
||||
Alexey Chupahin
|
||||
Rostov-on-Don, Russia
|
||||
elvis_75@mail.ru alex@rostov.rs-ultra.ru
|
16
src/gdtest.c
16
src/gdtest.c
|
@ -66,11 +66,7 @@ main (int argc, char **argv)
|
|||
/* */
|
||||
/* Send to PNG File then Ptr */
|
||||
/* */
|
||||
#ifdef VMS
|
||||
sprintf (of, "%s-png", argv[1]);
|
||||
#else
|
||||
sprintf (of, "%s.png", argv[1]);
|
||||
#endif
|
||||
out = fopen (of, "wb");
|
||||
if (!out) {
|
||||
fprintf(stderr, "PNG Output file does not exist!\n");
|
||||
|
@ -112,11 +108,7 @@ main (int argc, char **argv)
|
|||
/* */
|
||||
/* Send to GD2 File then Ptr */
|
||||
/* */
|
||||
#ifdef VMS
|
||||
sprintf (of, "%s-gd2", argv[1]);
|
||||
#else
|
||||
sprintf (of, "%s.gd2", argv[1]);
|
||||
#endif
|
||||
out = fopen (of, "wb");
|
||||
if (!out) {
|
||||
fprintf(stderr, "GD2 Output file does not exist!\n");
|
||||
|
@ -157,11 +149,7 @@ main (int argc, char **argv)
|
|||
/* */
|
||||
/* Send to GD File then Ptr */
|
||||
/* */
|
||||
#ifdef VMS
|
||||
sprintf (of, "%s-gd", argv[1]);
|
||||
#else
|
||||
sprintf (of, "%s.gd", argv[1]);
|
||||
#endif
|
||||
out = fopen (of, "wb");
|
||||
if (!out) {
|
||||
fprintf(stderr, "GD Output file does not exist!\n");
|
||||
|
@ -223,11 +211,7 @@ main (int argc, char **argv)
|
|||
/*
|
||||
* Test gdImagePngToSink'
|
||||
*/
|
||||
#ifdef VMS
|
||||
sprintf (of, "%s-snk", argv[1]);
|
||||
#else
|
||||
sprintf (of, "%s.snk", argv[1]);
|
||||
#endif
|
||||
out = fopen (of, "wb");
|
||||
if (!out) {
|
||||
fprintf (stderr,
|
||||
|
|
Loading…
Reference in New Issue