BSD Ports

devel/ruby-corefoundation 0.3.19 NetBSD

Ruby wrapper for macOS Core Foundation framework

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
6ea245993a
License
mit
Categories
devel, ruby
Package size
30.7 KiB, 92.3 KiB installed

Description

CoreFoundation

FFI based wrappers for a subset of core foundation: various bits of CFString, CFData, CFArray, CFDictionary are available.

Although the CF collection classes can store arbitrary pointer sized values this wrapper only supports storing CFTypes.

The CF namespace has the raw FFI generated method calls but it's usually easier to use the wrapper classes: CF::String, CF::Date, CF::Array, CF::Dictionary, CF::Boolean which try to present a rubyish view of the world (for example CF::Array implements Enumerable).

These implement methods for creating new instances from ruby objects (eg CF::String.from_string("hello world")) but you can also pass build them from an FFI::Pointer).

Install

Binary package:

pkgin install ruby33-corefoundation

From pkgsrc:

cd /usr/pkgsrc/devel/ruby-corefoundation && make install clean

Dependencies

Run dependencies 2
Required by 1

Configuration

No options to configure.

Service scripts
none
Flavors
ruby34-corefoundation-0.3.19, ruby40-corefoundation-0.3.19

Commit history 1

DateCommitCreditsLog message
6ea245993a taca devel/ruby-corefoundation: update to 0.3.19
0.3.19 (2026-06-30) * Update chefstyle requirement from = 2.2.1 to = 2.2.2 #38 (dependabot[bot]) * ruby 3.4 upgrade #42 (rishichawda) * Add GitHub Security Actions Workflow #43 (sean-sype-simmons) * set up ai assisted development workflow #47 (rishichawda) * Update Copilot instructions with AI compliance workflow #49 (rishichawda) * fix preferences sync call #52 (rishichawda)