Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] zeal: update to 0.7.1
@ 2024-06-11 15:58 rookiejet
  2024-06-11 17:12 ` [PR PATCH] [Updated] " rookiejet
  2024-06-11 17:12 ` [PR PATCH] [Closed]: " rookiejet
  0 siblings, 2 replies; 3+ messages in thread
From: rookiejet @ 2024-06-11 15:58 UTC (permalink / raw)
  To: ml

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

There is a new 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: 2411 bytes --]

From 962dfef1e167ec798e58176e16e11dc604c9d344 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                 | 17 +++++++----------
 2 files changed, 7 insertions(+), 24 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..3b1f26746226cf 100644
--- a/srcpkgs/zeal/template
+++ b/srcpkgs/zeal/template
@@ -1,20 +1,17 @@
 # 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"
-hostmakedepends="pkg-config extra-cmake-modules"
-makedepends="qt5-webkit-devel xcb-util-keysyms-devel libarchive-devel qt5-x11extras-devel sqlite-devel"
-depends="bsdtar"
+configure_args="-DQT_HOST_PATH=/usr -DZEAL_RELEASE_BUILD=ON"
+hostmakedepends="pkg-config extra-cmake-modules qt6-base qt6-tools"
+makedepends="xcb-util-keysyms-devel libarchive-devel sqlite-devel libarchive-devel
+	qt6-base-devel qt6-webengine-devel qt6-webchannel-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
-
-if [ "$CROSS_BUILD" ]; then
-	hostmakedepends+=" qt5-host-tools qt5-qmake"
-fi
+checksum=fca3012c174c7df6a91a6f93ef0df371fa714de769e3904f8fda3635ff959397

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

* Re: [PR PATCH] [Updated] zeal: update to 0.7.1
  2024-06-11 15:58 [PR PATCH] zeal: update to 0.7.1 rookiejet
@ 2024-06-11 17:12 ` rookiejet
  2024-06-11 17:12 ` [PR PATCH] [Closed]: " rookiejet
  1 sibling, 0 replies; 3+ messages in thread
From: rookiejet @ 2024-06-11 17:12 UTC (permalink / raw)
  To: ml

[-- 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

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

* Re: [PR PATCH] [Closed]: zeal: update to 0.7.1
  2024-06-11 15:58 [PR PATCH] zeal: update to 0.7.1 rookiejet
  2024-06-11 17:12 ` [PR PATCH] [Updated] " rookiejet
@ 2024-06-11 17:12 ` rookiejet
  1 sibling, 0 replies; 3+ messages in thread
From: rookiejet @ 2024-06-11 17:12 UTC (permalink / raw)
  To: ml

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

There's a closed pull request on the void-packages repository

zeal: update to 0.7.1
https://github.com/void-linux/void-packages/pull/50778

Description:
<!-- 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
-->


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

end of thread, other threads:[~2024-06-11 17:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-06-11 15:58 [PR PATCH] zeal: update to 0.7.1 rookiejet
2024-06-11 17:12 ` [PR PATCH] [Updated] " rookiejet
2024-06-11 17:12 ` [PR PATCH] [Closed]: " rookiejet

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).