From 92c6007fe54410dfe097ff493fdc86ad2847857a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jaakko=20Ker=C3=A4nen?= jaakko.keranen@iki.fi
Date: Fri, 16 Oct 2020 19:04:34 +0300
Subject: [PATCH 1/1] Updated README
Added mention of optional mpg123 decoder library.
README.md | 12 +++++++-----
res/about/help.gmi | 3 ++-
res/about/license.gmi | 2 +-
3 files changed, 10 insertions(+), 7 deletions(-)
diff --git a/README.md b/README.md
index 89cd8e55..95767aee 100644
--- a/README.md
+++ b/README.md
@@ -14,6 +14,7 @@ Like Gemini, Lagrange has been designed with minimalism in mind. It depends on a
+* Audio playback: MP3, Ogg Vorbis, WAV
about:help
in the app, or see help.gmi@@ -25,11 +26,12 @@ Prebuilt binaries for Windows and macOS can be found in [Releases][rel].
This is how to build Lagrange in a Unix-like environment. The required tools are a C11 compiler (e.g., Clang or GCC), CMake and pkg-config
.
git clone --recursive --branch release https://git.skyjake.fi/skyjake/lagrange
-2. Check that you have the dependencies installed: CMake, SDL 2, OpenSSL 1.1.1, libpcre, zlib, libunistring. For example, on macOS this would do the trick (using Homebrew): brew install cmake sdl2 openssl@1.1 pcre libunistring
Or on Ubuntu: sudo apt install cmake libsdl2-dev libssl-dev libpcre3-dev zlib1g-dev libunistring-dev
-3. Create a build directory.
-4. In your empty build directory, run CMake: cmake {path_of_lagrange_sources} -DCMAKE_BUILD_TYPE=Release
-5. Build it: cmake --build .
-6. Now you can run lagrange
, lagrange.exe
, or Lagrange.app
.
+2. Check that you have the required dependencies installed: CMake, SDL 2, OpenSSL 1.1.1, libpcre, zlib, libunistring. For example, on macOS this would do the trick (using Homebrew): brew install cmake sdl2 openssl@1.1 pcre libunistring
Or on Ubuntu: sudo apt install cmake libsdl2-dev libssl-dev libpcre3-dev zlib1g-dev libunistring-dev
+3. Optionally, install the mpg123 decoder library for MPEG audio support. For example, the macOS Homebrew package is mpg123
and on Ubuntu it is libmpg123-dev
.
+4. Create a build directory.
+5. In your empty build directory, run CMake: cmake {path_of_lagrange_sources} -DCMAKE_BUILD_TYPE=Release
+6. Build it: cmake --build .
+7. Now you can run lagrange
, lagrange.exe
, or Lagrange.app
.
diff --git a/res/about/help.gmi b/res/about/help.gmi
index 668f0381..80eb62ab 100644
--- a/res/about/help.gmi
+++ b/res/about/help.gmi
@@ -28,6 +28,7 @@ Like Gemini, Lagrange has been designed with minimalism in mind. It depends on a
+* Audio playback: MP3, Ogg Vorbis, WAV
@@ -118,7 +119,7 @@ The sidebar can be toggled via menus or by pressing ${SHIFT+}${CTRL+}L. It has f
-* Outline: List of the headings in the currently open tab. Useful when reading longer documents.
+* Outline: List of the headings in the currently open tab. Useful when reading longer documents.
${CTRL+}1 through ${CTRL+}4 switch between the sidebar tabs, or hide the sidebar if the current tab's key is pressed.
diff --git a/res/about/license.gmi b/res/about/license.gmi
index ac4310c7..ef92d647 100644
--- a/res/about/license.gmi
+++ b/res/about/license.gmi
@@ -31,7 +31,7 @@ SDL 2.0 and newer are available under the zlib license:
-mpg123 is a fast console MPEG audio player and decoder library. It is licensed under LGPL 2.1.
+mpg123 is a fast console MPEG audio player and decoder library. It is licensed under LGPL 2.1. Lagrange uses the libmpg123 decoder library when playing back MPEG audio.
=> https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html GNU LGPL version 2.1
=> https://mpg123.org/ mpg123
--
2.25.1
text/plain
This content has been proxied by September (ba2dc).