index b1556d7d6b55ea7f89b540e6243301da97ee7c20..2d26f0d8fa54261735a9561288f254c5195d152c 100644 (file)
--- a/README
+++ b/README
-** Ducumentation (Russian): **
+Ducumentation (Russian):
- http://gitlab.molpit.com/idenisov/blackbox-linux/wikis/home
+ http://gitlab.molpit.com/oberon/blackbox-freenix/wikis/home
+Directories structure:
-** Folders structure: **
+ BlackBox/
+ universal development environment
+ synchronized with original BlackBox 1.6
-./new/
- universal development environment
- synchronized with original BlackBox 1.6
+ examples/
+ some outdated examples
+ console/
+ simple console application
+ fpstest/
+ loop test
+ server/
+ static web-server as the example of an application for Linux OS
+
+Installation of required packages:
+
+ if you have 32-bit version of Ubuntu (or other Debian-based OS), do this:
+ sudo apt-get install libgtk2.0-0 gtk2-engines gtk2-engines-murrine libcanberra-gtk-module
+ sudo apt-get install libgnomeui-0
+
+ if you have 64-bit version of Ubuntu (or other Debian-based OS), do this:
+ sudo apt-get install libc6-dev-i386
+ 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
+ sudo apt-get install libgnomeui-0:i386
+
+
+ cd BlackBox
+ ./switch-target `uname -s` GUI
+ ./build
+
+To run BlackBox (after build):
+
+ ./run-BlackBox
+ or
+ ./run-BlackBox-2
+
+To create BlackBox assembly (after build):
+
+ ./export <outputDirectory>
+
+To clean the BlackBox folder:
+ ./switch-target none
+ ./clean
+
+Example: build, create assembly in /tmp, run BlackBox from assembly:
+ cd BlackBox
+ ./switch-target `uname -s` GUI
+ ./build
+ ./export /tmp/BlackBox-`uname -s`
+ ./switch-target none
+ ./clean
+ cd /tmp/BlackBox-`uname -s`
+ ./run-BlackBox
-./examples/ (all axamples are not tested on `new` version yet)
- /server/
- static web-server as the example of an application for Linux OS
- /console/
- simple console application
- /fpstest/
- loop test