Skip to content

Commit 1a23674

Browse files
authored
Merge pull request #674 from olafhering/dune
Various changes for building with dune
2 parents 7266b50 + af57181 commit 1a23674

File tree

3 files changed

+37
-16
lines changed

3 files changed

+37
-16
lines changed

dune-project

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88

99
(license GPL-3.0-or-later)
1010

11-
(maintainers "maintainers")
11+
(maintainers "[email protected]")
1212

13-
(authors "Trevor Jim, Benjamin C. Pierce and J\195\169r\195\180me Vouillon")
13+
(authors "Trevor Jim" "Benjamin C. Pierce" "J\195\169r\195\180me Vouillon")
1414

1515
(source
1616
(github bcpierce00/unison))
@@ -22,8 +22,8 @@
2222
(package
2323
(name unison)
2424
(synopsis "File-synchronization tool for Unix and Windows")
25-
(description "
26-
Text based userinterface for Unison.
25+
(description "\
26+
Text based user interface for Unison.
2727
2828
Unison is a file-synchronization tool for Unix and Windows.
2929
It allows two replicas of a collection of files and directories
@@ -33,15 +33,15 @@ the changes in each replica to the other.
3333
")
3434
(depends
3535
(ocaml
36-
(>= 4.03))
36+
(>= 4.08))
3737
(dune
3838
(>= 2.3))))
3939

4040
(package
4141
(name unison-gui)
4242
(synopsis "File-synchronization tool for Unix and Windows")
43-
(description "
44-
Graphical userinterface for Unison.
43+
(description "\
44+
Graphical user interface for Unison.
4545
4646
Unison is a file-synchronization tool for Unix and Windows.
4747
It allows two replicas of a collection of files and directories
@@ -51,18 +51,17 @@ the changes in each replica to the other.
5151
")
5252
(depends
5353
(ocaml
54-
(>= 4.03))
54+
(>= 4.08))
5555
(dune
5656
(>= 2.3))
57-
(lablgtk2
58-
(>= 2.18.6))))
57+
lablgtk))
5958

6059
(package
6160
(name unison-fsmonitor)
6261
(synopsis "File-synchronization tool for Unix and Windows")
63-
(description "
64-
This helper application monitors file system changes on all given
65-
(relative to root) paths.
62+
(description "\
63+
This optional add-on for unison monitors file system changes
64+
on all given (relative to root) paths.
6665
6766
Unison is a file-synchronization tool for Unix and Windows.
6867
It allows two replicas of a collection of files and directories
@@ -72,6 +71,6 @@ the changes in each replica to the other.
7271
")
7372
(depends
7473
(ocaml
75-
(>= 4.03))
74+
(>= 4.08))
7675
(dune
7776
(>= 2.3))))

src/fsmonitor/linux/dune

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
(copy_files# ../watchercommon.ml{,i})
22

33
(library
4-
(name fswatcher)
4+
(name fswatcher_linux)
55
(wrapped false)
66
(enabled_if
77
(or
@@ -30,4 +30,4 @@
3030
(= %{system} "linux_eabi")))
3131
(modules watcher)
3232
(flags :standard -w -27)
33-
(libraries fswatcher))
33+
(libraries fswatcher_linux))

src/fsmonitor/solaris/dune

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
(copy_files# ../watchercommon.ml{,i})
2+
3+
(library
4+
(name fswatcher_solaris)
5+
(wrapped false)
6+
(enabled_if (= %{system} "solaris"))
7+
(modules :standard \ watcher)
8+
(flags :standard -w -3-27-39)
9+
(foreign_stubs
10+
(language c)
11+
(names fen_stubs))
12+
(libraries unix lwt_lib))
13+
14+
(executable
15+
(name watcher)
16+
(public_name unison-fsmonitor)
17+
(package unison-fsmonitor)
18+
(enabled_if (= %{system} "solaris"))
19+
(modules watcher)
20+
(flags :standard -w -27)
21+
(libraries fswatcher_solaris))
22+

0 commit comments

Comments
 (0)