Commit 6fd66587 authored by Hans Huebner's avatar Hans Huebner
Browse files

Import version 0.5.1 from www.weitz.de.


git-svn-id: svn://bknr.net/svn/trunk/thirdparty/cl-gd@1778 4281704c-cde7-0310-8518-8e2dc76b1ff0
parent afa1df9f
Loading
Loading
Loading
Loading
+23 −0
Changes for CHANGELOG: 23 added lines, 0 removed lines.
Original line number Diff line number Diff line
Version 0.5.1
2005-10-04
Support for OpenMCL via CFFI (thanks to Bryan O'Connor)

Version 0.5.0
2005-09-26
Experimental CLISP/CFFI support (thanks to Luis Oliveira)
Don't redefine what's already there (for LispWorks)

Version 0.4.8
2005-05-17
Re-enabled the ability to build without GIF support

Version 0.4.7
2005-05-07
Added GET-PIXEL (provided by Alan Shields)

Version 0.4.6
2005-03-31
Fixed typo in WITH-IMAGE* (thanks to Peter Barabas)
Handle CMUCL search lists correctly (thanks to Hans Hübner)
Added -lc option to linker call and included makefile (thanks to Hans Hübner)

Version 0.4.5
2005-03-16
Fixed type check in MAKE-STREAM-FN (thanks to Walter C. Pelissero)
+7 −0
Changes for Makefile: 7 added lines, 0 removed lines.
Original line number Diff line number Diff line
# this should work for FreeBSD and most Linux distros

cl-gd-glue.so:
	gcc -I/usr/local/include -fPIC -c cl-gd-glue.c
	ld -shared -lgd -lz -lpng -ljpeg -lfreetype -liconv -lm -lc cl-gd-glue.o -o cl-gd-glue.so -L/usr/local/lib
	rm cl-gd-glue.o

# this should work for Mac OS X

cl-gd-glue.dylib:
	gcc -lgd -ljpeg -dynamiclib cl-gd-glue.c -o cl-gd-glue.dylib
+5 −1
Changes for README: 5 added lines, 1 removed line.
Original line number Diff line number Diff line
Complete documentation for CL-GD can be found in the 'doc'
directory. Make sure to read it if you want GIF support!
directory.

CL-GD also supports Nikodemus Siivola's HYPERDOC, see
<http://common-lisp.net/project/hyperdoc/> and
@@ -34,6 +34,10 @@ CL-GD also supports Nikodemus Siivola's HYPERDOC, see
       ld -lgd -lz -lpng -ljpeg -lfreetype -lm -liconv -shared cl-gd-glue.o -o cl-gd-glue.so
       rm cl-gd-glue.o

     For Mac OS X, use

       gcc -lgd -ljpeg -dynamiclib cl-gd-glue.c -o cl-gd-glue.dylib

1.6. Make sure that cl-gd.asd can be seen from asdf (this is usually
     achieved by a symbolic link), start your favorite Lisp, and compile
     CL-GD:
+2 −0
Changes for cl-gd-glue.c: 2 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -45,6 +45,7 @@ gdImagePtr gdImageCreateFromJpegFile (char *filename, int *err) {
  return NULL;
}

#ifndef GD_DONT_USE_GIF
gdImagePtr gdImageCreateFromGifFile (char *filename, int *err) {
  FILE *in;
  gdImagePtr im;
@@ -61,6 +62,7 @@ gdImagePtr gdImageCreateFromGifFile (char *filename, int *err) {
  *err = errno;
  return NULL;
}
#endif

gdImagePtr gdImageCreateFromPngFile (char *filename, int *err) {
  FILE *in;
+2 −1
Changes for cl-gd-test.asd: 2 added lines, 1 removed line.
Original line number Diff line number Diff line
;;; -*- Mode: LISP; Syntax: COMMON-LISP; Package: CL-USER; Base: 10 -*-
;;; $Header: /usr/local/cvsrep/gd/cl-gd-test.asd,v 1.7 2005/03/09 14:17:56 edi Exp $
;;; $Header: /usr/local/cvsrep/gd/cl-gd-test.asd,v 1.8 2005/09/26 12:00:59 edi Exp $

;;; Copyright (c) 2003-2005, Dr. Edmund Weitz.  All rights reserved.

@@ -40,6 +40,7 @@
                 :defaults (parse-namestring *load-truename*)))

(defsystem #:cl-gd-test
  :version "0.4.8"
  :components ((:file "cl-gd-test"))
  :depends-on (:cl-gd))
Loading