Skip to content

Commit ca0426d

Browse files
committed
[new release] dune (15 packages) (3.17.0)
CHANGES: ### Fixed - Show the context name for errors happening in non-default contexts. (ocaml/dune#10414, fixes ocaml/dune#10378, @jchavarri) - Correctly declare dependencies of indexes so that they are rebuilt when needed. (ocaml/dune#10623, @voodoos) - Don't depend on coq-stdlib being installed when expanding variables of the `coq.version` family (ocaml/dune#10631, fixes ocaml/dune#10629, @gares) - Error out if no files are found when using `copy_files`. (ocaml/dune#10649, @jchavarri) - Re_export dune-section private library in the dune-site library stanza, in order to avoid failure when generating and building sites modules with implicit_transitive_deps = false. (ocaml/dune#10650, fixes ocaml/dune#9661, @MA0100) - Expect test fixes: support multiple modes and fix dependencies when there is a custom runner (ocaml/dune#10671, @vouillon) - In a `(library)` stanza with `(extra_objects)` and `(foreign_stubs)`, avoid double linking the extra object files in the final executable. (ocaml/dune#10783, fixes ocaml/dune#10785, @nojb) - Map `(re_export)` library dependencies to the `exports` field in `META` files, and vice-versa. This field was proposed in to https://discuss.ocaml.org/t/proposal-a-new-exports-field-in-findlib-meta-files/13947. The field is included in Dune-generated `META` files only when the Dune lang version is >= 3.17. (ocaml/dune#10831, fixes ocaml/dune#10830, @nojb) - Fix staged pps preprocessors on Windows (which were not working at all previously) (ocaml/dune#10869, fixes ocaml/dune#10867, @nojb) - Fix `dune describe` when an executable is disabled with `enabled_if`. (ocaml/dune#10881, fixes ocaml/dune#10779, @moyodiallo) - Fix an issue where C stubs would be rebuilt whenever the stderr of Dune was redirected. (ocaml/dune#10883, fixes ocaml/dune#10882, @nojb) - Fix the URL opened by the command `dune ocaml doc`. (ocaml/dune#10897, @gridbugs) - Fix the file referred to in the error/warning message displayed due to the dune configuration version not supporting a particular configuration stanza in use. (ocaml/dune#10923, @H-ANSEN) - Fix `enabled_if` when it uses `env` variable. (ocaml/dune#10936, fixes ocaml/dune#10905, @moyodiallo) - Fix exec -w for relative paths with --root argument (ocaml/dune#10982, @gridbugs) - Do not ignore the `(locks ..)` field in the `test` and `tests` stanza (ocaml/dune#11081, @rgrinberg) - Tolerate files without extension when generating merlin rules. (ocaml/dune#11128, @anmonteiro) ### Added - Make Merlin/OCaml-LSP aware of "hidden" dependencies used by `(implicit_transitive_deps false)` via the `-H` compiler flag. (ocaml/dune#10535, @voodoos) - Add support for the -H flag (introduced in OCaml compiler 5.2) in dune (requires lang versions 3.17). This adaptation gives the correct semantics for `(implicit_transitive_deps false)`. (ocaml/dune#10644, fixes ocaml/dune#9333, ocsigen/tyxml#274, ocaml/dune#2733, ocaml/dune#4963, @MA0100) - Add support for specifying Gitlab organization repositories in `source` stanzas (ocaml/dune#10766, fixes ocaml/dune#6723, @H-ANSEN) - New option to control jsoo sourcemap generation in env and executable stanza (ocaml/dune#10777, fixes ocaml/dune#10673, @hhugo) - One can now control jsoo compilation_mode inside an executable stanza (ocaml/dune#10777, fixes ocaml/dune#10673, @hhugo) - Add support for specifying default values of the `authors`, `maintainers`, and `license` stanzas of the `dune-project` file via the dune config file. Default values are set using the `(project_defaults)` stanza (ocaml/dune#10835, @H-ANSEN) - Add names to source tree events in performance traces (ocaml/dune#10884, @jchavarri) - Add `codeberg` as an option for defining project sources in dune-project files. For example, `(source (codeberg user/repo))`. (ocaml/dune#10904, @nlordell) - `dune runtest` can now run individual tests with `dune runtest mytest.t` (ocaml/dune#11041, @Alizter). - Wasm_of_ocaml support (ocaml/dune#11093, @vouillon) - Add a `coqdep_flags` field to the `coq` field of the `env` stanza, and to the `coq.theory` stanza, allowing to configure `coqdep` flags. (ocaml/dune#11094, @rlepigre) ### Changed - Remove all remnants of the experimental `patch-back-source-tree`. (ocaml/dune#10771, @rgrinberg) - Change the preset value for author and maintainer fields in the `dune-project` file to encourage including emails. (ocaml/dune#10848, @punchagan) - Tweak the preset value for tags in the `dune-project` file to hint at topics not having a special meaning. (ocaml/dune#10849, @punchagan) - Change some colors to improve readability in light-mode terminals (ocaml/dune#10890, @gridbugs) - Forward the linkall flag to jsoo in whole program compilation as well (ocaml/dune#10935, @hhugo) - Configurator uses `pkgconf` as pkg-config implementation when available and forwards it the `target` of `ocamlc -config`. (ocaml/dune#10937, @pirbo) - Enable Dune cache by default. Add a new Dune cache setting `enabled-except-user-rules`, which enables the Dune cache, but excludes user-written rules from it. This is a conservative choice that can avoid breaking rules whose dependencies are not correctly specified. This is the current default. (ocaml/dune#10944, ocaml/dune#10710, @nojb, @ElectreAAS) - Do not add `dune` dependency in `dune-project` when creating projects with `dune init proj`. The Dune dependency is implicitely added when generating opam files (ocaml/dune#11129, @Leonidas-from-XIV)
1 parent 9d42b78 commit ca0426d

