Skip to content

Commit bff48ba

Browse files
authored
Merge pull request #27458 from gildor478/release-gettext-v0.5.0
[new release] gettext (3 packages) (0.5.0)
2 parents c8b5cd3 + 91eb9e8 commit bff48ba

File tree

3 files changed

+149
-0
lines changed
  • packages
    • gettext-camomile/gettext-camomile.0.5.0
    • gettext-stub/gettext-stub.0.5.0
    • gettext/gettext.0.5.0

3 files changed

+149
-0
lines changed
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: "Internationalization library using camomile (i18n)"
3+
description: "See gettext package description."
4+
maintainer: ["Sylvain Le Gall <[email protected]>"]
5+
authors: ["Sylvain Le Gall"]
6+
license: "LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception"
7+
homepage: "https://github.com/gildor478/ocaml-gettext"
8+
doc: "https://gildor478.github.io/ocaml-gettext/"
9+
bug-reports: "https://github.com/gildor478/ocaml-gettext/issues"
10+
depends: [
11+
"ocaml" {>= "4.14"}
12+
"dune" {>= "3.17"}
13+
"gettext" {= version}
14+
"camomile" {>= "2.0.0"}
15+
"ounit2" {>= "2.2.7" & with-test}
16+
"fileutils" {>= "0.6.6" & with-test}
17+
"odoc" {with-doc}
18+
]
19+
build: [
20+
["dune" "subst"] {dev}
21+
[
22+
"dune"
23+
"build"
24+
"-p"
25+
name
26+
"-j"
27+
jobs
28+
"--promote-install-files=false"
29+
"@install"
30+
"@runtest" {with-test}
31+
"@doc" {with-doc}
32+
]
33+
["dune" "install" "-p" name "--create-install-files" name]
34+
]
35+
dev-repo: "git+https://github.com/gildor478/ocaml-gettext.git"
36+
url {
37+
src:
38+
"https://github.com/gildor478/ocaml-gettext/releases/download/v0.5.0/gettext-0.5.0.tbz"
39+
checksum: [
40+
"sha256=08dd9df55b2af1838e2312be4be942b4375dbc18c2aed0ca1924488750e34f5d"
41+
"sha512=4a09eab6d6f0d6ec435ca3d70305e2f97cbcc04bea72f85efcf649a0ead2faa322a0b054eb953b719f6dea98fb08de32fc80b4cf967681465c5a51e335aaf8d4"
42+
]
43+
}
44+
x-commit-hash: "999e85cadbe675f8e60083241b403438f8d2c869"
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: "Internationalization using C gettext library (i18n)"
3+
description: "See gettext package description."
4+
maintainer: ["Sylvain Le Gall <[email protected]>"]
5+
authors: ["Sylvain Le Gall"]
6+
license: "LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception"
7+
homepage: "https://github.com/gildor478/ocaml-gettext"
8+
doc: "https://gildor478.github.io/ocaml-gettext/"
9+
bug-reports: "https://github.com/gildor478/ocaml-gettext/issues"
10+
depends: [
11+
"ocaml" {>= "4.14"}
12+
"dune" {>= "3.17"}
13+
"gettext" {= version}
14+
"dune-configurator" {>= "3.17.0"}
15+
"ounit2" {>= "2.2.7" & with-test}
16+
"odoc" {with-doc}
17+
]
18+
build: [
19+
["dune" "subst"] {dev}
20+
[
21+
"dune"
22+
"build"
23+
"-p"
24+
name
25+
"-j"
26+
jobs
27+
"--promote-install-files=false"
28+
"@install"
29+
"@runtest" {with-test}
30+
"@doc" {with-doc}
31+
]
32+
["dune" "install" "-p" name "--create-install-files" name]
33+
]
34+
dev-repo: "git+https://github.com/gildor478/ocaml-gettext.git"
35+
depexts: [
36+
["gettext"] {os = "macos" & os-distribution = "homebrew"}
37+
["gettext"] {os = "macos" & os-distribution = "macports"}
38+
["gettext-devel"] {os = "win32" & os-distribution = "cygwinports"}
39+
["gettext-devel"] {os = "win32" & os-distribution = "cygwin"}
40+
["gettext-dev"] {os-distribution = "alpine"}
41+
["libc6-dev"] {os-family = "debian"}
42+
]
43+
url {
44+
src:
45+
"https://github.com/gildor478/ocaml-gettext/releases/download/v0.5.0/gettext-0.5.0.tbz"
46+
checksum: [
47+
"sha256=08dd9df55b2af1838e2312be4be942b4375dbc18c2aed0ca1924488750e34f5d"
48+
"sha512=4a09eab6d6f0d6ec435ca3d70305e2f97cbcc04bea72f85efcf649a0ead2faa322a0b054eb953b719f6dea98fb08de32fc80b4cf967681465c5a51e335aaf8d4"
49+
]
50+
}
51+
x-commit-hash: "999e85cadbe675f8e60083241b403438f8d2c869"

packages/gettext/gettext.0.5.0/opam

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
opam-version: "2.0"
2+
synopsis: "Internationalization library (i18n)"
3+
description: """
4+
This library enables string translation in OCaml. The API is based on GNU
5+
gettext. It comes with a tool to extract strings which need to be translated
6+
from OCaml source files.
7+
8+
This enables OCaml program to output string in the native language of
9+
the user, if a corresponding translation file of the English strings is
10+
provided.
11+
12+
"""
13+
maintainer: ["Sylvain Le Gall <[email protected]>"]
14+
authors: ["Sylvain Le Gall"]
15+
license: "LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception"
16+
homepage: "https://github.com/gildor478/ocaml-gettext"
17+
doc: "https://gildor478.github.io/ocaml-gettext/"
18+
bug-reports: "https://github.com/gildor478/ocaml-gettext/issues"
19+
depends: [
20+
"dune" {>= "3.17"}
21+
"dune-site"
22+
"ocaml" {>= "4.14.0"}
23+
"cppo" {>= "1.8.0" & build}
24+
"seq" {>= "base" & with-test}
25+
"ounit2" {>= "2.2.7" & with-test}
26+
"fileutils" {>= "0.6.6"}
27+
"odoc" {with-doc}
28+
]
29+
build: [
30+
["dune" "subst"] {dev}
31+
[
32+
"dune"
33+
"build"
34+
"-p"
35+
name
36+
"-j"
37+
jobs
38+
"--promote-install-files=false"
39+
"@install"
40+
"@runtest" {with-test}
41+
"@doc" {with-doc}
42+
]
43+
["dune" "install" "-p" name "--create-install-files" name]
44+
]
45+
dev-repo: "git+https://github.com/gildor478/ocaml-gettext.git"
46+
url {
47+
src:
48+
"https://github.com/gildor478/ocaml-gettext/releases/download/v0.5.0/gettext-0.5.0.tbz"
49+
checksum: [
50+
"sha256=08dd9df55b2af1838e2312be4be942b4375dbc18c2aed0ca1924488750e34f5d"
51+
"sha512=4a09eab6d6f0d6ec435ca3d70305e2f97cbcc04bea72f85efcf649a0ead2faa322a0b054eb953b719f6dea98fb08de32fc80b4cf967681465c5a51e335aaf8d4"
52+
]
53+
}
54+
x-commit-hash: "999e85cadbe675f8e60083241b403438f8d2c869"

0 commit comments

Comments
 (0)