Ivan Denisov 2 лет назад
Родитель
Сommit
c01d012429

BIN
Dev/Mod/Linker1.odc


BIN
Fbsd/Console.odc


BIN
Fbsd/Docu/Build-Tool.odc


BIN
Fbsd/Mod/Backends.odc


BIN
Fbsd/Mod/Clipboard.odc


BIN
Fbsd/Mod/Config.odc


BIN
Fbsd/Mod/Console.odc


BIN
Fbsd/Mod/Dates.odc


BIN
Fbsd/Mod/Dialog.odc


BIN
Fbsd/Mod/Fonts.odc


BIN
Fbsd/Mod/GdkPixbuf.odc


BIN
Fbsd/Mod/Gtk2Gdk.odc


BIN
Fbsd/Mod/Gtk2Gtk.odc


BIN
Fbsd/Mod/Gtk2Keysyms.odc


BIN
Fbsd/Mod/Gtk2Pango.odc


BIN
Fbsd/Mod/Gtk2Util.odc


BIN
Fbsd/Mod/Gui.odc


BIN
Fbsd/Mod/Init.odc


BIN
Fbsd/Mod/IntDialog.odc


BIN
Fbsd/Mod/IntInit.odc


BIN
Fbsd/Mod/Lang.odc


BIN
Fbsd/Mod/Mechanisms.odc


BIN
Fbsd/Mod/PackedFiles.odc


BIN
Fbsd/Mod/Ports.odc


BIN
Fbsd/Mod/RastersPng.odc


BIN
Fbsd/Mod/Registry.odc


BIN
Lin/Docu/Build-Tool.odc


BIN
Lin/Mod/Cmds.odc


BIN
Lin/Mod/Init.odc


BIN
Obsd/Docu/Build-Tool.odc


BIN
Obsd/Mod/Cmds.odc


BIN
Obsd/Mod/Console.odc


BIN
Obsd/Mod/Dates.odc


BIN
Obsd/Mod/Gtk2Gtk.odc


BIN
Obsd/Mod/Init.odc


+ 9 - 9
README.md

@@ -2,17 +2,18 @@ BlackBox Component Builder for Windows, GNU/Linux, OpenBSD, FreeBSD
 
 Tested on:
 * Windows XP, 7, 10, 11
-* OpenBSD 6.6
-* Fedora Core 17
 * Ubuntu 16.04/18.04/20.04 LTS
-* Debian 9.3, 9.4, 10.4 Xfce/Mate/GNOME/Cinnamon
 * Linux Mint 19.1/19.2/19.3/20 Cinnamon
+* Debian 9.3, 9.4, 10.4 Xfce/Mate/GNOME/Cinnamon
+* Alt Education 9.1
+* OpenBSD 6.8
+* Fedora Core 17
 * CentOS 8
 * Arch Linux 4.9.6
 * Manjaro Linux 18.0.4, 21.2.0
 * Red Hat Enterprise Linux Server 6.3
 * FreeBSD 12.1
-* Alt Education 9.1
+
 
 Download: https://blackbox.oberon.org/download
 
@@ -23,13 +24,11 @@ Installation of required packages in Debian-based systems:
 
 		apt-get install i586-libgtk+2-devel.32bit
 
-	Ubuntu 18/20 LTS, Mint 19/20:
+	Ubuntu 20/22 LTS, Mint 20/22:
 
 		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.
+		sudo apt install libgtk2.0-0:i386 gtk2-engines:i386 gtk2-engines-murrine:i386 libcanberra-gtk-module:i386
 
 	Debian 9.X/10.X GNOME/Xfce/KDE
 
@@ -47,8 +46,9 @@ Installation of required packages in Debian-based systems:
 
 To build BlackBox:
 
-	./build-linux
 	./build-windows
+	./build-linux
+	./build-obsd
 
 To run GUI:
 

BIN
Std/Mod/Cmds.odc


BIN
System/Mod/Kernel.odc


BIN
System/Rsrc/Menus.odc



BIN
blackboxInterpFbsd


+ 27 - 0
build-fbsd

