DEADSOFTWARE

update example for encoding subsystems
authorIvan Denisov <d.ivan.krsk@gmail.com>
Mon, 9 May 2016 08:19:47 +0000 (15:19 +0700)
committerIvan Denisov <d.ivan.krsk@gmail.com>
Mon, 9 May 2016 08:19:47 +0000 (15:19 +0700)
examples/compress/Coder-List.odc [new file with mode: 0755]
examples/compress/README [changed mode: 0644->0755]
examples/compress/Std/Mod/Coder.odc [changed mode: 0644->0755]
examples/compress/System/Mod/Init.odc [changed mode: 0644->0755]
examples/compress/run-dev [deleted file]

diff --git a/examples/compress/Coder-List.odc b/examples/compress/Coder-List.odc
new file mode 100755 (executable)
index 0000000..f7e57f1
Binary files /dev/null and b/examples/compress/Coder-List.odc differ
old mode 100644 (file)
new mode 100755 (executable)
index 19822f0..c93b01e
@@ -1,3 +1,20 @@
-App for edcoding susystems.
+Application for web-service which edcode BlackBox subsystems.
+Used by http://gitlab.molpit.org for processing of repository hooks.
 
-Used with http://gitlab.molpit.com for process repository hooks.
+Author: Ivan Denisov, denisov@molpit.org
+
+Installation for Linux
+
+1. Prepare Interp version of BlackBox in "Linux_Interp" folder:
+       ./switch-target `uname -s` Interp
+       ./build
+       ./export ../Linux_Interp
+
+2. Compile this example:
+       cd ../examples/encoder
+       echo "DevCompiler.CompileThis StdCoder Init" | ./runc
+
+3. For demonstration run:
+       ENCODE_LIST_NAME='Coder-List.odc' ENCODE_LIST_PATH='' ./runc
+
+Output will contain two files encoded by StdCoder: 'Std/Mod/Coder.odc' and 'System/Mod/Init.odc'.
old mode 100644 (file)
new mode 100755 (executable)
old mode 100644 (file)
new mode 100755 (executable)
diff --git a/examples/compress/run-dev b/examples/compress/run-dev
deleted file mode 100755 (executable)
index 50874c1..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-#!/bin/sh
-
-# fix Ubuntu-specific problems:
-unset UBUNTU_MENUPROXY
-unset GTK_MODULES
-export LIBOVERLAY_SCROLLBAR=0
-mv Code Code_
-env \
-  BB_PRIMARY_DIR="../../BlackBox" BB_SECONDARY_DIR="$PWD" \
-../../BlackBox/blackbox