This article has multiple issues. Please help improve it or discuss these issues on the talk page. (Learn how and when to remove these messages)
|
GNUstep is a free software implementation of the Cocoa (formerly OpenStep) Objective-C frameworks, widget toolkit, and application development tools for Unix-like operating systems and Microsoft Windows. It is part of the GNU Project.
Developer(s) | GNUstep Developers |
---|---|
Stable release | make 2.9.2, base 1.30.0, gui 0.31.1, back 0.31.0
/ June 6, 2024 |
Preview release | on the GitHub software repository
|
Repository | |
Written in | Objective-C |
Operating system | Cross-platform |
Type | Widget toolkit |
License | GNU General Public License for the applications GNU Lesser General Public License for the libraries. |
Website | gnustep |
GNUstep features a cross-platform, object-oriented IDE. Apart from the default Objective-C interface, GNUstep also has bindings for Java, Ruby,[1] GNU Guile and Scheme.[2] The GNUstep developers track some additions to Apple's Cocoa to remain compatible. The roots of the GNUstep application interface are the same as the roots of Cocoa: NeXTSTEP and OpenStep. GNUstep thus predates Cocoa, which emerged when Apple acquired NeXT's technology and incorporated it into the development of the original Mac OS X, while GNUstep was initially an effort by GNU developers to replicate the technically ambitious NeXTSTEP's programmer-friendly features.
History
editGNUstep began when Paul Kunz and others at Stanford Linear Accelerator Center wanted to port HippoDraw from NeXTSTEP to another platform. Instead of rewriting HippoDraw from scratch and reusing only the application design, they decided to rewrite the NeXTSTEP object layer on which the application depended. This was the first version of libobjcX. It enabled them to port HippoDraw to Unix systems running the X Window System without changing a single line of their application source. After the OpenStep specification was released to the public in 1994, they decided to write a new objcX which would adhere to the new APIs. The software would become known as "GNUstep".[3]
Software architecture
editThe Foundation Kit provides basic classes such as wrapper classes and data structure classes. The Application Kit provides classes oriented around graphical user interface capabilities. GNUstep contains a set of graphical control elements written in the Objective-C programming language.
The graphical user interface (GUI) of GNUMail is composed of graphics control elements. GNUMail has to interact with the windowing system, e.g. X11 or Wayland, and its graphical user interface has to be rendered. GNUstep's backend provides a small set of functions used by the user interface library to interface to the actual windowing system. It also has a rendering engine which emulates common Postscript functions. The package gnustep-back provides the following backends:
- cairo – default backend using the Cairo 2D graphics library.
- winlib – default backend on Microsoft Windows systems. Cairo and Windows API variants.
- art – old (deprecated) backend on unix-like systems. Uses the vector-based PostScript-like 2D graphics library Libart.
- xlib – old (deprecated) X11 backend.
GNUstep inherits some design principles proposed in OPENSTEP (GNUstep predates Cocoa, but Cocoa is based on OPENSTEP) as well as the Objective-C language.
- Model–view–controller paradigm
- Target–action
- Drag-and-drop
- Delegation
- Message forwarding (through NSInvocation)
In addition to the Objective-C interface, some small projects under the GNUstep umbrella implement other APIs from Apple:
- The Boron library aims to implement the Carbon API. It is very incomplete.
- The CoreBase library is designed to be compatible with Core Foundation. It is not complete enough for the Base (Foundation Kit) component to simply be a wrapper around it.
- The QuartzCore library implements Core Animation APIs. The Opal library implements Quartz 2D.
As of February 2020[update], there are no projects that build the Swift programming language against the GNUstep Objective-C environment.
Applications
editHere are some examples of applications written for or ported to GNUstep.
Original
edit- Addresses, an address/contacts manager
- Étoilé, a desktop environment
- GNUMail, an e-mail client
- GNUstep Database Library 2, an Enterprise Objects Framework clone
- GNUstepWeb, an application server compatible with WebObjects 4.x
- Gorm, a user interface builder application, and part of the developer tools of GNUstep. Gorm is the equivalent of Interface Builder that was originally found on NeXTSTEP, then OPENSTEP, and finally on Mac OS X. It supports the old .nib files as well as its own .gorm file format.
- GWorkspace, a workspace and file manager
- Grr, an RSS feed reader
- Oolite, a clone of Elite, a space simulation game with trading components
- PRICE, imaging application
- ProjectCenter, the Project Builder or Xcode equivalent.
- TalkSoup, an IRC client
- Terminal
- Zipper, a file archiver tool
- Window Maker is a window manager that emulates NeXTSTEP's GUI as an OpenStep-compatible environment.[4] It was launched in 1997 as an improved take on AfterStep's design.[5]
Ported from NeXTSTEP, OPENSTEP, or macOS
edit- Adun
- BioCocoa
- Chess
- Cenon
- DoomEd
- EdenMath
- Eggplant
- Emacs
- Fortunate
- Gomoku
- NeXTGO
- PikoPixel
- TextEdit
- TimeMon
Forks of GNUstep
edit- Universal Windows Platform, which includes a WinObjC suite consisting of various parts of GNUstep and Microsoft's own implementations of things like the Cocoa Touch API.[6]
See also
edit- Darling (software), a compatibility layer that relies on GNUstep
- GNUstep fat bundle
- GNUstep Renaissance, framework for XML description of portable GNUstep/Mac OS X user interfaces
- Miller Columns, the method of file tree browsing the GWorkspace File Viewer uses
- Property list, often-used file format to store user settings
- StepTalk, scripting framework
References
edit- ^ "GNUstep Developer Tools - RIGS". www.gnustep.org. Retrieved 10 April 2018.
- ^ GScheme Archived 2005-12-18 at the Wayback Machine
- ^ "GNUstep History". gnustep.made-it.com. Retrieved 10 April 2018.
- ^ "Window Maker Live: Cool Retro Look, Even Cooler Performance". LinuxInsider. August 28, 2017.
- ^ "The best old-school Linux window managers that still hold up". ZDNET. 1 October 2024.
- ^ "GNUstep Objective-C Runtime 2.0". GitHub.
Note: Microsoft's WinObjC project contains a friendly fork of this library that includes a work around for the incremental linking issue.