File tree

15 files changed

+688
-0
lines changed
  • packages
    • chrome-trace/chrome-trace.3.17.0
    • dune-action-plugin/dune-action-plugin.3.17.0
    • dune-build-info/dune-build-info.3.17.0
    • dune-configurator/dune-configurator.3.17.0
    • dune-glob/dune-glob.3.17.0
    • dune-private-libs/dune-private-libs.3.17.0
    • dune-rpc-lwt/dune-rpc-lwt.3.17.0
    • dune-rpc/dune-rpc.3.17.0
    • dune-site/dune-site.3.17.0
    • dune/dune.3.17.0
    • dyn/dyn.3.17.0
    • ocamlc-loc/ocamlc-loc.3.17.0
    • ordering/ordering.3.17.0
    • stdune/stdune.3.17.0
    • xdg/xdg.3.17.0

15 files changed

+688
-0
lines changed
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
opam-version: "2.0"
2+
synopsis: "Chrome trace event generation library"
3+
description:
4+
"This library offers no backwards compatibility guarantees. Use at your own risk."
5+
maintainer: ["Jane Street Group, LLC <[email protected]>"]
6+
authors: ["Jane Street Group, LLC <[email protected]>"]
7+
license: "MIT"
8+
homepage: "https://github.com/ocaml/dune"
9+
doc: "https://dune.readthedocs.io/"
10+
bug-reports: "https://github.com/ocaml/dune/issues"
11+
depends: [
12+
"dune" {>= "3.12"}
13+
"ocaml" {>= "4.08.0"}
14+
"odoc" {with-doc}
15+
]
16+
dev-repo: "git+https://github.com/ocaml/dune.git"
17+
build: [
18+
["dune" "subst"] {dev}
19+
["rm" "-rf" "vendor/csexp"]
20+
["rm" "-rf" "vendor/pp"]
21+
[
22+
"dune"
23+
"build"
24+
"-p"
25+
name
26+
"-j"
27+
jobs
28+
"@install"
29+
"@doc" {with-doc}
30+
]
31+
]
32+
url {
33+
src:
34+
"https://github.com/ocaml/dune/releases/download/3.17.0/dune-3.17.0.tbz"
35+
checksum: [
36+
"sha256=2c3aa6c41ed39e3d6c1a292d75f4806bd80310841afc51673aa59ce9c816507c"
37+
"sha512=29398bd5d7b5893937b6250356ea710c949aef37ffa8c9fae340a9b9234d6b896bbc161983ed34404b7e1fedc02794a064e1c92d1d5835b21a8d0c01ef2ca46c"
38+
]
39+
}
40+
x-commit-hash: "af1f4247450ea87eaa67c90bfcdd659c690058ec"
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
opam-version: "2.0"
2+
synopsis: "[experimental] API for writing dynamic Dune actions"
3+
description: """
4+
5+
This library is experimental. No backwards compatibility is implied.
6+
7+
dune-action-plugin provides an API for writing dynamic Dune actions.
8+
Dynamic dune actions do not need to declare their dependencies
9+
upfront; they are instead discovered automatically during the
10+
execution of the action.
11+
"""
12+
maintainer: ["Jane Street Group, LLC <[email protected]>"]
13+
authors: ["Jane Street Group, LLC <[email protected]>"]
14+
license: "MIT"
15+
homepage: "https://github.com/ocaml/dune"
16+
doc: "https://dune.readthedocs.io/"
17+
bug-reports: "https://github.com/ocaml/dune/issues"
18+
depends: [
19+
"dune" {>= "3.12"}
20+
"dune-glob" {= version}
21+
"csexp" {>= "1.5.0"}
22+
"ppx_expect" {with-test}
23+
"stdune" {= version}
24+
"dune-private-libs" {= version}
25+
"dune-rpc" {= version}
26+
"base-unix"
27+
"odoc" {with-doc}
28+
]
29+
dev-repo: "git+https://github.com/ocaml/dune.git"
30+
build: [
31+
["dune" "subst"] {dev}
32+
["rm" "-rf" "vendor/csexp"]
33+
["rm" "-rf" "vendor/pp"]
34+
[
35+
"dune"
36+
"build"
37+
"-p"
38+
name
39+
"-j"
40+
jobs
41+
"@install"
42+
"@doc" {with-doc}
43+
]
44+
]
45+
url {
46+
src:
47+
"https://github.com/ocaml/dune/releases/download/3.17.0/dune-3.17.0.tbz"
48+
checksum: [
49+
"sha256=2c3aa6c41ed39e3d6c1a292d75f4806bd80310841afc51673aa59ce9c816507c"
50+
"sha512=29398bd5d7b5893937b6250356ea710c949aef37ffa8c9fae340a9b9234d6b896bbc161983ed34404b7e1fedc02794a064e1c92d1d5835b21a8d0c01ef2ca46c"
51+
]
52+
}
53+
x-commit-hash: "af1f4247450ea87eaa67c90bfcdd659c690058ec"
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
opam-version: "2.0"
2+
synopsis: "Embed build information inside executable"
3+
description: """
4+
The build-info library allows to access information about how the
5+
executable was built, such as the version of the project at which it
6+
was built or the list of statically linked libraries with their
7+
versions. It supports reporting the version from the version control
8+
system during development to get an precise reference of when the
9+
executable was built.
10+
"""
11+
maintainer: ["Jane Street Group, LLC <[email protected]>"]
12+
authors: ["Jane Street Group, LLC <[email protected]>"]
13+
license: "MIT"
14+
homepage: "https://github.com/ocaml/dune"
15+
doc: "https://dune.readthedocs.io/"
16+
bug-reports: "https://github.com/ocaml/dune/issues"
17+
depends: [
18+
"dune" {>= "3.12"}
19+
"ocaml" {>= "4.08"}
20+
"odoc" {with-doc}
21+
]
22+
dev-repo: "git+https://github.com/ocaml/dune.git"
23+
build: [
24+
["dune" "subst"] {dev}
25+
["rm" "-rf" "vendor/csexp"]
26+
["rm" "-rf" "vendor/pp"]
27+
[
28+
"dune"
29+
"build"
30+
"-p"
31+
name
32+
"-j"
33+
jobs
34+
"@install"
35+
"@doc" {with-doc}
36+
]
37+
]
38+
url {
39+
src:
40+
"https://github.com/ocaml/dune/releases/download/3.17.0/dune-3.17.0.tbz"
41+
checksum: [
42+
"sha256=2c3aa6c41ed39e3d6c1a292d75f4806bd80310841afc51673aa59ce9c816507c"
43+
"sha512=29398bd5d7b5893937b6250356ea710c949aef37ffa8c9fae340a9b9234d6b896bbc161983ed34404b7e1fedc02794a064e1c92d1d5835b21a8d0c01ef2ca46c"
44+
]
45+
}
46+
x-commit-hash: "af1f4247450ea87eaa67c90bfcdd659c690058ec"
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
opam-version: "2.0"
2+
synopsis: "Helper library for gathering system configuration"
3+
description: """
4+
dune-configurator is a small library that helps writing OCaml scripts that
5+
test features available on the system, in order to generate config.h
6+
files for instance.
7+
Among other things, dune-configurator allows one to:
8+
- test if a C program compiles
9+
- query pkg-config
10+
- import #define from OCaml header files
11+
- generate config.h file
12+
"""
13+
maintainer: ["Jane Street Group, LLC <[email protected]>"]
14+
authors: ["Jane Street Group, LLC <[email protected]>"]
15+
license: "MIT"
16+
homepage: "https://github.com/ocaml/dune"
17+
doc: "https://dune.readthedocs.io/"
18+
bug-reports: "https://github.com/ocaml/dune/issues"
19+
depends: [
20+
"dune" {>= "3.12"}
21+
"ocaml" {>= "4.04.0"}
22+
"base-unix"
23+
"csexp" {>= "1.5.0"}
24+
"odoc" {with-doc}
25+
]
26+
dev-repo: "git+https://github.com/ocaml/dune.git"
27+
build: [
28+
["dune" "subst"] {dev}
29+
["rm" "-rf" "vendor/csexp"]
30+
["rm" "-rf" "vendor/pp"]
31+
[
32+
"dune"
33+
"build"
34+
"-p"
35+
name
36+
"-j"
37+
jobs
38+
"@install"
39+
"@doc" {with-doc}
40+
]
41+
]
42+
url {
43+
src:
44+
"https://github.com/ocaml/dune/releases/download/3.17.0/dune-3.17.0.tbz"
45+
checksum: [
46+
"sha256=2c3aa6c41ed39e3d6c1a292d75f4806bd80310841afc51673aa59ce9c816507c"
47+
"sha512=29398bd5d7b5893937b6250356ea710c949aef37ffa8c9fae340a9b9234d6b896bbc161983ed34404b7e1fedc02794a064e1c92d1d5835b21a8d0c01ef2ca46c"
48+
]
49+
}
50+
x-commit-hash: "af1f4247450ea87eaa67c90bfcdd659c690058ec"
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
opam-version: "2.0"
2+
synopsis: "Glob string matching language supported by dune"
3+
description:
4+
"dune-glob provides a parser and interpreter for globs as understood by dune language."
5+
maintainer: ["Jane Street Group, LLC <[email protected]>"]
6+
authors: ["Jane Street Group, LLC <[email protected]>"]
7+
license: "MIT"
8+
homepage: "https://github.com/ocaml/dune"
9+
doc: "https://dune.readthedocs.io/"
10+
bug-reports: "https://github.com/ocaml/dune/issues"
11+
depends: [
12+
"dune" {>= "3.12"}
13+
"stdune" {= version}
14+
"dyn"
15+
"ordering"
16+
"dune-private-libs" {= version}
17+
"odoc" {with-doc}
18+
]
19+
dev-repo: "git+https://github.com/ocaml/dune.git"
20+
build: [
21+
["dune" "subst"] {dev}
22+
["rm" "-rf" "vendor/csexp"]
23+
["rm" "-rf" "vendor/pp"]
24+
[
25+
"dune"
26+
"build"
27+
"-p"
28+
name
29+
"-j"
30+
jobs
31+
"@install"
32+
"@doc" {with-doc}
33+
]
34+
]
35+
url {
36+
src:
37+
"https://github.com/ocaml/dune/releases/download/3.17.0/dune-3.17.0.tbz"
38+
checksum: [
39+
"sha256=2c3aa6c41ed39e3d6c1a292d75f4806bd80310841afc51673aa59ce9c816507c"
40+
"sha512=29398bd5d7b5893937b6250356ea710c949aef37ffa8c9fae340a9b9234d6b896bbc161983ed34404b7e1fedc02794a064e1c92d1d5835b21a8d0c01ef2ca46c"
41+
]
42+
}
43+
x-commit-hash: "af1f4247450ea87eaa67c90bfcdd659c690058ec"
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
opam-version: "2.0"
2+
synopsis: "Private libraries of Dune"
3+
description: """
4+
!!!!!!!!!!!!!!!!!!!!!!
5+
!!!!! DO NOT USE !!!!!
6+
!!!!!!!!!!!!!!!!!!!!!!
7+
8+
This package contains code that is shared between various dune-xxx
9+
packages. However, it is not meant for public consumption and provides
10+
no stability guarantee.
11+
"""
12+
maintainer: ["Jane Street Group, LLC <[email protected]>"]
13+
authors: ["Jane Street Group, LLC <[email protected]>"]
14+
license: "MIT"
15+
homepage: "https://github.com/ocaml/dune"
16+
doc: "https://dune.readthedocs.io/"
17+
bug-reports: "https://github.com/ocaml/dune/issues"
18+
depends: [
19+
"dune" {>= "3.12"}
20+
"csexp" {>= "1.5.0"}
21+
"pp" {>= "1.1.0"}
22+
"dyn" {= version}
23+
"stdune" {= version}
24+
"ocaml" {>= "4.08"}
25+
"odoc" {with-doc}
26+
]
27+
dev-repo: "git+https://github.com/ocaml/dune.git"
28+
build: [
29+
["dune" "subst"] {dev}
30+
["rm" "-rf" "vendor/csexp"]
31+
["rm" "-rf" "vendor/pp"]
32+
[
33+
"dune"
34+
"build"
35+
"-p"
36+
name
37+
"-j"
38+
jobs
39+
"@install"
40+
"@doc" {with-doc}
41+
]
42+
]
43+
url {
44+
src:
45+
"https://github.com/ocaml/dune/releases/download/3.17.0/dune-3.17.0.tbz"
46+
checksum: [
47+
"sha256=2c3aa6c41ed39e3d6c1a292d75f4806bd80310841afc51673aa59ce9c816507c"
48+
"sha512=29398bd5d7b5893937b6250356ea710c949aef37ffa8c9fae340a9b9234d6b896bbc161983ed34404b7e1fedc02794a064e1c92d1d5835b21a8d0c01ef2ca46c"
49+
]
50+
}
51+
x-commit-hash: "af1f4247450ea87eaa67c90bfcdd659c690058ec"
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
opam-version: "2.0"
2+
synopsis: "Communicate with dune using rpc and Lwt"
3+
description: "Specialization of dune-rpc to Lwt"
4+
maintainer: ["Jane Street Group, LLC <[email protected]>"]
5+
authors: ["Jane Street Group, LLC <[email protected]>"]
6+
license: "MIT"
7+
homepage: "https://github.com/ocaml/dune"
8+
doc: "https://dune.readthedocs.io/"
9+
bug-reports: "https://github.com/ocaml/dune/issues"
10+
depends: [
11+
"dune" {>= "3.12"}
12+
"dune-rpc" {= version}
13+
"csexp" {>= "1.5.0"}
14+
"lwt" {>= "5.6.0"}
15+
"base-unix"
16+
"odoc" {with-doc}
17+
]
18+
dev-repo: "git+https://github.com/ocaml/dune.git"
19+
build: [
20+
["dune" "subst"] {dev}
21+
["rm" "-rf" "vendor/csexp"]
22+
["rm" "-rf" "vendor/pp"]
23+
[
24+
"dune"
25+
"build"
26+
"-p"
27+
name
28+
"-j"
29+
jobs
30+
"@install"
31+
"@doc" {with-doc}
32+
]
33+
]
34+
url {
35+
src:
36+
"https://github.com/ocaml/dune/releases/download/3.17.0/dune-3.17.0.tbz"
37+
checksum: [
38+
"sha256=2c3aa6c41ed39e3d6c1a292d75f4806bd80310841afc51673aa59ce9c816507c"
39+
"sha512=29398bd5d7b5893937b6250356ea710c949aef37ffa8c9fae340a9b9234d6b896bbc161983ed34404b7e1fedc02794a064e1c92d1d5835b21a8d0c01ef2ca46c"
40+
]
41+
}
42+
x-commit-hash: "af1f4247450ea87eaa67c90bfcdd659c690058ec"
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
opam-version: "2.0"
2+
synopsis: "Communicate with dune using rpc"
3+
description: "Library to connect and control a running dune instance"
4+
maintainer: ["Jane Street Group, LLC <[email protected]>"]
5+
authors: ["Jane Street Group, LLC <[email protected]>"]
6+
license: "MIT"
7+
homepage: "https://github.com/ocaml/dune"
8+
doc: "https://dune.readthedocs.io/"
9+
bug-reports: "https://github.com/ocaml/dune/issues"
10+
depends: [
11+
"dune" {>= "3.12"}
12+
"csexp"
13+
"ordering"
14+
"dyn"
15+
"xdg"
16+
"stdune" {= version}
17+
"pp" {>= "1.1.0"}
18+
"odoc" {with-doc}
19+
]
20+
dev-repo: "git+https://github.com/ocaml/dune.git"
21+
build: [
22+
["dune" "subst"] {dev}
23+
["rm" "-rf" "vendor/csexp"]
24+
["rm" "-rf" "vendor/pp"]
25+
[
26+
"dune"
27+
"build"
28+
"-p"
29+
name
30+
"-j"
31+
jobs
32+
"@install"
33+
"@doc" {with-doc}
34+
]
35+
]
36+
url {
37+
src:
38+
"https://github.com/ocaml/dune/releases/download/3.17.0/dune-3.17.0.tbz"
39+
checksum: [
40+
"sha256=2c3aa6c41ed39e3d6c1a292d75f4806bd80310841afc51673aa59ce9c816507c"
41+
"sha512=29398bd5d7b5893937b6250356ea710c949aef37ffa8c9fae340a9b9234d6b896bbc161983ed34404b7e1fedc02794a064e1c92d1d5835b21a8d0c01ef2ca46c"
42+
]
43+
}
44+
x-commit-hash: "af1f4247450ea87eaa67c90bfcdd659c690058ec"

0 commit comments

Comments
 (0)