Github messages for voidlinux
 help / color / mirror / Atom feed
From: mustaqimM <mustaqimM@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: scantailor-advanced-2019.8.16
Date: Mon, 15 Feb 2021 05:17:02 +0100	[thread overview]
Message-ID: <20210215041702.l1cbDYx10L1JhQxlqrkt9mllJmIY8p_6P-N8XR8zSac@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-28759@inbox.vuxu.org>

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

There is an updated 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: 4169 bytes --]

From c6f40b3402bad103d3539eba149314997b8c1f0f 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          | 16 +++++
 2 files changed, 88 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..873d985d515
--- /dev/null
+++ b/srcpkgs/scantailor-advanced/template
@@ -0,0 +1,16 @@
+# Template file for 'scantailor-advanced'
+pkgname=scantailor-advanced
+version=2019.8.16
+revision=1
+wrksrc=${pkgname}-${version}_EA
+build_style=cmake
+hostmakedepends="qt5-qmake qt5-host-tools"
+makedepends="qt5-devel libjpeg-turbo-devel tiff-devel boost-devel qt5-tools-devel qt5-svg-devel"
+depends="qt5-svg"
+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"

  parent reply	other threads:[~2021-02-15  4:17 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-14 13:44 [PR PATCH] " mustaqimM
2021-02-14 21:56 ` tibequadorian
2021-02-15  3:45 ` [PR PATCH] [Updated] " mustaqimM
2021-02-15  4:17 ` mustaqimM [this message]
2022-05-04  2:15 ` github-actions
2022-05-19  2:15 ` [PR PATCH] [Closed]: " github-actions

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210215041702.l1cbDYx10L1JhQxlqrkt9mllJmIY8p_6P-N8XR8zSac@z \
    --to=mustaqimm@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).