Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions debian-bookworm/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
Here are the steps for building and installing ScanTailor Advanced on Debian bookworm:

```sh
# Install dependencies for these steps
apt install equivs wget

# Install ScanTailor build dependencies
wget https://github.com/ScanTailor-Advanced/scantailor-libs-build/blob/master/debian-bookworm/builddep-scantailor.ctl
equivs-build builddep-scantailor.ctl
sudo dpkg --install builddep-scantailor_1.0_all.deb
sudo apt install # To satisfy the dependencies

# Build
cd scantailor-advanced/ # This is the git source
mkdir build
cd build
cmake ..
cmake --build .

# Create package and install it
cpack -G "DEB"
sudo dpkg --install scantailor-advanced-*-Linux.deb

# Remove build dependencies
sudo apt purge builddep-scantailor
```
18 changes: 18 additions & 0 deletions debian-bookworm/builddep-scantailor.ctl
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
Package: builddep-scantailor
Section: misc
Description: Metapackage for scantailor build dependencies
Depends:
gcc,
g++,
cmake,
libjpeg-dev,
libpng-dev,
libtiff5-dev,
libboost-test1.74-dev,
libboost-test1.74.0,
qtbase5-dev,
libqt5svg5-dev,
qttools5-dev,
qttools5-dev-tools,
libqt5opengl5-dev,
libpthread-stubs0-dev