File: cl-pdf.asd

package info (click to toggle)
cl-pdf 166-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 1,520 kB
  • ctags: 639
  • sloc: lisp: 6,902; makefile: 39
file content (68 lines) | stat: -rw-r--r-- 2,644 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
;;;; -*- Mode: LISP; Syntax: ANSI-Common-Lisp; Base: 10 -*-

;;; cl-pdf copyright 2002-2005 Marc Battyani see license.txt for the details
;;; You can reach me at marc.battyani@fractalconcept.com or marc@battyani.net
;;; The homepage of cl-pdf is here: http://www.fractalconcept.com/asp/html/cl-pdf.html

(in-package :common-lisp-user)

(defpackage #:cl-pdf-system
    (:use #:cl #:asdf))

(in-package #:cl-pdf-system)

;;;Choose the zlib implementation you want to use (only one!)
(eval-when (:load-toplevel :compile-toplevel :execute)
  (pushnew :use-salza-zlib *features*)
  ;;(pushnew :use-uffi-zlib *features*)
  ;;(pushnew :use-abcl-zlib *features*)
  ;;(pushnew :use-no-zlib *features*)
  )

;#-(or use-uffi-zlib use-salza-zlib use-abcl-zlib use-no-zlib)
;(Error "You must choose which zlib version you want to use")

;#-(or uffi (not use-uffi-zlib))
;(ignore-errors
;  (print "Trying to load UFFI:")
;  (asdf:operate 'asdf:load-op :uffi)
;  (pushnew :uffi cl:*features*)
;  (print "UFFI loaded."))

;(load (merge-pathnames "iterate/iterate.asd" *load-truename*))

;#+use-salza-zlib
;(load (merge-pathnames "salza/salza.asd" *load-truename*))

#+clisp (setf *warn-on-floating-point-contagion* nil)

(defsystem cl-pdf
  :name "cl-pdf"
  :author "Marc Battyani <marc.battyani@fractalconcept.com>"
  :version "2.0"
  :maintainer "Marc Battyani <marc.battyani@fractalconcept.com>"
  :licence "BSD like licence"
  :description "Common Lisp PDF Generation Library"
  :long-description "The cl-pdf package provides a stand-alone Common Lisp library to generate PDF files."
  :perform (load-op :after (op cl-pdf)
		    (pushnew :cl-pdf *features*))
  :components ((:file "defpackage")
	       (:file "config" :depends-on ("defpackage"))
	       #+use-uffi-zlib (:file "init" :depends-on ("config"))
	       (:file "zlib" 
		      :depends-on ("config" "defpackage"
					    #+use-uffi-zlib "init"))
	       (:file "font-metrics"  :depends-on ("config"))
	       (:file "encodings"  :depends-on ("defpackage"))
	       (:file "t1-font" :depends-on ("font-metrics" "encodings"))
	       (:file "ttu-font" :depends-on ("font-metrics"))
	       (:file "font" :depends-on ("t1-font"))
	       (:file "pdf" :depends-on ("font"))
	       (:file "x11-colors" :depends-on ("defpackage"))
	       (:file "pdf-base" :depends-on ("pdf" "x11-colors"))
	       (:file "png" :depends-on ("pdf-base"))
	       (:file "pdf-geom" :depends-on ("pdf-base"))
	       (:file "text" :depends-on ("pdf-base"))
	       (:file "bar-codes" :depends-on ("pdf-geom"))
	       (:file "chart" :depends-on ("text" "pdf-geom")))
  :depends-on (:iterate #+use-salza-zlib :salza))