Bug#940329:

2022-03-06 Thread Andreas Noteng
Thanks for the help. Yeah someone made a fork to pull in the awaiting
merges, I'll check it out and see how it works and consider switching
upstreams.

søn. 6. mar. 2022, 12:53 skrev Gregor Riepl :

> Hi Andreas,
>
> > Hi, i was having trouble finding a sponsor as the sponsor i had was
> > having health issues (I'm only dm, not dd). This software seems to have
> > died upstream, but a fork is in progress so switching upstream sources
> > might be in order. I'll have a look at it next week.
>
> Wasn't scantailor-advanced already a fork of scantailor?
>
> I can see that the last commit was a year ago, and they haven't even
> merged the fix for Qt 5.15.
>
> Did someone fork it into another new project?
>
> As for sponsoring the package, I cannot help with that either, sadly.
> But with my patch, it passes all Salsa CI checks, so it may be a bit
> easier to get it into Debian now.
>


Bug#940329:

2022-03-06 Thread Gregor Riepl
Hi Andreas,

> Hi, i was having trouble finding a sponsor as the sponsor i had was
> having health issues (I'm only dm, not dd). This software seems to have
> died upstream, but a fork is in progress so switching upstream sources
> might be in order. I'll have a look at it next week.

Wasn't scantailor-advanced already a fork of scantailor?

I can see that the last commit was a year ago, and they haven't even
merged the fix for Qt 5.15.

Did someone fork it into another new project?

As for sponsoring the package, I cannot help with that either, sadly.
But with my patch, it passes all Salsa CI checks, so it may be a bit
easier to get it into Debian now.



Bug#940329:

2022-03-05 Thread Andreas Noteng
Hi, i was having trouble finding a sponsor as the sponsor i had was having
health issues (I'm only dm, not dd). This software seems to have died
upstream, but a fork is in progress so switching upstream sources might be
in order. I'll have a look at it next week.

Andreas

lør. 5. mar. 2022, 18:21 skrev Gregor Riepl :

> Any progress?
>
> This MR addresses the build errors and should make the package fit for
> inclusion on Debian:
>
> https://salsa.debian.org/debian/scantailor-advanced/-/merge_requests/12
>


Bug#940329:

2022-03-05 Thread Gregor Riepl
Any progress?

This MR addresses the build errors and should make the package fit for
inclusion on Debian:

https://salsa.debian.org/debian/scantailor-advanced/-/merge_requests/12



Bug#940329:

2020-11-08 Thread Gregor Riepl
> 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: 

Bug#940329:

2020-08-25 Thread Yangfl
Any progress? If not, I'm willing to package this.



Bug#940329: (no subject)

2019-09-15 Thread Andreas Noteng
Package: wnpp
Severity: wishlist
Owner: Andreas Noteng 

* Package name: scantailor-advanced
  Version : 1.0.17~2019.08.16-1
  Upstream Author : 4lex4 <4le...@zoho.com> 
* URL : https://github.com/4lex4/scantailor-advanced/
* License : GPL3+
  Programming Lang: C++
  Description : Interactive post-processing tool for scanned pages

Scan Tailor is an interactive post-processing tool for scanned pages. It
performs operations such as page splitting, deskewing, adding/removing
borders, and others. You give it raw scans, and you get pages ready to be
printed or assembled into a PDF or DJVU file. Scanning, optical character
recognition, and assembling multi-page documents are out of scope of this
project.

The current scantailor package in Debain is removed from stable and
testing due to it blocking QT4-removal (#875176). The project is not
dead upstream, but development is going slow. Scantailor Advanced is a
fork that uses QT5, and also includes some extended features.