From bb5dcbe33e5370f76fbed0f3911e912c63189a56 Mon Sep 17 00:00:00 2001
From: Kubat <mael.martin31@gmail.com>
Date: Sat, 1 Oct 2022 19:52:41 +0200
Subject: [PATCH] MODULE: Remove the SDL2 module

---
 CHANGELOG.md                   | 3 ++-
 README.md                      | 1 +
 inc/lektor/internal/config.def | 6 ------
 3 files changed, 3 insertions(+), 7 deletions(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index 9eed8d37..66ecfcc4 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,6 +1,7 @@
 # Next
 
 - Add: install amadeus-rs as amadeus alongside lektord
+- Add: rework of the databse in rust with diesel
 - Add: add rust code to lektord -> common lib + new repo rs module
 - Add: merge the amadeus-rs prokect into the lektor one
 - Add: add file logging to lektord, the rotate operations are done by lektord to avoid running out of space if someone try to dos lektord...
@@ -39,7 +40,7 @@
 - Change: the CI check if lektor compiles, no binary deployment for now
 - Change: minimal version of Qt is now 6!
 - Remove: delete `KLKT` as it is no longer maintained
-- Remove: get ride of the SDL2 module
+- Remove: Remove SDL2 module for window modules
 
 # v2.4 (752da467)
 
diff --git a/README.md b/README.md
index 984231ce..001b8f52 100644
--- a/README.md
+++ b/README.md
@@ -30,6 +30,7 @@ A Karaoke player made to replace the old bash scripts on Sakura.
 - [cmake](https://cmake.org/) with at least the version 3.17
 - a C compiler with C11 support
 - a C++ compiler with C++20 support (for the Qt6 module)
+- a [rust](https://www.rust-lang.org) compiler with version >= 1.51
 - the [sqlite3](https://www.sqlite.org/) development library, version
   3.31.0 or newer for [generated columns](https://www.sqlite.org/gencol.html) support
 - a POSIX.1-2008 compatible system (for MS Windows, use something like WSL2)
diff --git a/inc/lektor/internal/config.def b/inc/lektor/internal/config.def
index d26bce77..663f1d5b 100644
--- a/inc/lektor/internal/config.def
+++ b/inc/lektor/internal/config.def
@@ -67,14 +67,8 @@ value("plt_json",       "https://kurisu.iiens.net/api/plt/")
 /* MODULE: PLAYER */
 section("player")
 comment("The player module, so that people can 'sing' when using lektor.")
-comment("By default it's sdl, but one can create any module, for audio support")
-comment("only for example.")
 value("module",         "qt")
 value("autoclear",      "true")
-value("def_random",     "false")
-value("def_consume",    "false")
-value("def_single",     "false")
-value("def_repeat",     "false")
 value("font_size",      "20")
 value("font_name",      "Hack Nerd Font")
 value("msg_duration",   "4")
-- 
GitLab