Closed lpla closed 4 years ago
My understanding is that protobuf is needed in order for Java to talk to CLD3. I will verify with Mui.
I know it is a needed dependency, but I don't always need to download, compile and install git protobuf in the system. For example, when I need to run setup.sh
simply for the Java build commands, or when I want to use a protobuf version from apt
or any other package manager because I don't have sudo permissions. The same applies for the apt install
calls in setup.sh
.
Mui has implemented already. Closing
Trying out
pdf-extract/setup.sh
, it looks like it always run all theapt
or dependency related commands, like compiling and installingprotobuf
. This should be optional. For example, callingbash setup.sh compile
could only compile/buildcld3
,cld3-java
andpdf-extract
, which are also tasks withoutsudo
.This is necessary to make the
python-pdfextract
wrapper working, and then,bitextor-warc2htmlwarc
efficient calls topdf-extract
.