Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: scantailor-advanced-2019.8.16
@ 2021-02-14 13:44 mustaqimM
  2021-02-14 21:56 ` tibequadorian
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: mustaqimM @ 2021-02-14 13:44 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1671 bytes --]

There is a new pull request by mustaqimM against master on the void-packages repository

https://github.com/mustaqimM/void-packages new_scantailor_advanced
https://github.com/void-linux/void-packages/pull/28759

New package: scantailor-advanced-2019.8.16
<!-- Mark items with [x] where applicable -->

#### General
- [X] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [X] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] I built this PR locally for my native architecture, (ARCH-LIBC)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [ ] aarch64-musl
  - [ ] armv7l
  - [ ] armv6l-musl
-->

Do I need to add qt5 as a runtime dependency?

A patch file from https://github.com/void-linux/void-packages/pull/28759.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-new_scantailor_advanced-28759.patch --]
[-- Type: text/x-diff, Size: 4105 bytes --]

From acff78ab7bc2ece4979d32fff3727b3d2b6e7ac4 Mon Sep 17 00:00:00 2001
From: mustaqim <git@mustaqim.ml>
Date: Sun, 14 Feb 2021 15:36:23 +0200
Subject: [PATCH] New package: scantailor-advanced-2019.8.16

---
 .../patches/add-qpainterpath-lib.patch        | 72 +++++++++++++++++++
 srcpkgs/scantailor-advanced/template          | 14 ++++
 2 files changed, 86 insertions(+)
 create mode 100644 srcpkgs/scantailor-advanced/patches/add-qpainterpath-lib.patch
 create mode 100644 srcpkgs/scantailor-advanced/template

diff --git a/srcpkgs/scantailor-advanced/patches/add-qpainterpath-lib.patch b/srcpkgs/scantailor-advanced/patches/add-qpainterpath-lib.patch
new file mode 100644
index 00000000000..c3e62799bec
--- /dev/null
+++ b/srcpkgs/scantailor-advanced/patches/add-qpainterpath-lib.patch
@@ -0,0 +1,72 @@
+diff --git a/src/core/ImageViewBase.h b/src/core/ImageViewBase.h
+index e2df3a3..4a18be8 100644
+--- a/src/core/ImageViewBase.h
++++ b/src/core/ImageViewBase.h
+@@ -16,6 +16,7 @@
+ #include <QTransform>
+ #include <QWidget>
+ #include <Qt>
++#include <QPainterPath>
+ #include "ImagePixmapUnion.h"
+ #include "ImageViewInfoProvider.h"
+ #include "InteractionHandler.h"
+diff --git a/src/core/filters/output/OutputGenerator.h b/src/core/filters/output/OutputGenerator.h
+index 3e18cad..c6c3ee4 100644
+--- a/src/core/filters/output/OutputGenerator.h
++++ b/src/core/filters/output/OutputGenerator.h
+@@ -5,6 +5,7 @@
+ #define OUTPUT_OUTPUTGENERATOR_H_
+ 
+ #include <QRect>
++#include <QPainterPath>
+ #include <memory>
+ #include "ImageTransformation.h"
+ #include "OutputImage.h"
+diff --git a/src/core/filters/page_layout/ImageView.h b/src/core/filters/page_layout/ImageView.h
+index c9e6f38..94e4b84 100644
+--- a/src/core/filters/page_layout/ImageView.h
++++ b/src/core/filters/page_layout/ImageView.h
+@@ -12,6 +12,7 @@
+ #include <QRectF>
+ #include <QSizeF>
+ #include <QTransform>
++#include <QPainterPath>
+ #include <unordered_map>
+ #include "Alignment.h"
+ #include "DragHandler.h"
+diff --git a/src/core/filters/select_content/ContentBoxFinder.h b/src/core/filters/select_content/ContentBoxFinder.h
+index 1eae24d..d54e7a0 100644
+--- a/src/core/filters/select_content/ContentBoxFinder.h
++++ b/src/core/filters/select_content/ContentBoxFinder.h
+@@ -5,6 +5,7 @@
+ #define SELECT_CONTENT_CONTENTBOXFINDER_H_
+ 
+ #include <BinaryThreshold.h>
++#include <QPainterPath>
+ 
+ class TaskStatus;
+ class DebugImages;
+diff --git a/src/core/zones/ZoneContextMenuInteraction.h b/src/core/zones/ZoneContextMenuInteraction.h
+index d3f712e..51c5922 100644
+--- a/src/core/zones/ZoneContextMenuInteraction.h
++++ b/src/core/zones/ZoneContextMenuInteraction.h
+@@ -7,6 +7,7 @@
+ #include <QColor>
+ #include <QObject>
+ #include <QtGlobal>
++#include <QPainterPath>
+ #include <boost/function.hpp>
+ #include <map>
+ #include <memory>
+diff --git a/src/core/zones/ZoneDefaultInteraction.h b/src/core/zones/ZoneDefaultInteraction.h
+index de87193..6e3504c 100644
+--- a/src/core/zones/ZoneDefaultInteraction.h
++++ b/src/core/zones/ZoneDefaultInteraction.h
+@@ -6,6 +6,7 @@
+ 
+ #include <QCoreApplication>
+ #include <QPointF>
++#include <QPainterPath>
+ #include "BasicSplineVisualizer.h"
+ #include "DragHandler.h"
+ #include "DragWatcher.h"
diff --git a/srcpkgs/scantailor-advanced/template b/srcpkgs/scantailor-advanced/template
new file mode 100644
index 00000000000..f5f512ee179
--- /dev/null
+++ b/srcpkgs/scantailor-advanced/template
@@ -0,0 +1,14 @@
+# Template file for 'scantailor-advanced'
+pkgname=scantailor-advanced
+version=2019.8.16
+revision=1
+wrksrc=${pkgname}-${version}_EA
+build_style=cmake
+makedepends="qt5-devel libjpeg-turbo-devel tiff-devel boost-devel qt5-tools-devel qt5-svg-devel"
+short_desc="ScanTailor is an interactive post-processing tool for scanned pages"
+maintainer="mustaqim <git@mustaqim.ml>"
+license="GPL-3.0-only"
+homepage="https://github.com/4lex4/scantailor-advanced"
+distfiles="https://github.com/4lex4/scantailor-advanced/archive/${version}_EA.tar.gz"
+checksum=7ee3aaffa9a234a3171d3d0d75bc34a6acc7e78f85f5a70d6cf7ae481c8d1a48
+patch_args="-Np1"

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-05-19  2:15 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-14 13:44 [PR PATCH] New package: scantailor-advanced-2019.8.16 mustaqimM
2021-02-14 21:56 ` tibequadorian
2021-02-15  3:45 ` [PR PATCH] [Updated] " mustaqimM
2021-02-15  4:17 ` mustaqimM
2022-05-04  2:15 ` github-actions
2022-05-19  2:15 ` [PR PATCH] [Closed]: " github-actions

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).