-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.yaml
256 lines (246 loc) · 5.27 KB
/
package.yaml
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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
name: corydalis
version: '2024.12.0'
license: AGPL-3
license-file: LICENCE
category: Image
author:
- Iustin Pop <[email protected]>
maintainer:
- Iustin Pop <[email protected]>
copyright:
- (c) 2013 Iustin Pop
github: iustin/corydalis
stability: experimental
synopsis: A photo library management and viewer
description: >
Corydalis is a simple application to help manage offline (as in
non-cloud) collections of RAW and processed pictures. It doesn't
replace your RAW processor but instead acts as a companion to it,
giving a parallel view on all your files.
It is also an image viewer, designed to work across and understand
your entire photo collection; the desktop-only viewers (e.g. Geeqie)
are folder-based, not collection-based. This aspect aims to offer a
similar experience of viewing your photos as it would be if you
stored them in the cloud (but many features are still missing).
See README.md for more details.
extra-source-files:
- templates/*
- static/*/css/*
- static/*/js/*
- static/*/webfonts/*
- README.md
- docs/*.md
- stack.yaml
- package.yaml
- mkdocs.yml
- config/favicon.ico
- config/models
- config/robots.txt
- config/routes
- config/settings.yml.sample
- config/test-settings.yml
- app/devel.hs
- .ghci
- Makefile
- git-version
dependencies:
# Due to a bug in GHC 8.0.1, we block its usage
# See: https://ghc.haskell.org/trac/ghc/ticket/12130
- base >=4.8.2.0 && <4.9 || >=4.9.1.0 && <5
- classy-prelude-yesod
- aeson
- async
- blaze-markup
- blaze-svg
- bytestring
- case-insensitive
- classy-prelude
- classy-prelude-conduit
- clock
- conduit
- containers
- cookie
- data-default
- deepseq
- directory
- esqueleto
- fast-logger
- file-embed
- filepath
- foreign-store
- formatting
- hjsmin
- http-conduit
- lrucaching
- monad-logger
- old-locale
- optparse-applicative
- persistent
- persistent-sqlite
- persistent-template
- prefix-units
- random
- regex-tdfa
- safe
- scientific
- shakespeare
- store
- stm
- template-haskell
- temporary
- text
- time
- transformers
- typed-process
- unix
- unliftio
- unordered-containers
- vector
- wai
- wai-extra
- wai-logger
- warp
- warp-tls
- yaml
- yesod
- yesod-auth
- yesod-auth-hashdb
- yesod-core
- yesod-form
- yesod-static
# The library contains all of our application code. The executable
# defined below is just a thin wrapper.
library:
source-dirs:
- src
- app
exposed-modules:
- Application
- Cache
- Exif
- Foundation
- Handler.Browse
- Handler.Camera
- Handler.Common
- Handler.Cookies
- Handler.Curate
- Handler.FlaggedImages
- Handler.Folder
- Handler.Home
- Handler.Image
- Handler.Items
- Handler.Lens
- Handler.List
- Handler.Reload
- Handler.Search
- Handler.Settings
- Handler.Status
- Handler.Utils
- Handler.View
- Handler.Widgets
- Import
- Import.NoFoundation
- Indexer
- Model
- Pics
- Settings
- Settings.Development
- Settings.StaticFiles
- Stats
- Types
other-modules:
- Compat.Orphans
when:
- condition: (flag(dev)) || (flag(library-only))
then:
ghc-options:
- -Wall
- -Wcompat
- -Wincomplete-record-updates
- -Wincomplete-uni-patterns
- -Wredundant-constraints
- -Werror
- -fwarn-tabs
- -O0
cpp-options: -DDEVELOPMENT
else:
ghc-options:
- -Wall
- -Wcompat
- -Wincomplete-record-updates
- -Wincomplete-uni-patterns
- -Wredundant-constraints
- -Werror
- -fwarn-tabs
- -O2
- condition: flag(public-site)
cpp-options: -DPUBLIC_SITE
# Runnable executable for our application
executables:
corydalis:
main: main.hs
source-dirs: app
ghc-options:
- -threaded
- -rtsopts
- -with-rtsopts=-N
dependencies:
- corydalis
when:
- condition: flag(library-only)
buildable: false
scanner:
main: scanner.hs
source-dirs: app
ghc-options:
- -threaded
- -rtsopts
- -with-rtsopts=-N
dependencies:
- corydalis
when:
- condition: flag(library-only)
buildable: false
db-util:
main: db-util.hs
source-dirs: app
ghc-options:
- -threaded
- -rtsopts
- -with-rtsopts=-N
dependencies:
- corydalis
when:
- condition: flag(library-only)
buildable: false
# Test suite
tests:
test:
main: Main.hs
source-dirs: test
dependencies:
- corydalis
- clientsession
- hspec >=2.0.0
- hspec-expectations-lifted
- http-types
- yesod-test
ghc-options:
- -Wall
- -threaded
- -rtsopts
- '"-with-rtsopts=-N -qg"'
# Define flags used by "yesod devel" to make compilation faster
flags:
library-only:
description: Build for use with "yesod devel"
manual: false
default: false
dev:
description: Turn on development settings, like auto-reload templates.
manual: false
default: false
public-site:
description: Do not require authentication for most normal handlers.
manual: true
default: false