Dosemu: fix deskbar symlink and app icon

This commit is contained in:
PulkoMandy
2025-06-29 15:26:32 +02:00
parent ceec2d09ed
commit 1e521b277a
2 changed files with 31 additions and 4 deletions

View File

@@ -8,7 +8,7 @@ SOURCE_URI="https://github.com/dosemu2/dosemu2/archive/851953056a3b5efa1ebda72b7
SOURCE_DIR="dosemu2-851953056a3b5efa1ebda72b712aec76c91dc0a5"
CHECKSUM_SHA256="78a48b0fc332f74ff9fbc07643d24a7370a237f8ecd776847771e82df82e5eb4"
PATCHES="$portVersionedName.patchset"
REVISION="7"
REVISION="8"
ADDITIONAL_FILES="dosemu.rdef.in"
ARCHITECTURES="all !x86_gcc2"
@@ -93,7 +93,7 @@ BUILD()
runConfigure ./default-configure --disable-searpc
make $jobArgs OBJ_DIR=objects
addResourcesToBinaries dosemu.rdef 2.0-pre9/bin/dosemu
addResourcesToBinaries dosemu.rdef 2.0-pre9/bin/dosemu2.bin
}
INSTALL()
@@ -114,5 +114,6 @@ INSTALL()
packageEntries sdl \
$libDir/dosemu/libplugin_sdl.so \
$dataDir/fonts/oldschool
$dataDir/fonts/oldschool \
$dataDir/deskbar
}

View File

@@ -1,4 +1,4 @@
From 22b5aba470fa5c65425b2aec59c6a747c1e60951 Mon Sep 17 00:00:00 2001
From 9fb38e359a50186860da569a373b222340b85f67 Mon Sep 17 00:00:00 2001
From: PulkoMandy <pulkomandy@pulkomandy.tk>
Date: Sat, 21 Jun 2025 20:21:15 +0200
Subject: Get it to build on Haiku
@@ -175,3 +175,29 @@ index 21bbe0a..fe91b05 100644
--
2.48.1
From f5ccc8d0f264e2265037fead1f30c52e95987436 Mon Sep 17 00:00:00 2001
From: PulkoMandy <pulkomandy@pulkomandy.tk>
Date: Tue, 24 Jun 2025 23:08:16 +0200
Subject: Autostart SDL GUI when not run from Terminal
diff --git a/src/dosemu b/src/dosemu
old mode 100644
new mode 100755
index f5aa289..23bad62
--- a/src/dosemu
+++ b/src/dosemu
@@ -199,6 +199,9 @@ SUFFIX="$SUFFIX $*"
[ -z "$DOSEMU_QUIET" ] || OPTS="$OPTS -q"
[ -z "$DOSEMU_LOG_FILE" ] || LOG_FILE="$DOSEMU_LOG_FILE"
+# Force use of SDL if not starting from terminal
+[ "dumb" == "$TERM" ] && OPTS="$OPTS -S"
+
[ -n "$LOG_FILE" ] || LOG_FILE=~/.dosemu/boot.log
MAX_LOGS=3
--
2.48.1