1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Rename to Luanti (#15294)

The new header intentionally isn't in MTG stone design (or any other MTG-esque design), since we want to distance Luanti and MTG from each other. The font "undefined medium" (https://undefined-medium.com/) was used. 

ASCII art generated by https://patorjk.com/software/taag/#p=display&f=Graffiti&t=luanti
https://github.com/minetest/minetest/pull/11952#issuecomment-1013364703

---------

Co-authored-by: sfan5 <sfan5@live.de>
This commit is contained in:
grorp 2024-10-27 14:04:51 +01:00 committed by GitHub
parent b7073df68c
commit 4b90e582b4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
118 changed files with 206 additions and 179 deletions

View file

@ -36,7 +36,7 @@ read_versions() {
fi
CURRENT_VERSION="$VERSION_MAJOR.$VERSION_MINOR.$VERSION_PATCH"
echo "Current Minetest version: $CURRENT_VERSION"
echo "Current Luanti version: $CURRENT_VERSION"
}
# Retrieves protocol version from header
@ -148,7 +148,7 @@ back_to_devel() {
# Start of main logic:
#######################
# Switch to top minetest directory
# Switch to top luanti directory
cd ${0%/*}/..
# Determine old versions

View file

@ -1,7 +1,7 @@
#!/bin/bash
dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
gameid=${gameid:-devtest}
minetest=$dir/../bin/minetest
executable=$dir/../bin/luanti
testspath=$dir/../tests
conf_server=$testspath/server.conf
worldpath=$testspath/world
@ -14,7 +14,7 @@ run () {
fi
}
[ -e "$minetest" ] || { echo "executable $minetest missing"; exit 1; }
[ -e "$executable" ] || { echo "executable $executable missing"; exit 1; }
rm -rf "$worldpath"
mkdir -p "$worldpath/worldmods"
@ -27,4 +27,4 @@ ln -s "$dir/helper_mod" "$worldpath/worldmods/"
args=(--config "$conf_server" --world "$worldpath" --gameid $gameid)
[ -n "$PROFILER" ] && args+=(--verbose)
run "$minetest" --server "${args[@]}"
run "$executable" --server "${args[@]}"

View file

@ -1,12 +1,12 @@
#!/bin/bash
dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
gameid=${gameid:-devtest}
minetest=$dir/../bin/minetest
executable=$dir/../bin/luanti
testspath=$dir/../tests
conf_server=$testspath/server.conf
worldpath=$testspath/world
[ -e "$minetest" ] || { echo "executable $minetest missing"; exit 1; }
[ -e "$executable" ] || { echo "executable $executable missing"; exit 1; }
write_config () {
printf '%s\n' >"$conf_server" \
@ -31,14 +31,14 @@ ln -s "$dir/helper_mod" "$worldpath/worldmods/"
args=(--server --config "$conf_server" --world "$worldpath" --gameid $gameid)
# make sure we can tell apart sanitizer and minetest errors
# make sure we can tell apart sanitizer and luanti errors
export ASAN_OPTIONS="exitcode=42"
export MSAN_OPTIONS="exitcode=42"
# see helper_mod/init.lua for the different types
for n in $(seq 1 4); do
write_config error_type=$n
run "$minetest" "${args[@]}"
run "$executable" "${args[@]}"
echo "---------------"
done

View file

@ -3,7 +3,7 @@
dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
gameid=${gameid:-devtest}
minetest=$dir/../bin/minetest
executable=$dir/../bin/luanti
testspath=$dir/../tests
conf_client1=$testspath/client1.conf
conf_server=$testspath/server.conf
@ -21,7 +21,7 @@ waitfor () {
exit 1
}
[ -e "$minetest" ] || { echo "executable $minetest missing"; exit 1; }
[ -e "$executable" ] || { echo "executable $executable missing"; exit 1; }
rm -f "$testspath/log.txt"
rm -rf "$worldpath"
@ -39,12 +39,12 @@ printf '%s\n' >"$testspath/server.conf" \
ln -s "$dir/helper_mod" "$worldpath/worldmods/"
echo "Starting server"
"$minetest" --debugger --server --config "$conf_server" --world "$worldpath" --gameid $gameid 2>&1 \
"$executable" --debugger --server --config "$conf_server" --world "$worldpath" --gameid $gameid 2>&1 \
| sed -u 's/^/(server) /' | tee -a "$testspath/log.txt" &
waitfor "$worldpath/startup"
echo "Starting client"
"$minetest" --debugger --config "$conf_client1" --go --address 127.0.0.1 2>&1 \
"$executable" --debugger --config "$conf_client1" --go --address 127.0.0.1 2>&1 \
| sed -u 's/^/(client) /' | tee -a "$testspath/log.txt" &
waitfor "$worldpath/done"

View file

@ -1,6 +1,6 @@
#!/bin/sh
# Update/create minetest po files
# Update/create luanti po files
# an auxiliary function to abort processing with an optional error
# message
@ -47,9 +47,9 @@ cd ..
# First thing first, update the .pot template. We place it in the po/
# directory at the top level. You a recent enough xgettext that supports
# --package-name
potfile=po/minetest.pot
potfile=po/luanti.pot
echo "updating pot"
xgettext --package-name=minetest \
xgettext --package-name=luanti \
--add-comments='~' \
--sort-by-file \
--add-location=file \
@ -75,7 +75,7 @@ sed '/^#\. ~<number>.*relative_to/,/^#: /{ /^#: /!d; }' -i $potfile
# Now iterate on all languages and create the po file if missing, or update it
# if it exists already
for lang in $langs ; do # note the missing quotes around $langs
pofile=po/$lang/minetest.po
pofile=po/$lang/luanti.po
if test -e $pofile; then
echo "[$lang]: updating strings"
msgmerge --update --sort-by-file $pofile $potfile