From 6e944a95ddfa1f77bb66a97561c17229338ed345 Mon Sep 17 00:00:00 2001 From: Tobias Mock Date: Wed, 8 Oct 2025 22:52:07 +0200 Subject: [PATCH 1/3] [new release] raylib and raygui (1.5.0) CHANGES: * Upgrade dependency patch to 3.0.0 * Correctly set `glyph_count` in `Font.set_glyphs` * Export `Raylib_c` module * Upgrade to raylib 5.5 --- packages/raygui/raygui.1.5.0/opam | 46 ++++++++++++++++++++++++++++ packages/raylib/raylib.1.5.0/opam | 51 +++++++++++++++++++++++++++++++ 2 files changed, 97 insertions(+) create mode 100644 packages/raygui/raygui.1.5.0/opam create mode 100644 packages/raylib/raylib.1.5.0/opam diff --git a/packages/raygui/raygui.1.5.0/opam b/packages/raygui/raygui.1.5.0/opam new file mode 100644 index 000000000000..6519a37ee3ef --- /dev/null +++ b/packages/raygui/raygui.1.5.0/opam @@ -0,0 +1,46 @@ +opam-version: "2.0" +synopsis: "OCaml bindings for raygui" +description: "OCaml bindings for raygui" +maintainer: ["tobiasjammer@gmail.com"] +authors: ["Tobias Mock"] +license: "MIT" +homepage: "https://github.com/tjammer/raylib-ocaml" +bug-reports: "https://github.com/tjammer/raylib-ocaml/issues" +depends: [ + "ocaml" {>= "4.05"} + "dune" {>= "3.17" & >= "3.17"} + "dune-configurator" + "ctypes" {>= "0.14"} + "raylib" {= version} + "patch" {>= "3.0.0"} + "odoc" {with-doc} +] +build: [ + ["dune" "subst"] {dev} + [ + "dune" + "build" + "-p" + name + "-j" + jobs + "@install" + "@runtest" {with-test} + "@doc" {with-doc} + ] +] +dev-repo: "git+https://github.com/tjammer/raylib-ocaml.git" +available: [arch != "arm32" & arch != "ppc64"] +x-ci-accept-failures: [ + "centos-7" # C compiler is too old + "oraclelinux-7" # C compiler is too old +] +url { + src: + "https://github.com/tjammer/raylib-ocaml/releases/download/1.5.0/raylib-1.5.0.tbz" + checksum: [ + "sha256=68a7af41282ea3ed8917ad2d632978264bca6b3811f57dd35637c8b20ca24d0d" + "sha512=01e811b8a9a2f831dfbb1dc894b7053055a5c2e5d5eed19f6f329b7e951e6042bbe3210f77b126883ea8aeb2925607f0083cdf674ea48aec9f373a29c9523eaf" + ] +} +x-commit-hash: "53a9847f2f5061a8e4dd7cd3a5bb2c9c30e43216" diff --git a/packages/raylib/raylib.1.5.0/opam b/packages/raylib/raylib.1.5.0/opam new file mode 100644 index 000000000000..e7b6c39a705a --- /dev/null +++ b/packages/raylib/raylib.1.5.0/opam @@ -0,0 +1,51 @@ +opam-version: "2.0" +synopsis: "OCaml bindings for raylib" +description: "OCaml bindings for raylib" +maintainer: ["tobiasjammer@gmail.com"] +authors: ["Tobias Mock"] +license: "MIT" +homepage: "https://github.com/tjammer/raylib-ocaml" +bug-reports: "https://github.com/tjammer/raylib-ocaml/issues" +depends: [ + "ocaml" {>= "4.08.0"} + "dune" {>= "3.17" & >= "3.17"} + "dune-configurator" + "ctypes" {>= "0.14"} + "integers" {>= "0.5"} + "patch" {>= "3.0.0"} + "conf-mesa" {os = "linux" | os-family = "bsd"} + "conf-libxcursor" {os = "linux" | os-family = "bsd"} + "conf-libxi" {os = "linux" | os-family = "bsd"} + "conf-libxinerama" {os = "linux" | os-family = "bsd"} + "conf-libxrandr" {os = "linux" | os-family = "bsd"} + "odoc" {with-doc} +] +build: [ + ["dune" "subst"] {dev} + [ + "dune" + "build" + "-p" + name + "-j" + jobs + "@install" + "@runtest" {with-test} + "@doc" {with-doc} + ] +] +dev-repo: "git+https://github.com/tjammer/raylib-ocaml.git" +available: [arch != "arm32" & arch != "ppc64"] +x-ci-accept-failures: [ + "centos-7" # C compiler is too old + "oraclelinux-7" # C compiler is too old +] +url { + src: + "https://github.com/tjammer/raylib-ocaml/releases/download/1.5.0/raylib-1.5.0.tbz" + checksum: [ + "sha256=68a7af41282ea3ed8917ad2d632978264bca6b3811f57dd35637c8b20ca24d0d" + "sha512=01e811b8a9a2f831dfbb1dc894b7053055a5c2e5d5eed19f6f329b7e951e6042bbe3210f77b126883ea8aeb2925607f0083cdf674ea48aec9f373a29c9523eaf" + ] +} +x-commit-hash: "53a9847f2f5061a8e4dd7cd3a5bb2c9c30e43216" From dbdcfbad7c1844fcc284889d1e8eafe01ba021bd Mon Sep 17 00:00:00 2001 From: Tobias Mock Date: Tue, 14 Oct 2025 21:41:24 +0200 Subject: [PATCH 2/3] Release 1.5.1 * Fix constness of ptr argument to `GuiListViewEx` * Distingish msys and other mingw environments --- .../raygui/{raygui.1.5.0 => raygui.1.5.1}/opam | 15 ++++++--------- .../raylib/{raylib.1.5.0 => raylib.1.5.1}/opam | 11 ++++++----- 2 files changed, 12 insertions(+), 14 deletions(-) rename packages/raygui/{raygui.1.5.0 => raygui.1.5.1}/opam (66%) rename packages/raylib/{raylib.1.5.0 => raylib.1.5.1}/opam (76%) diff --git a/packages/raygui/raygui.1.5.0/opam b/packages/raygui/raygui.1.5.1/opam similarity index 66% rename from packages/raygui/raygui.1.5.0/opam rename to packages/raygui/raygui.1.5.1/opam index 6519a37ee3ef..3854ed262252 100644 --- a/packages/raygui/raygui.1.5.0/opam +++ b/packages/raygui/raygui.1.5.1/opam @@ -7,12 +7,8 @@ license: "MIT" homepage: "https://github.com/tjammer/raylib-ocaml" bug-reports: "https://github.com/tjammer/raylib-ocaml/issues" depends: [ - "ocaml" {>= "4.05"} - "dune" {>= "3.17" & >= "3.17"} - "dune-configurator" - "ctypes" {>= "0.14"} + "dune" {>= "3.20"} "raylib" {= version} - "patch" {>= "3.0.0"} "odoc" {with-doc} ] build: [ @@ -30,6 +26,7 @@ build: [ ] ] dev-repo: "git+https://github.com/tjammer/raylib-ocaml.git" +x-maintenance-intent: ["(latest)"] available: [arch != "arm32" & arch != "ppc64"] x-ci-accept-failures: [ "centos-7" # C compiler is too old @@ -37,10 +34,10 @@ x-ci-accept-failures: [ ] url { src: - "https://github.com/tjammer/raylib-ocaml/releases/download/1.5.0/raylib-1.5.0.tbz" + "https://github.com/tjammer/raylib-ocaml/releases/download/1.5.1/raylib-1.5.1.tbz" checksum: [ - "sha256=68a7af41282ea3ed8917ad2d632978264bca6b3811f57dd35637c8b20ca24d0d" - "sha512=01e811b8a9a2f831dfbb1dc894b7053055a5c2e5d5eed19f6f329b7e951e6042bbe3210f77b126883ea8aeb2925607f0083cdf674ea48aec9f373a29c9523eaf" + "sha256=199b89fdf24624b142b424a36b957c5a24e2e789fe5d51a94a57e83d20ffcd42" + "sha512=2ddcb9b341fc6583fa7f380374fd2d600eb3ad5dd31b3b7f91c5e2941c44db1ee2dc30748a524c4c2d33fa357a86befadb5b2a8de8cf76741030000172c668df" ] } -x-commit-hash: "53a9847f2f5061a8e4dd7cd3a5bb2c9c30e43216" +x-commit-hash: "77b48c06d2c9dc012e483296084be9774b1fe6b7" diff --git a/packages/raylib/raylib.1.5.0/opam b/packages/raylib/raylib.1.5.1/opam similarity index 76% rename from packages/raylib/raylib.1.5.0/opam rename to packages/raylib/raylib.1.5.1/opam index e7b6c39a705a..1d94a25be566 100644 --- a/packages/raylib/raylib.1.5.0/opam +++ b/packages/raylib/raylib.1.5.1/opam @@ -8,7 +8,7 @@ homepage: "https://github.com/tjammer/raylib-ocaml" bug-reports: "https://github.com/tjammer/raylib-ocaml/issues" depends: [ "ocaml" {>= "4.08.0"} - "dune" {>= "3.17" & >= "3.17"} + "dune" {>= "3.20" & >= "3.20"} "dune-configurator" "ctypes" {>= "0.14"} "integers" {>= "0.5"} @@ -35,6 +35,7 @@ build: [ ] ] dev-repo: "git+https://github.com/tjammer/raylib-ocaml.git" +x-maintenance-intent: ["(latest)"] available: [arch != "arm32" & arch != "ppc64"] x-ci-accept-failures: [ "centos-7" # C compiler is too old @@ -42,10 +43,10 @@ x-ci-accept-failures: [ ] url { src: - "https://github.com/tjammer/raylib-ocaml/releases/download/1.5.0/raylib-1.5.0.tbz" + "https://github.com/tjammer/raylib-ocaml/releases/download/1.5.1/raylib-1.5.1.tbz" checksum: [ - "sha256=68a7af41282ea3ed8917ad2d632978264bca6b3811f57dd35637c8b20ca24d0d" - "sha512=01e811b8a9a2f831dfbb1dc894b7053055a5c2e5d5eed19f6f329b7e951e6042bbe3210f77b126883ea8aeb2925607f0083cdf674ea48aec9f373a29c9523eaf" + "sha256=199b89fdf24624b142b424a36b957c5a24e2e789fe5d51a94a57e83d20ffcd42" + "sha512=2ddcb9b341fc6583fa7f380374fd2d600eb3ad5dd31b3b7f91c5e2941c44db1ee2dc30748a524c4c2d33fa357a86befadb5b2a8de8cf76741030000172c668df" ] } -x-commit-hash: "53a9847f2f5061a8e4dd7cd3a5bb2c9c30e43216" +x-commit-hash: "77b48c06d2c9dc012e483296084be9774b1fe6b7" From 56d34acbaecd37d049980d600c4281ba5a163e1c Mon Sep 17 00:00:00 2001 From: Tobias Mock Date: Tue, 14 Oct 2025 22:47:02 +0200 Subject: [PATCH 3/3] Increase ctypes version bound --- packages/raylib/raylib.1.5.1/opam | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/raylib/raylib.1.5.1/opam b/packages/raylib/raylib.1.5.1/opam index 1d94a25be566..c2527bb9eb74 100644 --- a/packages/raylib/raylib.1.5.1/opam +++ b/packages/raylib/raylib.1.5.1/opam @@ -10,7 +10,7 @@ depends: [ "ocaml" {>= "4.08.0"} "dune" {>= "3.20" & >= "3.20"} "dune-configurator" - "ctypes" {>= "0.14"} + "ctypes" {>= "0.23.0"} "integers" {>= "0.5"} "patch" {>= "3.0.0"} "conf-mesa" {os = "linux" | os-family = "bsd"}