X-Git-Url: https://deadsoftware.ru/gitweb?a=blobdiff_plain;f=README;h=09e7d73534b7901a0403e38902741da66e73faea;hb=c452751a2c29be44614a02c5880a5a6408b0c798;hp=8bc9c167ad8d345311a0e61fa162e37e482e16b5;hpb=80b30d2010c7bbb86db29575493a01cbac1c6fb4;p=bbcp.git diff --git a/README b/README index 8bc9c16..09e7d73 100644 --- a/README +++ b/README @@ -1,51 +1,53 @@ -** Ducumentation (Russian): ** +Directories structure: - http://gitlab.molpit.com/idenisov/blackbox-linux/wikis/home + BlackBox/ + universal development environment based on BlackBox 1.7 + examples/ + encoder/ - encoding BlackBox subsystem by StdCoder from command line interface + fpstest/ - loop and fonts test + server/ - static single-thread web-server -** Folders structure: ** +Installation of required packages in Ubuntu 14.04-16.04 (should work also with other Debian-based OS): -./new/ - universal development environment - synchronized with original BlackBox 1.6 + 32-bit version: + sudo apt-get install libgtk2.0-0 gtk2-engines gtk2-engines-murrine libcanberra-gtk-module + sudo apt-get install libgnomeui-0 gnome-icon-theme-full -./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 - -** Installation ** + 64-bit version: + 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 gnome-icon-theme-full -1. For creating links in development directory run: +To build BlackBox: + cd BlackBox + ./switch-target `uname -s` GUI + ./build - cd ./new - ./README +To run BlackBox (after build): - To start: + ./run-BlackBox + for Linux version also you can run + ./blackbox - ./run-BlackBox +To create BlackBox assembly (after build): -2. For creating assembly for target OS in development directory run: + ./export - cd ./new - ./export (Linux|OpenBSD|FreeBSD) (GUI|) +To clean the BlackBox folder: + ./switch-target none + ./clean - Example for Linux: +Example: build, create assembly and run BlackBox from assembly: + cd BlackBox + ./switch-target `uname -s` GUI + ./build + ./export ../`uname -s`_GUI + ./switch-target none + ./clean + cd ../`uname -s`_GUI + ./run-BlackBox - ./export Linux GUI - - Then: +(c) Alexander V. Shiryaev, Igor A. Dehtyarenko, Ivan A. Denisov - cd ../Linux_GUI - ./build - - To start with .so loader: - - ./run-BlackBox - - To start with .ELF loader - - ./run-BlackBox-2