lorid

convert chordpro to pdf
git clone git://git.relim.de/lorid.git
Log | Files | Refs | README | LICENSE

commit c55cb59aa925b45732ed1d0f0e53adc4fa0f606d
parent 8567b91e537bcecafc0e4421b626af0b403b48d1
Author: nibo <nibo@relim.de>
Date:   Mon, 24 Feb 2025 20:44:53 +0100

Add configure script

Diffstat:
MREADME.md | 16++++++++--------
Aconfigure | 6++++++
2 files changed, 14 insertions(+), 8 deletions(-)

diff --git a/README.md b/README.md @@ -1,13 +1,17 @@ # lorid lorid is a command line program that implements the chordpro standard. + It is written on Linux but looking at the dependencies you could possibly run it on other systems too. ## Dependencies -Currently I don't distribute an independent binary of lorid. You have to build it yourself. -Maybe you get away with running the below commands. +Currently I don't distribute an independent binary of lorid. +You have to install the dependencies and build it yourself. + +With the commands below you build the dependencies also yourself. +You might want to alternatively install them via a package manager. ### pdfio @@ -51,13 +55,8 @@ Website: `https://www.freedesktop.org/wiki/Software/fontconfig/` You probably already have it installed. You can verify that by running: ``` -[~] find /usr/lib -name 'libfontconfig*' -/usr/lib/libfontconfig.so.1.15.0 -/usr/lib/libfontconfig.so.1 -/usr/lib/libfontconfig.so -[~] +pkg-config --exists fontconfig && echo "Installed" || echo "Not Installed" ``` -If an '*.so' file exists it's already installed. In case it's not installed: @@ -75,6 +74,7 @@ make install You might want to take a look at the Makefile and adjust to your liking. ``` +./configure make make install ``` diff --git a/configure b/configure @@ -0,0 +1,6 @@ +#!/bin/sh + +pkg-config --exists pdfio || echo "pdfio is missing." +pkg-config --exists libtoml || echo "toml-c is missing." +pkg-config --exists fontconfig || echo "fontconfig is missing." +pkg-config --exists libgrapheme || echo "libgrapheme is missing."