Skip to content

Commit

Permalink
just some stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
decoyer2 committed Feb 24, 2023
1 parent c3f3ba1 commit 60ad559
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@
.env
ImageMagick/
ImageMagick7/
cpr/

Binary file added TimesNewRoman.ttf
Binary file not shown.
2 changes: 1 addition & 1 deletion dependencies
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
libssl-dev libcurl4-openssl-dev cmake debmake devscripts debhelper libssl-dev
libcurl4-openssl-dev libjsoncpp-dev libpng-dev libjpeg-dev libtiff-dev --no-install-recommends
libboost-all-dev libfreetype6-dev fonts-freefont-otf gsfonts
libboost-all-dev libfreetype6-dev fonts-freefont-otf gsfonts wget
12 changes: 12 additions & 0 deletions req.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#Warn: This is quick install for local usage
SCRIPTPATH="$( cd -- "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )"
sudo apt-get update -y
sudo apt-get install -y python3.10 python3-pip git-all build-essential pkg-config `cat ${SCRIPTPATH}/dependencies`
git clone https://github.com/ImageMagick/ImageMagick.git "${SCRIPTPATH}/ImageMagick"
cd "${SCRIPTPATH}/ImageMagick" && ./configure CXX=g++
make
make install
git clone https://github.com/libcpr/cpr.git "${SCRIPTPATH}/cpr"
cd "${SCRIPTPATH}/cpr" && mkdir build && cd build
cmake "${SCRIPTPATH}/cpr" -DCPR_BUILD_TESTS=OFF
sudo make install

0 comments on commit 60ad559

Please sign in to comment.