Lines 4-48
Link Here
|
4 |
;;; You can reach me at marc.battyani@fractalconcept.com or marc@battyani.net |
4 |
;;; You can reach me at marc.battyani@fractalconcept.com or marc@battyani.net |
5 |
;;; The homepage of cl-pdf is here: http://www.fractalconcept.com/asp/html/cl-pdf.html |
5 |
;;; The homepage of cl-pdf is here: http://www.fractalconcept.com/asp/html/cl-pdf.html |
6 |
|
6 |
|
7 |
(in-package asdf) |
7 |
(defpackage #:cl-pdf-system (:use #:common-lisp #:asdf)) |
8 |
|
8 |
(in-package #:cl-pdf-system) |
9 |
;;;Choose the zlib implementation you want to use (only one!) |
|
|
10 |
(pushnew :use-salza-zlib cl:*features*) |
11 |
;(pushnew :use-uffi-zlib cl:*features*) |
12 |
;(pushnew :use-abcl-zlib cl:*features*) |
13 |
;(pushnew :use-no-zlib cl:*features*) |
14 |
|
15 |
#-(or use-uffi-zlib use-salza-zlib use-abcl-zlib use-no-zlib) |
16 |
(Error "You must choose which zlib version you want to use") |
17 |
|
18 |
#-(or uffi (not use-uffi-zlib)) |
19 |
(ignore-errors |
20 |
(print "Trying to load UFFI:") |
21 |
(asdf:operate 'asdf:load-op :uffi) |
22 |
(pushnew :uffi cl:*features*) |
23 |
(print "UFFI loaded.")) |
24 |
|
25 |
(load (merge-pathnames "iterate/iterate.asd" *load-truename*)) |
26 |
|
27 |
#+use-salza-zlib |
28 |
(load (merge-pathnames "salza/salza.asd" *load-truename*)) |
29 |
|
9 |
|
30 |
#+clisp (setf *warn-on-floating-point-contagion* nil) |
10 |
#+clisp (setf *warn-on-floating-point-contagion* nil) |
31 |
|
11 |
|
32 |
(defsystem :cl-pdf |
12 |
(defsystem #:cl-pdf |
33 |
:name "cl-pdf" |
13 |
:name "cl-pdf" |
34 |
:author "Marc Battyani <marc.battyani@fractalconcept.com>" |
14 |
:author "Marc Battyani <marc.battyani@fractalconcept.com>" |
35 |
:version "2.0" |
|
|
36 |
:maintainer "Marc Battyani <marc.battyani@fractalconcept.com>" |
15 |
:maintainer "Marc Battyani <marc.battyani@fractalconcept.com>" |
37 |
:licence "BSD like licence" |
16 |
:licence "BSD like licence" |
38 |
:description "Common Lisp PDF Generation Library" |
17 |
:description "Common Lisp PDF Generation Library" |
39 |
:long-description "The cl-pdf package provides a stand-alone Common Lisp library to generate PDF files." |
18 |
:long-description "The cl-pdf package provides a stand-alone Common Lisp library to generate PDF files." |
40 |
:perform (load-op :after (op cl-pdf) |
|
|
41 |
(pushnew :cl-pdf cl:*features*)) |
42 |
:components ((:file "defpackage") |
19 |
:components ((:file "defpackage") |
43 |
(:file "config" :depends-on ("defpackage")) |
20 |
(:file "config" :depends-on ("defpackage")) |
44 |
#+use-uffi-zlib (:file "init" :depends-on ("config")) |
21 |
(:file "zlib" :depends-on ("defpackage")) |
45 |
(:file "zlib" :depends-on ("defpackage" #+use-uffi-zlib "init")) |
|
|
46 |
(:file "font-metrics" :depends-on ("config")) |
22 |
(:file "font-metrics" :depends-on ("config")) |
47 |
(:file "encodings" :depends-on ("defpackage")) |
23 |
(:file "encodings" :depends-on ("defpackage")) |
48 |
(:file "t1-font" :depends-on ("font-metrics" "encodings")) |
24 |
(:file "t1-font" :depends-on ("font-metrics" "encodings")) |
Lines 56-59
Link Here
|
56 |
(:file "text" :depends-on ("pdf-base")) |
32 |
(:file "text" :depends-on ("pdf-base")) |
57 |
(:file "bar-codes" :depends-on ("pdf-geom")) |
33 |
(:file "bar-codes" :depends-on ("pdf-geom")) |
58 |
(:file "chart" :depends-on ("text" "pdf-geom"))) |
34 |
(:file "chart" :depends-on ("text" "pdf-geom"))) |
59 |
:depends-on (:iterate #+use-salza-zlib :salza)) |
35 |
:depends-on (#:iterate #:salza)) |