Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] qt: cross targets for ppc64, qt-webkit: fix build + ppc adjustments
@ 2019-05-05  0:00 voidlinux-github
  2019-05-05  5:54 ` [PR PATCH] [Merged]: " voidlinux-github
  0 siblings, 1 reply; 2+ messages in thread
From: voidlinux-github @ 2019-05-05  0:00 UTC (permalink / raw)
  To: ml

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

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

https://github.com/void-ppc64/void-packages qt
https://github.com/void-linux/void-packages/pull/11497

qt: cross targets for ppc64, qt-webkit: fix build + ppc adjustments
These are the necessary changes for qt4 and qt4 webkit on ppc64.

Python is newly required for qt-webkit hostmakedepends, because a python script is run during build and this script must be run with python2 (registered as python in alternatives). Some change in a host dependency switched the python version to 3, which now breaks it.

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

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

From 9b1d6a4ce5442cb030bb9a68d7480d1e8f4e86c2 Mon Sep 17 00:00:00 2001
From: q66 <daniel@octaforge.org>
Date: Sun, 5 May 2019 01:55:24 +0200
Subject: [PATCH 1/2] qt: add ppc64 cross targets

[ci skip]
---
 srcpkgs/qt/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/srcpkgs/qt/template b/srcpkgs/qt/template
index 6c13a465891..2c5b38999bc 100644
--- a/srcpkgs/qt/template
+++ b/srcpkgs/qt/template
@@ -107,6 +107,22 @@ do_configure() {
 				_opts+=" -arch mips"
 				_spec="mipsel-linux-muslhf-c++"
 				;;
+			ppc64le)
+				_opts+=" -arch powerpc"
+				_spec="powerpc64le-linux-gnu-c++"
+				;;
+			ppc64le-musl)
+				_opts+=" -arch powerpc"
+				_spec="powerpc64le-linux-musl-c++"
+				;;
+			ppc64)
+				_opts+=" -arch powerpc"
+				_spec="powerpc64-linux-gnu-c++"
+				;;
+			ppc64-musl)
+				_opts+=" -arch powerpc"
+				_spec="powerpc64-linux-musl-c++"
+				;;
 			*-musl)
 				_opts+=" -arch arm"
 				_spec="${XBPS_TARGET_MACHINE}-linux-musl-c++"

From afc6c5760607308e07a5dfac946a2a31abc531cc Mon Sep 17 00:00:00 2001
From: q66 <daniel@octaforge.org>
Date: Sun, 5 May 2019 01:55:42 +0200
Subject: [PATCH 2/2] qt-webkit: fix build and disable jit/asm for ppc

It is necessary to add python to host makedepends as python2
is necessary on host during build (python3 will fail to run the
respective script). Adding it early is necessary for proper
alternatives registration for py2.

[ci skip]
---
 srcpkgs/qt-webkit/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/qt-webkit/template b/srcpkgs/qt-webkit/template
index af8507d45a8..1c3ff6c0ee2 100644
--- a/srcpkgs/qt-webkit/template
+++ b/srcpkgs/qt-webkit/template
@@ -5,7 +5,7 @@ revision=7
 _qtver=4.8.7
 wrksrc="qtwebkit-${version}"
 create_wrksrc=yes
-hostmakedepends="automake libtool bison flex gperf ruby pkg-config qt-qmake"
+hostmakedepends="automake libtool bison flex gperf python ruby pkg-config qt-qmake"
 makedepends="MesaLib-devel libjpeg-turbo-devel qt-devel qt-designer-devel
  glib-devel fontconfig-devel gst-plugins-base1-devel sqlite-devel libXrender-devel"
 short_desc="Open source web browser engine (Qt4 port)"
@@ -50,7 +50,7 @@ do_build() {
 		opts+=" DEFINES+=ENABLE_JIT=0"
 		opts+=" DEFINES+=ENABLE_YARR_JIT=0"
 		;;
-	arm*|mips*)
+	arm*|mips*|ppc*)
 		# Disable JIT and assembler
 		opts+=" DEFINES+=ENABLE_JIT=0"
 		opts+=" DEFINES+=ENABLE_YARR_JIT=0"

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

* Re: [PR PATCH] [Merged]: qt: cross targets for ppc64, qt-webkit: fix build + ppc adjustments
  2019-05-05  0:00 [PR PATCH] qt: cross targets for ppc64, qt-webkit: fix build + ppc adjustments voidlinux-github
@ 2019-05-05  5:54 ` voidlinux-github
  0 siblings, 0 replies; 2+ messages in thread
From: voidlinux-github @ 2019-05-05  5:54 UTC (permalink / raw)
  To: ml

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

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

qt: cross targets for ppc64, qt-webkit: fix build + ppc adjustments
https://github.com/void-linux/void-packages/pull/11497
Description: These are the necessary changes for qt4 and qt4 webkit on ppc64.

Python is newly required for qt-webkit hostmakedepends, because a python script is run during build and this script must be run with python2 (registered as python in alternatives). Some change in a host dependency switched the python version to 3, which now breaks it.

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

end of thread, other threads:[~2019-05-05  5:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-05  0:00 [PR PATCH] qt: cross targets for ppc64, qt-webkit: fix build + ppc adjustments voidlinux-github
2019-05-05  5:54 ` [PR PATCH] [Merged]: " voidlinux-github

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