From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?B?5a6L5paH5q2m?= Subject: Re: Qtwebengine Date: Mon, 27 Jul 2015 21:43:21 +0800 Message-ID: <87h9op7m2u.fsf@gmail.com> References: <20150726095545.GA29093@debian> <20150726110200.GA7976@debian> <87egjvexuy.fsf@gmail.com> <20150727083128.GA5271@debian> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60931) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZJifq-0004rr-Ks for guix-devel@gnu.org; Mon, 27 Jul 2015 09:42:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZJifl-0001Hl-Ha for guix-devel@gnu.org; Mon, 27 Jul 2015 09:42:34 -0400 Received: from mail-pd0-x22a.google.com ([2607:f8b0:400e:c02::22a]:36761) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZJifl-0001Hg-At for guix-devel@gnu.org; Mon, 27 Jul 2015 09:42:29 -0400 Received: by pdjr16 with SMTP id r16so53324225pdj.3 for ; Mon, 27 Jul 2015 06:42:28 -0700 (PDT) In-Reply-To: <20150727083128.GA5271@debian> 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-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Andreas Enge Cc: guix-devel@gnu.org Andreas Enge writes: > On Sun, Jul 26, 2015 at 11:34:45PM +0800, =E5=AE=8B=E6=96=87=E6=AD=A6 wro= te: >> You could remove or comment out ninja too, it's used to build webengine. > > Thanks for the suggestion, I did and pushed. > >> The below are for qt-4? > > Yes. I added harfbuzz as an input to qt 5, and took it out again for > qt-4. OK. > > On Sun, Jul 26, 2015 at 05:07:18PM -0400, Mark H Weaver wrote: >> =E5=AE=8B=E6=96=87=E6=AD=A6 writes: >> > +1 for remove qtwebengine. > > Done and pushed, only for qt 5. I tried the flag "-skip qtwebengine" for = qt-4, > and it was not recognised. Apparently this modularisation appears only > in qt 5. Yes, qt4 don't have it. > > On Sun, Jul 26, 2015 at 11:34:45PM +0800, =E5=AE=8B=E6=96=87=E6=AD=A6 wro= te: >> (I tried to split Qt into submodules, but it seems to require a lot of >> effort which I couldn't give now :-( ) > > I looked into the "submodules" directory on the download server, and also > tried to search a bit the documentation, but did not quite understand whe= ther > it was possible to build the different qt libraries separately. My impres= sion > was that it was not possible. To me, it looks as if these different modul= es > first need to be unpacked in a common place and then be compiled all toge= ther. > The same could then be reached by configuring with "-skip this -skip that= ", > except that one would not need to download the modules that will not be > compiled. It's indeed possible since nixpkgs did it: I think the tricks are at build time for qmake: And set QT_PLUGIN_PATH, QML2_IMPORT_PATH, etc. at runtime time.