From 6aecf73e1d7ebd7c4eb9eb14d451c27b73dbb540 Mon Sep 17 00:00:00 2001 From: "Boris D." Date: Sat, 18 May 2024 10:01:06 -0700 Subject: [PATCH] Update project meta. --- README.md | 4 ++-- camlkit-base-ios.opam | 11 ++++++----- camlkit-base.opam | 9 +++++---- camlkit-gui-ios.opam | 3 +-- camlkit-gui.opam | 3 +-- camlkit-ios.opam | 1 - camlkit.opam | 1 - dune-project | 8 ++++---- 8 files changed, 19 insertions(+), 21 deletions(-) diff --git a/README.md b/README.md index 297f6346..60e92324 100644 --- a/README.md +++ b/README.md @@ -165,9 +165,9 @@ constructs by comparing the equivalent Objective-C and OCaml code. [`NSAutoreleasePool`](https://developer.apple.com/documentation/foundation/nsautoreleasepool/) class. - Since OCaml has a garbage collector, we can leverage it to help manage the + Since OCaml has a garbage collector, you can leverage it to help manage the lifetimes of Cocoa objects. To this effect, we provide the `gc_autorelease` - function, which makes sure the object will be sent the `release` message when + function, which ensures the object will be sent the `release` message when the OCaml reference to it is garbage collected. * Using objects from frameworks when bindings are not available diff --git a/camlkit-base-ios.opam b/camlkit-base-ios.opam index 4bf465e3..35d03837 100644 --- a/camlkit-base-ios.opam +++ b/camlkit-base-ios.opam @@ -1,14 +1,15 @@ -# This file is generated by dune, edit dune-project instead opam-version: "2.0" version: "0.1.1" synopsis: - "OCaml bindings to the Objective-C runtime and Foundation framework" -description: - "OCaml bindings to the Objective-C runtime and Foundation framework" + "OCaml bindings to the Objective-C runtime and some base frameworks" +description: """\ +This package provides OCaml bindings to the Objective-C runtime and +the following iOS frameworks: Foundation, WebKit, Vision, CoreImage, and Photos. +""" maintainer: ["Boris D. "] authors: ["Boris D. "] license: "ISC" -tags: ["objc" "bindings" "cocoa" "gnustep"] +tags: ["objc" "bindings" "cocoa" "ios"] homepage: "https://github.com/dboris/camlkit" bug-reports: "https://github.com/dboris/camlkit/issues" depends: [ diff --git a/camlkit-base.opam b/camlkit-base.opam index b53f0489..2d75ccf7 100644 --- a/camlkit-base.opam +++ b/camlkit-base.opam @@ -1,10 +1,11 @@ -# This file is generated by dune, edit dune-project instead opam-version: "2.0" version: "0.1.1" synopsis: - "OCaml bindings to the Objective-C runtime and Foundation framework" -description: - "OCaml bindings to the Objective-C runtime and Foundation framework" + "OCaml bindings to the Objective-C runtime and some base frameworks" +description: """\ +This package provides OCaml bindings to the Objective-C runtime and +the following macOS frameworks: Foundation, WebKit, Vision, CoreImage, and Photos. +""" maintainer: ["Boris D. "] authors: ["Boris D. "] license: "ISC" diff --git a/camlkit-gui-ios.opam b/camlkit-gui-ios.opam index c36c8f42..13fa5404 100644 --- a/camlkit-gui-ios.opam +++ b/camlkit-gui-ios.opam @@ -1,4 +1,3 @@ -# This file is generated by dune, edit dune-project instead opam-version: "2.0" version: "0.1.1" synopsis: "OCaml bindings to the UIKit framework" @@ -6,7 +5,7 @@ description: "OCaml bindings to the UIKit framework" maintainer: ["Boris D. "] authors: ["Boris D. "] license: "ISC" -tags: ["objc" "bindings" "cocoa" "ios" "gnustep"] +tags: ["objc" "bindings" "cocoa" "ios"] homepage: "https://github.com/dboris/camlkit" bug-reports: "https://github.com/dboris/camlkit/issues" depends: [ diff --git a/camlkit-gui.opam b/camlkit-gui.opam index cfd00635..3785cc65 100644 --- a/camlkit-gui.opam +++ b/camlkit-gui.opam @@ -1,4 +1,3 @@ -# This file is generated by dune, edit dune-project instead opam-version: "2.0" version: "0.1.1" synopsis: "OCaml bindings to the AppKit framework" @@ -6,7 +5,7 @@ description: "OCaml bindings to the AppKit framework" maintainer: ["Boris D. "] authors: ["Boris D. "] license: "ISC" -tags: ["objc" "bindings" "cocoa" "ios" "gnustep"] +tags: ["objc" "bindings" "cocoa" "gnustep"] homepage: "https://github.com/dboris/camlkit" bug-reports: "https://github.com/dboris/camlkit/issues" depends: [ diff --git a/camlkit-ios.opam b/camlkit-ios.opam index adce6c28..fadb7f33 100644 --- a/camlkit-ios.opam +++ b/camlkit-ios.opam @@ -1,4 +1,3 @@ -# This file is generated by dune, edit dune-project instead opam-version: "2.0" version: "0.1.1" synopsis: "Higher-level wrappers for Cocoa APIs" diff --git a/camlkit.opam b/camlkit.opam index 5f0282cc..dec83ec9 100644 --- a/camlkit.opam +++ b/camlkit.opam @@ -1,4 +1,3 @@ -# This file is generated by dune, edit dune-project instead opam-version: "2.0" version: "0.1.1" synopsis: "Higher-level wrappers for Cocoa APIs" diff --git a/dune-project b/dune-project index eb65324f..5b521029 100644 --- a/dune-project +++ b/dune-project @@ -14,8 +14,8 @@ (package (name camlkit-base) - (synopsis "OCaml bindings to the Objective-C runtime and Foundation framework") - (description "OCaml bindings to the Objective-C runtime and Foundation framework") + (synopsis "OCaml bindings to the Objective-C runtime and some base frameworks") + (description "OCaml bindings to the Objective-C runtime and some base frameworks") (depends ocaml dune @@ -49,8 +49,8 @@ (package (name camlkit-base-ios) - (synopsis "OCaml bindings to the Objective-C runtime and Foundation framework") - (description "OCaml bindings to the Objective-C runtime and Foundation framework") + (synopsis "OCaml bindings to the Objective-C runtime and some base frameworks") + (description "OCaml bindings to the Objective-C runtime and some base frameworks") (allow_empty) (depends ocaml