-
Notifications
You must be signed in to change notification settings - Fork 4
/
libui.cabal
354 lines (337 loc) · 10.1 KB
/
libui.cabal
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
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
name: libui
version: 0.1.0.0
synopsis: Bindings to the libui C library
description: Full bindings and OSX extensions to the libui C library. The
packaged version of this library might not work properly yet.
Please refer to the GitHub project page.
homepage: https://github.com/beijaflor-io/haskell-libui
license: GPL-3
license-file: LICENSE
author: Pedro Tacla Yamada
maintainer: [email protected]
category: Graphics
build-type: Simple
cabal-version: >= 1.10
extra-tmp-files:
./vendor/libui/ui.h
./vendor/libui/uipriv.h
./vendor/libui/common/uipriv.h
if os(darwin)
./vendor/libui/darwin/uipriv_darwin.h
if os(linux)
./vendor/libui/unix/uipriv_unix.h
library
-- ld-options: -Wl,-rpath,'$ORIGIN'
-- ghc-options: -optl-Wl,-rpath,'$ORIGIN'"
if os(darwin)
frameworks: Foundation CoreFoundation AppKit Cocoa WebKit MapKit
if os(linux)
extra-libraries: gtk-3 glib-2.0 gdk-3 pango-1.0 gobject-2.0 pangocairo-1.0 cairo X11
include-dirs:
/usr/lib/x86_64-linux-gnu/
/usr/lib/x86_64-linux-gnu/glib-2.0/include/
/usr/lib64/glib-2.0/include/
/usr/include/glib-2.0/
/usr/include/cairo/
/usr/include/pango-1.0/
/usr/include/atk-1.0/
/usr/include/gtk-3.0/
/usr/include/gdk-pixbuf-2.0/
/usr/include/gdk-pixbuf-2.0/gdk-pix/
./vendor/libui/unix/
./vendor/libui/unix/
-- extra-libraries: ui
-- extra-lib-dirs: /Users/yamadapc/program/github.com/beijaflor-io/haskell-libui/vendor/libui/build/out/
include-dirs: . ./vendor/libui/ ./vendor/libui/common/ ./vendor/libui/darwin/
includes:
ui.h
uipriv.h
install-includes:
ui.h
uipriv.h
if os(linux)
install-includes:
ui_unix.h
uipriv_unix.h
if os(darwin)
install-includes:
ui_darwin.h
uipriv_darwin.h
c-sources:
./vendor/libui/common/areaevents.c
./vendor/libui/common/control.c
./vendor/libui/common/debug.c
./vendor/libui/common/matrix.c
./vendor/libui/common/shouldquit.c
./vendor/libui/common/userbugs.c
if os(linux)
c-sources:
./vendor/libui/unix/alloc.c
./vendor/libui/unix/area.c
./vendor/libui/unix/box.c
./vendor/libui/unix/button.c
./vendor/libui/unix/checkbox.c
./vendor/libui/unix/child.c
./vendor/libui/unix/colorbutton.c
./vendor/libui/unix/combobox.c
./vendor/libui/unix/control.c
./vendor/libui/unix/datetimepicker.c
./vendor/libui/unix/debug.c
./vendor/libui/unix/draw.c
./vendor/libui/unix/draw.h
./vendor/libui/unix/drawmatrix.c
./vendor/libui/unix/drawpath.c
./vendor/libui/unix/drawtext.c
./vendor/libui/unix/editablecombo.c
./vendor/libui/unix/entry.c
./vendor/libui/unix/fontbutton.c
./vendor/libui/unix/form.c
./vendor/libui/unix/graphemes.c
./vendor/libui/unix/grid.c
./vendor/libui/unix/group.c
./vendor/libui/unix/label.c
./vendor/libui/unix/main.c
./vendor/libui/unix/menu.c
./vendor/libui/unix/multilineentry.c
./vendor/libui/unix/progressbar.c
./vendor/libui/unix/radiobuttons.c
./vendor/libui/unix/separator.c
./vendor/libui/unix/slider.c
./vendor/libui/unix/spinbox.c
./vendor/libui/unix/stddialogs.c
./vendor/libui/unix/tab.c
./vendor/libui/unix/text.c
./vendor/libui/unix/util.c
./vendor/libui/unix/window.c
if os(darwin)
c-sources:
./cbits/mapview.m
./vendor/libui/darwin/alloc.m
./vendor/libui/darwin/area.m
./vendor/libui/darwin/areaevents.m
./vendor/libui/darwin/autolayout.m
./vendor/libui/darwin/box.m
./vendor/libui/darwin/button.m
./vendor/libui/darwin/checkbox.m
./vendor/libui/darwin/colorbutton.m
./vendor/libui/darwin/combobox.m
./vendor/libui/darwin/control.m
./vendor/libui/darwin/datetimepicker.m
./vendor/libui/darwin/debug.m
./vendor/libui/darwin/draw.m
./vendor/libui/darwin/drawtext.m
./vendor/libui/darwin/editablecombo.m
./vendor/libui/darwin/entry.m
./vendor/libui/darwin/fontbutton.m
./vendor/libui/darwin/form.m
./vendor/libui/darwin/grid.m
./vendor/libui/darwin/group.m
./vendor/libui/darwin/label.m
./vendor/libui/darwin/main.m
./vendor/libui/darwin/map.m
./vendor/libui/darwin/menu.m
./vendor/libui/darwin/multilineentry.m
./vendor/libui/darwin/progressbar.m
./vendor/libui/darwin/radiobuttons.m
./vendor/libui/darwin/scrollview.m
./vendor/libui/darwin/separator.m
./vendor/libui/darwin/slider.m
./vendor/libui/darwin/spinbox.m
./vendor/libui/darwin/stddialogs.m
./vendor/libui/darwin/tab.m
./vendor/libui/darwin/text.m
./vendor/libui/darwin/util.m
./vendor/libui/darwin/webview.m
./vendor/libui/darwin/window.m
./vendor/libui/darwin/winmoveresize.m
build-depends: async
, base >=4.8 && <5
, c-storable-deriving
, data-default
, free
, monad-loops
, mtl
, reactive-banana
, template-haskell
, time
, transformers
exposed-modules: Graphics.LibUI
, Graphics.LibUI.OSX
, Graphics.LibUI.FFI
, Graphics.LibUI.FFI.Raw
, Graphics.LibUI.FFI.Raw.OSX
, Graphics.LibUI.FFI.Wrapped
, Graphics.LibUI.FFI.Wrapped.OSX
, Graphics.LibUI.Types
, Graphics.LibUI.MonadUI
other-modules: System.Info.Class
, System.Info.Class.TH
hs-source-dirs:
src
default-language: Haskell2010
ghc-options: -threaded
executable libui-simple-progressbar-example
main-is: SimpleProgressBar.lhs
hs-source-dirs:
examples
build-depends: async
, base
, c-storable-deriving
, data-default
, free
, libui
, monad-loops
, mtl
, reactive-banana
, template-haskell
, time
, transformers
default-language: Haskell2010
ghc-options: -threaded
executable libui-simple-counter-example
main-is: SimpleCounter.hs
hs-source-dirs:
examples
build-depends: async
, base
, c-storable-deriving
, data-default
, free
, libui
, monad-loops
, mtl
, reactive-banana
, template-haskell
, time
, transformers
default-language: Haskell2010
ghc-options: -threaded
executable libui-simple-control-gallery
main-is: SimpleControlGallery.hs
hs-source-dirs:
examples
build-depends: async
, base
, c-storable-deriving
, data-default
, free
, libui
, monad-loops
, mtl
, reactive-banana
, template-haskell
, time
, transformers
default-language: Haskell2010
ghc-options: -threaded
executable libui-simple-webview
main-is: SimpleWebview.hs
if os(darwin)
buildable: True
else
buildable: False
hs-source-dirs:
examples
build-depends: async
, base
, c-storable-deriving
, data-default
, free
, libui
, monad-loops
, mtl
, reactive-banana
, template-haskell
, time
, transformers
default-language: Haskell2010
ghc-options: -threaded
executable libui-simple-mapview
main-is: SimpleMapview.hs
if os(darwin)
buildable: True
else
buildable: False
hs-source-dirs:
examples
build-depends: async
, base
, c-storable-deriving
, data-default
, free
, libui
, monad-loops
, mtl
, reactive-banana
, template-haskell
, time
, transformers
default-language: Haskell2010
ghc-options: -threaded
executable libui-types-control-gallery
main-is: ControlGallery.hs
hs-source-dirs:
examples
build-depends: async
, base
, c-storable-deriving
, data-default
, free
, libui
, monad-loops
, mtl
, reactive-banana
, template-haskell
, time
, transformers
default-language: Haskell2010
ghc-options: -threaded
executable libui-reactive-banana-control-gallery
main-is: ReactiveBananaControlGallery.hs
hs-source-dirs:
examples
build-depends: async
, base
, c-storable-deriving
, data-default
, free
, libui
, monad-loops
, mtl
, reactive-banana
, template-haskell
, time
, transformers
default-language: Haskell2010
ghc-options: -threaded
executable libui-reactive-banana-click-to-resize
main-is: ReactiveBananaClickToResize.hs
hs-source-dirs:
examples
build-depends: async
, base
, c-storable-deriving
, data-default
, free
, libui
, monad-loops
, mtl
, reactive-banana
, template-haskell
, time
, transformers
default-language: Haskell2010
ghc-options: -threaded
test-suite hspec
main-is: Spec.hs
type: exitcode-stdio-1.0
build-depends: QuickCheck
, base
, c-storable-deriving
, free
, hspec
, monad-loops
, reactive-banana
, template-haskell
hs-source-dirs: test
default-language: Haskell2010