Skip to content

Commit 6891ea1

Browse files
authored
Merge pull request #26857 from Chris00/release-cairo2-0.6.5
[new release] cairo2 (3 packages) (0.6.5)
2 parents bdc1f43 + 5965e01 commit 6891ea1

File tree

4 files changed

+127
-2
lines changed
  • packages
    • cairo2-gtk/cairo2-gtk.0.6.5
    • cairo2-pango/cairo2-pango.0.6.5
    • cairo2/cairo2.0.6.5
    • conf-cairo/conf-cairo.1

4 files changed

+127
-2
lines changed
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
opam-version: "2.0"
2+
maintainer: "Christophe Troestler <[email protected]>"
3+
authors: [ "Christophe Troestler <[email protected]>"
4+
"Pierre Hauweele <[email protected]>" ]
5+
license: "LGPL-3.0-or-later"
6+
homepage: "https://github.com/Chris00/ocaml-cairo"
7+
dev-repo: "git+https://github.com/Chris00/ocaml-cairo.git"
8+
bug-reports: "https://github.com/Chris00/ocaml-cairo/issues"
9+
doc: "https://Chris00.github.io/ocaml-cairo/doc"
10+
tags: ["Cairo" "stroke" "drawing" "tutorial"]
11+
build: [
12+
["dune" "subst"] {dev}
13+
["dune" "build" "-p" name "-j" jobs]
14+
["dune" "runtest" "-p" name "-j" jobs] {with-test}
15+
["dune" "build" "@doc" "-p" name "-j" jobs] {with-doc}
16+
]
17+
depends: [
18+
"ocaml" {>= "4.02"}
19+
"base-bigarray"
20+
"dune" {>= "2.0.0"}
21+
"conf-pkg-config" {build}
22+
"conf-cairo"
23+
"cairo2" {= version}
24+
"lablgtk"
25+
]
26+
synopsis: "Rendering Cairo on Gtk2 canvas"
27+
description: """
28+
This provides the link between Cairo and Lablgtk.
29+
"""
30+
url {
31+
src:
32+
"https://github.com/Chris00/ocaml-cairo/releases/download/0.6.5/cairo2-0.6.5.tbz"
33+
checksum: [
34+
"sha256=25dc41c9436d9abcf56caad9a105944ff7346041b8cc6a2a654ab8848b657372"
35+
"sha512=9c13aaf0c716ac2fdec90d6dcb90a654c051cb9aa896e9333b819e68669efbf3ee7bb147882d45dd5b86db3fd868158bce46f46c5c8960f9add523d64342f704"
36+
]
37+
}
38+
x-commit-hash: "918ef6ee0b5ccef2947fafb11bd2f4ec7730a810"
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
opam-version: "2.0"
2+
maintainer: "Christophe Troestler <[email protected]>"
3+
authors: [ "Christophe Troestler <[email protected]>"
4+
"Pierre Hauweele <[email protected]>" ]
5+
license: "LGPL-3.0-or-later"
6+
homepage: "https://github.com/Chris00/ocaml-cairo"
7+
dev-repo: "git+https://github.com/Chris00/ocaml-cairo.git"
8+
bug-reports: "https://github.com/Chris00/ocaml-cairo/issues"
9+
doc: "https://Chris00.github.io/ocaml-cairo/doc"
10+
tags: ["Cairo" "stroke" "drawing" "tutorial"]
11+
build: [
12+
["dune" "subst"] {dev}
13+
["dune" "build" "-p" name "-j" jobs]
14+
["dune" "runtest" "-p" name "-j" jobs] {with-test}
15+
["dune" "build" "@doc" "-p" name "-j" jobs] {with-doc}
16+
]
17+
depends: [
18+
"ocaml" {>= "4.02"}
19+
"base-bigarray"
20+
"dune" {>= "2.7.0"}
21+
"conf-pkg-config" {build}
22+
"conf-cairo"
23+
"cairo2" {= version}
24+
"lablgtk"
25+
]
26+
synopsis: "Interface between Cairo and Pango (for Gtk2)"
27+
description: """
28+
This package provides a way to use Pango (lablgtk, Gtk2) with Cairo.
29+
"""
30+
url {
31+
src:
32+
"https://github.com/Chris00/ocaml-cairo/releases/download/0.6.5/cairo2-0.6.5.tbz"
33+
checksum: [
34+
"sha256=25dc41c9436d9abcf56caad9a105944ff7346041b8cc6a2a654ab8848b657372"
35+
"sha512=9c13aaf0c716ac2fdec90d6dcb90a654c051cb9aa896e9333b819e68669efbf3ee7bb147882d45dd5b86db3fd868158bce46f46c5c8960f9add523d64342f704"
36+
]
37+
}
38+
x-commit-hash: "918ef6ee0b5ccef2947fafb11bd2f4ec7730a810"

