httplib version bump and automated (docker) appimage deployment

This commit is contained in:
leca 2025-03-17 20:13:44 +03:00
parent 487707ba3e
commit 993cf4d69c
3 changed files with 11 additions and 5 deletions

View File

@ -135,7 +135,7 @@ endif()
FetchContent_Declare(httplib SYSTEM
GIT_REPOSITORY https://github.com/yhirose/cpp-httplib
GIT_TAG c765584e6b1055fe0dfe3e9e6d1b4b09aa305070
GIT_TAG 787a34ad7f01f20922a237d5142aae469828be72
GIT_SHALLOW TRUE)
FetchContent_MakeAvailable(httplib)

View File

@ -1,4 +1,4 @@
#!/bin/bash
export TESSDATA_PREFIX=\$APPDIR/usr/share/tesseract-ocr/4.00/tessdata
export TESSDATA_PREFIX=$APPDIR/usr/share/tesseract-ocr/4.00/tessdata
\$APPDIR/usr/bin/checks-parser
$APPDIR/usr/bin/checks-parser

View File

@ -16,10 +16,14 @@ WORKDIR /
RUN wget https://mirror.linux-ia64.org/gnu/gcc/releases/gcc-12.3.0/gcc-12.3.0.tar.gz
RUN tar xf gcc-12.3.0.tar.gz
#RUN rm gcc-12.3.0.tar.gz
WORKDIR /gcc-12.3.0
RUN ./configure --disable-multilib
RUN ./configure --disable-multilib --prefix=/usr
RUN make -j $(nproc) && make install
RUN cp /lib64/* /lib/x86_64-linux-gnu || :
WORKDIR /
RUN rm -rf gcc-12.3.0
@ -66,6 +70,8 @@ RUN cp /appimage/build/checks-parser .
WORKDIR /appimage
RUN LD_LIBRARY_PATH=LD_LIBRARY_PATH=/usr/local/lib64 linuxdeployqt AppDir/usr/bin/checks-parser -no-copy-copyright-files -appimage
RUN linuxdeployqt --appimage-extract-and-run AppDir/usr/bin/checks-parser -no-copy-copyright-files -appimage
#RUN LD_LIBRARY_PATH=LD_LIBRARY_PATH=/usr/local/lib64 linuxdeployqt --appimage-extract-and-run AppDir/usr/bin/checks-parser -no-copy-copyright-files -appimage
ENTRYPOINT bash