DEADSOFTWARE

synchronized with https://github.com/aixp/BlackBox
authorAlexander Shiryaev <aixp@mail.ru>
Mon, 14 Nov 2016 03:52:20 +0000 (06:52 +0300)
committerAlexander Shiryaev <aixp@mail.ru>
Mon, 14 Nov 2016 03:52:20 +0000 (06:52 +0300)
BlackBox/_FreeBSDLinuxOpenBSD_/run-BlackBox [moved from BlackBox/_Linux_/run-BlackBox with 97% similarity]
BlackBox/_FreeBSDLinuxOpenBSD_/run-BlackBox1 [new file with mode: 0755]
BlackBox/export
BlackBox/run-dev0
BlackBox/switch-target

similarity index 97%
rename from BlackBox/_Linux_/run-BlackBox
rename to BlackBox/_FreeBSDLinuxOpenBSD_/run-BlackBox
index d08d281cb8e4e6048fa1078161b1ce24c5e8babc..d905f27646c34d18c12d2dcdf6e1cb17023fb849 100755 (executable)
@@ -16,7 +16,7 @@ unset GTK_MODULES
 export LIBOVERLAY_SCROLLBAR=0
 
 # export LD_DEBUG=all
-env \
+exec env \
        BB_PRIMARY_DIR="${pd}" BB_SECONDARY_DIR="${sd}" \
        BB_PACKED_NAME="${lib}" \
        "${pd}"/${loader} "${pd}"/${lib}
diff --git a/BlackBox/_FreeBSDLinuxOpenBSD_/run-BlackBox1 b/BlackBox/_FreeBSDLinuxOpenBSD_/run-BlackBox1
new file mode 100755 (executable)
index 0000000..fecfb4b
--- /dev/null
@@ -0,0 +1,21 @@
+#!/bin/sh
+
+# ulimit -s 32000
+# ulimit -a
+
+rn=`readlink -f "${0}"`
+pd=`dirname "${rn}"`
+sd=`readlink -f .`
+
+exe="BlackBox1.run"
+
+# fix Ubuntu-specific problems:
+unset UBUNTU_MENUPROXY
+unset GTK_MODULES
+export LIBOVERLAY_SCROLLBAR=0
+
+# export LD_DEBUG=all
+exec env \
+       BB_PRIMARY_DIR="${pd}" BB_SECONDARY_DIR="${sd}" \
+       BB_PACKED_NAME="${exe}" \
+       "${pd}"/${exe}
index 7dbe714baa6b3694bd17f4becb7ee396499ea525..1c591a0ff5fa4e8ea0375afec4ce194a24199693 100755 (executable)
@@ -4,7 +4,7 @@ if [ $# -eq 1 ]; then
        outDir="${1}"
        if [ ! -e "${outDir}" ]; then
                mkdir "${outDir}"
-               pax -r -w -L `ls -p | grep -E "^[A-Z].+\/$" | grep -v "^${outDir}\/$"` libBB.so loader run-BlackBox blackbox* BlackBox* "${outDir}"
+               pax -r -w -L -s ',^Lin/Mod/gen-.*,,' -s ',^Lin/Rsrc.*,,' `ls -p | grep -E "^[A-Z].+\/$" | grep -v "^${outDir}\/$"` libBB.so loader run-BlackBox BlackBox1.run run-BlackBox1 blackbox* BlackBox* "${outDir}"
        else
                echo "${outDir}: already exists"
                exit 2
index 486e03636d0c140ad786d71b664338d1e3e63ba9..c32d608c1b9d9a4d348647efb49b73ed3d404542 100755 (executable)
@@ -11,7 +11,7 @@ loader="loader"
 lib="libBB0.so"
 
 # export LD_DEBUG=all
-env \
+exec env \
        BB_PRIMARY_DIR="${pd}" BB_SECONDARY_DIR="${sd}" \
        BB_PACKED_NAME="${lib}" \
        "${pd}"/${loader} "${pd}"/${lib}
index 92fbc9cb1d418dd43801f86940a08c2cff904fec..f94de7028a665ee2e303b75318e3f43c7df88534 100755 (executable)
@@ -16,7 +16,7 @@ checkAndRm () {
 none() {
        checkAndRm || exit 2
 
-       rm -rf *.exe *.so loader
+       rm -rf *.exe *.so loader BlackBox1.run
 #              System/Code/Kernel.ocf System/Sym/Kernel.osf Code/Kernel.ocf Sym/Kernel.osf \
 #              System/Code/Init.ocf System/Sym/Init.osf Code/Init.ocf Sym/Init.osf \
 #              System/Code/Config.ocf System/Sym/Config.osf Code/Config.ocf Sym/Config.osf \