packages/cairo2/cairo2.0.6.5/opam

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
opam-version: "2.0"
2+
maintainer: "Christophe Troestler <[email protected]>"
3+
authors: [ "Christophe Troestler <[email protected]>"
4+
"Pierre Hauweele <[email protected]>" ]
5+
license: "LGPL-3.0-or-later"
6+
homepage: "https://github.com/Chris00/ocaml-cairo"
7+
dev-repo: "git+https://github.com/Chris00/ocaml-cairo.git"
8+
bug-reports: "https://github.com/Chris00/ocaml-cairo/issues"
9+
doc: "https://Chris00.github.io/ocaml-cairo/doc"
10+
tags: ["Cairo" "stroke" "drawing" "tutorial"]
11+
build: [
12+
["dune" "subst"] {dev}
13+
["dune" "build" "-p" name "-j" jobs]
14+
["dune" "runtest" "-p" name "-j" jobs] {with-test}
15+
["dune" "build" "@doc" "-p" name "-j" jobs] {with-doc}
16+
]
17+
depends: [
18+
"ocaml" {>= "4.03"}
19+
"base-bigarray"
20+
"dune" {>= "2.7.0"}
21+
"dune-configurator" {>= "2.7.0"}
22+
"conf-cairo"
23+
]
24+
depopts: [
25+
"conf-freetype"
26+
]
27+
conflicts: [
28+
"cairo" {= "0.4.1"}
29+
"cairo" {= "0.4.2"}
30+
]
31+
post-messages: [
32+
"Try to re-run the install command with PKG_CONFIG_PATH pointing a pkg-config path including libffi, e.g. if you use homebrew you can try PKG_CONFIG_PATH=/usr/local/opt/libffi/lib/pkgconfig" {failure & os = "macos"}
33+
]
34+
synopsis: "Binding to Cairo, a 2D Vector Graphics Library"
35+
description: """
36+
This is a binding to Cairo, a 2D graphics library with support for
37+
multiple output devices. Currently supported output targets include
38+
the X Window System, Quartz, Win32, image buffers, PostScript, PDF,
39+
and SVG file output."""
40+
url {
41+
src:
42+
"https://github.com/Chris00/ocaml-cairo/releases/download/0.6.5/cairo2-0.6.5.tbz"
43+
checksum: [
44+
"sha256=25dc41c9436d9abcf56caad9a105944ff7346041b8cc6a2a654ab8848b657372"
45+
"sha512=9c13aaf0c716ac2fdec90d6dcb90a654c051cb9aa896e9333b819e68669efbf3ee7bb147882d45dd5b86db3fd868158bce46f46c5c8960f9add523d64342f704"
46+
]
47+
}
48+
x-commit-hash: "918ef6ee0b5ccef2947fafb11bd2f4ec7730a810"

packages/conf-cairo/conf-cairo.1/opam

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,13 @@ homepage: "http://cairographics.org/"
44
authors: ["Keith Packard" "Carl Worth" "Behdad Esfahbod"]
55
license: ["LGPL-2.1-only" "MPL-1.1"]
66
build: [
7-
["pkg-config" "cairo"] {os != "macos"}
7+
["pkg-config" "cairo"] {os != "macos" & os != "win32"}
8+
["pkgconf" "--cflags" "cairo"] {os = "win32" & os-distribution != "msys2"}
89
["sh" "-exc"
910
"export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig/; pkg-config --libs cairo"]
1011
{os = "macos" & os-distribution = "homebrew"}
1112
]
12-
depends: ["conf-pkg-config" {build}]
13+
depends: ["conf-pkg-config" {>= "3" & build}]
1314
depexts: [
1415
["libcairo2-dev"] {os-family = "debian"}
1516
["libcairo2-dev"] {os-family = "ubuntu"}

0 commit comments

Comments
 (0)