> Any progress? If not, I'm willing to package this.
Looks like progress is being made:
https://salsa.debian.org/debian/scantailor-advanced
I was able to build + run the resulting package after adding the
attached quilt patch. It avoids errors due to a missing QPainterPath
include:
src/core/filters/output/OutputGenerator.cpp: In member function
‘imageproc::BinaryThreshold
output::OutputGenerator::Processor::calcBinarizationThreshold(const
QImage&, const QPolygonF&, const imageproc::BinaryImage*) const’:
src/core/filters/output/OutputGenerator.cpp:2111:16: error: aggregate
‘QPainterPath path’ has incomplete type and cannot be defined
2111 | QPainterPath path;
|^~~~
Upstream has seen the compile errors as well and already fixed most of
them:
https://github.com/4lex4/scantailor-advanced/commit/3d1e74e6ace413733511086934a66f4e3f7a6027
Some others are added here:
https://github.com/4lex4/scantailor-advanced/pull/158
Index: scantailor-advanced/src/core/filters/output/OutputGenerator.cpp
===
--- scantailor-advanced.orig/src/core/filters/output/OutputGenerator.cpp 2020-11-08 02:55:57.0 +0100
+++ scantailor-advanced/src/core/filters/output/OutputGenerator.cpp 2020-11-08 02:56:06.0 +0100
@@ -39,6 +39,7 @@
#include
#include
#include
+#include
#include
#include
#include
Index: scantailor-advanced/src/core/filters/page_layout/ImageView.cpp
===
--- scantailor-advanced.orig/src/core/filters/page_layout/ImageView.cpp 2020-11-08 02:55:57.0 +0100
+++ scantailor-advanced/src/core/filters/page_layout/ImageView.cpp 2020-11-08 02:56:06.0 +0100
@@ -12,6 +12,7 @@
#include
#include
#include
+#include
#include
#include
#include "ImagePresentation.h"
Index: scantailor-advanced/src/core/filters/select_content/ContentBoxFinder.cpp
===
--- scantailor-advanced.orig/src/core/filters/select_content/ContentBoxFinder.cpp 2020-11-07 16:48:34.597819755 +0100
+++ scantailor-advanced/src/core/filters/select_content/ContentBoxFinder.cpp 2020-11-08 02:59:49.839413792 +0100
@@ -20,6 +20,7 @@
#include
#include
#include
+#include
#include
#include
#include "DebugImages.h"
Index: scantailor-advanced/src/app/ThumbnailSequence.cpp
===
--- scantailor-advanced.orig/src/app/ThumbnailSequence.cpp 2020-11-07 16:48:34.577819010 +0100
+++ scantailor-advanced/src/app/ThumbnailSequence.cpp 2020-11-08 03:00:47.206290290 +0100
@@ -7,6 +7,7 @@
#include
#include
#include
+#include
#include
#include
#include
Index: scantailor-advanced/src/core/ImageViewBase.cpp
===
--- scantailor-advanced.orig/src/core/ImageViewBase.cpp 2020-11-07 16:48:34.581819159 +0100
+++ scantailor-advanced/src/core/ImageViewBase.cpp 2020-11-08 03:02:18.497525165 +0100
@@ -8,6 +8,7 @@
#include
#include
#include
+#include
#include
#include
#include
Index: scantailor-advanced/src/core/IncompleteThumbnail.cpp
===
--- scantailor-advanced.orig/src/core/IncompleteThumbnail.cpp 2020-11-07 16:48:34.581819159 +0100
+++ scantailor-advanced/src/core/IncompleteThumbnail.cpp 2020-11-08 03:02:09.169257461 +0100
@@ -4,6 +4,7 @@
#include "IncompleteThumbnail.h"
#include
#include
+#include
#include
QPainterPath IncompleteThumbnail::m_sCachedPath;
Index: scantailor-advanced/src/core/ThumbnailBase.cpp
===
--- scantailor-advanced.orig/src/core/ThumbnailBase.cpp 2020-11-07 16:48:34.585819308 +0100
+++ scantailor-advanced/src/core/ThumbnailBase.cpp 2020-11-08 03:02:24.785698551 +0100
@@ -5,6 +5,7 @@
#include
#include
#include
+#include
#include
#include
#include
Index: scantailor-advanced/src/core/filters/page_layout/Thumbnail.cpp
===
--- scantailor-advanced.orig/src/core/filters/page_layout/Thumbnail.cpp 2020-11-07 16:48:34.593819606 +0100
+++ scantailor-advanced/src/core/filters/page_layout/Thumbnail.cpp 2020-11-08 03:02:03.941101786 +0100
@@ -3,6 +3,7 @@
#include "Thumbnail.h"
#include
+#include
#include
#include "Utils.h"
#include
Index: scantailor-advanced/src/core/zones/ZoneContextMenuInteraction.cpp
===
--- scantailor-advanced.orig/src/core/zones/ZoneContextMenuInteraction.cpp 2020-11-07 16:48:34.597819755 +0100
+++ scantailor-advanced/src/core/zones/ZoneContextMenuInteraction.cpp 2020-11-08 03:02:35.393978551 +0100
@@ -6,6 +6,7 @@
#include
#include
#include
+#include
#include
#include "ImageViewBase.h"
#include "ZoneInteractionContext.h"
Index: scantailor-advanced/src/core/zo