Skip to content

Commit a9c54a2

Browse files
authored
Merge pull request #28011 from punchagan/fix-win-availability
Fix Windows availability and installation of a bunch of conf- packages
2 parents ff69880 + 10f9fad commit a9c54a2

File tree

9 files changed

+13
-7
lines changed
  • packages
    • conf-cairo/conf-cairo.1
    • conf-clang/conf-clang.1
    • conf-gtk3/conf-gtk3.18
    • conf-libev/conf-libev.4-11
    • conf-mpfr/conf-mpfr.3
    • omake

9 files changed

+13
-7
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ depexts: [
2525
["cairo"] {os-family = "arch"}
2626
["cairo"] {os = "macos" & os-distribution = "homebrew"}
2727
["cairo"] {os = "win32" & os-distribution = "cygwinports"}
28-
["libcairo-devel"] {os = "cygwin"}
28+
["libcairo-devel"] {os = "win32" & os-distribution = "cygwin"}
2929
]
3030
synopsis: "Virtual package relying on a Cairo system installation"
3131
description:

packages/conf-clang/conf-clang.1/opam

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ depexts: [
1616
["clang"] {os-distribution = "ol"}
1717
["clang"] {os-distribution = "arch"}
1818
# on FreeBSD clang is already part of the base system in contrib/llvm-project/clang
19+
["clang"] {os = "win32"}
1920
]
2021
synopsis: "Virtual package relying on clang"
2122
description:

packages/conf-gtk3/conf-gtk3.18/opam

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,10 @@ maintainer: "[email protected]"
33
authors: "The GTK Toolkit"
44
homepage: "https://developer.gnome.org/"
55
bug-reports: "https://github.com/garrigue/lablgtk/issues"
6-
build: [["pkg-config" "--short-errors" "--print-errors" "--atleast-version" "3.18" "gtk+-3.0"]]
6+
build: [
7+
["pkgconf" "gtk+-3.0"] {os = "win32" & os-distribution != "cygwinports"}
8+
["pkg-config" "--short-errors" "--print-errors" "--atleast-version" "3.18" "gtk+-3.0"] {os != "win32" | os-distribution != "cygwin"}
9+
]
710
depends: ["conf-pkg-config" {build}]
811
depexts: [
912
["libgtk-3-dev" "libexpat1-dev"] {os-family = "debian" | os-family = "ubuntu"}
@@ -16,7 +19,7 @@ depexts: [
1619
["gtk3-devel"] {os-family = "suse" | os-family = "opensuse"}
1720
["gtk3"] {os-family = "arch"}
1821
["gtk3"] {os = "win32" & os-distribution = "cygwinports"}
19-
["libgtk3-devel"] {os = "cygwin"}
22+
["libgtk3-devel"] {os = "win32" & os-distribution = "cygwin"}
2023
["gtk3"] {os = "freebsd"}
2124
]
2225
post-messages: [

packages/conf-libev/conf-libev.4-11/opam

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ Libev is modelled (very loosely) after libevent and the Event perl
2727
module, but is faster, scales better and is more correct, and also more
2828
featureful. And also smaller. Yay."""
2929
bug-reports: "https://github.com/ocaml/opam-repository/issues"
30+
available: os != "win32"
3031
flags: conf
3132
extra-source "discover.ml" {
3233
src:

packages/conf-mpfr/conf-mpfr.3/opam

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ depexts: [
2525
["mpfr-dev"] {os-family = "alpine"}
2626
["mpfr-devel"] {os-family = "suse" | os-family = "opensuse"}
2727
["mpfr"] {os = "win32" & os-distribution = "cygwinports"}
28+
["libmpfr-devel"] {os = "win32" & os-distribution = "cygwin"}
2829
]
2930
synopsis: "Virtual package relying on library MPFR installation"
3031
description:

packages/omake/omake.0.10.3/opam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ authors: [
99
license: "GPL-2.0-only"
1010
dev-repo: "git+https://github.com/ocaml-omake/omake.git"
1111
homepage: "http://projects.camlcity.org/projects/omake.html"
12-
bug-reports: "https://github.com/ocaml-omake/issues"
12+
bug-reports: "https://github.com/ocaml-omake/omake/issues"
1313

1414
patches: ["lib_build_OCaml.om.diff"]
1515

packages/omake/omake.0.10.5/opam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ authors: [
99
license: "GPL-2.0-only"
1010
dev-repo: "git+https://github.com/ocaml-omake/omake.git"
1111
homepage: "http://projects.camlcity.org/projects/omake.html"
12-
bug-reports: "https://github.com/ocaml-omake/issues"
12+
bug-reports: "https://github.com/ocaml-omake/omake/issues"
1313

1414
build: [
1515
["./configure" "-prefix" "%{prefix}%"]

packages/omake/omake.0.10.6/opam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ authors: [
99
license: "GPL-2.0-only"
1010
dev-repo: "git+https://github.com/ocaml-omake/omake.git"
1111
homepage: "http://projects.camlcity.org/projects/omake.html"
12-
bug-reports: "https://github.com/ocaml-omake/issues"
12+
bug-reports: "https://github.com/ocaml-omake/omake/issues"
1313

1414
build-env: OCAMLPARAM = "_,w=-46,keywords=5.2"
1515

packages/omake/omake.0.10.7/opam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ authors: [
1010
license: "GPL-2.0-only"
1111
dev-repo: "git+https://github.com/ocaml-omake/omake.git"
1212
homepage: "http://projects.camlcity.org/projects/omake.html"
13-
bug-reports: "https://github.com/ocaml-omake/issues"
13+
bug-reports: "https://github.com/ocaml-omake/omake/issues"
1414

1515
build: [
1616
["./configure" "-prefix" "%{prefix}%"]

0 commit comments

Comments
 (0)