Web Analytics

Technically Impossible

Lets look at the weak link in your statement. Anything "Technically Impossible" basically means we haven't figured out how yet.

GNUstep on Ubuntu 20.04 LTS + WSL2

f:id:espio999:20220130005829p:plain

Abstract

MacLinuxだった」("Mac was Linux") was one hot topic on the net this week.*1 In such topic, there is no reason that NeXT is not treated.

Sometime, NeXTSTEP is called as OS, which was the foundation of OSX, and other time, it is called as development environment and framework without kernel. Especially, the later was packaged as OPENSTEP and released for UNIX as Solaris, and Windows NT.
Later, OPENSTEP was made open-source as GNUstep, the GNU project. And this project is still alive.

As OPENSTEP was released for Windows, GNUstep supports Windows with MinGW. But now, there is WSL and easily install to it pretty easily.

Reference

www.gnustep.org

Prerequisite

Installation process in this post is based on following environment.

In case of WSL, following steps should be completed in advance of the installation process. This post doesn't treat with them.

  • Install of WSL2 and Ubuntu 20.04 LTS and X server
  • Set user and password in Ubuntu

The next post may help for X server.
impsbl.hatenablog.jp

Install packages

The next commands is for minimum installation. GNUstep depends on Windows Maker as window manager. Its package "wmaker" is automatically installed with "gnustep".

sudo apt update -y
sudo apt upgrade -y
sudo apt install gnustep -y

packages.ubuntu.com

Install other packages as libraries and documents as followings, if required.

packages.ubuntu.com

Following packages are development environment.

  • gorm.app
  • projectcetner.app
sudo apt install projectcenter.app gorm.app -y --fix-missing

GWorkspace

Check X server is running, and start Window Maker with the next command.

wmaker

f:id:espio999:20220130005904p:plain

Chest box menu pops up with right clicking on its desktop. This corresponds in Mac and Windows as

Desktop Application
Windows Start menu File menu
Mac Apple menu Menu bar

This is the NeXTSTEP-like GUI. And the another GUI is prepared for GNUstep as application, "Gworkspace". Following the menu below, the other desktop is rendered as the top of this post.
It would be found that the display format of OSX file manger is came from NeXT.

Applications > System > GWorkspace

f:id:espio999:20220130010049p:plain
f:id:espio999:20220130005829p:plain

Development

GNUStep has development environment below.

ProjectCenter IDE
Gorm GUI builder

They are automatically added in the chest box on Window Maker. In GWorkspace, they must run from the menu as

Tools > Run
enter "ProjectCenter" or "Gorm"

In the attached photo, creating a new project named "app1", and press the OK button, a folder and files are automatically generated.

f:id:espio999:20220130133622j:plain
f:id:espio999:20220130133631j:plain

In Gorm, open file of "app1" from ProjectCenter, objects in the project is listed and its attributes are indicated on Inspector.
And design application GUI with GUI parts.
f:id:espio999:20220130133639j:plain
f:id:espio999:20220130133646j:plain

Off topic: Sony and UNIX

Sony also have dealt with UNIX workstation before.*2 And it has OS called "NEWS-OS", which is System V UNIX.
In 2000s, Sony adopted GNUstep as the foundation of their consumer electronics platform called SNAP (Sony Networked Application Platform). But this idea was abandoned.

As hardware released by Microsoft is following the old line-up of Sony*3, Apple is also following Sony's idea as bringing UNIX to consumer electronics.
Sony in 2000s has no strong cooperation among their product divisions and their software implementation is also weak. Even if Sony promoted their idea, they would not have had big success as Apple in present.

ascii.jp
blog.msmhrt.jp
toshi3.cocolog-nifty.com