Skip to content

Commit

Permalink
Add submodules pdhummus and pdftextextraction
Browse files Browse the repository at this point in the history
  • Loading branch information
iljukhaput authored and dimkanovikov committed Sep 5, 2024
1 parent 35814b9 commit 62cf4ea
Show file tree
Hide file tree
Showing 8 changed files with 76 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build_starc_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
if: ${{ github.event_name == 'pull_request' }}
shell: bash
run: |
git submodule update --init --recursive src/3rd_party/qbreakpad/
git submodule update --init --recursive src/3rd_party/qbreakpad/ src/3rd_party/pdfhummus/ src/3rd_party/pdftextextraction/
- name: Add info about dev build to the env
shell: bash
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build_starc_mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
if: ${{ github.event_name == 'pull_request' }}
shell: bash
run: |
git submodule update --init --recursive src/3rd_party/qbreakpad/
git submodule update --init --recursive src/3rd_party/qbreakpad/ src/3rd_party/pdfhummus/ src/3rd_party/pdftextextraction/
- name: Add info about dev build to the env
shell: bash
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build_starc_windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
if: ${{ github.event_name == 'pull_request' }}
shell: bash
run: |
git submodule update --init --recursive src/3rd_party/qbreakpad/
git submodule update --init --recursive src/3rd_party/qbreakpad/ src/3rd_party/pdfhummus/ src/3rd_party/pdftextextraction/
- name: Add info about dev build to the env
shell: bash
Expand Down Expand Up @@ -154,7 +154,7 @@ jobs:
if: ${{ github.event_name == 'pull_request' }}
shell: bash
run: |
git submodule update --init --recursive src/3rd_party/qbreakpad/
git submodule update --init --recursive src/3rd_party/qbreakpad/ src/3rd_party/pdfhummus/ src/3rd_party/pdftextextraction/
- name: Add info about dev build to the env
shell: bash
Expand Down
8 changes: 8 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
[submodule "src/3rd_party/qbreakpad"]
path = src/3rd_party/qbreakpad
url = https://github.com/story-apps/qBreakpad.git
[submodule "src/3rd_party/pdfhummus"]
path = src/3rd_party/pdfhummus
url = https://github.com/story-apps/PDF-Writer.git
branch = qmake-build
[submodule "src/3rd_party/pdftextextraction"]
path = src/3rd_party/pdftextextraction
url = https://github.com/story-apps/pdf-text-extraction.git
branch = qmake-build
[submodule "src/cloud"]
path = src/cloud
url = [email protected]:story-apps/starcloud
Expand Down
4 changes: 3 additions & 1 deletion src/3rd_party/3rd_party.pro
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,6 @@ SUBDIRS = \
qbreakpad/qBreakpad.pro \
qgumboparser \
webloader \
qtxlsxwriter
qtxlsxwriter \
pdfhummus \
pdftextextraction \
1 change: 1 addition & 0 deletions src/3rd_party/pdfhummus
Submodule pdfhummus added at b3d65a
1 change: 1 addition & 0 deletions src/3rd_party/pdftextextraction
Submodule pdftextextraction added at 6aeae3
59 changes: 59 additions & 0 deletions src/corelib/corelib.pro
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,11 @@ win32-msvc*:QMAKE_LFLAGS += /WHOLEARCHIVE:$$LIBSDIR/fileformats.lib
INCLUDEPATH += $$PWD/../3rd_party/fileformats
DEPENDPATH += $$PWD/../3rd_party/fileformats
PRE_TARGETDEPS += $$PWD/../3rd_party/fileformats
#

#
# Подключаем библиотеку Zlib
#
mac:LIBS += -lz
#

Expand Down Expand Up @@ -97,6 +101,61 @@ INCLUDEPATH += $$PWD/../3rd_party/libavoid/
DEPENDPATH += $$PWD/../3rd_party/libavoid
#

#
# Подключаем библиотеку TextExtraction
#
LIBS += -L$$LIBSDIR/ -lTextExtraction
INCLUDEPATH += $$PWD/../3rd_party/pdftextextraction/TextExtraction
DEPENDPATH += $$PWD/../3rd_party/pdftextextraction/TextExtraction
#

#
# Подключаем библиотеку PDFWriter
#
LIBS += -L$$LIBSDIR/ -lPDFWriter
INCLUDEPATH += $$PWD/../3rd_party/pdfhummus/PDFWriter
DEPENDPATH += $$PWD/../3rd_party/pdfhummus/PDFWriter
#

#
# Подключаем библиотеку FreeType
#
LIBS += -L$$LIBSDIR/ -lFreeType
INCLUDEPATH += $$PWD/../3rd_party/pdfhummus/FreeType/include
DEPENDPATH += $$PWD/../3rd_party/pdfhummus/FreeType/include

#
# Подключаем библиотеку LibAesgm
#
LIBS += -L$$LIBSDIR/ -lLibAesgm
INCLUDEPATH += $$PWD/../3rd_party/pdfhummus/LibAesgm
DEPENDPATH += $$PWD/../3rd_party/pdfhummus/LibAesgm
#

#
# Подключаем библиотеку LibJpeg
#
LIBS += -L$$LIBSDIR/ -lLibJpeg
INCLUDEPATH += $$PWD/../3rd_party/pdfhummus/LibJpeg
DEPENDPATH += $$PWD/../3rd_party/pdfhummus/LibJpeg
#

#
# Подключаем библиотеку LibPng
#
LIBS += -L$$LIBSDIR/ -lLibPng
INCLUDEPATH += $$PWD/../3rd_party/pdfhummus/LibPng
DEPENDPATH += $$PWD/../3rd_party/pdfhummus/LibPng
#

#
# Подключаем библиотеку LibTiff
#
LIBS += -L$$LIBSDIR/ -lLibTiff
INCLUDEPATH += $$PWD/../3rd_party/pdfhummus/LibTiff
DEPENDPATH += $$PWD/../3rd_party/pdfhummus/LibTiff
#

SOURCES += \
business_layer/chronometry/chronometer.cpp \
business_layer/document/audioplay/text/audioplay_text_corrector.cpp \
Expand Down

0 comments on commit 62cf4ea

Please sign in to comment.