From 59f71dbb1ce8d8e489d939a6a7c80230e284b211 Mon Sep 17 00:00:00 2001 From: xuijuthub <74471092+xuijuthub@users.noreply.github.com> Date: Sun, 22 Sep 2024 08:31:20 +0300 Subject: [PATCH 1/3] Add building for FreeBSD in README.md --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index b1d1a35..44a0055 100644 --- a/README.md +++ b/README.md @@ -107,6 +107,15 @@ the result of fundamental issues with Discord's thread implementation. 5. `make` 6. [Copy resources](#resources) +#### FreeBSD: + +1. `pkg install git cmake nlohmann-json spdlog gtkmm30 libhandy libsodium` +2. `git clone https://github.com/uowuo/abaddon --recurse-submodules="subprojects" && cd abaddon` +3. `mkdir build && cd build` +4. `cmake ..` +5. `make` +6. [Copy resources](#resources) + ### Downloads: Latest release version: https://github.com/uowuo/abaddon/releases/latest From f57ca38a967492c62d054cee89c122b26e357557 Mon Sep 17 00:00:00 2001 From: techflashYT Date: Wed, 30 Oct 2024 15:45:15 -0700 Subject: [PATCH 2/3] add missing WITH_RNNOISE gate (#334) --- src/windows/voice/voicewindow.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/windows/voice/voicewindow.cpp b/src/windows/voice/voicewindow.cpp index e59705a..a9e9682 100644 --- a/src/windows/voice/voicewindow.cpp +++ b/src/windows/voice/voicewindow.cpp @@ -115,10 +115,12 @@ VoiceWindow::VoiceWindow(Snowflake channel_id) UpdateVADParamValue(); }); +#ifdef WITH_RNNOISE m_noise_suppression.set_active(audio.GetSuppressNoise()); m_noise_suppression.signal_toggled().connect([this]() { Abaddon::Get().GetAudio().SetSuppressNoise(m_noise_suppression.get_active()); }); +#endif m_mix_mono.set_active(audio.GetMixMono()); m_mix_mono.signal_toggled().connect([this]() { From 3494ddcae0c8f0a4eabbb94cf9c14e851a575538 Mon Sep 17 00:00:00 2001 From: Takuya Wakazono Date: Sat, 2 Nov 2024 00:06:08 +0900 Subject: [PATCH 3/3] Include recommended glibc header instead of internal one Starting with glibc-2.32, you only include top level headers, otherwise it cause an error. https://docs.gtk.org/glib/compiling.html --- src/util.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util.hpp b/src/util.hpp index 4024e34..072a8e2 100644 --- a/src/util.hpp +++ b/src/util.hpp @@ -11,7 +11,7 @@ #include #include #include -#include +#include #include #include