@@ -0,0 +1,27 @@
+#!/bin/sh
+
+echo "compiling"
+echo
+
+./run-dev0 <<DATA
+DevCompiler.CompileSubs Fbsd System Std Cons Text Form Dev Comm Fig Obx
+Kernel.Quit(0)
+DATA
+
+echo
+echo "linking gui"
+echo
+
+./run-dev0 <<DATA
+DevLinker1.LinkElfExe FreeBSD blackbox := Kernel$+ Utf FbsdKernel Files FbsdEnv FbsdFiles FbsdGui StdLoader FbsdLoader
+Kernel.Quit(0)
+DATA
+
+echo
+echo "linking interp"
+echo
+
+./run-dev0 <<DATA
+DevLinker1.LinkElfExe FreeBSD blackboxInterp := Kernel$+ Utf FbsdKernel Files FbsdEnv FbsdFiles StdLoader FbsdIntLoader
+Kernel.Quit(0)
+DATA


+ 7 - 0
pack-dev0fbsd

@@ -0,0 +1,7 @@
+#!/bin/sh
+
+./blackboxInterp <<DATA
+DevLinker1.LinkElfExe FreeBSD dev0fbsd := Kernel$+ Utf FbsdKernel Files FbsdEnv FbsdFiles FbsdPackedFiles StdLoader FbsdIntLoader
+DevPacker.PackThis dev0fbsd := Fbsd/Code/IntInit.ocf Fbsd/Code/Console.ocf System/Code/Console.ocf Std/Code/Registry.ocf Fbsd/Code/Registry.ocf Fbsd/Code/Lang.ocf System/Code/Dialog.ocf Cons/Code/Fonts.ocf System/Code/Fonts.ocf Cons/Code/Windows.ocf System/Code/Windows.ocf System/Code/Ports.ocf System/Code/Services.ocf System/Code/Stores.ocf System/Code/Strings.ocf System/Code/Math.ocf System/Code/Sequencers.ocf System/Code/Models.ocf System/Code/Views.ocf System/Code/Log.ocf System/Code/Converters.ocf System/Code/Meta.ocf System/Code/Controllers.ocf System/Code/Properties.ocf System/Code/Containers.ocf System/Code/Mechanisms.ocf System/Code/Documents.ocf System/Code/Dates.ocf System/Code/Printers.ocf System/Code/Printing.ocf Fbsd/Code/Dates.ocf Fbsd/Code/IntDialog.ocf Std/Code/Interpreter.ocf Std/Code/Dialog.ocf System/Code/Librarian.ocf Std/Code/Log.ocf Text/Code/Models.ocf Text/Code/Mappers.ocf Text/Code/Rulers.ocf Text/Code/Views.ocf Text/Code/Setters.ocf Text/Code/Controllers.ocf Cons/Code/Log.ocf Cons/Code/Interp.ocf Dev/Code/Commanders.ocf System/Code/Controls.ocf Std/Code/CFrames.ocf Dev/Code/Compiler.ocf Dev/Code/Markers.ocf Dev/Code/Selectors.ocf Dev/Code/CPM.ocf Dev/Code/CPT.ocf Dev/Code/CPB.ocf Dev/Code/CPP.ocf Dev/Code/CPS.ocf Dev/Code/CPE.ocf Dev/Code/CPV486.ocf Dev/Code/CPH.ocf Dev/Code/CPL486.ocf Dev/Code/CPC486.ocf Std/Code/TextConv.ocf Dev/Code/Linker.ocf Cons/Code/Compiler.ocf Std/Code/Api.ocf Std/Code/Cmds.ocf Std/Code/Links.ocf Dev/Code/Linker1.ocf Dev/Code/LnkBase.ocf Fbsd/Code/Chmod.ocf Dev/Code/LnkLoad.ocf Dev/Code/LnkWriteElf.ocf Dev/Code/LnkWriteElfStatic.ocf Dev/Code/LnkWritePe.ocf
+Kernel.Quit(0)
+DATA

+ 2 - 0
run-dev0

@@ -12,6 +12,8 @@ if [ "$os" = "Linux" ]; then
     exe="dev0lin"
 elif [ "$os" = "OpenBSD" ]; then
     exe="dev0obsd"
+elif [ "$os" = "FreeBSD" ]; then
+    exe="dev0fbsd"
 else
     echo "unsupported OS"
 fi