From 6b56db13d271a39b27432c72544194f044ce1fcd Mon Sep 17 00:00:00 2001 From: Mohammadreza Hendiani Date: Sun, 17 Mar 2024 15:07:11 +0330 Subject: [PATCH 1/5] README.md fix documentaion and added fedora liunx dependencies for stream build --- examples/stream/README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/examples/stream/README.md b/examples/stream/README.md index eeae327781..de5e5a7810 100644 --- a/examples/stream/README.md +++ b/examples/stream/README.md @@ -30,9 +30,13 @@ a transcription block that is suitable for parsing. The `stream` tool depends on SDL2 library to capture audio from the microphone. You can build it like this: ```bash -# Install SDL2 on Linux +# Install SDL2 +# On Debian based linux distributions: sudo apt-get install libsdl2-dev +# On Fedora Linux: +sudo dnf install SDL2 SDL2-devel + # Install SDL2 on Mac OS brew install sdl2 From 0b11766311662205e9c91c64162cb7c06debba18 Mon Sep 17 00:00:00 2001 From: Mohammadreza Hendiani Date: Sun, 17 Mar 2024 17:26:07 +0330 Subject: [PATCH 2/5] fix documentaion and added fedora liunx dependencies for command build --- examples/command/README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/examples/command/README.md b/examples/command/README.md index d291d1aa6a..46b14e9327 100644 --- a/examples/command/README.md +++ b/examples/command/README.md @@ -37,9 +37,13 @@ https://user-images.githubusercontent.com/1991296/207435352-8fc4ed3f-bde5-4555-9 The `command` tool depends on SDL2 library to capture audio from the microphone. You can build it like this: ```bash -# Install SDL2 on Linux +# Install SDL2 +# On Debian based linux distributions: sudo apt-get install libsdl2-dev +# On Fedora Linux: +sudo dnf install SDL2 SDL2-devel + # Install SDL2 on Mac OS brew install sdl2 From 3fe51e0c561e9cb3bf352353e9a5434433930dbb Mon Sep 17 00:00:00 2001 From: Mohammadreza Hendiani Date: Sun, 17 Mar 2024 17:41:28 +0330 Subject: [PATCH 3/5] fix documentaion and added fedora liunx dependencies for talk build --- examples/talk/README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/examples/talk/README.md b/examples/talk/README.md index 0dcfe4158a..c653ee75cc 100644 --- a/examples/talk/README.md +++ b/examples/talk/README.md @@ -11,11 +11,12 @@ Web version: [examples/talk.wasm](/examples/talk.wasm) The `talk` tool depends on SDL2 library to capture audio from the microphone. You can build it like this: ```bash -# Install SDL2 on Linux +# Install SDL2 +# On Debian based linux distributions: sudo apt-get install libsdl2-dev -# Install SDL2 on Mac OS -brew install sdl2 +# On Fedora Linux: +sudo dnf install SDL2 SDL2-devel # Build the "talk" executable make talk From 9bb562ce8049a6ebc6ce1b7924b9e340c10849d2 Mon Sep 17 00:00:00 2001 From: Mohammadreza Hendiani Date: Sun, 17 Mar 2024 17:45:42 +0330 Subject: [PATCH 4/5] fix documentaion and added fedora liunx dependencies for talk-llama build --- examples/talk-llama/README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/examples/talk-llama/README.md b/examples/talk-llama/README.md index fbd8e96c6e..f8f554405e 100644 --- a/examples/talk-llama/README.md +++ b/examples/talk-llama/README.md @@ -15,9 +15,13 @@ https://github.com/ggerganov/whisper.cpp/assets/1991296/d97a3788-bf2a-4756-9a43- The `talk-llama` tool depends on SDL2 library to capture audio from the microphone. You can build it like this: ```bash -# Install SDL2 on Linux +# Install SDL2 +# On Debian based linux distributions: sudo apt-get install libsdl2-dev +# On Fedora Linux: +sudo dnf install SDL2 SDL2-devel + # Install SDL2 on Mac OS brew install sdl2 From 1d3be3375db0819982ebae64f60b9067df9ca74a Mon Sep 17 00:00:00 2001 From: Mohammadreza Hendiani Date: Sun, 17 Mar 2024 18:24:31 +0330 Subject: [PATCH 5/5] reverted back mistakenly removed MacOS documentaion --- examples/talk/README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/examples/talk/README.md b/examples/talk/README.md index c653ee75cc..f0121f1c54 100644 --- a/examples/talk/README.md +++ b/examples/talk/README.md @@ -18,6 +18,9 @@ sudo apt-get install libsdl2-dev # On Fedora Linux: sudo dnf install SDL2 SDL2-devel +# Install SDL2 on Mac OS +brew install sdl2 + # Build the "talk" executable make talk