Github messages for voidlinux
 help / color / mirror / Atom feed
From: voidlinux-github@inbox.vuxu.org
To: ml@inbox.vuxu.org
Subject: [PR PATCH] qt: cross targets for ppc64, qt-webkit: fix build + ppc adjustments
Date: Sun, 05 May 2019 02:00:04 +0200	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-11497@inbox.vuxu.org> (raw)

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

             reply	other threads:[~2019-05-05  0:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-05  0:00 voidlinux-github [this message]
2019-05-05  5:54 ` [PR PATCH] [Merged]: " voidlinux-github

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=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-11497@inbox.vuxu.org \
    --to=voidlinux-github@inbox.vuxu.org \
    --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).