From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: qt: monolithic or modular? Date: Tue, 05 Apr 2016 11:38:18 +0200 Message-ID: <87bn5owg39.fsf@gnu.org> References: <20160405072220.1d828a86@debian-netbook> 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]:51370) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1anNRH-00064E-V4 for guix-devel@gnu.org; Tue, 05 Apr 2016 05:38:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1anNRE-0006el-Le for guix-devel@gnu.org; Tue, 05 Apr 2016 05:38:23 -0400 In-Reply-To: <20160405072220.1d828a86@debian-netbook> (Efraim Flashner's message of "Tue, 5 Apr 2016 07:22:20 +0300") 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: Efraim Flashner Cc: guix-devel@gnu.org Efraim Flashner skribis: > I try very hard to not build qt > on my laptop, mostly because of the long build time (7 hours on hydra > [0]). Currently we download and use the big download of qt[1] and > frankly I'd rather not. Qt does also ship in smaller bits[2], 32 if I > counted correctly. I propose we package the submodules and over time > we go through the packages that use qt and switch out the monolithic > qt for just the parts that the program actually uses. It makes it less > daunting to build, should make the closures smaller, and means that if > a submodule fails to build on an architecture then they only lose that > module, not all of qt. I=E2=80=99m all for it! It may also simplify unbundling as discussed in . (We=E2=80=99ll need a Qt updaters and/or impo= rter at some point.) The difficulty is to make sure Qt finds its modules at run time, but the fact that Nixpkgs uses this approach=C2=B9 suggests that it should work. If you=E2=80=99re willing to work on this, I would suggest creating a branc= h, which we=E2=80=99ll build on Hydra when is appropriate. Thanks, Ludo=E2=80=99. =C2=B9 https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/librar= ies/qt-5/5.4/default.nix