Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Tweaked CMake-based build to suite LuaDist

  • Loading branch information...
commit 3f1d0675bf3964020aa140e6fab62f187cc9f130 1 parent f61d5a6
kapec authored
Showing with 40,936 additions and 14 deletions.
  1. +218 −10 CMakeLists.txt
  2. +1,169 −0 ChangeLog
  3. +109 −0 NEWS
  4. +1,343 −0 VMS/CONFIGURE.COM
  5. +3 −0  VMS/Makefile.am
  6. +71 −0 VMS/README.VMS
  7. +4 −0 cmake/Makefile.am
  8. +42 −0 cmake/modules/AC_HEADER_STDC.cmake
  9. +75 −0 cmake/modules/CheckDIRSymbolExists.cmake
  10. +38 −0 cmake/modules/CheckPrototypeExists.cmake
  11. +61 −0 cmake/modules/FindFontconfig.cmake
  12. +43 −0 cmake/modules/FindFreetype.cmake
  13. +121 −0 cmake/modules/FindGD.cmake
  14. +63 −0 cmake/modules/FindPNG.cmake
  15. +92 −0 cmake/modules/FindPTHREAD.cmake
  16. +57 −0 cmake/modules/FindXPM.cmake
  17. +4 −0 cmake/modules/Makefile.am
  18. +22 −0 cmake/modules/TestForHighBitCharacters.c
  19. +45 −0 cmake/modules/TestForHighBitCharacters.cmake
  20. +47 −0 cmake/modules/TestForStandardHeaderwait.cmake
  21. +1 −0  cmake/modules/gd.cmake
  22. +6 −0 config/Makefile.am
  23. +1,519 −0 config/config.guess
  24. +513 −0 config/config.rpath
  25. +1,626 −0 config/config.sub
  26. +423 −0 config/depcomp
  27. +96 −0 config/gdlib-config.in
  28. +251 −0 config/install-sh
  29. +6,971 −0 config/ltmain.sh
  30. +336 −0 config/missing
  31. +99 −0 config/mkinstalldirs
  32. +130 −0 dist.cmake
  33. +12 −4 dist.info
  34. +230 −0 docs/INSTALL
  35. +1 −0  docs/Makefile.am
  36. +385 −0 docs/README-JPEG.TXT
  37. +39 −0 docs/README.CMAKE
  38. +39 −0 docs/README.JPN
  39. +62 −0 docs/README.TESTING
  40. +57 −0 docs/README.TXT
  41. +7 −0 examples/.cvsignore
  42. +54 −0 examples/CMakeLists.txt
  43. +1 −0  examples/Makefile.am
  44. +29 −0 examples/arc.c
  45. +92 −0 examples/copyrotated.c
  46. +69 −0 examples/crop.c
  47. +76 −0 examples/flip.c
  48. +52 −0 examples/gif.c
  49. +60 −0 examples/nnquant.c
  50. BIN  examples/noIcon.pic
  51. BIN  examples/noIcon.sgi
  52. BIN  examples/noIcon.tga
  53. BIN  examples/noIconAlpha.tga
  54. BIN  examples/test_crop_threshold.png
  55. +52 −0 examples/tgaread.c
  56. +58 −0 examples/tiffread.c
  57. +316 −0 examples/windows.c
  58. +5 −0 install-item
  59. +5 −0 netware/Makefile.am
  60. +553 −0 netware/Makefile.netware
  61. +37 −0 netware/get_exp.awk
  62. +28 −0 netware/get_ver.awk
  63. +27 −0 netware/keepscreen.c
  64. +310 −0 netware/nwlibc.c
  65. +343 −0 netware/tests/Makefile
  66. +4 −0 netware/tests/Makefile.am
  67. +285 −0 netware/tests/Makefile.netware
  68. +21 −0 src/.cvsignore
  69. +98 −0 src/CMakeLists.txt
  70. +53 −0 src/COPYING
  71. +23 −0 src/Makefile.am
  72. +203 −0 src/annotate.c
  73. +205 −0 src/bdftogd
  74. +114 −0 src/bmp.h
  75. +35 −0 src/bootstrap.sh
  76. +63 −0 src/circletexttest.c
  77. +118 −0 src/config.h.cmake
  78. +113 −0 src/config.hin
  79. +579 −0 src/configure.ac
  80. BIN  src/demoin.gif
  81. BIN  src/demoin.png
  82. +423 −0 src/depcomp
  83. +277 −0 src/entities.h
  84. +682 −0 src/entities.html
  85. +50 −0 src/entities.tcl
  86. +63 −0 src/err.out
  87. +44 −0 src/fontconfigtest.c
  88. +98 −0 src/fontsizetest.c
  89. +145 −0 src/fontwheeltest.c
  90. +3,744 −0 src/gd.c
  91. +889 −0 src/gd.h
  92. +69 −0 src/gd2copypal.c
  93. +64 −0 src/gd2time.c
  94. +46 −0 src/gd2togif.c
  95. +72 −0 src/gd2topng.c
  96. +1,067 −0 src/gd_bmp.c
  97. +26 −0 src/gd_color.c
  98. +14 −0 src/gd_color.h
  99. +787 −0 src/gd_color_map.c
  100. +30 −0 src/gd_color_map.h
  101. +27 −0 src/gd_color_map_test.c
  102. +231 −0 src/gd_crop.c
  103. +99 −0 src/gd_filter.c
  104. +337 −0 src/gd_gd.c
  105. +1,078 −0 src/gd_gd2.c
  106. +674 −0 src/gd_gif_in.c
  107. +1,142 −0 src/gd_gif_out.c
  108. +228 −0 src/gd_io.c
  109. +52 −0 src/gd_io.h
  110. +411 −0 src/gd_io_dp.c
  111. +133 −0 src/gd_io_file.c
  112. +143 −0 src/gd_io_ss.c
  113. +140 −0 src/gd_io_stream.cxx
  114. +126 −0 src/gd_io_stream.h
  115. +965 −0 src/gd_jpeg.c
  116. +590 −0 src/gd_nnquant.c
  117. +19 −0 src/gd_nnquant.h
  118. +57 −0 src/gd_pixelate.c
  119. +875 −0 src/gd_png.c
  120. +31 −0 src/gd_security.c
  121. +50 −0 src/gd_ss.c
  122. +344 −0 src/gd_tga.c
  123. +86 −0 src/gd_tga.h
  124. +1,025 −0 src/gd_tiff.c
  125. +2,077 −0 src/gd_topal.c
  126. +73 −0 src/gd_transform.c
  127. +212 −0 src/gd_wbmp.c
  128. +225 −0 src/gdcache.c
  129. +94 −0 src/gdcache.h
  130. +93 −0 src/gdcmpgif.c
  131. +198 −0 src/gddemo.c
