Add ability to unpack JPEG
[phoros.git] / phoros.asd
blobb2550a871adc937f40b3b95365bdce5ae1b2d335
1 (eval-when (:compile-toplevel :load-toplevel :execute)
2   ;; There are three alternative means of image creation:
3   ;; zpng and cl-png, and Phoros's own imread.so.  zpng is faster than
4   ;; cl-png and has no dependencies, but it makes images twice as big
5   ;; as cl-png.  imread.so is fastest and its images are of the same
6   ;; size as cl-png.  Both cl-png and imread.so depend on libpng.so.
7   ;; 
8   ;; (pushnew :phoros-uses-zpng *features*))
9   ;; (pushnew :phoros-uses-cl-png *features*))
10   (pushnew :phoros-uses-imread.so *features*))
12 (defsystem :phoros
14   :description                 ;goes with --version --verbose=1 output
15   "PHOROS (Photogrammetric Road Survey)"
17   :author "Bert Burgemeister <trebbu@googlemail.com>"
19   :maintainer "Bert Burgemeister <trebbu@googlemail.com>"
21   :long-description                     ;goes with --help output
22   "Phoros (http://phoros.boundp.org) is a tool for photogrammetric
23 road survey.  It stores data in a PostgreSQL database and then makes
24 it available over a web interface."
26   :version                              ;goes with --version output
27   ;; :version is MAJOR.MINOR.REVISION where
28   ;; - different MAJOR means data incompatibility,
29   ;; - different MINOR means changed feature set,
30   ;; - different REVISION means any other change.
31   ;; 
32   ;; There should be a corresponding git tag which marks the point this
33   ;; version number becomes official.
35   "14.1.0"
37   :licence                              ;goes with --licence output
38   "Copyright (C) 2010, 2011, 2012, 2015, 2016, 2017 Bert Burgemeister
40 This program is free software; you can redistribute it and/or modify
41 it under the terms of the GNU General Public License as published by
42 the Free Software Foundation; either version 2 of the License, or (at
43 your option) any later version.
45 This program is distributed in the hope that it will be useful, but
46 WITHOUT ANY WARRANTY; without even the implied warranty of
47 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
48 General Public License for more details.
50 You should have received a copy of the GNU General Public License along
51 with this program; if not, write to the Free Software Foundation, Inc.,
52 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA."
54   :serial t
56   :components ((:file #+build-phoros "package-phoros"
57                       #+build-fasttrack "package-fasttrack")
58                #+build-phoros (:file "util")
59                (:file "proj4-sh")
60                #+(and build-phoros phoros-uses-imread.so) (:file "imread")
61                #+build-phoros (:file "log")
62                (:file "photogrammetry")
63                #+build-phoros (:file "indent-json")
64                #+build-phoros (:file "phoros")
65                #+build-phoros (:file "css")
66                #+build-phoros (:file "cli")
67                #+build-phoros (:file "phoros-js")
68                #+build-phoros (:file "blurb")
69                #+build-phoros (:file "db-tables")
70                #+build-phoros (:file "stuff-db")
71                #+build-phoros (:file "image-reader")
72                #+build-fasttrack (:file "fasttrack"))
74   :depends-on (:phoml
75                #+build-phoros :swank
76                #+build-phoros :sb-daemon
77                :trivial-shell           ;for proj4-sh
78                #+build-phoros :cl-ppcre
79                #+build-phoros :hunchentoot
80                #+build-phoros :cl-who
81                #+build-phoros :parenscript
82                :cl-json
83                :postmodern
84                #+build-phoros :simple-date
85                #+(and build-phoros phoros-uses-zpng) :zpng
86                #+(and build-phoros phoros-uses-cl-png) :png
87                :drakma
88                #+build-phoros :net.didierverna.clon
89                :cl-utilities
90                :parse-number
91                #+build-phoros :named-readtables
92                #+build-phoros :cl-log
93                #+build-phoros :trivial-backtrace
94                #+build-fasttrack :lisp-magick-wand))