From patchwork Wed Jan 1 16:03:53 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Rosset X-Patchwork-Id: 19498 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 7DFE4179D6; Wed, 1 Jan 2020 16:05:17 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_DKIM_INVALID,URIBL_BLOCKED,URI_NOVOWEL autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id D462D179D4 for ; Wed, 1 Jan 2020 16:05:16 +0000 (GMT) Received: from localhost ([::1]:59494 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1imgUl-0007Zw-NZ for patchwork@mira.cbaines.net; Wed, 01 Jan 2020 11:05:15 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:48466) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1imgUa-0007Ze-Eb for guix-patches@gnu.org; Wed, 01 Jan 2020 11:05:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1imgUY-0005G9-TZ for guix-patches@gnu.org; Wed, 01 Jan 2020 11:05:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:59676) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1imgUY-0005Ft-Q3 for guix-patches@gnu.org; Wed, 01 Jan 2020 11:05:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1imgUY-0001JT-MK for guix-patches@gnu.org; Wed, 01 Jan 2020 11:05:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#35866] [PATCH 2/4] gnu: qtwebengine now uses pulseaudio Resent-From: Mike Rosset Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 01 Jan 2020 16:05:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 35866 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 35866@debbugs.gnu.org Cc: mike.rosset@gmail.com Received: via spool by 35866-submit@debbugs.gnu.org id=B35866.15778946614959 (code B ref 35866); Wed, 01 Jan 2020 16:05:02 +0000 Received: (at 35866) by debbugs.gnu.org; 1 Jan 2020 16:04:21 +0000 Received: from localhost ([127.0.0.1]:37410 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1imgTs-0001Hu-PH for submit@debbugs.gnu.org; Wed, 01 Jan 2020 11:04:21 -0500 Received: from mail-pf1-f171.google.com ([209.85.210.171]:38894) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1imgTr-0001HZ-GJ for 35866@debbugs.gnu.org; Wed, 01 Jan 2020 11:04:19 -0500 Received: by mail-pf1-f171.google.com with SMTP id x185so20916750pfc.5 for <35866@debbugs.gnu.org>; Wed, 01 Jan 2020 08:04:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=WJwQNbtSbaoelNMnKFX2q2AL96Bnvz7Ta8pnBVCbWCg=; b=qmi1jh2m1S/ohLYnswQKmIghoFtLWJfN0H6r9blkcMg9Nf0q16qWRo1PAWv3zWk1Wp lpiRed6oAwsXR4x/a0qMlhH4XnTWpFVUqAzSE1tSMqIfFXvvHhrf6VqfqrZMkKfrUFbT 6cGW3d2byQvT0HF/ZycdQIFTmepvnp5+KN+hFabjuDQGtuImXfM88dNDUI2Xe0PYmbtw qIY9q4Amd6Pa0QFl/cQMLzVKgRHp9Pzq51VhS3Niq1mmLRay0F7hxp+D1nZsJLArH1qp MtyT6IsE5Mm7xlWplxGE95wJKBS336dXDoGznyssRrv1vLEABzmgNc8wKraFC6L9Egqv sThg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=WJwQNbtSbaoelNMnKFX2q2AL96Bnvz7Ta8pnBVCbWCg=; b=kOCYsa9kXgX0Ub1mlMQEb2FAag7/zwio71CGCh4g3TpBV72SzIv4LF+BV+eo8CnaYr n2apkP1NggA7SfBHjF9m/nUwTAAKrfFcXYLlrWHddB+Lz4hp85jGf1qPg6WvvWHr1xMp oVGJDdyeUa5bLr9MaGDSQAJ+m2g4ED10COR5p9eDEUezS3DEyDDx7Qsys+bvSzs+6uTW TIJPdWxIwYUwGWkG01/kn/14C3yaB1hVjQbps2HE9AEoWL4knsgRwSxp0AG+A6VBS2kA ZK+cX6r5uTUaK/V34HchyTzrOcUxFHIW2n8+sg4Wh9+9TIUTcspuVdRthgLMiY0+YiXe 6HHQ== X-Gm-Message-State: APjAAAU8hJekpoaJIAnmqTkWm0KUX48AnIuoF9iCOVIEfj3ZqY5Q+1xZ xRofiN9uCEXGZ9J0MFAXT3s3eZ4stlE= X-Google-Smtp-Source: APXvYqypS716sEhGfigpfUIiiTNmGtWNnipC1/HHtYWnREK2Q9Ifbge3sZBcCLr0Sj4aj9WITd/KSA== X-Received: by 2002:a63:950c:: with SMTP id p12mr85641582pgd.85.1577894653244; Wed, 01 Jan 2020 08:04:13 -0800 (PST) Received: from neutron.telus (node-1w7jr9qlfahmev9dakqkc7if6.ipv6.telus.net. [2001:569:74e0:7d00:c8c3:b228:84c0:5502]) by smtp.gmail.com with ESMTPSA id o14sm54524337pgm.67.2020.01.01.08.04.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Jan 2020 08:04:12 -0800 (PST) From: Mike Rosset Date: Wed, 1 Jan 2020 08:03:53 -0800 Message-Id: <20200101160355.32604-2-mike.rosset@gmail.com> X-Mailer: git-send-email 2.24.1 In-Reply-To: <20200101160355.32604-1-mike.rosset@gmail.com> References: <20200101160355.32604-1-mike.rosset@gmail.com> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches This also documents know input issues and improves the package expression syntax --- gnu/packages/qt.scm | 31 ++++++++++++++++--------------- 1 file changed, 16 insertions(+), 15 deletions(-) diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm index 2b4b167a14..456b394230 100644 --- a/gnu/packages/qt.scm +++ b/gnu/packages/qt.scm @@ -2039,10 +2039,9 @@ time Web content can be enhanced with native controls.") (method url-fetch) (uri (string-append "https://download.qt.io/official_releases/qt/" - (substring version 0 4) - "/" version "/submodules/" - (string-append name "-everywhere-src-" version) - ".tar.xz")) + (version-major+minor version) "/" version + "/submodules/" name "-everywhere-src-" + version ".tar.xz")) (sha256 (base32 "08c60nh95m98mcqk444axs76xi6m9x0wvdxrzk9c2cxwqdbz59fa")))) @@ -2055,8 +2054,7 @@ time Web content can be enhanced with native controls.") ("perl" ,perl) ("pkg-config" ,pkg-config) ("python-2" ,python-2) - ("ruby" ,ruby) - )) + ("ruby" ,ruby))) (inputs `(("alsa-lib" ,alsa-lib) ("atk" ,atk) @@ -2072,8 +2070,6 @@ time Web content can be enhanced with native controls.") ("libevent" ,libevent) ("libgcrypt" ,libgcrypt) ("libjpeg" ,libjpeg-turbo) - ;; libsrtp not found by qmake. seems to not have config.tests? - ("libsrtp" ,libsrtp) ;; FIXME: error: ?struct vpx_svc_ref_frame_config? has no member named ?frame_flags? ;; ("libvpx" ,libvpx) ("libwebp" ,libwebp) @@ -2083,7 +2079,9 @@ time Web content can be enhanced with native controls.") ("libxcursor" ,libxcursor) ("libxi" ,libxi) ("libxkbcommon" ,libxkbcommon) - ;; libxml not found due to icu not enabled in libxml? + ;; FIXME: libxml2 needs to built with icu support though it links to + ;; libxml2 configure summary still states. Checking for compatible + ;; system libxml2... no ("libxml2" ,libxml2) ("libxrandr" ,libxrandr) ("libxrender" ,libxrender) @@ -2095,7 +2093,7 @@ time Web content can be enhanced with native controls.") ("opus" ,opus) ("pciutils" ,pciutils) ("protobuf" ,protobuf) - ;; ("pulseaudio" ,pulseaudio) + ("pulseaudio" ,pulseaudio) ("qtbase" ,qtbase) ("qtdeclarative" ,qtdeclarative) ("qtmultimedia" ,qtmultimedia) @@ -2112,19 +2110,22 @@ time Web content can be enhanced with native controls.") (lambda* (#:key inputs outputs #:allow-other-keys) ;; Avoids potential race conditions (setenv "PYTHONDONTWRITEBYTECODE" "1") - ;; Make build output less verbose + ;; Make ninja build output less verbose (setenv "NINJAFLAGS" "-k1") - ;; Use this output translations not qtbase + ;; Qtwebengine is not installed into the same prefix as + ;; qtbase. Some qtbase QTLibraryInfo constants will not + ;; work. Replace with the full path to the qtwebengine + ;; translations and locales in the store. (substitute* "src/core/web_engine_library_info.cpp" (("QLibraryInfo::location\\(QLibraryInfo::TranslationsPath\\)") (format #f "QLatin1String(\"~a\")" (string-append (assoc-ref outputs "out") "/share/qt5/translations"))) (("QLibraryInfo::location\\(QLibraryInfo::DataPath\\)") (format #f "QLatin1String(\"~a\")" (string-append (assoc-ref outputs "out") "/share/qt5")))) - ;; Substitute full dynamic path for nss + ;; Substitute full dynamic library path for nss (substitute* "src/3rdparty/chromium/crypto/nss_util.cc" (("libnssckbi.so") (string-append (assoc-ref inputs "nss") "/lib/nss/libnssckbi.so"))) - ;; Substitute full dynamic path for udev + ;; Substitute full dynamic library path for udev (substitute* "src/3rdparty/chromium/device/udev_linux/udev1_loader.cc" (("libudev.so.1") (string-append (assoc-ref inputs "udev") "/lib/libudev.so.1"))) @@ -2143,7 +2144,7 @@ time Web content can be enhanced with native controls.") (variable "QTWEBENGINEPROCESS_PATH") (files '("lib/qt5/libexec/QtWebEngineProcess"))))) (home-page "https://www.qt.io") - (synopsis "Qt WebEngine Module") + (synopsis "Qt WebEngine module") (description "Qt5WebEngine provides support for web applications using the Chromium browser project.") (license