1. libgd
  2. Untitled project
  3. gd-libgd


pierre  committed c7cb9b5

- sync to 2.0.19

  • Participants
  • Parent commits e9f70fd
  • Branches master
  • Tags GD_2_0_19

Comments (0)

Files changed (7)

File src/configure

View file
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.57 for GD 2.0.18.
+# Generated by GNU Autoconf 2.57 for GD 2.0.19.
 # Report bugs to <gd@boutell.com>.
 # Identity of this package.
   # Omit some internal or obsolete options to make the list less imposing.
   # This message is too long to be a string in the A/UX 3.1 sh.
   cat <<_ACEOF
-\`configure' configures GD 2.0.18 to adapt to many kinds of systems.
+\`configure' configures GD 2.0.19 to adapt to many kinds of systems.
 Usage: $0 [OPTION]... [VAR=VALUE]...
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of GD 2.0.18:";;
+     short | recursive ) echo "Configuration of GD 2.0.19:";;
   cat <<\_ACEOF
 test -n "$ac_init_help" && exit 0
 if $ac_init_version; then
   cat <<\_ACEOF
-GD configure 2.0.18
+GD configure 2.0.19
 generated by GNU Autoconf 2.57
 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
-It was created by GD $as_me 2.0.18, which was
+It was created by GD $as_me 2.0.19, which was
 generated by GNU Autoconf 2.57.  Invocation command line was
   $ $0 $@
 # Define the identity of the package.
- VERSION=2.0.18
+ VERSION=2.0.19
 cat >>confdefs.h <<_ACEOF
 } >&5
 cat >&5 <<_CSEOF
-This file was extended by GD $as_me 2.0.18, which was
+This file was extended by GD $as_me 2.0.19, which was
 generated by GNU Autoconf 2.57.  Invocation command line was
-GD config.status 2.0.18
+GD config.status 2.0.19
 configured by $0, generated by GNU Autoconf 2.57,
   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"

File src/configure.ac

View file
 #HEY! Change BOTH the vesion number and the GDLIB_REVISION setting!
-AC_INIT([GD], [2.0.18], [gd@boutell.com])
+AC_INIT([GD], [2.0.19], [gd@boutell.com])

File src/gd.h

View file
 #ifdef WIN32
 #define BGD_EXPORT __declspec(dllimport)
-#define BGD_EXPORT
+/* 2.0.19: should be 'extern', especially for font data pointers */
+#define BGD_EXPORT extern
 #endif /* WIN32 */
 #endif /* BGDWIN32 */

File src/gdfontg.h

View file
 #include "gd.h"
-   BGD_EXPORT  gdFontPtr gdFontGiant;
+   BGD_EXPORT gdFontPtr gdFontGiant;
 #ifdef __cplusplus

File src/gdfontl.h

View file
 #include "gd.h"
-   BGD_EXPORT  gdFontPtr gdFontLarge;
+   BGD_EXPORT gdFontPtr gdFontLarge;
 #ifdef __cplusplus

File src/gdfonts.h

View file
 #include "gd.h"
-   BGD_EXPORT  gdFontPtr gdFontSmall;
+   BGD_EXPORT gdFontPtr gdFontSmall;
 #ifdef __cplusplus

File src/index.html

View file
+<!-- REMEMBER TO EDIT index.html.source -->
-<TITLE>gd 2.0.18</TITLE>
+<TITLE>gd 2.0.19</TITLE>
 <body bgcolor="#FFFFFF">
 <!-- BANNER HERE -->
-<h1>This is gd 2.0.18.</h1>
-<H2>gd 2.0.18</H2>
+<H2>gd 2.0.19</H2>
 <H3>A graphics library for fast image creation</H3>
 <H3>Follow this link to the
 <A HREF="http://www.boutell.com/gd/">latest version
 new installation overwrites the old.
 <strong>ABOUT GD AND GIF:</strong>
-gd 2.0.18 creates PNG, JPEG and WBMP images, not GIF images. This is a 
+gd 2.0.19 creates PNG, JPEG and WBMP images, not GIF images. This is a 
 good thing.  PNG is a more compact format, and full compression is
 available.  JPEG works best with photographic images, and is still
 more compatible with the major Web browsers than even PNG is. WBMP is
 modern image formats such as PNG and JPEG as soon as possible.
-When building from soruce, gd 2.0.18 <strong>requires</strong> that the 
+When building from soruce, gd 2.0.19 <strong>requires</strong> that the 
 following libraries also be installed, in order to produce the related 
 image formats. The win32 binary release (bgd) already contains the
 appropriate libraries.
 <H3>Table of Contents</H3>
 <LI><A HREF="#notice">Credits and license terms</A>
-<LI><A HREF="#whatsnew2.0.18">What's new in version "XYZ" of GD?</A>
+<LI><A HREF="#whatsnew2.0.19">What's new in version "XYZ" of GD?</A>
 <LI><A HREF="#whatis">What is gd?</A>
 <LI><A HREF="#gdother">What if I want to use another programming language?</A>
 <LI><A HREF="#required">What else do I need to use gd?</A>
 <A NAME="gdother"><H3>What if I want to use another programming
 Not all of these tools are necessarily up to date and fully compatible
-with 2.0.18.
+with 2.0.19.
 A variant of gd 2.x is included in PHP 4.3.0. It is also possible
-to patch PHP 4.2.3 for use with gd 2.0.18; see the
+to patch PHP 4.2.3 for use with gd 2.0.19; see the
 <a href="http://www.boutell.com/gd/">gd home page</a> for a link to
 that information. It would be a Good Idea to merge all of the things
 that are better in mainstream gd and all of the things that are
 <A NAME="whatsnew2.0.18"><H3>What's new in version 2.0.18?</H3></A>
-<li>Win32 binary distribution of bgd.dll now available.
+<li>A Win32 binary distribution of "bgd.dll," built with mingw32 and
+tested with win32 versions of the demo programs as console applications,
+is now available.
 <li>Semicolon rather than space used as the default separator of
 alternative font file paths in <a href="#gdImageStringFT">gdImageStringFT</a>,
 for better compatibility with Windows and other environments where
 <A NAME="getgd"><H3>How do I get gd?</H3></A>
 <h4>Binaries (DLL for Windows programmers):</h4>
-<li><a href="http://www.boutell.com/gd/http/bgd.zip">.ZIP File of DLL, Headers, Et Cetera</a>
+<li><a href="http://www.boutell.com/gd/http/gdwin32.zip">.ZIP File of DLL, Headers, Et Cetera</a>
 <h4>Source Code:</h4>
-<li><a href="http://www.boutell.com/gd/http/gd-2.0.18.tar.gz">Gzipped Tar File (Unix)</a>
-<li><a href="http://www.boutell.com/gd/http/gd-2.0.18.zip">.ZIP File of SOURCE CODE (Windows)</a>
+<li><a href="http://www.boutell.com/gd/http/gd-2.0.19.tar.gz">Gzipped Tar File (Unix)</a>
+<li><a href="http://www.boutell.com/gd/http/gd-2.0.19.zip">.ZIP File of SOURCE CODE (Windows)</a>
 <A NAME="buildgd"><H3>How do I build gd?</H3></A>
-Win32 DLL users will not need to read this section. Simply use
-the provided DLL for your programming. You can build an MSVC
-import library, if needed, using the provided batch file
+Win32 DLL users: if you are using MSVC, use the provided batch file
+<code>makemsvcimport.bat</code> to make a bgd.lib import library
+corresponding to the provided bgd.dll. Copy bgd.dll to your
+application directory, or to your Windows sytem directory. In the
+settings of your MSVC project, you <b>MUST</b> choose the
+"multithreaded DLL" library option under "code generation." 
+mingw32 and cygwin users can simply link with the provided libbgd.a 
+stub library in order to use the DLL.
+Building gd From the Source
 In order to build gd, you must first unpack the archive you have
 downloaded. If you are not familiar with <code>tar</code> and
 <code>gunzip</code> (Unix) or <code>ZIP</code> (Windows), please
 consult with an experienced user of your system. Sorry, we cannot
 answer questions about basic Internet skills.
-Unpacking the archive will produce a directory called "gd-2.0.18".
+Unpacking the archive will produce a directory called "gd-2.0.19".
 <h4>For Unix</h4>
-<code>cd</code> to the 2.0.18 directory and type:
+<code>cd</code> to the 2.0.19 directory and type:
 almost always your best bet.
 <h4>For Windows</h4>
+Use the DLL version! See the paragraph at the beginning of this sectino.
+If you really want to compile it yourself for some strange reason, read on.
 Create a project using your favorite programming environment.
 Copy all of the gd files to the project directory. Add <code>gd.c</code>
 to your project. Add other source files as appropriate. Learning the
 <em><A HREF="http://www.boutell.com/">
 Boutell.Com, Inc.</A></em>