Sorry, we could not display the entire diff because too many files (428) changed.
View
228 CMakeLists.txt
@@ -1,10 +1,218 @@
-# Copyright (C) 2011 LuaDist.
-# Created by Peter Drahos
-# Redistribution and use of this file is allowed according to the terms of the MIT license.
-# For details see the COPYRIGHT file distributed with LuaDist.
-# Please note that the package source code is licensed under its own license.
-
-PROJECT(libffi C)
-CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
-
-MESSAGE("Sorry, this package in not at the moment provided by LuaDist in source form.\nPlease use your native system package manager to install libgd-2.0.35.\n On windows or systems lacking any package management install libgd manually.")
+# This is a slightly modified CMakeLists.txt file to suit LuaDist needs.
+
+# $Id$
+
+PROJECT(GD) # LuaDist: do NOT change!
+CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
+
+SET(PACKAGE GD)
+SET(PACKAGE_NAME GD)
+SET(CMAKE_MODULE_PATH "${GD_SOURCE_DIR}/cmake/modules")
+
+INCLUDE(dist.cmake)
+
+OPTION(ENABLE_PNG "Enable PNG support" 1)
+OPTION(ENABLE_JPEG "Enable JPEG support" 1)
+OPTION(ENABLE_TIFF "Enable TIFF support" 1)
+OPTION(ENABLE_XPM "Enable XPM support" 1)
+OPTION(ENABLE_FREETYPE "Enable Freetype2 support" 1)
+OPTION(ENABLE_WBMP "Enable WBMP support" 1)
+OPTION(ENABLE_FONTCONFIG "Enable FontConfig support" 1)
+
+if (BUILD_TEST)
+ ENABLE_TESTING()
+endif(BUILD_TEST)
+
+if (NOT WIN32)
+ if(CMAKE_BUILD_TYPE)
+ STRING(TOLOWER ${CMAKE_BUILD_TYPE} CMAKE_BUILD_TYPE_TOLOWER)
+ IF (CMAKE_BUILD_TYPE_TOLOWER MATCHES debug)
+ set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -Wall -O0")
+ ENDIF (CMAKE_BUILD_TYPE_TOLOWER MATCHES debug)
+ endif(CMAKE_BUILD_TYPE)
+endif (NOT WIN32)
+
+if (USE_EXT_GD)
+ message("Using GD at: ${USE_EXT_GD}")
+ INCLUDE_DIRECTORIES(BEFORE ${GD_INCLUDE_DIR})
+ FIND_PACKAGE(GD)
+ if (GD_FOUND)
+ INCLUDE_DIRECTORIES(BEFORE ${GD_INCLUDE_DIR})
+ LINK_DIRECTORIES(BEFORE ${GD_LIBRARIES})
+ SET(GD_LIB ${GD_LIBRARIES})
+ SET(GD_LIBS_DIR ${GD_LIBRARY})
+
+ message("GD libs #: ${GD_LIBRARIES}")
+ message("GD lib #: ${GD_LIBRARY}")
+ message("GD include: ${GD_INCLUDE_DIR}")
+ else (GD_FOUND)
+ message("No gd found")
+ endif (GD_FOUND)
+else (USE_EXT_GD)
+
+ SET(GD_VERSION_MAJOR "2")
+ SET(GD_VERSION_MINOR "1")
+ SET(GD_VERSION_PATCH "0")
+ SET(GD_VERSION "${GD_VERSION_MAJOR}.${GD_VERSION_MINOR}.${GD_VERSION_PATCH}")
+ SET(GD_VERSION_STRING "${GD_VERSION}")
+
+ SET(GD_VERSION_INT "20100")
+
+ SET(CMAKE_REQUIRED_INCLUDES "/usr/include" "/usr/local/include")
+
+ include(CheckIncludeFiles)
+ include(CheckIncludeFile)
+
+ include(AC_HEADER_STDC)
+ include(CheckPrototypeExists)
+ SET(FONTCONFIG_FIND_QUIETLY, 1)
+
+ message(STATUS "PNG Support: ${ENABLE_PNG}")
+
+ if (ENABLE_PNG)
+ FIND_PACKAGE(PNG REQUIRED)
+ endif (ENABLE_PNG)
+
+ FIND_PACKAGE(ZLIB)
+
+ IF (NOT WIN32)
+ FIND_PACKAGE(PTHREAD)
+ ENDIF (NOT WIN32)
+
+ FIND_PACKAGE(Freetype)
+ FIND_PACKAGE(XPM)
+
+ if (ENABLE_JPEG)
+ FIND_PACKAGE(JPEG)
+ endif (ENABLE_JPEG)
+
+ if (ENABLE_TIFF)
+ FIND_PACKAGE(TIFF)
+ endif (ENABLE_TIFF)
+
+ if (NOT WIN32)
+ FIND_PACKAGE(PTHREAD)
+ endif (NOT WIN32)
+
+ if (ENABLE_FREETYPE)
+ FIND_PACKAGE(Freetype)
+ endif (ENABLE_FREETYPE)
+
+ if (ENABLE_XPM)
+ FIND_PACKAGE(XPM)
+ endif (ENABLE_XPM)
+
+ if (ENABLE_FONTCONFIG)
+ FIND_PACKAGE(Fontconfig)
+ endif (ENABLE_FONTCONFIG)
+
+ if (FREETYPE_FOUND)
+ INCLUDE_DIRECTORIES(${FREETYPE_INCLUDE_DIR})
+ SET(HAVE_FT2BUILD_H 1)
+ SET(HAVE_LIBFREETYPE 1)
+ ENDIF(FREETYPE_FOUND)
+
+ IF(ZLIB_FOUND)
+ INCLUDE_DIRECTORIES(${PNG_INCLUDE_DIR})
+ SET(HAVE_LIBZ 1)
+ SET(HAVE_LIBPNG_PNG_H 1)
+ ENDIF(ZLIB_FOUND)
+
+ IF(PNG_FOUND)
+ INCLUDE_DIRECTORIES(${PNG_INCLUDE_DIR})
+ SET(HAVE_LIBPNG 1)
+ ENDIF(PNG_FOUND)
+
+ IF(XPM_FOUND)
+ INCLUDE_DIRECTORIES(${XPM_INCLUDE_DIR})
+ SET(HAVE_LIBXPM 1)
+ ENDIF(XPM_FOUND)
+
+ IF(JPEG_FOUND)
+ INCLUDE_DIRECTORIES(${JPEG_INCLUDE_DIR})
+ SET(HAVE_LIBJPEG 1)
+ ENDIF(JPEG_FOUND)
+
+ IF(TIFF_FOUND)
+ INCLUDE_DIRECTORIES(${TIFF_INCLUDE_DIR})
+ SET(HAVE_LIBTIFF 1)
+ ENDIF(TIFF_FOUND)
+
+ IF(FONTCONFIG_FOUND)
+ INCLUDE_DIRECTORIES(${FONTCONFIG_INCLUDE_DIR})
+ SET(HAVE_LIBFONTCONFIG 1)
+ ELSE (FONTCONFIG_FOUND)
+ SET(FONTCONFIG_LIBRARIES "")
+ SET(FONTCONFIG_INCLUDE_DIR "")
+ SET(FONTCONFIG_LIB_DIR "")
+ ENDIF(FONTCONFIG_FOUND)
+
+ SET(HAVE_CONFIG_H 1)
+
+ ADD_DEFINITIONS(-DHAVE_CONFIG_H)
+
+ CONFIGURE_FILE(${GD_SOURCE_DIR}/src/config.h.cmake ${CMAKE_BINARY_DIR}/config.h ESCAPE_QUOTES)
+
+ set(BUILD_SHARED_LIBS On)
+
+ if (WIN32)
+ SET(GD_LIB bgd)
+ ADD_DEFINITIONS( -DWIN32 -D_WIN32 -DMSWIN32 -DBGDWIN32 -DWINVER=0x0500 -D_WIN32_WINNT=0x0500 -D_WIN32_IE=0x0600)
+
+ if(NOT MINGW AND MSVC_VERSION GREATER 1399)
+ ADD_DEFINITIONS("/D_CRT_SECURE_NO_DEPRECATE")
+ endif(NOT MINGW AND MSVC_VERSION GREATER 1399)
+ if (MINGW OR MSYS)
+ ADD_DEFINITIONS("-mms-bitfields -m32")
+ endif (MINGW OR MSYS)
+ else (WIN32)
+ SET(GD_LIB gd)
+ endif (WIN32)
+
+ SET(GD_LIB_STATIC "${GD_LIB}-static")
+
+ IF(PROFILE)
+ add_definitions("-pg")
+ set(CMAKE_EXE_LINKER_FLAGS ${LINK_FLAGS} "-pg")
+ ENDIF(PROFILE)
+
+ SET(GD_INCLUDE_DIR "${GD_SOURCE_DIR}/src" "${GD_SOURCE_DIR}")
+ INCLUDE_DIRECTORIES(before ${FONTCONFIG_INCLUDE_DIR})
+
+ add_subdirectory(src)
+endif (USE_EXT_GD)
+
+add_subdirectory(tests)
+add_subdirectory(examples)
+
+
+SET(CPACK_PACKAGE_NAME "libgd")
+SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "libGD, powerful and easy to use graphic library")
+SET(CPACK_PACKAGE_VENDOR "http://www.libgd.org")
+SET(CPACK_PACKAGE_VERSION_MAJOR "2")
+SET(CPACK_PACKAGE_VERSION_MINOR "1")
+SET(CPACK_PACKAGE_VERSION_PATCH "0")
+
+if(WIN32)
+ set(CPACK_GENERATOR ZIP)
+else(WIN32)
+ set(CPACK_GENERATOR TGZ)
+endif(WIN32)
+
+
+set(CPACK_SOURCE_GENERATOR TGZ)
+set(CPACK_SOURCE_IGNORE_FILES
+"~$"
+"\\\\.swp$"
+"\\\\.cvsignore$"
+"^${PROJECT_SOURCE_DIR}.*/CVS/"
+"^${PROJECT_SOURCE_DIR}/debian/"
+"^${PROJECT_SOURCE_DIR}/old/"
+"^${PROJECT_SOURCE_DIR}/bld/"
+"^${PROJECT_SOURCE_DIR}/autom4te\\\\.cache/"
+)
+#~ install(FILES ${top_level_DOCFILES} DESTINATION ${DOC_DIR}) # LuaDist: ???
+INCLUDE(CPack)
+
+# LuaDist: install additional stuff
+install(FILES ChangeLog NEWS docs/README.TXT docs/README-JPEG.TXT docs/README.JPN docs/README.TESTING DESTINATION ${INSTALL_DOC})
View
1,169 ChangeLog
@@ -0,0 +1,1169 @@
+2007-04-09 18:21 pajoye
+
+ * NEWS: - #72 entry
+
+2007-04-09 18:18 pajoye
+
+ * gd.c, tests/gdimageline/bug00072.c,
+ tests/gdimageline/bug00072_exp.png: - #72, gdImageAALine draws
+ axis aligned lines two pixels large . add gdImageVLine and
+ HLine, not exported (will be 2.1.0)
+
+2007-04-09 16:00 pajoye
+
+ * tests/: gdimageline/gdimageline_aa.c, gdtest/gdtest.c,
+ gif/bug00005.c: - always store image diff files in the build dir
+ - store the output result as well - remove c++ comment - be more
+ verbose in the error messages
+
+2007-04-04 14:04 pajoye
+
+ * tests/gif/: CMakeLists.txt, bug00060.c, bug00066.c, bug00066.gif,
+ bug00066_exp.png: - add test for #66 - fix leak in test #60
+
+2007-04-04 13:38 pajoye
+
+ * NEWS: - #70 entry
+
+2007-04-04 13:33 pajoye
+
+ * gd_gif_in.c: - #70, do not try to use the global color map if
+ none exists - free im on error
+
+2007-04-03 19:03 pajoye
+
+ * NEWS: - update NEWS entries for the last commits
+
+2007-04-03 18:38 pajoye
+
+ * gdft.c: - we already lock it earlier, prevent deadlock/double
+ lock
+
+2007-04-01 22:41 pajoye
+
+ * gd.c, gd_png.c, gdft.c: - #67, Preferable calls of gdFree() in
+ libg (tabe at fixedpoint dot jp)
+
+2007-04-01 22:12 pajoye
+
+ * tests/gdtest/test_config.h.cmake: - add configuration file
+
+2007-04-01 21:54 pajoye
+
+ * gd_gif_in.c: - #52, #60, #66 - a frame size must be confined to
+ the screen defition - consider 00005_2 as invalid (65k x
+ 65k frame size for a 400x312 screen) - be sure to always
+ read the dimensions in the frame and does not use the screen
+ size (see #66 for a side effect)
+
+2007-04-01 21:48 pajoye
+
+ * tests/: gd2/gd2_empty_file.c, gd2/gd2_read.c,
+ gdimagecopyrotated/bug00020.c, gdimagefill/bug00002_1.c,
+ gdimagefill/bug00002_2.c, gdimagefill/bug00002_3.c,
+ gdimagefill/bug00002_4.c, gdimagefilledellipse/bug00010.c,
+ gdimageline/gdimageline_aa.c, gdtest/CMakeLists.txt,
+ gdtest/gdtest.c, gif/CMakeLists.txt, gif/bug00005.c,
+ gif/bug00060.c, gif/bug00060.gif, jpeg/jpeg_empty_file.c,
+ jpeg/jpeg_read.c, png/bug00011.c, png/bug00033.c: - allow tests
+ to be launched outside the src tree - #60, add test case for #60
+
+2007-03-31 19:24 pajoye
+
+ * entities.h: - update from entities.tcl
+
+2007-03-31 16:26 pajoye
+
+ * gd_gif_in.c: - #52, #60 - local Pallette are read twice - Use
+ the local dimension when available - Rely on the global
+ dimension when the local dimension are invalid and the format
+ is GIF87 (no animation) NB: The #52 TS patch must be applied
+ first
+
+2007-03-15 23:25 nlopess
+
+ * tests/gif/bug00005_2.c: MFB: fix leak in test
+
+2007-03-15 23:23 nlopess
+
+ * tests/gif/bug00005_2.c: fix leak in test
+
+2007-03-12 17:05 pajoye
+
+ * CMakeLists.txt: -MFB: - generate config.h in the BUIL_DIR
+ instead of the SOURCE_DIR - drop old commented lines
+
+2007-03-12 17:01 pajoye
+
+ * CMakeLists.txt: - generate config.h in the BUIL_DIR instead of
+ the SOURCE_DIR - drop old commented lines
+
+2007-03-08 21:02 nlopess
+
+ * gd_gif_in.c: MFB: fix bug #52: Reading GIF images is not thread
+ safe (static usage in private functions)
+
+2007-03-08 20:59 nlopess
+
+ * NEWS: fix news, sorry
+
+2007-03-08 20:56 nlopess
+
+ * NEWS, gd_gif_in.c: fix bug #52: Reading GIF images is not thread
+ safe (static usage in private functions)
+
+2007-03-08 20:52 pajoye
+
+ * ISSUES: - we use NEWS now
+
+2007-03-07 20:30 nlopess
+
+ * CMakeLists.txt: set HAVE_FT2BUILD_H when ft2build.h file is found
+
+2007-03-07 16:53 pajoye
+
+ * CMakeLists.txt: - fix windows cmake support - use BGDWIN32 for
+ now, static build and other windows options will follow shortly
+
+2007-03-07 16:52 pajoye
+
+ * cmake/modules/FindFreetype.cmake: - windows may have
+ freetype2.lib
+
+2007-03-05 16:42 pajoye
+
+ * Makefile.am, NEWS, windows/Makefile: - #51 - revert Ilia's patch
+ (was not required) - Remove strlcpy, we don't need it now (I
+ keep it in cvs just in case but it will not be distributed or
+ used in the binaries)
+
+2007-03-02 23:02 nlopess
+
+ * gd_gif_in.c: MFB
+
+2007-03-02 22:59 nlopess
+
+ * cmake/modules/FindPTHREAD.cmake: fix pthread support in cmake
+ toolchain
+
+2007-03-02 22:59 nlopess
+
+ * gd_gif_in.c: merge with php tree: fix access to unitialized
+ memory (introduced with the strlcpy usage) # now gd_strlcpy()
+ becomes useless again :P
+
+2007-03-02 15:36 edink
+
+ * windows/Makefile: Add new file compilation
+
+2007-02-27 21:32 pajoye
+
+ * windows/Makefile: - MFH: fix new lines, vc7 does not like
+ makefile with both unix and windows line ending
+
+2007-02-27 21:32 pajoye
+
+ * windows/Makefile: - fix new lines, vc7 does not like makefile
+ with both unix and windows line ending
+
+2007-02-27 01:38 pajoye
+
+ * NEWS: - andersrum..
+
+2007-02-27 00:55 pajoye
+
+ * ChangeLog: - update Changelog
+
+2007-02-27 00:55 pajoye
+
+ * NEWS: - update NEWS for 2.0.35RC1
+
+2007-02-27 00:46 pajoye
+
+ * gd.c: - #41, fix possible overrun (detected with valgrind) (Nuno
+ Lopes)
+
+2007-02-27 00:39 pajoye
+
+ * CMakeLists.txt, Makefile.am, gd.h, gd_gif_in.c, strlcpy.c: - #51,
+ Use strlcpy instead of strncpy in gd_gif_c - fix off-by-one
+
+2007-02-26 20:59 pajoye
+
+ * gdft.c: - #48, Race condition in gdImageStringFTEx It is safe
+ to destroy a unlocked mutex, not a locked one (Nuno Lopes)
+
+2007-02-26 20:58 pajoye
+
+ * gdft.c: - #48, Race condition in gdImageStringFTEx it is safe
+ to destroy an unlocked mutex, not a locked one (Nuno Lopes)
+
+2007-02-26 20:30 pajoye
+
+ * gdft.c: - MFB: #48, Race condition in gdImageStringFTEx (cache)
+
+2007-02-26 20:30 pajoye
+
+ * gdft.c: - #48, Race condition in gdImageStringFTEx (cache)
+
+2007-02-07 01:32 pajoye
+
+ * ChangeLog: - sync
+
+2007-02-07 01:27 pajoye
+
+ * NEWS: - add CVE ref.
+
+2007-02-07 01:26 pajoye
+
+ * ChangeLog: - sync changelog
+
+2007-02-07 01:26 pajoye
+
+ * gd.h: - go for 2.0.34
+
+2007-02-07 01:24 pajoye
+
+ * gd.c: - MFB: ansi/windows build fix, all declarations must be on
+ top (Edin)
+
+2007-02-07 01:21 pajoye
+
+ * gd.c: - ansi/windows build fix, all declarations must be on top
+ (Edin)
+
+2007-02-07 01:14 pajoye
+
+ * NEWS: - #40
+
+2007-02-07 01:12 pajoye
+
+ * gdft.c: - #40 — possible Buffer overflow in the
+ gdImageStringFTEx function in gdft.c (patch by Kees Kook)
+
+2007-02-06 23:29 pajoye
+
+ * windows/libgd.rc: - update dll rc
+
+2007-02-06 23:24 pajoye
+
+ * ChangeLog: - sync Changelog
+
+2007-02-03 02:34 pajoye
+
+ * NEWS: - updates
+
+2007-02-03 02:18 pajoye
+
+ * ChangeLog: - update changelog
+
+2007-02-03 02:16 pajoye
+
+ * Makefile.am, configure.ac: - MFB: #31 — Shared library support
+ on cygwin (Dr. Volker Zell)
+
+2007-02-03 02:15 pajoye
+
+ * Makefile.am, configure.ac: - #31 Shared library support on cygwin
+ (Dr. Volker Zell)
+
+2007-02-03 02:11 pajoye
+
+ * gd.h, gdft.c, index.html: - MFB: #30, restores the ability to
+ recognize and handle a font with Adobe-specific character
+ encoding
+
+2007-02-03 02:03 pajoye
+
+ * gd.c: - MFB: #14, sanity check
+
+2007-02-03 02:00 pajoye
+
+ * gd.c: - #14, sanity check
+
+2007-02-01 12:01 pajoye
+
+ * gdft.c: - #30, do not extend sign (restores the ability to
+ recognize and handle a font with Adobe-specific character
+ encoding (Adobe custom) ).
+
+2007-02-01 00:31 pajoye
+
+ * gd.h, gdft.c, index.html: - #30, restores the ability to
+ recognize and handle a font with Adobe-specific character
+ encoding (Adobe custom) - Fix proto in index.html
+
+2007-01-30 10:11 pajoye
+
+ * NEWS: - 2.0.34RC1 news
+
+2007-01-29 23:22 pajoye
+
+ * ChangeLog: - update
+
+2007-01-29 22:56 pajoye
+
+ * gd.c: - #32, Pattern-fill works incorrectly if tile is created
+ via gdImageCreateTruecolor (Ethan Merritt)
+
+2007-01-29 22:11 pajoye
+
+ * ChangeLog: - update changelog
+
+2007-01-29 22:07 pajoye
+
+ * COPYING, index.html: - update years and (c)
+
+2007-01-25 01:08 pajoye
+
+ * cmake/modules/: FindFontconfig.cmake, FindFreetype.cmake,
+ FindGD.cmake, FindPNG.cmake, FindPTHREAD.cmake, FindXPM.cmake: -
+ add lib64 tests (Chritian Rodriguez)
+
+2007-01-25 00:06 pajoye
+
+ * tests/gif/bug00005.c: - remove version checks
+
+2007-01-24 23:32 pajoye
+
+ * config.h.cmake: - config.h.in for cmake
+
+2007-01-24 23:20 pajoye
+
+ * cmake/modules/: AC_HEADER_STDC.cmake, CheckDIRSymbolExists.cmake,
+ CheckPrototypeExists.cmake, FindFontconfig.cmake,
+ FindFreetype.cmake, FindGD.cmake, FindPNG.cmake,
+ FindPTHREAD.cmake, FindXPM.cmake, TestForHighBitCharacters.c,
+ TestForHighBitCharacters.cmake, TestForStandardHeaderwait.cmake,
+ gd.cmake: - add missing cmake macros/modules
+
+2007-01-24 01:36 pajoye
+
+ * README.TESTING: - WS
+
+2007-01-24 00:57 pajoye
+
+ * tests/: gd2/CMakeLists.txt, gd2/conv_gd2_exp.gd2,
+ gd2/conv_test.gd2, gd2/conv_test_exp.png, gd2/empty.gd2,
+ gd2/gd2_empty_file.c, gd2/gd2_read.c,
+ gdimagecolorclosest/CMakeLists.txt,
+ gdimagecolorclosest/gdimagecolorclosest.c,
+ gdimagecolorexact/CMakeLists.txt,
+ gdimagecolorexact/gdimagecolorexact.c,
+ gdimagecolorresolve/CMakeLists.txt,
+ gdimagecolorresolve/gdimagecolorresolve.c,
+ gdimagecopy/CMakeLists.txt, gdimagecopy/bug00007.c,
+ gdimagecopyrotated/CMakeLists.txt, gdimagecopyrotated/bug00020.c,
+ gdimagecopyrotated/bug00020_exp.png, gdimagefill/CMakeLists.txt,
+ gdimagefill/bug00002_1.c, gdimagefill/bug00002_1_exp.png,
+ gdimagefill/bug00002_2.c, gdimagefill/bug00002_2_exp.png,
+ gdimagefill/bug00002_3.c, gdimagefill/bug00002_3_exp.png,
+ gdimagefill/bug00002_4.c, gdimagefill/bug00002_4_exp.png,
+ gdimagefilledellipse/CMakeLists.txt,
+ gdimagefilledellipse/bug00010.c,
+ gdimagefilledellipse/bug00010_exp.png,
+ gdimagefilledrectangle/CMakeLists.txt,
+ gdimagefilledrectangle/bug00004.c,
+ gdimagefilltoborder/CMakeLists.txt,
+ gdimagefilltoborder/bug00037.c, gdimageline/CMakeLists.txt,
+ gdimageline/gdimageline_aa.c,
+ gdimageline/gdimageline_aa_a_0_exp.png,
+ gdimageline/gdimageline_aa_a_1_exp.png,
+ gdimageline/gdimageline_aa_b_0_exp.png,
+ gdimageline/gdimageline_aa_b_1_exp.png,
+ gdimageline/gdimageline_aa_c_0_exp.png,
+ gdimageline/gdimageline_aa_c_1_exp.png,
+ gdimageline/gdimageline_aa_d_0_exp.png,
+ gdimageline/gdimageline_aa_d_1_exp.png,
+ gdimageline/gdimageline_aa_outofrange.c,
+ gdimagerectangle/CMakeLists.txt, gdimagerectangle/bug00003.c,
+ gdtest/CMakeLists.txt, gdtest/gdtest.c, gdtest/gdtest.h,
+ gdtiled/CMakeLists.txt, gdtiled/bug00032.c,
+ gdtiled/bug00032_exp.png, gif/CMakeLists.txt, gif/bug00005.c,
+ gif/bug00005_0.gif, gif/bug00005_1.gif, gif/bug00005_2.c,
+ gif/bug00005_2.gif, gif/bug00005_2_exp.png, gif/bug00005_3.gif,
+ gif/bug00006.c, jpeg/CMakeLists.txt, jpeg/conv_test.jpeg,
+ jpeg/conv_test_exp.png, jpeg/empty.jpeg, jpeg/jpeg_empty_file.c,
+ jpeg/jpeg_read.c, png/CMakeLists.txt, png/bug00011.c,
+ png/bug00033.c, png/bug00033.png, png/emptyfile: - initial commit
+ of the GD test suites See README.TESTING for more details or
+ how to run it
+
+2007-01-24 00:55 pajoye
+
+ * tests/CMakeLists.txt: - initial commit of the GD test suites
+ See README.TESTING for more details or how to ru
+
+2007-01-24 00:54 pajoye
+
+ * CMakeLists.txt, README.TESTING: - initial commit of the GD test
+ suites See README.TESTING for more details or how to run it
+
+2007-01-24 00:45 pajoye
+
+ * tests/: README, bug00001.c, bug00002_1.c, bug00002_2.c,
+ bug00002_3.c, bug00003.c, bug00004.c, bug00005.c, bug00005_1.gif,
+ bug00005_2.gif, bug00005_3.gif, bug00007.c, bug00008.c,
+ bug00010.c, bug00011.c, emptyfile: - remove temporary tests
+ before adding the tests suite
+
+2007-01-20 03:09 pajoye
+
+ * gd.c: - #4, gdImageFill rewrite fix, small images (< 4 pixels)
+ crash
+
+2007-01-20 03:02 pajoye
+
+ * gd.c: #37, gdImageFillToBorder crashes when used with alpha
+
+2007-01-12 14:02 pajoye
+
+ * gd.h: - prepare snap
+
+2007-01-12 14:00 pajoye
+
+ * circletexttest.c: - double config.h include removed (Edin)
+
+2007-01-11 21:58 pajoye
+
+ * gd_gif_in.c: - #7, part of the patch required for
+ http://bugs.php.net/bug.php?id=33220 was missing. Thanks to
+ Nuno Lopes for the head up
+
+2007-01-11 03:24 pajoye
+
+ * gdcache.c: #14, another sanity check (catched by Takeshi
+ (tabe[at]fixedpoint[dot]jp))
+
+2007-01-09 17:08 pajoye
+
+ * ChangeLog: - update
+
+2007-01-07 19:18 pajoye
+
+ * gd_png.c: - #32, malformed PNG image crashes (CRC error) test
+ is following
+
+2007-01-06 14:48 pajoye
+
+ * configure.ac: - older versions of auto* need quotes here
+
+2007-01-05 05:11 pajoye
+
+ * gd.c: - add sanity checks for alloc error in gdImageFill
+
+2007-01-05 05:03 pajoye
+
+ * tests/bug00002_3.c: - #2, #32, add transparent color to each
+ image (see #32)
+
+2007-01-05 03:41 pajoye
+
+ * tests/bug00002_3.c: - add a test to conver the case described in
+ issue #32 when a tile is a truecolor image, background of tiled
+ region is painted black rather than transparent
+
+2007-01-04 15:27 pajoye
+
+ * README.TXT: - add bootstrap.sh note
+
+2007-01-04 15:25 pajoye
+
+ * COPYING: - add myself
+
+2007-01-04 15:23 pajoye
+
+ * makefile.sample: - remove outdated makefile.sample
+
+2007-01-04 15:21 pajoye
+
+ * index.html: - changelog, issues and the release announcements
+ will be used from now on
+
+2007-01-04 15:10 pajoye
+
+ * configure.ac, index.html: - update version nr - update links -
+ update bug report link
+
+2007-01-04 14:45 pajoye
+
+ * ISSUES: - windows build support entry (Edin)
+
+2007-01-04 14:23 pajoye
+
+ * ChangeLog: - update it
+
+2007-01-04 13:52 pajoye
+
+ * gdfx.c: - New line at the end of the file
+
+2007-01-04 13:49 pajoye
+
+ * gd_topal.c: #14, set fserror after the check
+
+2007-01-04 13:44 pajoye
+
+ * ISSUES, gd_gif_out.c: - #14, sanity check in gd_gif_out
+
+2007-01-04 13:40 pajoye
+
+ * gd_gd2.c: - #14, one more sanity check in gd_gd2
+
+2007-01-04 13:36 pajoye
+
+ * ISSUES, gd.c: - #14, sanity check for memory alloc error in
+ gdImageCreateTrueColor
+
+2007-01-04 13:05 pajoye
+
+ * README.TXT, configure.pl: - rm configure.pl, outdated anyway
+
+2007-01-04 02:49 pajoye
+
+ * ISSUES: - Update credentials
+
+2007-01-04 02:24 pajoye
+
+ * gdxpm.c: - #14, some more sanitiy check
+
+2007-01-04 01:40 pajoye
+
+ * ISSUES: - fix to match the issues #
+
+2007-01-03 22:57 pajoye
+
+ * ISSUES, gd_topal.c: #35, Added sanity checks for allocations
+ failure in gd_topal (yet another.)
+
+2007-01-03 22:50 pajoye
+
+ * gd_io.h, gd_io_ss.c: #33, sourceGetbuf must return 0 for errors
+ and EOF #34, Fixed gdSeek declaration, offset argument was
+ missing
+
+2007-01-03 22:47 pajoye
+
+ * ISSUES, gd_io_dp.c: #33, dynamicGetbuf must return 0 for errors
+ and EOF
+
+2007-01-03 22:42 pajoye
+
+ * ISSUES, gd_gd2.c: #32, Added sanity checks for allocations
+ failures in gd_gd2
+
+2007-01-03 22:24 pajoye
+
+ * ISSUES: #31, Added DISABLE_THREADS to permit disabling of thread
+ support (John Ellson/Graphviz)
+
+2007-01-03 22:21 pajoye
+
+ * ISSUES, gdft.c: #30, uninitialized variable "charmap" and avoid
+ divide-by-zero errors at very small dpi values (John
+ Ellson/Graphviz)
+
+2007-01-03 22:04 pajoye
+
+ * ISSUES, gdft.c: #28, Fixed gdImageStringFTEx when called with an
+ empty string Initialize the bounding box variables to zero
+ (Kevin Scaldeferri)
+
+2007-01-03 21:56 pajoye
+
+ * ISSUES, gdft.c: #26, gdFontCacheSetup returns error when
+ gdCacheCreate fails #27, Added sanity checks for possible
+ failures in fontFetch and tweenColorFetch
+
+2007-01-03 21:50 pajoye
+
+ * ISSUES, gdcache.c: #25, Added sanity checks for possible
+ allocation failures in gdCacheCreate and main
+
+2007-01-03 21:45 pajoye
+
+ * ISSUES, gd.c: #23, Added sanity checks for possible allocation
+ failures in gdImageFilledPolygon and gdImageSetStyle #24,
+ Out of range checks in gdImageSetAAPixelColor
+
+2007-01-03 21:38 pajoye
+
+ * gd.c: #22, missing immplementation
+
+2007-01-03 21:34 pajoye
+
+ * ISSUES, gd.c: #22, Fixed transparency preservation in
+ gdImageCopyRotated
+
+2007-01-03 21:31 pajoye
+
+ * ISSUES, gd.c: #21, gdImageCopyResized sanity check for allocation
+ failures
+
+2007-01-03 21:25 pajoye
+
+ * ISSUES, gd.c: #20, Fixed gdImageCopyMergeGray when used with a
+ true color image
+
+2007-01-03 21:18 pajoye
+
+ * ISSUES, gd.c: #19, Use abs instead of fbas in HWB_Diff (Nick
+ Atty)
+
+2007-01-03 21:09 pajoye
+
+ * ISSUES, gd.c: - #18, Removed invalid gdFree call when overflow2
+ fails - #17, Free im->pixels as well on error
+
+2007-01-03 20:48 pajoye
+
+ * ISSUES, entities.tcl: #17, Added "static" to entities_s struct
+ declaration to avoid obscure compiler problem on Suns (John
+ Ellson/Graphviz)
+
+2007-01-03 20:42 pajoye
+
+ * ISSUES, gd.c: - #16, Added sanity checks in gdImageCreate for
+ possible allocation failures (John Ellson/Graphviz)
+
+2007-01-03 20:14 pajoye
+
+ * ISSUES, gd_topal.c: - #15, gdImageCreatePaletteFromTrueColor(),
+ colors allocated henceforth from the resulting image
+ overwrite the palette colors (Rob Leslie)
+
+2007-01-03 19:31 pajoye
+
+ * ISSUES, gd_topal.c: - #14, Fixed leak in jinit_2pass_quantizer
+ (gd_topal.c)
+
+2006-11-08 13:32 lhecking
+
+ * ISSUES: Updated.
+
+2006-11-08 13:23 pajoye
+
+ * gd.c: - #7, gdImageCopy does not respect alpha (2/2)
+
+2006-11-05 16:01 pajoye
+
+ * ISSUES, gd_png.c: - #12, initialize the sig buf not infile, good
+ that we don't use getC...
+
+2006-10-15 19:20 pajoye
+
+ * ChangeLog: - initial cvs ChangeLog, will create a cronjob to
+ update it daily
+
+2006-10-12 13:38 lhecking
+
+ * Makefile.in, aclocal.m4, configure, config/Makefile.in,
+ test/Makefile.in: Remove generated files.
+
+2006-10-12 13:36 lhecking
+
+ * bootstrap.sh: Bootstrap script to generate auto* files.
+
+2006-10-12 13:30 lhecking
+
+ * .cvsignore, config/.cvsignore, test/.cvsignore: Update after
+ removal of generated files.
+
+2006-10-11 11:46 lhecking
+
+ * config/gdlib-config.in: Add @LIBICONV@ wherever @LIBS@ is used.
+
+2006-10-11 02:03 pajoye
+
+ * ISSUES: - #11 entry
+
+2006-10-11 02:02 pajoye
+
+ * gd_png.c, tests/bug00011.c, tests/emptyfile: - #11,
+ gdImageCreateFromPng* possible crash with empty file
+ Thanks to Antony Dovgal to have catched this bug
+
+2006-10-10 02:40 pajoye
+
+ * ISSUES, gd.c, tests/bug00010.c: - #10, gdImageFilledEllipse does
+ not respect transparency (rewriten)
+
+2006-10-09 16:22 pajoye
+
+ * ISSUES, Makefile.am, Makefile.in, aclocal.m4, config.hin,
+ configure, configure.ac, config/Makefile.in, config/config.guess,
+ config/config.sub, config/ltmain.sh, test/Makefile.in: - #9,
+ configure/build script updates auto* lib* (Lars Hecking)
+
+2006-10-09 04:38 pajoye
+
+ * ISSUES, tests/bug00008.c: - port another test for gdImageFill
+
+2006-10-09 04:37 pajoye
+
+ * tests/bug00007.c: - temp fp
+
+2006-10-08 23:43 pajoye
+
+ * ISSUES, gd.c, tests/bug00007.c: - #7, imagecopy doen't copy the
+ alpha channel, palette to truecolor copy
+
+2006-10-08 18:42 pajoye
+
+ * ISSUES, gd_gif_out.c, tests/bug00004.c: - #4, TrueColor
+ transparency with GIF palette output
+
+2006-09-28 17:22 pajoye
+
+ * ISSUES, gd_gif_in.c, tests/bug00005.c, tests/bug00005_1.gif,
+ tests/bug00005_2.gif, tests/bug00005_3.gif: - GIF security fixes
+
+2006-09-28 10:16 pajoye
+
+ * ISSUES, gd.c, tests/bug00003.c: - #3, gdImageRectanle draws the
+ corners twice
+
+2006-09-28 02:32 pajoye
+
+ * tests/bug00002_2.c: - #2, test with gdTile
+
+2006-09-28 02:01 pajoye
+
+ * ISSUES: - #2 entry
+
+2006-09-28 01:58 pajoye
+
+ * gd.c, tests/bug00002_1.c:
+ - #2, imagefill segfaults: - when call with invalid index color
+ - segfaults or invalid result when used with complex patterns or
+ transparent color (more tests to come)
+
+2006-09-28 01:07 pajoye
+
+ * tests/bug00001.c: - test case for bug #1
+
+2006-09-28 01:05 pajoye
+
+ * gdft.c: - #1, Initialize values this also provides a 5x speedup
+ in the imagefttext.phpt test, because without this patch it
+ never got cache hits (Nuno Lopes)
+
+2006-09-28 01:04 pajoye
+
+ * ISSUES: - initial commit temp file to store issue fixes
+ history. Will be replaced by the issue tracker asap
+
+2006-09-28 00:50 pajoye
+
+ * aclocal.m4, configure: - Sync the generated version TODO:
+ remove all generated files from CVS and add an autogen.sh script
+
+2006-05-17 17:53 edink
+
+ * windows/: .cvsignore, Makefile: Added nmake dist target
+
+2006-05-17 17:27 edink
+
+ * gdcmpgif.c: Fixed windows build
+
+2006-05-17 17:26 edink
+
+ * windows/Makefile: Compile more helper tools
+
+2006-05-17 15:05 edink
+
+ * windows/: Makefile, libgd.rc: Use bgd.dll name, and update
+ copyright info
+
+2006-05-17 15:04 edink
+
+ * gd.h: Added version info
+
+2006-05-17 14:39 edink
+
+ * windows/Makefile: "all" target should be the first
+
+2006-05-17 14:34 edink
+
+ * windows/: .cvsignore, Makefile, libgd.rc: Added MSVC++ build file
+ for use with nmake.exe
+
+2006-05-17 11:15 edink
+
+ * windows/.cvsignore: Added windows build dir
+
+2006-05-17 10:43 edink
+
+ * .cvsignore, config/.cvsignore, test/.cvsignore: Ignore build
+ files
+
+2006-04-14 02:15 pajoye
+
+ * tests/README: - as reminder, initila commit
+
+2006-04-05 22:46 pajoye
+
+ * gd_jpeg.c, wbmp.c: - URLs
+
+2006-04-05 22:40 pajoye
+
+ * configure.ac: - use the devel list in there
+
+2006-04-05 22:14 pajoye
+
+ * AUTHORS, ChangeLog, HISTORY, Makefile, Makefile.nt, NEWS, README,
+ alphachanneltest.html, antialiased.png, arc, bdf-howto.txt,
+ bresenham_ellipse, bwtest.png, config.guess, config.sub,
+ configure.in, demoout.gif, demoout.png, errs, gd-1.2.lsm, gd.1,
+ gd.ver, gd2tolzw.c, gd_arc_f.c, gd_arc_f_buggy.c, gd_lzw_out.c,
+ gdfonta.c, gdfonta.h, gdft.c.swp, gdparttogif.c, gdprog,
+ gdprog.1, gdtestttf.c, gdtogif.c, gdttf.c, giftogd.c, giftolzw.c,
+ io.c, io.h, io_dp.c, io_file.c, io_ss.c, libgd.so.2.0.0,
+ ltconfig, ltmain.sh, mathmake.c, mtables.c, readme.txt,
+ so_locations, tc, webgif.c: - remove files not present in 2.0.33
+
+2006-04-05 19:21 pajoye
+
+ * alphachanneltest.html: - testing loginfo/cvsspam
+
+2006-04-05 19:12 pajoye
+
+ * index.html: - update URLs and MLs
+
+2006-04-05 17:56 pierre
+
+ * config/Makefile.am, config/Makefile.in, config/config.guess,
+ config/config.rpath, config/config.sub, config/depcomp,
+ config/gdlib-config.in, config/install-sh, config/ltmain.sh,
+ config/missing, config/mkinstalldirs, test/Makefile.am,
+ test/Makefile.in, test/gdtest.gd2, test/gdtest.png,
+ test/gdtest_200_300_150_100.png, test/gdtest_merge.png,
+ test/gdtest_wbmp_to_png.png: - sync with 2.0.33
+
+2006-04-05 17:55 pierre
+
+ * circletexttest.c, configure, configure.ac, fontconfigtest.c,
+ gd2togif.c, gd2topng.c, gd_gif_out.c, gdcmpgif.c, gdft.c,
+ gdkanji.c, gifanimtest.c, index.html: - sync to 2.0.33
+
+2006-04-05 17:55 pierre
+
+ * configure, configure.ac, gd.c, gd_gif_in.c, gdft.c, gdtestft.c,
+ index.html, testtr.c: - sync to 2.0.32
+
+2006-04-05 17:55 pierre
+
+ * Makefile.in, aclocal.m4, configure, configure.ac, gdft.c,
+ index.html: - sync to 2.0.31
+
+2006-04-05 17:54 pierre
+
+ * configure, configure.ac, gd.h, gdft.c, index.html: - sync to
+ 2.0.30
+
+2006-04-05 17:54 pierre
+
+ * Makefile.am, Makefile.in, circletexttest.c, config.hin,
+ configure, configure.ac, entities.h, entities.tcl, err.out,
+ fontconfigtest.c, fontsizetest.c, fontwheeltest.c, gd.c, gd.h,
+ gd2togif.c, gd_gd2.c, gd_gif_out.c, gd_io.h, gd_io_dp.c,
+ gd_jpeg.c, gd_png.c, gd_security.c, gd_topal.c, gd_wbmp.c,
+ gdcache.h, gdcmpgif.c, gdfontg.h, gdfontl.h, gdfontmb.h,
+ gdfonts.h, gdfontt.h, gdft.c, gdfx.c, gdfx.h, gdhelpers.c,
+ gdhelpers.h, gdxpm.c, gifanimtest.c, giftogd2.c, index.html,
+ jisx0208.h, makefile.sample, testtr.c, wbmp.c, wbmp.h: - sync to
+ 2.0.29
+
+2006-04-05 17:53 pierre
+
+ * Makefile.am, Makefile.in, configure, configure.ac, gd.h,
+ gd_gif_in.c, gd_gif_out.c, gd_topal.c, gddemo.c, index.html,
+ testtr.c: - sync to 2.0.28
+
+2006-04-05 17:53 pierre
+
+ * configure, configure.ac, gd.c, gdft.c, index.html: - sync to
+ 2.0.27
+
+2006-04-05 17:53 pierre
+
+ * Makefile.am, Makefile.in, config.hin, configure, configure.ac,
+ entities.h, entities.html, entities.tcl, fontwheeltest.c, gd.c,
+ gd.h, gddemo.c, gdft.c, index.html, testtr.c: - sync to 2.0.26
+
+2006-04-05 17:52 pierre
+
+ * configure, configure.ac, gd.h, gdfontg.h, gdfontl.h, gdfontmb.h,
+ gdfonts.h, gdfontt.h, index.html: - sync to 2.0.25
+
+2006-04-05 17:52 pierre
+
+ * annotate.c, configure, configure.ac, fontsizetest.c, gd.c, gd.h,
+ gd2time.c, gd_gd.c, gd_gd2.c, gd_io_dp.c, gd_io_file.c,
+ gd_io_ss.c, gd_jpeg.c, gd_png.c, gd_ss.c, gd_topal.c, gd_wbmp.c,
+ gdcache.h, gdfontg.c, gdfontg.h, gdfontl.c, gdfontl.h,
+ gdfontmb.c, gdfontmb.h, gdfonts.c, gdfonts.h, gdfontt.c,
+ gdfontt.h, gdft.c, gdfx.c, gdfx.h, gdhelpers.c, gdhelpers.h,
+ gdkanji.c, gdxpm.c, index.html, webpng.c: - sync to 2.0.24
+
+2006-04-05 17:51 pierre
+
+ * circletexttest.c, configure, configure.ac, gd.h, gd_gd2.c,
+ gd_io_dp.c, gd_jpeg.c, gd_png.c, gd_topal.c, gddemo.c, gdfontg.c,
+ gdfontl.c, gdfontmb.c, gdfonts.c, gdfontt.c, gdft.c, gdfx.c,
+ gdtest.c, index.html: - sync to 2.0.23
+
+2006-04-05 17:51 pierre
+
+ * Makefile.in, circletexttest.c, configure, configure.ac, gd.c,
+ gd_jpeg.c, gddemo.c, gdfontg.c, gdfontg.h, gdfontl.c, gdfontl.h,
+ gdfontmb.c, gdfontmb.h, gdfonts.c, gdfonts.h, gdfontt.c,
+ gdfontt.h, index.html: - sync to 2.0.22
+
+2006-04-05 17:50 pierre
+
+ * configure, configure.ac, gd.c, gd.h, gd_gd.c, gd_gd2.c,
+ gd_io_dp.c, gd_jpeg.c, gd_png.c, gd_wbmp.c, gdft.c, gdtest.c,
+ index.html: - sync to 2.0.21
+
+2006-04-05 17:50 pierre
+
+ * configure, configure.ac, gd.h, gdfontg.c, gdfontl.c, gdfontmb.c,
+ gdfonts.c, gdfontt.c, gdft.c, index.html: - sync to 2.0.20
+
+2006-04-05 17:50 pierre
+
+ * configure, configure.ac, gd.h, gdfontg.h, gdfontl.h, gdfonts.h,
+ index.html: - sync to 2.0.19
+
+2006-04-05 17:50 pierre
+
+ * circletexttest.c, configure, configure.ac, gd.h, gd_io.h,
+ gdcache.h, gdfontg.c, gdfontg.h, gdfontl.c, gdfontl.h,
+ gdfontmb.c, gdfontmb.h, gdfonts.c, gdfonts.h, gdfontt.c,
+ gdfontt.h, gdft.c, gdfx.h, gdhelpers.h, index.html: - sync to
+ 2.0.18
+
+2006-04-05 17:49 pierre
+
+ * Makefile.am, Makefile.in, circletexttest.c, config.hin,
+ configure, configure.ac, gd.c, gd.h, gd_gd2.c, gd_io.c,
+ gd_io_file.c, gd_jpeg.c, gd_png.c, gd_topal.c, gdft.c, gdfx.c,
+ gdfx.h, gdhelpers.h, index.html: - sync to 2.0.17
+
+2006-04-05 17:49 pierre
+
+ * configure, configure.ac, gd.c, index.html: - sync to 2.0.15
+
+2006-04-05 17:48 pierre
+
+ * configure, configure.ac, gd.c, gd_jpeg.c, index.html: - sync to
+ 2.0.14
+
+2006-04-05 17:48 pierre
+
+ * configure, configure.ac, gd.c, gd_gd2.c, gd_png.c, gdft.c,
+ index.html: - sync to 2.0.13
+
+2006-04-05 17:47 pierre
+
+ * Makefile.am, Makefile.in, annotate.c, config.hin, configure,
+ configure.ac, gd.c, gd.h, gd2topng.c, gd_gd.c, gd_gd2.c, gd_io.h,
+ gd_jpeg.c, gd_png.c, gd_topal.c, gdcache.c, gdcache.h, gddemo.c,
+ gdft.c, gdkanji.c, gdtest.c, gdtestft.c, gdtopng.c, index.html: -
+ sync to 2.0.12
+
+2006-04-05 17:47 pierre
+
+ * configure, configure.ac, gd.h, gd2topng.c, gd_gd2.c, gd_io.h,
+ gd_io_file.c, index.html, pngtogd2.c: - sync to 2.0.11
+
+2006-04-05 17:47 pierre
+
+ * Makefile.in, aclocal.m4, configure, configure.ac, depcomp, gd.c,
+ gd.h, gd_jpeg.c, gddemo.c, gdft.c, gdtestft.c, index.html,
+ install-sh, missing, mkinstalldirs: - sync to 2.0.10
+
+2006-04-05 17:46 pierre
+
+ * Makefile.in, aclocal.m4, annotate.c, config.hin, configure,
+ configure.ac, fontsizetest.c, fontwheeltest.c, gd.c, gd.h,
+ gd2time.c, gd2topng.c, gd_gd.c, gd_gd2.c, gd_io.h, gd_io_dp.c,
+ gd_io_file.c, gd_io_ss.c, gd_jpeg.c, gd_png.c, gd_ss.c,
+ gd_topal.c, gd_wbmp.c, gdcache.c, gdcache.h, gddemo.c, gdfontg.c,
+ gdfontg.h, gdfontl.c, gdfontl.h, gdfontmb.c, gdfontmb.h,
+ gdfonts.c, gdfonts.h, gdfontt.c, gdfontt.h, gdft.c, gdhelpers.h,
+ gdkanji.c, gdparttopng.c, gdtables.c, gdtest.c, gdtestft.c,
+ gdtopng.c, index.html, jisx0208.h, mathmake.c, pngtogd.c,
+ pngtogd2.c, testac.c, wbmp.c, wbmp.h, webpng.c: - sync to 2.0.9
+
+2006-04-05 17:46 pierre
+
+ * aclocal.m4, configure, configure.ac, gd.c, gd.h, gddemo.c,
+ index.html: - sync to 2.0.8
+
+2006-04-05 17:45 pierre
+
+ * configure, configure.ac, index.html: - sync to 2.0.7
+
+2006-04-05 17:45 pierre
+
+ * README.TXT, configure, configure.ac, gd.c, gd2copypal.c,
+ gd2topng.c, gdft.c, gdtestft.c, gdxpm.c, index.html, mathmake.c,
+ pngtogd.c, testac.c: - sync to 2.0.6
+
+2006-04-05 17:44 pierre
+
+ * COPYING, INSTALL, Makefile.am, Makefile.in, README.TXT,
+ aclocal.m4, annotate.c, config.hin, configure, configure.ac,
+ configure.pl, fontsizetest.c, fontwheeltest.c, gd.c, gd.h,
+ gd2copypal.c, gd2time.c, gd2topng.c, gd_gd.c, gd_gd2.c, gd_io.c,
+ gd_io_dp.c, gd_io_file.c, gd_io_ss.c, gd_jpeg.c, gd_png.c,
+ gd_ss.c, gd_topal.c, gd_wbmp.c, gdcache.c, gdcache.h, gddemo.c,
+ gdft.c, gdhelpers.c, gdkanji.c, gdparttopng.c, gdtest.c,
+ gdtestft.c, gdtopng.c, gdxpm.c, index.html, mathmake.c,
+ pngtogd.c, pngtogd2.c, testac.c, wbmp.c, webpng.c: - sync to
+ 2.0.5
+
+2006-04-05 17:44 pierre
+
+ * configure, err.out, fontsizetest.c, fontwheeltest.c, gd.c, gd.h,
+ gd2topng.c, gd_gd.c, gd_gd2.c, gd_io.h, gd_io_dp.c, gd_io_file.c,
+ gd_io_ss.c, gd_jpeg.c, gd_png.c, gd_ss.c, gd_topal.c, gd_wbmp.c,
+ gdcache.h, gddemo.c, gdft.c, gdhelpers.c, gdhelpers.h, gdkanji.c,
+ gdparttopng.c, gdtest.c, gdtestft.c, gdtopng.c, gdxpm.c,
+ index.html, makefile.sample, testac.c, wbmp.c, webpng.c: - sync
+ to 2.0.4
+
+2006-04-05 17:43 pierre
+
+ * annotate.c, configure, gd.c, gd_gd2.c, index.html: - sync to
+ 2.0.3
+
+2006-04-05 17:43 pierre
+
+ * README.TXT, configure, gd.c, gd.h, gddemo.c, gdft.c, gdtestft.c,
+ index.html, makefile.sample: - sync to 2.0.2
+
+2006-04-05 17:42 pierre
+
+ * Makefile, arc, bresenham_ellipse, gd.c, gd.h, gd2copypal.c,
+ gd2time.c, gd2topng.c, gd_arc_f_buggy.c, gd_gd.c, gd_gd2.c,
+ gd_io.c, gd_io_dp.c, gd_io_file.c, gd_io_ss.c, gd_jpeg.c,
+ gd_png.c, gd_ss.c, gd_topal.c, gd_wbmp.c, gdcache.c, gddemo.c,
+ gdfontg.c, gdfontl.c, gdfontmb.c, gdfonts.c, gdfontt.c, gdft.c,
+ gdhelpers.c, gdkanji.c, gdparttopng.c, gdtables.c, gdtest.c,
+ gdtestft.c, gdtopng.c, gdxpm.c, index.html, libgd.so.2.0.0,
+ mathmake.c, pngtogd.c, pngtogd2.c, readme.jpn, readme.txt,
+ testac.c, wbmp.c, webpng.c: - sync to 2.0.1
+
+2006-04-05 17:42 pierre
+
+ * Makefile, Makefile.nt, README-JPEG.TXT, alphachanneltest.html,
+ antialiased.png, errs, gd.c, gd.h, gd_arc_f.c, gd_gd.c, gd_gd2.c,
+ gd_jpeg.c, gd_png.c, gd_topal.c, gddemo.c, gdft.c, gdft.c.swp,
+ gdkanji.c, gdtestft.c, index.html, libgd.so.2.0.0, readme.txt,
+ tc, testac.c, webpng.c: - sync to 2.0.0
+
+2006-04-05 17:41 pierre
+
+ * Makefile, Makefile.nt, gd.c, gd.h, gd_gd2.c, gd_io.c, gd_io_dp.c,
+ gd_io_file.c, gd_io_ss.c, gd_jpeg.c, gd_png.c, gd_wbmp.c,
+ gdcache.c, gdft.c, gdhelpers.c, gdhelpers.h, gdkanji.c,
+ gdtestft.c, gdtestttf.c, gdttf.c, gdxpm.c, index.html,
+ readme.txt, wbmp.c, wbmp.h: - sync to 1.8.4
+
+2006-04-05 17:41 pierre
+
+ * Makefile, bwtest.png, gd.c, gd.h, gd_jpeg.c, gd_png.c, gd_wbmp.c,
+ gdtest.c, index.html, install-item, readme.txt, wbmp.c, wbmp.h: -
+ sync to 1.8.3
+
+2006-04-05 17:40 pierre
+
+ * Makefile, Makefile.nt, bdftogd, gd_jpeg.c, gdtest.c, index.html,
+ readme.txt, webpng.c: - sync to 1.8.1
+
+2006-04-05 17:40 pierre
+
+ * Makefile, gd.c, gd.h, gd_jpeg.c, gd_wbmp.c, gdtest.c, index.html,
+ readme.txt: - sync to 1.8.0
+
+2006-04-05 17:39 pierre
+
+ * Makefile, index.html, readme.txt: - sync to 1.7.3
+
+2006-04-05 17:39 pierre
+
+ * Makefile, gdttf.c, index.html, readme.txt: - sync to 1.7.2
+
+2006-04-05 17:38 pierre
+
+ * ChangeLog, Makefile, gdtestttf.c, index.html, readme.txt: - sync
+ to 1.7.1
+
+2006-04-05 17:38 pierre
+
+ * ChangeLog, Makefile, bdftogd, demoout.png, gd.c, gd.h, gd_gd2.c,
+ gd_io_dp.c, gd_io_file.c, gd_io_ss.c, gddemo.c, gdfontg.h,
+ gdfontl.h, gdfontmb.h, gdfonts.h, gdfontt.h, gdkanji.c,
+ gdtables.c, gdtestttf.c, gdttf.c, gdxpm.c, index.html,
+ jisx0208.h, readme.txt: - sync to 1.7.0
+
+2006-04-05 17:37 pierre
+
+ * COPYING, ChangeLog, NEWS, README, configure, configure.in,
+ gd_png.c, index.html, mkinstalldirs: - sync to 1.6.3
+
+2006-04-05 17:37 pierre
+
+ * AUTHORS, COPYING, ChangeLog, INSTALL, Makefile.am, Makefile.in,
+ NEWS, README, aclocal.m4, config.guess, config.sub, configure,
+ configure.in, gd.c, gd.h, gd2copypal.c, gd2time.c, gd2topng.c,
+ gd_gd.c, gd_gd2.c, gd_io_dp.c, gd_png.c, gdcache.c, gdcache.h,
+ gdparttopng.c, gdtest.c, gdtestttf.c, gdtopng.c, gdttf.c,
+ index.html, install-sh, ltconfig, ltmain.sh, missing,
+ mkinstalldirs, pngtogd.c, pngtogd2.c, webpng.c: - sync to 1.6.2
+
+2006-04-05 17:36 pierre
+
+ * HISTORY, gd.h, gd_png.c, index.html, readme.txt: - sync to 1.6.1
+
+2006-04-05 17:35 pierre
+
+ * HISTORY, Makefile, demoin.png, demoout.png, gd.c, gd.h,
+ gd2copypal.c, gd2time.c, gd2topng.c, gd_gd.c, gd_gd2.c, gd_io.c,
+ gd_io.h, gd_io_dp.c, gd_io_file.c, gd_io_ss.c, gd_png.c, gd_ss.c,
+ gddemo.c, gdparttopng.c, gdtest.c, gdtopng.c, index.html,
+ pngtogd.c, pngtogd2.c, readme.txt, webpng.c: - sync to 1.6.0
+
+2006-04-05 17:35 pierre
+
+ * HISTORY, Makefile, bdftogd, gd.c, gd.h, gd2copypal.c, gd2time.c,
+ gd2togif.c, gd2tolzw.c, gd_gd.c, gd_gd2.c, gd_gif_in.c,
+ gd_gif_out.c, gd_lzw_out.c, gdparttogif.c, gdtest.c, gdtogif.c,
+ giftogd2.c, giftolzw.c, index.html, io.c, io.h, io_dp.c,
+ io_file.c, io_ss.c, readme.txt: - sync to 1.5.0
+
+2006-04-05 17:34 pierre
+
+ * Makefile, bdf-howto.txt, bdftogd, gd.c, gd.h, gdfonta.c,
+ gdfonta.h, index.html, readme.txt: - sync to 1.4.0
+
+2006-04-05 17:33 pierre
+
+ * Makefile, bdftogd, demoin.gif, demoout.gif, gd.c, gd.h, gddemo.c,
+ gdfontg.c, gdfontg.h, gdfontl.c, gdfontl.h, gdfontmb.c,
+ gdfontmb.h, gdfonts.c, gdfonts.h, gdfontt.c, gdfontt.h,
+ giftogd.c, index.html, mathmake.c, mtables.c, readme.txt,
+ so_locations, webgif.c: - sync to 1.3.0
+
+2006-04-05 17:28 pierre
+
+ * INSTALL, Makefile, README, gd-1.2.lsm, gd.1, gd.ver, gdprog,
+ gdprog.1: Initial revision
+
+2006-04-05 17:28 pierre
+
+ * INSTALL, Makefile, README, gd-1.2.lsm, gd.1, gd.ver, gdprog,
+ gdprog.1: initial import
+
View
109 NEWS
@@ -0,0 +1,109 @@
+'GD NEWS
+|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
+GD HEAD
+169, gdColorMapLookup() answers the RGB values according to given color map
+ (Takeshi Abe)
+176, Added support of variable resolution by Alan Boudreault (Takeshi Abe)
+184, new filter gdImagePixelate() by Kalle Sommer Nielsen (Takeshi Abe)
+
+GD 2.0.36 (2007-11-xx)
+145, Fixed leak in gdImageCopyResized (Patch by Brent Bottles)
+ 81, Fixed gdImageCopy with true color image, the transparent color was ignored
+ (Pierre, Mark Fisher)
+ 88, Fixed support of PNG grayscale image with alpha channel (Pierre)
+ 95, Added Netware builds script (Guenter)
+ 97, ease the creation of regexp to match symbols/functions in the sources
+ (Guenter)
+100, spurious horizontal line drawn by gdImageFilledPolygon (Takeshi Abe)
+101, _gdCreateFromFile() can crash if gdImageCreate fails (Mattias Bengtsson)
+105, gdImageCreateFrom*Ptr() can crash if gdNewDynamicCtxEx() fails (Mattias)
+106, gdImageRectangle draws 1x1 rectangles as 1x3 rectangles (Pierre)
+109, Possible integer overflow in gdImageFill() (Mattias Bengtsson)
+111, Optimization for single pixel line not in correct order (Mattias)
+112, gdImageColorDeallocate can write outside buffer (Mattias Bengtsson)
+113, gdImageColorTransparent can write outside buffer (Mattias Bengtsson)
+127, gdImageWBMPCtx can crash when createwbmp fails (Scott)
+132, Fixed decoding of the html entity &thetasym; (Thomas Bonfort, Pierre)
+133, Fixed configure script ignoring --with-png=DIR option (Scott)
+166, Fixed handling 3-digit RGB and transparent color in XPM (Takeshi Abe)
+173, Fixed the memory management in font_path() of gdft.c (Takeshi Abe)
+174, Fixed that font_path() in gdft.c breaks reentrancy (Takeshi Abe)
+180, Added a Makefile entry for tests/xpm (Takeshi Abe)
+181, Fixed gd_gif_out.c to enable proper interlace
+185, Fixed memory leaks in gdImageCreateFromXpm() (Takeshi Abe)
+186, Fixed tiling true colour with palette image (Marko Vukovic, Takeshi Abe)
+193, Fixed gdImagePng() with no color allocated (Martin McNickle, Takeshi Abe)
+196, Fixed a memory leak in newDynamic() (Steve Fossen)
+198, Fixed useFontConfig() to work as documented (Mojca Miklavec, Ethan Merritt)
+
+GD 2.0.35 (2007-06-21)
+41, Fix valgrind error in gdImageFillTiled (Nuno Lopes)
+45, Add missing custom cmake macros (required for the tests suite)
+51, Avoid signature buffer copy in gd_gif_c (Nuno Lopes)
+48, Race condition in gdImageStringFTEx (Antony Dogval, Pierre
+ Scott MacVicar)
+52, Reading GIF images is not thread safe (static usage in private
+ functions) (Roman Nemecek, Nuno Lopes, Pierre)
+60, GIF Local palette is read twice
+66, GIF, Use local frame dimension when possible instead of the
+ logical screen size (Pierre)
+68, OpenVMS build support, see VMS/README.VMS for the details
+ (Alexey Chupahin)
+70, GIF, do not try to use the global colmap if it does not exist
+ (Nuno Lopes, Pierre)
+72, gdImageAALine draws axis lines with two pixels width (Pierre)
+73, TTF usage doesn't work properly on Netware (Guenter Knauf, Scott MacVicar)
+74, gdImageArc CPU usage with large angles (Pierre)
+78, gdImageFilledRectangle regression fixed when used with reversed edges
+ (Pierre)
+86, Possible infinite loop in libgd/gd_png.c, flaw found by Xavier Roche
+ (Pierre)
+87, Fixed segfault when an invalid color index is present in a GIF
+ image data, reported by Elliot <wccode at gmail dot com> (Pierre)
+89, Possible integer overflow in gdImageCreateTrueColor (Pierre)
+94, gdImageCreateXbm can crash if gdImageCreate fails (Pierre)
+
+GD 2.0.34 (2007-02-07)
+ 3, Initialize variables in tweenColorTest, fix cache
+ 4, gdImageFill, multiple segfaults with patterns or invalid arguments
+ 5, gdImageRectangle draws corners twice
+ 6, GIF Output does use the transparent color with truecolor images
+ 7, Multiple security issues in GIF loader
+ 8, gdIimageCopy doen't use the alpha channel
+ 9, Add autogen and and misc configure/makefile (Lars Hecking)
+10, gdImageFilledEllipse does not respect transparency
+11, gdImageCreateFromPng* crashes with empty file
+12, gdImageCreateFromPngCrx, initialize the signature buffer not the
+ infile
+13, leak in jinit_2pass_quantizer (gd_topal.c)
+14, Added santiy checks for possible memory allocation errors
+15, gdImageCreatePaletteFromTrueColor, later color allocations overwrite
+ the palette colors (Rob Leslie)
+16, Obscure error on Sun's compiler in entities.tcl
+ (John Ellson/Graphviz)
+17, gdImageCreate, invalid gdFree call when overflow2 fails
+18, HWB_Diff, invalid usage of abs instead of fabs
+ (Nick Atty)
+19, Fixed gdImageCopyMergeGray when used with a true color image
+20, transparency preservation in gdImageCopyRotated
+21, Out of range checks in gdImageSetAAPixelColor
+22, gdFontCacheSetup does not stop on error
+23, Errors when gdImageStringFTEx is called with an empty string
+ (Kevin Scaldeferri)
+24, gdft.c, uninitialized variable "charmap" and avoid divide-by-zero
+ (John Ellson/Graphviz)
+25, DISABLE_THREADS to permit disabling of thread support
+ (John Ellson/Graphviz)
+26, dynamicGetbuf, sourceGetbuf must return 0 for errors and EOF
+27, gdSeek declaration is wrong
+29, Windows native makefile (Edin Kadribašić)
+30, restores the ability to recognize and handle a font with
+ Adobe-specific character encoding. Added gdFTEX_Adobe_Custom.
+31, Shared library support on cygwin (Dr. Volker Zell)
+32, Pattern-fill works incorrectly if tile is created via
+ gdImageCreateTruecolor (Ethan Merritt)
+33, malformed PNG image crashes (CRC error)
+34, reading some gif images creates infinite loop
+36, gdImageFillToBorder crashes when used with alpha
+40, possible Buffer overflow in the gdImageStringFTEx function
+ in gdft.c (CVE-2007-0455) (Kees Cook)
View
1,343 VMS/CONFIGURE.COM
@@ -0,0 +1,1343 @@
+$! (c) Alexey Chupahin 18-APR-2006, 15-DEC-2007
+$! OpenVMS 8.2 Alpha DEC 2000 model 300
+$! OpenVMS 8.3 Itanium rx1620
+$! GNU
+$!
+$!
+$DEF SYS$ERROR _NL0:
+$ SET NOON
+$WRITE SYS$OUTPUT " "
+$WRITE SYS$OUTPUT "Configuring GD library for OpenVMS"
+$WRITE SYS$OUTPUT "(c) Alexey Chupahin "
+$! Checking architecture
+$! Checking architecture
+$ IF F$GETSYI("ARCH_TYPE").EQ.1 THEN CPU = "VAX"
+$ IF F$GETSYI("ARCH_TYPE").EQ.2 THEN CPU = "Alpha"
+$ IF F$GETSYI("ARCH_TYPE").EQ.3 THEN CPU = "I64"
+$ OS = F$GETSYI("VERSION")
+$WRITE SYS$OUTPUT "Checking architecture ... ", CPU
+$WRITE SYS$OUTPUT "Checking OS ... OpenVMS ",OS
+$SHARED=0
+$IF ( (CPU.EQS."Alpha").OR.(CPU.EQS."I64") )
+$ THEN
+$ SHARED=64
+$ ELSE
+$ SHARED=32
+$ENDIF
+$DECC = F$SEARCH("SYS$SYSTEM:DECC$COMPILER.EXE") .NES. ""
+$IF (DECC) THEN $WRITE SYS$OUTPUT "Compiler ... DEC C"
+$IF (.NOT. DECC) THEN $WRITE SYS$OUTPUT "BAD compiler" GOTO EXIT
+$MMS = F$SEARCH("SYS$SYSTEM:MMS.EXE") .NES. ""
+$MMK = F$TYPE(MMK)
+$IF (MMS .OR. MMK.NES."") THEN GOTO TEST_LIBRARIES
+$WRITE SYS$OUTPUT "Please install MMS from DECSET or MMK"
+$! I cant find any make tool
+$GOTO EXIT
+$!
+$!
+$TEST_LIBRARIES:
+$! Setting as MAKE utility one of MMS or MMK. I prefer MMS.
+$IF (MMK.NES."") THEN MAKE="MMK/IGN=WAR"
+$IF (MMS) THEN MAKE="MMS/IGN=WAR"
+$WRITE SYS$OUTPUT "Checking build utility ... ''MAKE'"
+$WRITE SYS$OUTPUT " "
+$!
+$IF (P1.EQS."STATIC") .OR. (P1.EQS."static")
+$ THEN
+$ WRITE SYS$OUTPUT "Configuring for static only"
+$ SHARED=0
+$ENDIF
+$!
+$! Is it package root directory? If no, go to [-]
+$ IF (F$SEARCH("[]VMS.DIR").EQS."") .AND. (F$SEARCH("[]vms.dir").EQS."")
+$ THEN
+$ SET DEF [-]
+$ ENDIF
+$!
+$!Checking for iconv
+$!
+$ DEFINE SYS$OUTPUT _NLA0:
+$ CC/OBJECT=TEST.OBJ SYS$INPUT
+ #include <iconv.h>
+ int main()
+ {
+ iconv_t cd;
+ cd = iconv_open ((const char *)0, (const char *)0);
+ }
+$TMP = $STATUS
+$DEAS SYS$OUTPUT
+$IF (TMP .NE. %X10B90001)
+$ THEN
+$ HAVE_ICONV=0
+$ENDIF
+$DEFINE SYS$OUTPUT _NLA0:
+$LINK/EXE=TEST TEST
+$TMP = $STATUS
+$!WRITE SYS$OUTPUT TMP
+$IF (TMP .NE. %X10000001)
+$ THEN
+$ HAVE_ICONV=0
+$ ELSE
+$ HAVE_ICONV=1
+$ENDIF
+$DEAS SYS$OUTPUT
+$IF (HAVE_ICONV.EQ.1)
+$ THEN
+$ WRITE SYS$OUTPUT "Checking for system iconv library... Yes"
+$ ELSE
+$ WRITE SYS$OUTPUT "Checking for system iconv library... No"
+$ENDIF
+$!
+$!"Checking for correct zlib library "
+$ ZLIB_STATIC=0
+$ DEFINE SYS$OUTPUT _NLA0:
+$ CC/OBJECT=TEST.OBJ/INCLUDE=(ZLIB) SYS$INPUT
+ #include <stdlib.h>
+ #include <stdio.h>
+ #include <zlib.h>
+ int main()
+ {
+ printf("checking version zlib: %s\n",zlibVersion());
+ }
+$TMP = $STATUS
+$DEAS SYS$OUTPUT
+$IF (TMP .NE. %X10B90001)
+$ THEN
+$ HAVE_ZLIB=0
+$ GOTO NEXT1
+$ENDIF
+$DEFINE SYS$OUTPUT _NLA0:
+$!Testing for shared ZLIB
+$COPY SYS$INPUT [.SRC]OPT.OPT
+SYS$SHARE:LIBZSHR/SHARE
+$LINK/EXE=TEST TEST,[.SRC]OPT/OPT
+$TMP = $STATUS
+$DEL [.SRC]OPT.OPT;*
+$!WRITE SYS$OUTPUT TMP
+$IF (TMP .NE. %X10000001)
+$ THEN
+$ LINK/EXE=TEST TEST,ZLIB:LIBZ/LIB
+$ TMP = $STATUS
+$ IF (TMP .NE. %X10000001)
+$ THEN
+$ HAVE_ZLIB=0
+$ ELSE
+$ HAVE_ZLIB=1
+$ ZLIB_STATIC=1
+$ ENDIF
+$ ELSE
+$ HAVE_ZLIB=1
+$ENDIF
+$NEXT1:
+$DEAS SYS$OUTPUT
+$IF (HAVE_ZLIB.EQ.1)
+$ THEN
+$ WRITE SYS$OUTPUT "Checking for correct zlib library ... Yes"
+$ ELSE
+$ WRITE SYS$OUTPUT "Checking for correct zlib library ... No"
+$ WRITE SYS$OUTPUT "This is fatal. Please download and install good library from fafner.dyndns.org/~alexey/libsdl/public.html"
+$ GOTO EXIT
+$ENDIF
+$RUN TEST
+$!
+$!
+$FREETYPE_STATIC=0
+$!"Checking for correct Freetype2 library"
+$ DEFINE SYS$OUTPUT _NLA0:
+$ CC/OBJECT=TEST.OBJ/INCLUDE=(FREETYPE2) SYS$INPUT
+#include <ft2build.h>
+#include <freetype/freetype.h>
+int main(int argc, char *argv[])
+{
+
+#if FREETYPE_MAJOR == 2 && FREETYPE_MINOR <= 1
+ printf("This version is too old. Please get newest\n");
+ printf("From fafner.dyndns.org/~alexey/libsdl/required.html\n");
+ exit(2);
+#endif
+ printf("checking version FreeType : %d.%d.%d\n",
+ FREETYPE_MAJOR,
+ FREETYPE_MINOR,
+ FREETYPE_PATCH);
+ return(0);
+}
+$TMP = $STATUS
+$DEAS SYS$OUTPUT
+$IF (TMP .NE. %X10B90001)
+$ THEN
+$ HAVE_FREETYPE=0
+$ GOTO NEXT0
+$ENDIF
+$DEAS SYS$OUTPUT
+$DEFINE SYS$OUTPUT _NLA0:
+$LINK/EXE=TEST TEST,FREETYPE2:FREETYPE/OPT
+$TMP = $STATUS
+$IF (TMP .NE. %X10000001)
+$ THEN
+$ LINK/EXE=TEST TEST,FREETYPE2:FREETYPE/LIB,ZLIB:LIBZ/LIB
+$ TMP = $STATUS
+$ IF (TMP .NE. %X10000001)
+$ THEN
+$ TMP = $STATUS
+$ HAVE_FREETYPE=0
+$ GOTO NEXT0
+$ ELSE
+$ FREETYPE_STATIC=1
+$ ENDIF
+$ENDIF
+$!
+$RUN TEST
+$IF ($STATUS .NE. %X00000001)
+$ THEN
+$ HAVE_FREETYPE=0
+$ GOTO NEXT0
+$ ELSE
+$ HAVE_FREETYPE=1
+$ENDIF
+$NEXT0:
+$DEAS SYS$OUTPUT
+$IF (HAVE_FREETYPE.EQ.1)
+$ THEN
+$ WRITE SYS$OUTPUT "Checking for correct FreeType ... Yes"
+$ RUN TEST
+$ ELSE
+$ WRITE SYS$OUTPUT "Checking for correct FreeType ... No"
+$ WRITE SYS$OUTPUT "This is required library "
+$ WRITE SYS$OUTPUT "install it first from fafner.dyndns.org/~alexey/libsdl/required.html"
+$ GOTO EXIT
+$ENDIF
+$!
+$!
+$HAVE_TIFF=0
+$!"Checking for libPNG "
+$ DEFINE SYS$OUTPUT _NLA0:
+$ CC/OBJECT=TEST.OBJ/INCLUDE=(PNG,ZLIB) SYS$INPUT
+ #include <stdlib.h>
+ #include <png.h>
+ int main()
+ {
+ png_uint_32 n,n1,n2,n3;
+ n=png_access_version_number();
+ n3=n%100; n=n/100;
+ n2=n%100; n=n/100;
+ n1=n%100;
+ if ( (n1<=1)&&(n2<2) )
+ { printf("checking version libPNG: %d.%d.%d\n",n1,n2,n3);
+ printf("This version is too old. Please get newest\n");
+ printf("From fafner.dyndns.org/~alexey/libsdl/public.html\n");
+ exit(2);
+ }
+ printf("checking version libPNG: %d.%d.%d\n",n1,n2,n3);
+ }
+$!
+$TMP = $STATUS
+$DEAS SYS$OUTPUT
+$IF (TMP .NE. %X10B90001)
+$ THEN
+$ HAVE_LIBPNG=0
+$ GOTO NEXT2
+$ENDIF
+$DEFINE SYS$OUTPUT _NLA0:
+$LINK/EXE=TEST TEST,PNG:LIBPNG$SHR/OPT,ZLIB:LIBZ/LIB
+$TMP = $STATUS
+$!WRITE SYS$OUTPUT TMP
+$IF (TMP .NE. %X10000001)
+$ THEN
+$! Trying for static libpng
+$ LINK/EXE=TEST TEST,PNG:LIBPNG/LIB,ZLIB:LIBZ/LIB
+$ TMP = $STATUS
+$ IF (TMP .NE. %X10000001)
+$ THEN
+$ LIBPNG_STATIC=0
+$ HAVE_LIBPNG=0
+$ GOTO NEXT2
+$ ELSE
+$ HAVE_LIBPNG=1
+$ LIBPNG_STATIC=1
+$ ENDIF
+$ ELSE
+$ HAVE_LIBPNG=1
+$ LIBPNG_STATIC=0
+$ENDIF
+$!
+$RUN TEST
+$IF ($STATUS .NE. %X00000001)
+$ THEN
+$ HAVE_LIBPNG=0
+$ ELSE
+$ HAVE_LIBPNG=1
+$ENDIF
+$NEXT2:
+$DEAS SYS$OUTPUT
+$IF (HAVE_LIBPNG.EQ.1)
+$ THEN
+$ WRITE SYS$OUTPUT "Checking for correct libPNG ... Yes"
+$ RUN TEST
+$ ELSE
+$ WRITE SYS$OUTPUT "Checking for correct libPNG ... No"
+$ WRITE SYS$OUTPUT "This is fatal. Please download and install good library from fafner.dyndns.org/~alexey/libsdl/public.html"
+$ GOTO EXIT
+$ENDIF
+$!
+$!
+$!
+$! Checking for JPEG ...
+$ DEFINE SYS$OUTPUT _NLA0:
+$ CC/OBJECT=TEST.OBJ/INCLUDE=(JPEG) SYS$INPUT
+ #include <stdlib.h>
+ #include <stdio.h>
+ #include <jpeglib.h>
+ #include <jversion.h>
+ int main()
+ {
+ printf("checking version jpeg: %s\n",JVERSION);
+ jpeg_quality_scaling(0);
+ return 0;
+ }
+$TMP = $STATUS
+$DEAS SYS$OUTPUT
+$!WRITE SYS$OUTPUT TMP
+$IF (TMP .NE. %X10B90001)
+$ THEN
+$ HAVE_JPEG=0
+$ GOTO NEXT3
+$ENDIF
+$DEFINE SYS$OUTPUT _NLA0:
+$LINK/EXE=TEST TEST,JPEG:LIBJPEG$SHR/OPT
+$TMP = $STATUS
+$!WRITE SYS$OUTPUT TMP
+$IF (TMP .NE. %X10000001)
+$ THEN
+$ LINK/EXE=TEST TEST,JPEG:LIBJPEG/OPT
+$ TMP = $STATUS
+$ IF (TMP .NE. %X10000001)
+$ THEN
+$ HAVE_JPEG=0
+$ JPEG_STATIC=0
+$ GOTO NEXT3
+$ ELSE
+$ HAVE_JPEG=1
+$ JPEG_STATIC=1
+$ ENDIF
+$ ELSE
+$ HAVE_JPEG=1
+$ JPEG_STATIC=0
+$ENDIF
+$!
+$NEXT3:
+$DEAS SYS$OUTPUT
+$IF (HAVE_JPEG.EQ.1)
+$ THEN
+$ WRITE SYS$OUTPUT "Checking for correct jpeg library ... Yes"
+$ ELSE
+$ WRITE SYS$OUTPUT "Checking for correct jpeg library ... No"
+$ WRITE SYS$OUTPUT "This is fatal. Please download and install good library from fafner.dyndns.org/~alexey/libsdl/public.html"
+$ GOTO EXIT
+$ENDIF
+$RUN TEST
+$!
+$!
+$!Checking for libTIFF
+$ DEFINE SYS$OUTPUT _NLA0:
+$ DEL TEST.*;*
+$ CC/OBJECT=TEST.OBJ/INCLUDE=(TIFF) SYS$INPUT
+ #include <stdlib.h>
+ #include <stdio.h>
+ #include <tiffio.h>
+ int main()
+ {
+ printf("checking libTIFF version:\t%s\n\n", TIFFGetVersion());
+ return 0;
+ }
+$!
+$TMP = $STATUS
+$DEAS SYS$OUTPUT
+$IF (TMP .NE. %X10B90001)
+$ THEN
+$ HAVE_TIFF=0
+$ GOTO NEXT4
+$ENDIF
+$DEFINE SYS$OUTPUT _NLA0:
+$LINK TEST, TIFF:LIBTIFF/OPT, ZLIB:LIBZ/LIB
+$TMP = $STATUS
+$!WRITE SYS$OUTPUT TMP
+$IF (TMP .NE. %X10000001)
+$ THEN
+$ HAVE_TIFF=0
+$ ELSE
+$ HAVE_TIFF=1
+$ENDIF
+$NEXT4:
+$DEAS SYS$OUTPUT
+$IF (HAVE_TIFF.EQ.1)
+$ THEN
+$ WRITE SYS$OUTPUT "Checking for TIFF library ... Yes"
+$ TIFF_LIBRARY_PATH="TIFF:LIBTIFF/OPT"
+$ RUN TEST
+$ ELSE
+$ WRITE SYS$OUTPUT "Checking for TIFF library ... No"
+$ WRITE SYS$OUTPUT "No TIFF library installed. This is fatal. Please download and install good library from fafner.dyndns.org/~alexey/libsdl/public.html"
+$ GOTO EXIT
+$ENDIF
+$!
+$!
+$!WRITING BUILD FILES
+$!
+$IF (SHARED.EQ.64)
+$ THEN
+$ COPY SYS$INPUT [.SRC]LIBGD$DEF.OPT
+SYMBOL_VECTOR= (-
+gdAlphaBlend=PROCEDURE,-
+gdImageCreate=PROCEDURE,-
+gdImageCreateTrueColor=PROCEDURE,-
+gdImageCreateFromPng=PROCEDURE,-
+gdImageCreateFromPngCtx=PROCEDURE,-
+gdImageCreateFromPngPtr=PROCEDURE,-
+gdImageCreateFromGif=PROCEDURE,-
+gdImageCreateFromGifCtx=PROCEDURE,-
+gdImageCreateFromGifPtr=PROCEDURE,-
+gdImageCreateFromWBMP=PROCEDURE,-
+gdImageCreateFromWBMPCtx=PROCEDURE,-
+gdImageCreateFromWBMPPtr=PROCEDURE,-
+gdImageCreateFromJpeg=PROCEDURE,-
+gdImageCreateFromJpegCtx=PROCEDURE,-
+gdImageCreateFromJpegPtr=PROCEDURE,-
+gdImageCreateFromPngSource=PROCEDURE,-
+gdImageCreateFromGd=PROCEDURE,-
+gdImageCreateFromGdCtx=PROCEDURE,-
+gdImageCreateFromGdPtr=PROCEDURE,-
+gdImageCreateFromGd2=PROCEDURE,-
+gdImageCreateFromGd2Ctx=PROCEDURE,-
+gdImageCreateFromGd2Ptr=PROCEDURE,-
+gdImageCreateFromGd2Part=PROCEDURE,-
+gdImageCreateFromGd2PartCtx=PROCEDURE,-
+gdImageCreateFromGd2PartPtr=PROCEDURE,-
+gdImageCreateFromXbm=PROCEDURE,-
+gdImageCreateFromXpm=PROCEDURE,-
+gdImageStringFTCircle=PROCEDURE,-
+gdImageDestroy=PROCEDURE,-
+gdImageSetPixel=PROCEDURE,-
+gdImageGetPixel=PROCEDURE,-
+gdImageGetTrueColorPixel=PROCEDURE,-
+gdImageAABlend=PROCEDURE,-
+gdImageLine=PROCEDURE,-
+gdImageDashedLine=PROCEDURE,-
+gdImageRectangle=PROCEDURE,-
+gdImageFilledRectangle=PROCEDURE,-
+gdImageSetClip=PROCEDURE,-
+gdImageGetClip=PROCEDURE,-
+gdImageBoundsSafe=PROCEDURE,-
+gdImageChar=PROCEDURE,-
+gdImageCharUp=PROCEDURE,-
+gdImageString=PROCEDURE,-
+gdImageStringUp=PROCEDURE,-
+gdImageString16=PROCEDURE,-
+gdImageStringUp16=PROCEDURE,-
+gdFontCacheSetup=PROCEDURE,-
+gdFontCacheShutdown=PROCEDURE,-
+gdFreeFontCache=PROCEDURE,-
+gdImageStringTTF=PROCEDURE,-
+gdImageStringFT=PROCEDURE,-
+gdFTUseFontConfig=PROCEDURE,-
+gdImageStringFTEx=PROCEDURE,-
+gdImagePolygon=PROCEDURE,-
+gdImageOpenPolygon=PROCEDURE,-
+gdImageFilledPolygon=PROCEDURE,-
+gdImageColorAllocate=PROCEDURE,-
+gdImageColorAllocateAlpha=PROCEDURE,-
+gdImageColorClosest=PROCEDURE,-
+gdImageColorClosestAlpha=PROCEDURE,-
+gdImageColorClosestHWB=PROCEDURE,-
+gdImageColorExact=PROCEDURE,-
+gdImageColorExactAlpha=PROCEDURE,-
+gdImageColorResolve=PROCEDURE,-
+gdImageColorResolveAlpha=PROCEDURE,-
+gdImageColorDeallocate=PROCEDURE,-
+gdImageCreatePaletteFromTrueCol=PROCEDURE,-
+gdImageTrueColorToPalette=PROCEDURE,-
+gdImageColorTransparent=PROCEDURE,-
+gdImagePaletteCopy=PROCEDURE,-
+gdImageGif=PROCEDURE,-
+gdImagePng=PROCEDURE,-
+gdImagePngCtx=PROCEDURE,-
+gdImageGifCtx=PROCEDURE,-
+gdImagePngEx=PROCEDURE,-
+gdImagePngCtxEx=PROCEDURE,-
+gdImageWBMP=PROCEDURE,-
+gdImageWBMPCtx=PROCEDURE,-
+gdFree=PROCEDURE,-
+gdImageWBMPPtr=PROCEDURE,-
+gdImageJpeg=PROCEDURE,-
+gdImageJpegCtx=PROCEDURE,-
+gdImageJpegPtr=PROCEDURE,-
+gdImageGifAnimBegin=PROCEDURE,-
+gdImageGifAnimAdd=PROCEDURE,-
+gdImageGifAnimEnd=PROCEDURE,-
+gdImageGifAnimBeginCtx=PROCEDURE,-
+gdImageGifAnimAddCtx=PROCEDURE,-
+gdImageGifAnimEndCtx=PROCEDURE,-
+gdImageGifAnimBeginPtr=PROCEDURE,-
+gdImageGifAnimAddPtr=PROCEDURE,-
+gdImageGifAnimEndPtr=PROCEDURE,-
+gdImagePngToSink=PROCEDURE,-
+gdImageGd=PROCEDURE,-
+gdImageGd2=PROCEDURE,-
+gdImageGifPtr=PROCEDURE,-
+gdImagePngPtr=PROCEDURE,-
+gdImagePngPtrEx=PROCEDURE,-
+gdImageGdPtr=PROCEDURE,-
+gdImageGd2Ptr=PROCEDURE,-
+gdImageFilledArc=PROCEDURE,-
+gdImageArc=PROCEDURE,-
+gdImageFilledEllipse=PROCEDURE,-
+gdImageFillToBorder=PROCEDURE,-
+gdImageFill=PROCEDURE,-
+gdImageCopy=PROCEDURE,-
+gdImageCopyMerge=PROCEDURE,-
+gdImageCopyMergeGray=PROCEDURE,-
+gdImageCopyResized=PROCEDURE,-
+gdImageCopyResampled=PROCEDURE,-
+gdImageCopyRotated=PROCEDURE,-
+gdImageSetBrush=PROCEDURE,-
+gdImageSetTile=PROCEDURE,-
+gdImageSetAntiAliased=PROCEDURE,-
+gdImageSetAntiAliasedDontBlend=PROCEDURE,-
+gdImageSetStyle=PROCEDURE,-
+gdImageSetThickness=PROCEDURE,-
+gdImageInterlace=PROCEDURE,-
+gdImageAlphaBlending=PROCEDURE,-
+gdImageSaveAlpha=PROCEDURE,-
+gdNewFileCtx=PROCEDURE,-
+gdNewDynamicCtx=PROCEDURE,-
+gdNewDynamicCtxEx=PROCEDURE,-
+gdNewSSCtx=PROCEDURE,-
+gdDPExtractData=PROCEDURE,-
+gdFontGetGiant=PROCEDURE,-
+gdFontGetLarge=PROCEDURE,-
+gdFontGetMediumBold=PROCEDURE,-
+gdFontGetSmall=PROCEDURE,-
+gdFontGetTiny=PROCEDURE,-
+gdImageCompare=PROCEDURE,-
+gdImageCreateFromTiff=PROCEDURE,-
+gdImageCreateFromTiffCtx=PROCEDURE,-
+gdImageCreateFromTiffPtr=PROCEDURE,-
+gdImageCreateFromTga=PROCEDURE,-
+gdImageCreateFromTgaCtx=PROCEDURE,-
+gdImageCreateFromTgaPtr=PROCEDURE,-
+gdImageTiff=PROCEDURE,-
+gdImageTiffPtr=PROCEDURE,-
+gdImageTiffCtx=PROCEDURE,-
+gdImageCrop=PROCEDURE,-
+gdImageAutoCrop=PROCEDURE,-
+gdImageThresholdCrop=PROCEDURE,-
+gdFontGiant=DATA,-
+GDFONTLARGE=DATA,-
+GDFONTMEDIUMBOLD=DATA,-
+GDFONTSMALL=DATA,-
+GDFONTTINY=DATA-
+)
+$ENDIF
+$!
+$IF (SHARED.EQ.32)
+$ THEN
+$ COPY SYS$INPUT [.SRC]LIBGD$DEF.OPT
+UNIVERSAL=gdAlphaBlend
+UNIVERSAL=gdImageCreate
+UNIVERSAL=gdImageCreateTrueColor
+UNIVERSAL=gdImageCreateFromPng
+UNIVERSAL=gdImageCreateFromPngCtx
+UNIVERSAL=gdImageCreateFromPngPtr
+UNIVERSAL=gdImageCreateFromGif
+UNIVERSAL=gdImageCreateFromGifCtx
+UNIVERSAL=gdImageCreateFromGifPtr
+UNIVERSAL=gdImageCreateFromWBMP
+UNIVERSAL=gdImageCreateFromWBMPCtx
+UNIVERSAL=gdImageCreateFromWBMPPtr
+UNIVERSAL=gdImageCreateFromJpeg
+UNIVERSAL=gdImageStringFTCircle
+UNIVERSAL=gdImageCreateFromJpegCtx
+UNIVERSAL=gdImageCreateFromJpegPtr
+UNIVERSAL=gdImageCreateFromPngSource
+UNIVERSAL=gdImageCreateFromGd
+UNIVERSAL=gdImageCreateFromGdCtx
+UNIVERSAL=gdImageCreateFromGdPtr
+UNIVERSAL=gdImageCreateFromGd2
+UNIVERSAL=gdImageCreateFromGd2Ctx
+UNIVERSAL=gdImageCreateFromGd2Ptr
+UNIVERSAL=gdImageCreateFromGd2Part
+UNIVERSAL=gdImageCreateFromGd2PartCtx
+UNIVERSAL=gdImageCreateFromGd2PartPtr
+UNIVERSAL=gdImageCreateFromXbm
+UNIVERSAL=gdImageCreateFromXpm
+UNIVERSAL=gdImageDestroy
+UNIVERSAL=gdImageSetPixel
+UNIVERSAL=gdImageGetPixel
+UNIVERSAL=gdImageGetTrueColorPixel
+UNIVERSAL=gdImageAABlend
+UNIVERSAL=gdImageLine
+UNIVERSAL=gdImageDashedLine
+UNIVERSAL=gdImageRectangle
+UNIVERSAL=gdImageFilledRectangle
+UNIVERSAL=gdImageSetClip
+UNIVERSAL=gdImageGetClip
+UNIVERSAL=gdImageBoundsSafe
+UNIVERSAL=gdImageChar
+UNIVERSAL=gdImageCharUp
+UNIVERSAL=gdImageString
+UNIVERSAL=gdImageStringUp
+UNIVERSAL=gdImageString16
+UNIVERSAL=gdImageStringUp16
+UNIVERSAL=gdFontCacheSetup
+UNIVERSAL=gdFontCacheShutdown
+UNIVERSAL=gdFreeFontCache
+UNIVERSAL=gdImageStringTTF
+UNIVERSAL=gdImageStringFT
+UNIVERSAL=gdFTUseFontConfig
+UNIVERSAL=gdImageStringFTEx
+UNIVERSAL=gdImagePolygon
+UNIVERSAL=gdImageOpenPolygon
+UNIVERSAL=gdImageFilledPolygon
+UNIVERSAL=gdImageColorAllocate
+UNIVERSAL=gdImageColorAllocateAlpha
+UNIVERSAL=gdImageColorClosest
+UNIVERSAL=gdImageColorClosestAlpha
+UNIVERSAL=gdImageColorClosestHWB
+UNIVERSAL=gdImageColorExact
+UNIVERSAL=gdImageColorExactAlpha
+UNIVERSAL=gdImageColorResolve
+UNIVERSAL=gdImageColorResolveAlpha
+UNIVERSAL=gdImageColorDeallocate
+UNIVERSAL=gdImageCreatePaletteFromTrueCol
+UNIVERSAL=gdImageTrueColorToPalette
+UNIVERSAL=gdImageColorTransparent
+UNIVERSAL=gdImagePaletteCopy
+UNIVERSAL=gdImageGif
+UNIVERSAL=gdImagePng
+UNIVERSAL=gdImagePngCtx
+UNIVERSAL=gdImageGifCtx
+UNIVERSAL=gdImagePngEx
+UNIVERSAL=gdImagePngCtxEx
+UNIVERSAL=gdImageWBMP
+UNIVERSAL=gdImageWBMPCtx
+UNIVERSAL=gdFree
+UNIVERSAL=gdImageWBMPPtr
+UNIVERSAL=gdImageJpeg
+UNIVERSAL=gdImageJpegCtx
+UNIVERSAL=gdImageJpegPtr
+UNIVERSAL=gdImageGifAnimBegin
+UNIVERSAL=gdImageGifAnimAdd
+UNIVERSAL=gdImageGifAnimEnd
+UNIVERSAL=gdImageGifAnimBeginCtx
+UNIVERSAL=gdImageGifAnimAddCtx
+UNIVERSAL=gdImageGifAnimEndCtx
+UNIVERSAL=gdImageGifAnimBeginPtr
+UNIVERSAL=gdImageGifAnimAddPtr
+UNIVERSAL=gdImageGifAnimEndPtr
+UNIVERSAL=gdImagePngToSink
+UNIVERSAL=gdImageGd
+UNIVERSAL=gdImageGd2
+UNIVERSAL=gdImageGifPtr
+UNIVERSAL=gdImagePngPtr
+UNIVERSAL=gdImagePngPtrEx
+UNIVERSAL=gdImageGdPtr
+UNIVERSAL=gdImageGd2Ptr
+UNIVERSAL=gdImageFilledArc
+UNIVERSAL=gdImageArc
+UNIVERSAL=gdImageFilledEllipse
+UNIVERSAL=gdImageFillToBorder
+UNIVERSAL=gdImageFill
+UNIVERSAL=gdImageCopy
+UNIVERSAL=gdImageCopyMerge
+UNIVERSAL=gdImageCopyMergeGray
+UNIVERSAL=gdImageCopyResized
+UNIVERSAL=gdImageCopyResampled
+UNIVERSAL=gdImageCopyRotated
+UNIVERSAL=gdImageSetBrush
+UNIVERSAL=gdImageSetTile
+UNIVERSAL=gdImageSetAntiAliased
+UNIVERSAL=gdImageSetAntiAliasedDontBlend
+UNIVERSAL=gdImageSetStyle
+UNIVERSAL=gdImageSetThickness
+UNIVERSAL=gdImageInterlace
+UNIVERSAL=gdImageAlphaBlending
+UNIVERSAL=gdImageSaveAlpha
+UNIVERSAL=gdNewFileCtx
+UNIVERSAL=gdNewDynamicCtx
+UNIVERSAL=gdNewDynamicCtxEx
+UNIVERSAL=gdNewSSCtx
+UNIVERSAL=gdDPExtractData
+UNIVERSAL=gdFontGetGiant
+UNIVERSAL=gdFontGetLarge
+UNIVERSAL=gdFontGetMediumBold
+UNIVERSAL=gdFontGetSmall
+UNIVERSAL=gdFontGetTiny
+UNIVERSAL=gdImageCompare
+UNIVERSAL=gdFontGiant
+UNIVERSAL=gdImageCreateFromTiff
+UNIVERSAL=gdImageCreateFromTiffCtx
+UNIVERSAL=gdImageCreateFromTiffPtr
+UNIVERSAL=gdImageCreateFromTga
+UNIVERSAL=gdImageCreateFromTgaCtx
+UNIVERSAL=gdImageCreateFromTgaPtr
+UNIVERSAL=gdImageTiff
+UNIVERSAL=gdImageTiffPtr
+UNIVERSAL=gdImageTiffCtx
+UNIVERSAL=gdImageCrop
+UNIVERSAL=gdImageAutoCrop
+UNIVERSAL=gdImageThresholdCrop
+UNIVERSAL=GDFONTLARGE
+UNIVERSAL=GDFONTMEDIUMBOLD
+UNIVERSAL=GDFONTSMALL
+UNIVERSAL=GDFONTTINY
+
+$ENDIF
+$!
+$!
+$DEF SYS$OUTPUT _NL0:
+$!
+$!Making OPT file for GD$SHR.EXE, i.e without reference to himself
+$COPY SYS$INPUT [.SRC]OPT.OPT
+[]GD/LIB
+$IF ((HAVE_LIBPNG.EQ.1) .AND. (LIBPNG_STATIC.EQ.1))
+$ THEN
+$ APP SYS$INPUT [.SRC]OPT.OPT
+PNG:LIBPNG/LIB
+$ENDIF
+$IF ((HAVE_LIBPNG.EQ.1) .AND. (LIBPNG_STATIC.EQ.0))
+$ THEN
+$ APP PNG:LIBPNG$SHR.OPT [.SRC]OPT.OPT
+$ENDIF
+$!
+$IF ((HAVE_JPEG.EQ.1) .AND. (JPEG_STATIC.EQ.1) .AND. (HAVE_TIFF.NE.1))
+$ THEN
+$ APP SYS$INPUT [.SRC]OPT.OPT
+JPEG:LIBJPEG/LIB
+$ENDIF
+$IF ((HAVE_JPEG.EQ.1) .AND. (JPEG_STATIC.EQ.0) .AND. (HAVE_TIFF.NE.1))
+$ THEN
+$ APP JPEG:LIBJPEG$SHR.OPT [.SRC]OPT.OPT
+$ENDIF
+$!
+$IF (HAVE_TIFF.EQ.1)
+$ THEN
+$ APP TIFF:LIBTIFF.OPT [.SRC]OPT.OPT
+$ENDIF
+$!
+$IF (HAVE_FREETYPE.EQ.1) .AND. (FREETYPE_STATIC.EQ.1)
+$ THEN
+$ APP SYS$INPUT [.SRC]OPT.OPT
+ FREETYPE2:FREETYPE/LIB
+ ZLIB:LIBZ/LIB
+$ENDIF
+$IF (HAVE_FREETYPE.EQ.1) .AND. (FREETYPE_STATIC.EQ.0)
+$ THEN
+$ APP FREETYPE2:FREETYPE.OPT [.SRC]OPT.OPT
+$ENDIF
+$!
+$IF (HAVE_ZLIB.EQ.1) .AND. ((FREETYPE_STATIC.NE.1).AND.(JPEG_STATIC.NE.1))
+$ THEN
+$ IF (ZLIB_STATIC.EQ.0)
+$ THEN
+$ APP SYS$INPUT [.SRC]OPT.OPT
+ SYS$SHARE:LIBZSHR/SHARE
+$ ELSE
+$ APP SYS$INPUT [.SRC]OPT.OPT
+ ZLIB:LIBZ/LIB
+$ ENDIF
+$ ELSE
+$ APP SYS$INPUT [.SRC]OPT.OPT
+ ZLIB:LIBZ/LIB
+$ENDIF
+$!
+$!
+$PURGE [.SRC]OPT.OPT
+$!
+$!
+$!Making working LIBGD.OPT file
+$!
+$IF (SHARED.GT.0)
+$ THEN
+ $COPY SYS$INPUT [.SRC]LIBGD.OPT
+ SYS$SHARE:GD$SHR/SHARE
+$ ELSE
+ $COPY SYS$INPUT [.SRC]LIBGD.OPT
+ LIBGD:GD/LIB
+$ENDIF
+$!
+$!Append OPT files to LIBGD.OPT
+$IF ((HAVE_LIBPNG.EQ.1) .AND. (LIBPNG_STATIC.EQ.1))
+$ THEN
+$ APP SYS$INPUT [.SRC]LIBGD.OPT
+PNG:LIBPNG/LIB
+$ENDIF
+$IF ((HAVE_LIBPNG.EQ.1) .AND. (LIBPNG_STATIC.EQ.0))
+$ THEN
+$ APP PNG:LIBPNG$SHR.OPT [.SRC]LIBGD.OPT
+$ENDIF
+$!
+$IF ((HAVE_JPEG.EQ.1) .AND. (HAVE_TIFF.NE.1) .AND. (JPEG_STATIC.EQ.1))
+$ THEN
+$ APP JPEG:LIBJPEG.OPT [.SRC]LIBGD.OPT
+$ENDIF
+$IF ((HAVE_JPEG.EQ.1) .AND. (JPEG_STATIC.EQ.0) .AND. (HAVE_TIFF.NE.1))
+$ THEN
+$ APP JPEG:LIBJPEG$SHR.OPT [.SRC]LIBGD.OPT
+$ENDIF
+$!
+$IF (HAVE_TIFF.EQ.1)
+$ THEN
+$ APP TIFF:LIBTIFF.OPT [.SRC]LIBGD.OPT
+$ENDIF
+$!
+$IF (HAVE_FREETYPE.EQ.1) .AND. (FREETYPE_STATIC.EQ.1)
+$ THEN
+$ APP SYS$INPUT [.SRC]LIBGD.OPT
+ FREETYPE2:FREETYPE/LIB
+ ZLIB:LIBZ/LIB
+$ENDIF
+$IF (HAVE_FREETYPE.EQ.1) .AND. (FREETYPE_STATIC.EQ.0)
+$ THEN
+$ APP FREETYPE2:FREETYPE.OPT [.SRC]LIBGD.OPT
+$ENDIF
+$!
+$IF (HAVE_ZLIB.EQ.1) .AND. ((FREETYPE_STATIC.NE.1).AND.(JPEG_STATIC.NE.1))
+$ THEN
+$ IF (ZLIB_STATIC.EQ.0)
+$ THEN
+$ APP SYS$INPUT [.SRC]LIBGD.OPT
+ SYS$SHARE:LIBZSHR/SHARE
+$ ELSE
+$ APP SYS$INPUT [.SRC]LIBGD.OPT
+ ZLIB:LIBZ/LIB
+$ ENDIF
+$ENDIF
+$!
+$PURGE LIBGD.OPT
+$!
+$DEAS SYS$OUTPUT
+$!
+$OPEN/WRITE OUT BUILD.COM
+$ WRITE OUT "$SET DEF [.SRC]"
+$ WRITE OUT "$",MAKE
+$ WRITE OUT "$ CURRENT = F$ENVIRONMENT (""DEFAULT"") "
+$ WRITE OUT "$TMP=CURRENT"
+$ WRITE OUT "$OPEN/WRITE OUTT [-]LIBGD$STARTUP.COM"
+$ WRITE OUT "$WRITE OUTT ""DEFINE LIBGD """"", "'","'","TMP'"""""""
+$ WRITE OUT "$WRITE OUTT ""GD2COPYPAL==""""$","'","'","TMP'"",""GD2COPYPAL"""" "
+$ WRITE OUT "$WRITE OUTT ""GD2TIME==""""$","'","'","TMP'"",""GD2TIME"""" "
+$ WRITE OUT "$WRITE OUTT ""GD2TOGIF==""""$","'","'","TMP'"",""GD2TOGIF"""" "
+$ WRITE OUT "$WRITE OUTT ""GD2TOPNG==""""$","'","'","TMP'"",""GD2TOPNG"""" "
+$ WRITE OUT "$WRITE OUTT ""GDCMPGIF==""""$","'","'","TMP'"",""GDCMPGIF"""" "
+$ WRITE OUT "$WRITE OUTT ""GDTOPNG==""""$","'","'","TMP'"",""GDTOPNG"""" "
+$ WRITE OUT "$WRITE OUTT ""GIFTOGD2==""""$","'","'","TMP'"",""GIFTOGD2"""" "
+$ WRITE OUT "$WRITE OUTT ""PNGTOGD==""""$","'","'","TMP'"",""PNGTOGD"""" "
+$ WRITE OUT "$WRITE OUTT ""PNGTOGD2==""""$","'","'","TMP'"",""PNGTOGD2"""" "
+$ WRITE OUT "$WRITE OUTT ""WEBPNG==""""$","'","'","TMP'"",""WEBPNG"""" "
+$ WRITE OUT "$CLOSE OUTT"
+$!
+$ WRITE OUT "$WRITE SYS$OUTPUT "" "" "
+$ WRITE OUT "$WRITE SYS$OUTPUT ""***************************************************************************** "" "
+$ WRITE OUT "$WRITE SYS$OUTPUT ""LIBGD$STARTUP.COM has been created. "" "
+$ WRITE OUT "$WRITE SYS$OUTPUT ""This file setups all logicals needed. It should be execute before using "" "
+$ WRITE OUT "$WRITE SYS$OUTPUT ""Nice place to call it - LOGIN.COM "" "
+$ WRITE OUT "$WRITE SYS$OUTPUT """" "
+$ WRITE OUT "$WRITE SYS$OUTPUT ""Using:"" "
+$ WRITE OUT "$WRITE SYS$OUTPUT ""CC/INCL=LIBGD PROG"" "
+$ WRITE OUT "$WRITE SYS$OUTPUT ""LINK PROG, LIBGD:LIBGD/OPT"" "
+$ WRITE OUT "$WRITE SYS$OUTPUT ""***************************************************************************** "" "
+$ WRITE OUT "$WRITE SYS$OUTPUT ""***************************************************************************** "" "
+$ WRITE OUT "$SET DEF [-]"
+$CLOSE OUT
+$!
+$!
+$!Writing config.h
+$COPY SYS$INPUT [.SRC]CONFIG.H
+/* Generated by configure.com for OpenVMS */
+
+/* Define to 1 if you have the <dlfcn.h> header file. */
+#define HAVE_DLFCN_H 1
+
+/* Define to 1 if you have the <errno.h> header file. */
+#define HAVE_ERRNO_H 1
+
+
+
+/* Define to 1 if you have the <inttypes.h> header file. */
+#define HAVE_INTTYPES_H 1
+
+
+#define PACKAGE_NAME "GD"
+
+/* Define to the full name and version of this package. */
+#define PACKAGE_STRING "GD 2.1.0"
+
+/* Define to the one symbol short name of this package. */
+#define PACKAGE_TARNAME "GD"
+
+/* Define to the version of this package. */
+#define PACKAGE_VERSION "2.1.0"
+
+/* Define to necessary symbol if this constant uses a non-standard name on
+ * your system. */
+/* #undef PTHREAD_CREATE_JOINABLE */
+
+/* Define to 1 if you have the ANSI C header files. */
+#define STDC_HEADERS 1
+
+/* Version number of package */
+#define VERSION "2.1.0"
+
+/* Define to 1 if you have the `m' library (-lm). */
+#define HAVE_LIBM 1
+
+
+/* Define to 1 if you have the <libpng/png.h> header file. */
+/* #undef HAVE_LIBPNG_PNG_H */
+
+
+
+/* Define to 1 if you have the <limits.h> header file. */
+//#define HAVE_LIMITS_H 1
+
+
+/* Define to 1 if you have the <memory.h> header file. */
+#define HAVE_MEMORY_H 1
+
+
+/* Define if you have POSIX threads libraries and header files. */
+#define HAVE_PTHREAD 1
+
+/* Define to 1 if you have the <stddef.h> header file. */
+#define HAVE_STDDEF_H 1
+
+/* Define to 1 if you have the <stdint.h> header file. */
+//#define HAVE_STDINT_H 1
+
+/* Define to 1 if you have the <stdlib.h> header file. */
+#define HAVE_STDLIB_H 1
+
+/* Define to 1 if you have the <strings.h> header file. */
+#define HAVE_STRINGS_H 1
+
+/* Define to 1 if you have the <string.h> header file. */
+#define HAVE_STRING_H 1
+
+/* Define to 1 if you have the <sys/stat.h> header file. */
+#define HAVE_SYS_STAT_H 1
+
+/* Define to 1 if you have the <sys/types.h> header file. */
+#define HAVE_SYS_TYPES_H 1
+
+/* Define to 1 if you have the <unistd.h> header file. */
+#define HAVE_UNISTD_H 1
+
+/* Define as const if the declaration of iconv() needs const. */
+//#define ICONV_CONST
+
+/* Name of package */
+#define PACKAGE "gd"
+
+/* Define to the address where bug reports for this package should be sent. */
+#define PACKAGE_BUGREPORT "http://bugs.libgd.org"
+
+/* Define to the full name of this package. */
+
+
+
+$IF HAVE_ICONV.EQ.1
+$ THEN
+$ APP SYS$INPUT [.SRC]CONFIG.H
+ /* Define if you have the iconv() function. */
+ #define HAVE_ICONV 1
+ /* Define to 1 if you have the <iconv.h> header file. */
+ #define HAVE_ICONV_H 1
+ /* Define if <iconv.h> defines iconv_t. */
+ #define HAVE_ICONV_T_DEF 1
+$ENDIF
+$IF HAVE_TIFF.EQ.1
+$ THEN
+$ APP SYS$INPUT [.SRC]CONFIG.H
+ #define HAVE_LIBTIFF 1
+$ENDIF
+$IF HAVE_LIBPNG.EQ.1
+$ THEN
+$ APP SYS$INPUT [.SRC]CONFIG.H
+ #define HAVE_LIBPNG 1
+ #define HAVE_PNG_H 1
+$ENDIF
+$IF HAVE_FREETYPE.EQ.1
+$ THEN
+$ APP SYS$INPUT [.SRC]CONFIG.H
+ #define HAVE_LIBFREETYPE 1
+ #define HAVE_FT2BUILD_H 1
+$ENDIF
+$IF HAVE_JPEG.EQ.1
+$ THEN
+$ APP SYS$INPUT [.SRC]CONFIG.H
+ #define HAVE_LIBJPEG 1
+$ENDIF
+$IF HAVE_ZLIB.EQ.1
+$ THEN
+$ APP SYS$INPUT [.SRC]CONFIG.H
+ #define HAVE_LIBZ 1
+$ENDIF
+$IF HAVE_TIFF.EQ.1
+$ THEN
+$ APP SYS$INPUT [.SRC]CONFIG.H
+ #define HAVE_LIBTIFF 1
+$ENDIF
+$!
+$!
+$!
+$!
+$COP SYS$INPUT [.SRC]DESCRIP.MMS
+# Generated by CONFIGURE.COM
+# Alexey Chupahin elvis_75@mail.ru
+# OpenVMS 7.3-1,8.2 DEC 2000 mod.300
+# OpenVMS 8.3 HP rx1620
+
+
+.FIRST
+ DEF LIBGD []
+
+CC=cc
+CFLAGS=/OPT=(INLINE=SPEED) /INCL=([],JPEG,PNG,FREETYPE2,ZLIB,TIFF) /DEF=(HAVE_CONFIG_H)/WARN=(DIS=MACROREDEF)
+LIBS=[]LIBGD/OPT
+
+
+ALL : \
+gd.olb,\
+$IF (SHARED.GT.0)
+$ THEN
+$ APP SYS$INPUT [.SRC]DESCRIP.MMS
+gd$shr.exe,\
+$ENDIF
+$!
+$APP SYS$INPUT [.SRC]DESCRIP.MMS
+annotate.exe,\
+circletexttest.exe,\
+fontconfigtest.exe,\
+circletexttest.exe,\
+fontconfigtest.exe,\
+fontsizetest.exe,\
+fontwheeltest.exe,\
+gd2copypal.exe,\
+gd2time.exe,\
+gd2togif.exe,\
+gd2topng.exe,\
+gdcmpgif.exe,\
+gddemo.exe,\
+gdtest.exe,\
+gdtestft.exe,\
+gdtopng.exe,\
+gifanimtest.exe,\
+giftogd2.exe,\
+pngtogd.exe,\
+pngtogd2.exe,\
+testac.exe,\
+testtr.exe,\
+webpng.exe,\
+gdparttopng.exe
+ $!
+
+annotate.exe : annotate.c
+ $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=TMP.OBJ
+ LINK/EXE=$(MMS$TARGET) TMP.OBJ, $(LIBS)
+ DEL TMP.OBJ;*
+
+circletexttest.exe : circletexttest.c
+ $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=TMP.OBJ
+ LINK/EXE=$(MMS$TARGET) TMP.OBJ, $(LIBS)
+ DEL TMP.OBJ;*
+
+fontconfigtest.exe : fontconfigtest.c
+ $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=TMP.OBJ
+ LINK/EXE=$(MMS$TARGET) TMP.OBJ, $(LIBS)
+ DEL TMP.OBJ;*
+
+fontsizetest.exe : fontsizetest.c
+ $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=TMP.OBJ
+ LINK/EXE=$(MMS$TARGET) TMP.OBJ, $(LIBS)