From mboxrd@z Thu Jan 1 00:00:00 1970 From: mike.rosset@gmail.com Subject: Re: qtwenengine anybody? Date: Wed, 18 Dec 2019 13:24:05 -0800 Message-ID: <87d0clpbt6.fsf@gmail.com> References: <87a77sqtdq.fsf@ambrevar.xyz> <87immgqryj.fsf@gmail.com> <871rt4qnp9.fsf@gmail.com> <87immgp582.fsf@gmail.com> <5955729d-ef57-ffb8-feb8-36a9f53658a2@crazy-compilers.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:54673) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ihgni-0007h8-Jk for guix-devel@gnu.org; Wed, 18 Dec 2019 16:24:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ihgng-0004by-Hj for guix-devel@gnu.org; Wed, 18 Dec 2019 16:24:10 -0500 Received: from mail-pj1-x1043.google.com ([2607:f8b0:4864:20::1043]:35332) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ihgng-0004aM-Ar for guix-devel@gnu.org; Wed, 18 Dec 2019 16:24:08 -0500 Received: by mail-pj1-x1043.google.com with SMTP id s7so1477434pjc.0 for ; Wed, 18 Dec 2019 13:24:07 -0800 (PST) In-Reply-To: <5955729d-ef57-ffb8-feb8-36a9f53658a2@crazy-compilers.com> (Hartmut Goebel's message of "Mon, 16 Dec 2019 18:29:28 +0100") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Hartmut Goebel Cc: Guix-devel Hartmut Goebel writes: > Am 16.12.19 um 18:09 schrieb mike.rosset@gmail.com: >> I'm currently brushing up my latest qtwebengine build. Will resubmit >> this patch. I will also see if I can inherit qtsvg again to put this >> back on par with other module packages. From there I'll put a simple >> test example together demonstrating the locale and translation problem. > > Sounds good I've resubmitted the patch it can be found here https://lists.gnu.org/archive/html/guix-patches/2019-12/msg00530.html. My ML patch workflow is probably not all that correct so I apologize if there is any issues. To summarize the package now inherits from qtsvg. The locales issues have been resolved by substituting qtwebengine's output instead of using qtbase. Some dynamically loaded libraries like udev and nss have been substituted using corresponding inputs. Some known issues, when building with pulseaudio support. There is some issues finding pulseaudio socket. I've disabled support for pulseaudio until I can resolve this. Additionally on my system when using hardware accelerated OpenGL neuveau drivers, qtwebengine crashes this does not happen when using the monolithic qt package. This can avoided by setting the QT_XCB_FORCE_SOFTWARE_OPENGL to 1. I have a simple CPP for testing it can be found here. https://github.com/mrosset/testqt. for testing I use this enviroment. --8<---------------cut here---------------start------------->8--- ./pre-inst-env guix environment --ad-hoc qtbase qtwebengine qtdeclarative qtwebchannel coreutils gcc-toolchain nss-certs --8<---------------cut here---------------end--------------->8--- and then I test with --8<---------------cut here---------------start------------->8--- cd testqt qmake make ./main --8<---------------cut here---------------end--------------->8--- or there are hardware acceleration problems --8<---------------cut here---------------start------------->8--- QT_XCB_FORCE_SOFTWARE_OPENGL=1 ./main --8<---------------cut here---------------end--------------->8--- I can also a substitute if anyone needs them for testing. Since this build can take some time. Mike