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