BlackBox Component Builder for Windows, GNU/Linux, OpenBSD, FreeBSD

Tested on:
* Windows XP, 7, 10
* OpenBSD 6.6
* Fedora Core 17
* Ubuntu 16.04 LTS, 18.04 LTS
* Debian 9.3, 9.4 Xfce/Mate/GNOME/Cinnamon
* Linux Mint 19.1/19.2/19.3/20 Cinnamon
* CentOS 8
* Arch Linux 4.9.6, Manjaro Linux 18.0.4
* Red Hat Enterprise Linux Server 6.3
* FreeBSD 12.1
* Alt Education 9.1

Download: https://blackbox.oberon.org/download

Directories structure:

	BlackBox/
		universal development environment for Component Pascal programming language
	BlackBox/_*
		platform-specific files

	dev/
		files for continuous integration system & technical notes for framework developers

	examples/
		append/  - append string to .odc file
		encoder/ - encoding subsystems by StdCoder from the command line
		server/  - static web-server

Prepare BlackBox from repository on Windows:

	copy _Windows_, _Windows_GUI and __GUI content to the BlackBox directory
	remove other directories starting with "_"
	run build.bat


Installation of required packages in Debian-based systems:

	For Alt Education 9.1

		apt-get install i586-libgtk+2-devel.32bit

	Ubuntu 18.04 LTS Bionic Beaver / Linux Mint 19.X:

		sudo dpkg --add-architecture i386
		sudo apt update
		sudo apt install libgtk2.0-0:i386 gtk2-engines:i386 gtk2-engines-murrine:i386 libcanberra-gtk-module:i386 gnome-themes-extra:i386

	Linux Mint 20 has no package 'gnome-themes-extra:i386', it can be safly ignored. There will be warning in console.

	Debian 9.X GNOME/Xfce/KDE

		sudo dpkg --add-architecture i386
		sudo apt update
		sudo apt install libgtk2.0-0:i386 gtk2-engines:i386 gtk2-engines-murrine:i386 libcanberra-gtk-module:i386 gtk2-engines-pixbuf:i386 libatk-adaptor:i386 libgail-common:i386 gnome-themes-standard:i386

	Ubuntu 16.04 LTS i386:

		sudo apt-get install libgtk2.0-0 gtk2-engines gtk2-engines-murrine libcanberra-gtk-module gnome-icon-theme-full

	Ubuntu 16.04 LTS amd64:

		sudo dpkg --add-architecture i386
		sudo apt-get update
		sudo apt-get install libgtk2.0-0:i386 gtk2-engines:i386 gtk2-engines-murrine:i386 libcanberra-gtk-module:i386 gnome-icon-theme-full


	Arch-based systems amd64:

		sudo pacman -S multilib/lib32-gtk2

In OpenBSD use 'wxallowed' flag in mount options for the partition to start BlackBox from.



To build BlackBox:

	cd BlackBox
	./switch-target `uname -s` GUI
	./build

To run BlackBox (after build):

	./run-BlackBox

for Linux version also you can run

	./blackbox

To create BlackBox framework assembly (after build):

	./export <outputDirectory>

To clean the BlackBox folder:

	./switch-target none
	./clean

Example: build, create framework assembly and run BlackBox from it:

	cd BlackBox
	./switch-target `uname -s` GUI
	./build
	./export ../`uname -s`_GUI
	./switch-target none
	./clean
	cd ../`uname -s`_GUI
	./run-BlackBox

Authors:
* Oberon microsystems AG
* BlackBox Framework Center
* Alexander V. Shiryaev
* Igor A. Dehtyarenko
* Ivan A. Denisov
* Anton A. Dmitriev

