Github messages for voidlinux
 help / color / mirror / Atom feed
From: rookiejet <rookiejet@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] zeal: update to 0.7.1
Date: Tue, 11 Jun 2024 19:12:06 +0200	[thread overview]
Message-ID: <20240611171206.EE8082A786@inbox.vuxu.org> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-50778@inbox.vuxu.org>

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

There is an updated pull request by rookiejet against master on the void-packages repository

https://github.com/rookiejet/void-packages zeal-qt6
https://github.com/void-linux/void-packages/pull/50778

zeal: update to 0.7.1
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- 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
-->


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

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

From fc293f1e8927b8045ba4fd5c9298ac867f3c667a Mon Sep 17 00:00:00 2001
From: Mazin Fadl <mazen@illumed.net>
Date: Mon, 3 Jun 2024 13:34:35 -0400
Subject: [PATCH] zeal: update to 0.7.1

---
 srcpkgs/zeal/patches/qt5-5.15.0.patch | 14 -----------
 srcpkgs/zeal/template                 | 35 ++++++++++++++++++++++-----
 2 files changed, 29 insertions(+), 20 deletions(-)
 delete mode 100644 srcpkgs/zeal/patches/qt5-5.15.0.patch

diff --git a/srcpkgs/zeal/patches/qt5-5.15.0.patch b/srcpkgs/zeal/patches/qt5-5.15.0.patch
deleted file mode 100644
index 0854280bb30171..00000000000000
--- a/srcpkgs/zeal/patches/qt5-5.15.0.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-Source: @pullmoll
-Upstream: no
-Reason: qt5-5.15.0 requires explicit include for QPainterPath
-
---- a/src/libs/ui/searchitemdelegate.cpp	2018-09-28 07:26:37.000000000 +0200
-+++ b/src/libs/ui/searchitemdelegate.cpp	2020-07-11 23:11:37.992053122 +0200
-@@ -27,6 +27,7 @@
- #include <QFontMetrics>
- #include <QHelpEvent>
- #include <QPainter>
-+#include <QPainterPath>
- #include <QToolTip>
- 
- using namespace Zeal::WidgetUi;
diff --git a/srcpkgs/zeal/template b/srcpkgs/zeal/template
index 9db6b15584d658..3d1e99e2d63847 100644
--- a/srcpkgs/zeal/template
+++ b/srcpkgs/zeal/template
@@ -1,20 +1,43 @@
 # Template file for 'zeal'
 pkgname=zeal
 reverts="20141123_1 20141123_2"
-version=0.6.1
+version=0.7.1
 revision=1
 build_style=cmake
-configure_args="CONFIG+=no_libappindicator"
+configure_args="-DQT_HOST_PATH=/usr -DZEAL_RELEASE_BUILD=ON"
 hostmakedepends="pkg-config extra-cmake-modules"
-makedepends="qt5-webkit-devel xcb-util-keysyms-devel libarchive-devel qt5-x11extras-devel sqlite-devel"
-depends="bsdtar"
+makedepends="xcb-util-keysyms-devel libarchive-devel sqlite-devel libarchive-devel"
+depends="desktop-file-utils hicolor-icon-theme"
 short_desc="Simple offline API documentation browser"
 maintainer="Farhad Shahbazi <grauwolf@geekosphere.org>"
 license="GPL-3.0-or-later"
 homepage="https://zealdocs.org/"
 distfiles="https://github.com/zealdocs/zeal/archive/v${version}.tar.gz"
-checksum=095c08f9903071849d5c79878abd48237ce1615f16d324afff1873ab6b5f0026
+checksum=fca3012c174c7df6a91a6f93ef0df371fa714de769e3904f8fda3635ff959397
 
-if [ "$CROSS_BUILD" ]; then
+build_options="qt6 webkit"
+desc_option_qt6="Use Qt6 GUI and WebEngine backend"
+desc_option_webkit="Use Qt5 WebKit backend"
+
+vopt_conflict qt6 webkit
+
+# WebEngine is unavailable on BE systems or when host & target word sizes differ
+if [ "$XBPS_TARGET_ENDIAN" != "le" ]; then
+	build_options_default="webkit"
+elif [ "$XBPS_WORDSIZE" != "$XBPS_TARGET_WORDSIZE" ]; then
+	build_options_default="webkit"
+elif [ "$XBPS_WORDSIZE" != 32 ]; then
+	# qt6-webengine is broken on 32-bit systems
+	build_options_default="qt6"
+fi
+
+if [ "$build_option_qt6" ]; then
+	hostmakedepends+=" qt6-base qt6-tools"
+	makedepends+=" qt6-base-devel qt6-webengine-devel
+		qt6-webchannel-devel"
+else
 	hostmakedepends+=" qt5-host-tools qt5-qmake"
+	makedepends+=" qt5-tools-devel qt5-x11extras-devel qt5-webchannel-devel
+		qt5-declarative-devel qt5-location-devel
+		$(vopt_if webkit qt5-webkit-devel qt5-webengine-devel)"
 fi

  reply	other threads:[~2024-06-11 17:12 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-11 15:58 [PR PATCH] " rookiejet
2024-06-11 17:12 ` rookiejet [this message]
2024-06-11 17:12 ` [PR PATCH] [Closed]: " rookiejet

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=20240611171206.EE8082A786@inbox.vuxu.org \
    --to=rookiejet@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).