From 83351698d6babf2aaa3ae0de0dfc9b5cbd242e26 Mon Sep 17 00:00:00 2001 From: leca Date: Tue, 3 Dec 2024 15:02:54 +0300 Subject: [PATCH] readme & todo updated --- .lupdate/translations/en_US.ts.stamp | 0 .lupdate/translations/ru_RU.ts.stamp | 0 README.md | 29 +++++++++++++++++++++------- TODO | 4 ++-- 4 files changed, 24 insertions(+), 9 deletions(-) delete mode 100644 .lupdate/translations/en_US.ts.stamp delete mode 100644 .lupdate/translations/ru_RU.ts.stamp diff --git a/.lupdate/translations/en_US.ts.stamp b/.lupdate/translations/en_US.ts.stamp deleted file mode 100644 index e69de29..0000000 diff --git a/.lupdate/translations/ru_RU.ts.stamp b/.lupdate/translations/ru_RU.ts.stamp deleted file mode 100644 index e69de29..0000000 diff --git a/README.md b/README.md index 5274e20..745d65e 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,7 @@ In general, you need to install following dependencies in order to build that ap Please, do not hesitate to open an issue if you cannot build that. I will help and if you are building on a distro that is not listed there, we can append that list as soon as we will solve your problem! ### Linux -##### Arch Linux +##### Arch Linux-based I recommend using aur helper (I use yay) to install dependencies. Or, if you're masochist, you can build all by yourself /shrug ``` #Install dependencies @@ -38,16 +38,31 @@ yay -S sudo cmake git coreutils base-devel eigen qt5-base mbedtls gtkglext openc #Clone and compile an app git clone https://git.foxarmy.org/leca/checks-parser cd checks-parser -mkdir build -cd build -cmake .. +cmake . make -j{nproc} #If you wish to install that program system-wide, run sudo make install ``` -##### Debian -apt install -y qtbase5-dev openssl libmbedtls-dev tesseract-ocr tesseract-ocr-rus libopencv-dev libzbar-dev qttools5-dev nlohmann-json-dev libcurl4-openssl-dev libtesseract-dev -TODO +##### Debian-based +In debian-based distributions most, but not every, package names are the same. + +Installation of dependencies for different debian-based distros: +###### Ubuntu 18.04 +```apt install -y qtbase5-dev openssl libmbedtls-dev tesseract-ocr tesseract-ocr-rus libopencv-dev libzbar-dev qttools5-dev nlohmann-json-dev libcurl4-openssl-dev libtesseract-dev``` +###### Ubuntu 20.04, LMDE (tested only 6), Debian (tested only 12) +```apt install -y qtbase5-dev openssl libmbedtls-dev tesseract-ocr tesseract-ocr-rus libopencv-dev libzbar-dev qttools5-dev nlohmann-json3-dev libcurl4-openssl-dev libtesseract-dev``` + +Next steps are identical for every debian-based distro +``` +#Clone and compile an app +git clone https://git.foxarmy.org/leca/checks-parser +cd checks-parser +cmake . +make -j{nproc} +#If you wish to install that program system-wide, run +sudo make install +``` + ### Windows Maybe ### Mac OS diff --git a/TODO b/TODO index 7319b22..c5dfb64 100644 --- a/TODO +++ b/TODO @@ -26,5 +26,5 @@ Build: Issues: Captcha is not showing when running in appimage [solved] - Stores modules are not being downloaded - I need to pack tesseract data for ru, en + Stores modules are not being downloaded + I need to pack tesseract data for ru, en [solved]