aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-08-26 19:08:41 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-08-26 19:08:41 +0700
commit8d10df3c86cb88e433a951fcdb00bf00350b1efe (patch)
treea72af038e914e424dae7d34d78e4bfa1a68ab3f2
parentbb72a81e6c3bffabbff6b6fc753ccf2af5a85078 (diff)
development/qb64: Add Missing files.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--development/qb64/qb64-launcher40
-rw-r--r--development/qb64/qb64.144
-rw-r--r--development/qb64/qb64.pngbin0 -> 6847 bytes
3 files changed, 84 insertions, 0 deletions
diff --git a/development/qb64/qb64-launcher b/development/qb64/qb64-launcher
new file mode 100644
index 000000000000..ae311f62cab3
--- /dev/null
+++ b/development/qb64/qb64-launcher
@@ -0,0 +1,40 @@
+#!/bin/sh
+
+DEST="$HOME/.config/qb64-2.1"
+if [ ! -d $DEST ]
+then
+ notify-send "Setting up $DEST workspace for first run, please be patient..."
+ CWD=`pwd`
+ mkdir -p $DEST
+ cd $DEST
+ tar xvfz /usr/src/qb64-2.1/qb64-2.1.tar.gz --strip-components=1
+ pushd internal/c/libqb/os/lnx >/dev/null
+ rm -f libqb_setup.o
+ ./setup_build.sh
+ popd >/dev/null
+ pushd internal/c/parts/video/font/ttf/os/lnx >/dev/null
+ rm -f src.o
+ ./setup_build.sh
+ popd >/dev/null
+ pushd internal/c/parts/core/os/lnx >/dev/null
+ rm -f src.a
+ ./setup_build.sh
+ popd >/dev/null
+ cp -r ./internal/source/* ./internal/temp/
+ pushd internal/c >/dev/null
+ g++ -no-pie -w qbx.cpp libqb/os/lnx/libqb_setup.o parts/video/font/ttf/os/lnx/src.o parts/core/os/lnx/src.a -lGL -lGLU -lX11 -lpthread -ldl -lrt -D FREEGLUT_STATIC -o ../../qb64
+ popd
+ rm -rf .ci
+ rm -rf .github
+ rm -rf .gitignore
+ rm -rf .vscode/
+ rm -rf build.bat
+ rm -rf reset.cmd
+ rm -rf setup_*
+ rm -rf findcurl.cmd
+ rm -rf qb64.1
+ rm -rf run_qb64.sh
+ ln -s /usr/bin/qb64-launcher run_qb64.sh
+ cd $CWD
+fi
+$DEST/qb64 "$@" &
diff --git a/development/qb64/qb64.1 b/development/qb64/qb64.1
new file mode 100644
index 000000000000..2d41e1baeac4
--- /dev/null
+++ b/development/qb64/qb64.1
@@ -0,0 +1,44 @@
+.TH qb64 "1" "November 2018" "QB64 IDE AND COMPILER" "User Commands"
+.SH NAME
+qb64 \- manual page for QB64
+.SH DESCRIPTION
+QB64 COMPILER
+.PP
+USAGE: qb64 [switches] <file>
+.SS "OPTIONS:"
+.TP
+<file>
+Source file to load
+.TP
+\fB\-v\fR
+Verbose mode (detailed warnings)
+.TP
+\fB\-c\fR
+Compile instead of edit
+.TP
+\fB\-x\fR
+Compile instead of edit and output the result to the
+console
+.TP
+\fB\-p\fR
+Purge all pre\-compiled content first
+.TP
+\fB\-z\fR
+Generate C code without compiling to executable
+.TP
+\fB\-o\fR <output file>
+Write output executable to <output file>
+.TP
+\fB\-e\fR
+Enables OPTION _EXPLICIT, making variable declaration
+mandatory (per\-compilation; doesn't affect the
+source file or global settings)
+.TP
+\fB\-s[\fR:switch=true/false]
+View/edit compiler settings
+.TP
+\fB\-l\fR:<line number>
+Starts the IDE at the specified line number
+.PP
+.SH "INTERNET"
+.B https://qb64.com/
diff --git a/development/qb64/qb64.png b/development/qb64/qb64.png
new file mode 100644
index 000000000000..cd75bbcf18ca
--- /dev/null
+++ b/development/qb64/qb64.png
Binary files differ