After two years of development published project release ravynOS 0.5, a FreeBSD-based operating system aimed at achieving compatibility with macOS applications and providing a macOS-style user experience. Project developments spread under BSD license. Boot size iso image – 869 MB (x86_64).
The stated goals of the project are to achieve compatibility with macOS applications at the level of source texts and executable files. In the first case, it is possible to recompile the code of macOS applications for execution in ravynOS, in the second – embedding changes into the kernel and toolkit to run Mach-O executable files compiled for x86-64 and arm64 architectures. Of the file systems, ZFS and the HFS+ and APFS file systems used in macOS are supported. In addition to the FreeBSD-specific /usr and /usr/local hierarchies, macOS-specific /Library, /System, and /Volumes directories are created. User home directories are located in the /Users hierarchy. Each home directory has a ~/Library subdirectory for applications that use Apple's Cocoa programming interface.
For compatibility with macOS, a partial implementation of the Cocoa and Objective-C runtime programming interface is provided (located in the /System/Library/Frameworks directory), as well as compilers and linkers additionally modified to support them. In addition to the macOS compatibility layer, ravynOS also offers the ability to run Linux applications, based on FreeBSD's Linux emulation infrastructure (Linuxulator).
Applications can be designed as self-contained app packages (App Bundle) in the AppImage format, placed in the /Applications or ~/Applications directories. The programs do not require installation or use of a package manager – just drag and drop and launch the AppImage file. At the same time, support for traditional FreeBSD packages is retained.
The graphical environment is based on our own window serverwhich uses a stripped-down labwc composite server (support for server-side window decoration and themes has been removed), wlroots and the Wayland protocol. graphical Applications can use the Qt and Cocoa frameworks. The interface uses typical macOS concepts, such as a top bar with a global menu, an identical menu structure, keyboard shortcuts, a similar-style Filer file manager, and support for commands such as launchctl and open.
In the new release:
- The base system has been updated to the FreeBSD 15-CURRENT branch. The use of FreeBSD ports has been discontinued – all necessary components have been moved to the system repository.
- The basic structure includes a text editor turbo. Also added cmake, gmake, nasm and GNU binutils.
- The assembly files of the frameworks for Cocoa and Objective-C provide the ability to link objects in subdirectories to simplify the transfer of code from different subdirectories into one library.
- The use of the package repository has been discontinued, but it is still possible to install packages from the FreeBSD repositories into the /usr/local directory using the pkg command.
- Added new build utility build.shwhich simplifies the entire process of assembling the system and creating customizable ISO image loaded in Live mode.
- Added an initial implementation of a graphical Dock panel with a small set of basic icons. It is possible to indicate the launch of programs, place application shortcuts and set the desktop wallpaper in the macOS style. The contents of the panel are currently configured only by editing the plist file in ~/Library/Preferences.
- Added class support NSStatusItemwhich allows Cocoa applications to move menus to a global panel.
Thanks for reading: