Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] qt6-webengine: cross build
@ 2023-02-24 15:44 sgn
  2023-02-25  0:34 ` [PR PATCH] [Updated] " sgn
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: sgn @ 2023-02-24 15:44 UTC (permalink / raw)
  To: ml

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

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

https://github.com/sgn/void-packages qt6-webengine-cross
https://github.com/void-linux/void-packages/pull/42427

qt6-webengine: cross build
<!-- Uncomment relevant sections and delete options which are not applicable -->
[ci skip]
#### Testing the changes
- I tested the changes in this PR: **YES**|**briefly**|**NO**

<!--
#### 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/42427.patch is attached

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

From 04fdea2a44ed9cff7445981a6c7d6fd5e3327a9e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?=
 <congdanhqx@gmail.com>
Date: Fri, 24 Feb 2023 22:42:56 +0700
Subject: [PATCH] qt6-webengine: cross build

---
 srcpkgs/qt6-webengine/template | 21 ++++++++-------------
 1 file changed, 8 insertions(+), 13 deletions(-)

diff --git a/srcpkgs/qt6-webengine/template b/srcpkgs/qt6-webengine/template
index 10995994ac7e..99012732b53a 100644
--- a/srcpkgs/qt6-webengine/template
+++ b/srcpkgs/qt6-webengine/template
@@ -9,17 +9,18 @@ configure_args="
  -DQT_FEATURE_webengine_system_gn=ON
  -DQT_FEATURE_webengine_system_icu=ON
  -DQT_FEATURE_webengine_webrtc_pipewire=ON
+ -DQT_FEATURE_webengine_embedded_build=OFF
+ -DQT_FEATURE_pdf_v8=ON
  -DNinja_EXECUTABLE=$XBPS_WRAPPERDIR/ninja
- -DQT_BUILD_EXAMPLES=ON
- -DPKG_CONFIG_HOST_EXECUTABLE=${PKG_CONFIG_FOR_BUILD}"
-hostmakedepends="qt6-base perl pkg-config nodejs python3-html5lib
- qt6-declarative-tools protobuf gperf flex nss-devel libwebp-devel
- icu-devel libevent-devel"
+ -DQT_BUILD_EXAMPLES=ON"
+hostmakedepends="qt6-base-devel perl pkg-config nodejs python3-html5lib
+ qt6-declarative-host-tools protobuf gperf flex nss-devel libwebp-devel
+ qt6-tools icu-devel libevent-devel"
 makedepends="qt6-base-devel qt6-declarative-devel pulseaudio-devel
  qt6-tools-devel qt6-websockets-devel libflac-devel qt6-svg-devel
  alsa-lib-devel libvpx-devel pciutils-devel opus-devel libxslt-devel
  libxml2-devel freetype-devel lcms2-devel libwebp-devel icu-devel
- re2-devel zlib-devel libpng-devel minizip-devel harfbuzz-devel
+ re2-devel zlib-devel libpng-devel minizip-devel harfbuzz-devel cups-devel
  nss-devel libXcursor-devel libXcomposite-devel libXScrnSaver-devel
  protobuf-devel ffmpeg-devel snappy-devel libevent-devel pipewire-devel
  libxkbfile-devel qt6-location-devel qt6-webchannel-devel libxshmfence-devel"
@@ -33,13 +34,6 @@ homepage="https://www.qt.io"
 distfiles="https://download.qt.io/official_releases/qt/${version%.*}/${version}/submodules/qtwebengine-everywhere-src-${version}.tar.xz"
 checksum=ffa945518d1cc8d9ee73523e8d9c2090844f5a2d9c7eac05c4ad079472a119c9
 
-nocross="until later, I need calibre first"
-
-if [ "$CROSS_BUILD" ];then
-	configure_args+=" -DQT_BUILD_TOOLS_WHEN_CROSSCOMPILING=TRUE"
-	configure_args+=" -DCMAKE_TOOLCHAIN_FILE=/usr/lib/cmake/Qt6/qt.toolchain.cmake"
-fi
-
 if [ "$XBPS_LIBC" = "musl" ]; then
 	hostmakedepends+=" musl-legacy-compat"
 fi
@@ -137,6 +131,7 @@ pre_configure() {
 	# _unbundle_libs
 	_wrap_ninja
 	export PATH="$PATH:${wrksrc}/src/3rdparty/gn/out/Release"
+	export PKG_CONFIG_HOST=${PKG_CONFIG_FOR_BUILD}
 }
 
 pre_build() {

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

* Re: [PR PATCH] [Updated] qt6-webengine: cross build
  2023-02-24 15:44 [PR PATCH] qt6-webengine: cross build sgn
@ 2023-02-25  0:34 ` sgn
  2023-02-25  0:43 ` sgn
  2023-02-25  5:41 ` [PR PATCH] [Merged]: " sgn
  2 siblings, 0 replies; 4+ messages in thread
From: sgn @ 2023-02-25  0:34 UTC (permalink / raw)
  To: ml

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

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

https://github.com/sgn/void-packages qt6-webengine-cross
https://github.com/void-linux/void-packages/pull/42427

qt6-webengine: cross build
<!-- Uncomment relevant sections and delete options which are not applicable -->
[ci skip]
#### Testing the changes
- I tested the changes in this PR: **YES**|**briefly**|**NO**

<!--
#### 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/42427.patch is attached

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

From 3cc657fd3e46262c1a1debc5ce83b6bbea079e8a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?=
 <congdanhqx@gmail.com>
Date: Fri, 24 Feb 2023 22:42:56 +0700
Subject: [PATCH] qt6-webengine: cross build

---
 srcpkgs/qt6-webengine/template | 21 ++++++++-------------
 1 file changed, 8 insertions(+), 13 deletions(-)

diff --git a/srcpkgs/qt6-webengine/template b/srcpkgs/qt6-webengine/template
index 10995994ac7e..99012732b53a 100644
--- a/srcpkgs/qt6-webengine/template
+++ b/srcpkgs/qt6-webengine/template
@@ -9,17 +9,18 @@ configure_args="
  -DQT_FEATURE_webengine_system_gn=ON
  -DQT_FEATURE_webengine_system_icu=ON
  -DQT_FEATURE_webengine_webrtc_pipewire=ON
+ -DQT_FEATURE_webengine_embedded_build=OFF
+ -DQT_FEATURE_pdf_v8=ON
  -DNinja_EXECUTABLE=$XBPS_WRAPPERDIR/ninja
- -DQT_BUILD_EXAMPLES=ON
- -DPKG_CONFIG_HOST_EXECUTABLE=${PKG_CONFIG_FOR_BUILD}"
-hostmakedepends="qt6-base perl pkg-config nodejs python3-html5lib
- qt6-declarative-tools protobuf gperf flex nss-devel libwebp-devel
- icu-devel libevent-devel"
+ -DQT_BUILD_EXAMPLES=ON"
+hostmakedepends="qt6-base-devel perl pkg-config nodejs python3-html5lib
+ qt6-declarative-host-tools protobuf gperf flex nss-devel libwebp-devel
+ qt6-tools icu-devel libevent-devel"
 makedepends="qt6-base-devel qt6-declarative-devel pulseaudio-devel
  qt6-tools-devel qt6-websockets-devel libflac-devel qt6-svg-devel
  alsa-lib-devel libvpx-devel pciutils-devel opus-devel libxslt-devel
  libxml2-devel freetype-devel lcms2-devel libwebp-devel icu-devel
- re2-devel zlib-devel libpng-devel minizip-devel harfbuzz-devel
+ re2-devel zlib-devel libpng-devel minizip-devel harfbuzz-devel cups-devel
  nss-devel libXcursor-devel libXcomposite-devel libXScrnSaver-devel
  protobuf-devel ffmpeg-devel snappy-devel libevent-devel pipewire-devel
  libxkbfile-devel qt6-location-devel qt6-webchannel-devel libxshmfence-devel"
@@ -33,13 +34,6 @@ homepage="https://www.qt.io"
 distfiles="https://download.qt.io/official_releases/qt/${version%.*}/${version}/submodules/qtwebengine-everywhere-src-${version}.tar.xz"
 checksum=ffa945518d1cc8d9ee73523e8d9c2090844f5a2d9c7eac05c4ad079472a119c9
 
-nocross="until later, I need calibre first"
-
-if [ "$CROSS_BUILD" ];then
-	configure_args+=" -DQT_BUILD_TOOLS_WHEN_CROSSCOMPILING=TRUE"
-	configure_args+=" -DCMAKE_TOOLCHAIN_FILE=/usr/lib/cmake/Qt6/qt.toolchain.cmake"
-fi
-
 if [ "$XBPS_LIBC" = "musl" ]; then
 	hostmakedepends+=" musl-legacy-compat"
 fi
@@ -137,6 +131,7 @@ pre_configure() {
 	# _unbundle_libs
 	_wrap_ninja
 	export PATH="$PATH:${wrksrc}/src/3rdparty/gn/out/Release"
+	export PKG_CONFIG_HOST=${PKG_CONFIG_FOR_BUILD}
 }
 
 pre_build() {

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

* Re: [PR PATCH] [Updated] qt6-webengine: cross build
  2023-02-24 15:44 [PR PATCH] qt6-webengine: cross build sgn
  2023-02-25  0:34 ` [PR PATCH] [Updated] " sgn
@ 2023-02-25  0:43 ` sgn
  2023-02-25  5:41 ` [PR PATCH] [Merged]: " sgn
  2 siblings, 0 replies; 4+ messages in thread
From: sgn @ 2023-02-25  0:43 UTC (permalink / raw)
  To: ml

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

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

https://github.com/sgn/void-packages qt6-webengine-cross
https://github.com/void-linux/void-packages/pull/42427

qt6-webengine: cross build
<!-- Uncomment relevant sections and delete options which are not applicable -->
[ci skip]
#### Testing the changes
- I tested the changes in this PR: **YES**|**briefly**|**NO**

<!--
#### 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/42427.patch is attached

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

From 3cc657fd3e46262c1a1debc5ce83b6bbea079e8a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?=
 <congdanhqx@gmail.com>
Date: Fri, 24 Feb 2023 22:42:56 +0700
Subject: [PATCH 1/2] qt6-webengine: cross build

---
 srcpkgs/qt6-webengine/template | 21 ++++++++-------------
 1 file changed, 8 insertions(+), 13 deletions(-)

diff --git a/srcpkgs/qt6-webengine/template b/srcpkgs/qt6-webengine/template
index 10995994ac7e..99012732b53a 100644
--- a/srcpkgs/qt6-webengine/template
+++ b/srcpkgs/qt6-webengine/template
@@ -9,17 +9,18 @@ configure_args="
  -DQT_FEATURE_webengine_system_gn=ON
  -DQT_FEATURE_webengine_system_icu=ON
  -DQT_FEATURE_webengine_webrtc_pipewire=ON
+ -DQT_FEATURE_webengine_embedded_build=OFF
+ -DQT_FEATURE_pdf_v8=ON
  -DNinja_EXECUTABLE=$XBPS_WRAPPERDIR/ninja
- -DQT_BUILD_EXAMPLES=ON
- -DPKG_CONFIG_HOST_EXECUTABLE=${PKG_CONFIG_FOR_BUILD}"
-hostmakedepends="qt6-base perl pkg-config nodejs python3-html5lib
- qt6-declarative-tools protobuf gperf flex nss-devel libwebp-devel
- icu-devel libevent-devel"
+ -DQT_BUILD_EXAMPLES=ON"
+hostmakedepends="qt6-base-devel perl pkg-config nodejs python3-html5lib
+ qt6-declarative-host-tools protobuf gperf flex nss-devel libwebp-devel
+ qt6-tools icu-devel libevent-devel"
 makedepends="qt6-base-devel qt6-declarative-devel pulseaudio-devel
  qt6-tools-devel qt6-websockets-devel libflac-devel qt6-svg-devel
  alsa-lib-devel libvpx-devel pciutils-devel opus-devel libxslt-devel
  libxml2-devel freetype-devel lcms2-devel libwebp-devel icu-devel
- re2-devel zlib-devel libpng-devel minizip-devel harfbuzz-devel
+ re2-devel zlib-devel libpng-devel minizip-devel harfbuzz-devel cups-devel
  nss-devel libXcursor-devel libXcomposite-devel libXScrnSaver-devel
  protobuf-devel ffmpeg-devel snappy-devel libevent-devel pipewire-devel
  libxkbfile-devel qt6-location-devel qt6-webchannel-devel libxshmfence-devel"
@@ -33,13 +34,6 @@ homepage="https://www.qt.io"
 distfiles="https://download.qt.io/official_releases/qt/${version%.*}/${version}/submodules/qtwebengine-everywhere-src-${version}.tar.xz"
 checksum=ffa945518d1cc8d9ee73523e8d9c2090844f5a2d9c7eac05c4ad079472a119c9
 
-nocross="until later, I need calibre first"
-
-if [ "$CROSS_BUILD" ];then
-	configure_args+=" -DQT_BUILD_TOOLS_WHEN_CROSSCOMPILING=TRUE"
-	configure_args+=" -DCMAKE_TOOLCHAIN_FILE=/usr/lib/cmake/Qt6/qt.toolchain.cmake"
-fi
-
 if [ "$XBPS_LIBC" = "musl" ]; then
 	hostmakedepends+=" musl-legacy-compat"
 fi
@@ -137,6 +131,7 @@ pre_configure() {
 	# _unbundle_libs
 	_wrap_ninja
 	export PATH="$PATH:${wrksrc}/src/3rdparty/gn/out/Release"
+	export PKG_CONFIG_HOST=${PKG_CONFIG_FOR_BUILD}
 }
 
 pre_build() {

From 633768a05501cd5861944d00a0dc300f2bdc0c62 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?=
 <congdanhqx@gmail.com>
Date: Sat, 25 Feb 2023 07:42:40 +0700
Subject: [PATCH 2/2] python3-pyqt6-webengine: cross build

---
 srcpkgs/python3-pyqt6-webengine/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/python3-pyqt6-webengine/template b/srcpkgs/python3-pyqt6-webengine/template
index 12c3be82c062..26a640d60b6a 100644
--- a/srcpkgs/python3-pyqt6-webengine/template
+++ b/srcpkgs/python3-pyqt6-webengine/template
@@ -3,6 +3,7 @@ pkgname=python3-pyqt6-webengine
 version=6.4.0
 revision=1
 build_style=sip-build
+build_helper=python3
 hostmakedepends="qt6-base python3-PyQt-builder pkg-config"
 makedepends="python3-pyqt6-gui-devel qt6-webengine-devel
  python3-pyqt6-network-devel python3-pyqt6-webchannel-devel

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

* Re: [PR PATCH] [Merged]: qt6-webengine: cross build
  2023-02-24 15:44 [PR PATCH] qt6-webengine: cross build sgn
  2023-02-25  0:34 ` [PR PATCH] [Updated] " sgn
  2023-02-25  0:43 ` sgn
@ 2023-02-25  5:41 ` sgn
  2 siblings, 0 replies; 4+ messages in thread
From: sgn @ 2023-02-25  5:41 UTC (permalink / raw)
  To: ml

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

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

qt6-webengine: cross build
https://github.com/void-linux/void-packages/pull/42427

Description:
<!-- Uncomment relevant sections and delete options which are not applicable -->
[ci skip]
#### Testing the changes
- I tested the changes in this PR: **YES**|**briefly**|**NO**

<!--
#### 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] 4+ messages in thread

end of thread, other threads:[~2023-02-25  5:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-24 15:44 [PR PATCH] qt6-webengine: cross build sgn
2023-02-25  0:34 ` [PR PATCH] [Updated] " sgn
2023-02-25  0:43 ` sgn
2023-02-25  5:41 ` [PR PATCH] [Merged]: " sgn

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