From mboxrd@z Thu Jan 1 00:00:00 1970 From: Efraim Flashner Subject: Re: qt: monolithic or modular? Date: Fri, 8 Apr 2016 10:10:42 +0300 Message-ID: <20160408071042.GA29200@debian-netbook> References: <20160405072220.1d828a86@debian-netbook> <87bn5owg39.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="82I3+IH0IqGh5yIs" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48283) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aoQZ8-0005In-Vw for guix-devel@gnu.org; Fri, 08 Apr 2016 03:10:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aoQZ4-0000nu-V2 for guix-devel@gnu.org; Fri, 08 Apr 2016 03:10:50 -0400 Content-Disposition: inline In-Reply-To: <87bn5owg39.fsf@gnu.org> 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: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: guix-devel@gnu.org --82I3+IH0IqGh5yIs Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Apr 05, 2016 at 11:38:18AM +0200, Ludovic Court=C3=A8s wrote: > Efraim Flashner skribis: >=20 > > 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. >=20 > 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 im= porter > at some point.) >=20 > 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. >=20 > If you=E2=80=99re willing to work on this, I would suggest creating a bra= nch, > which we=E2=80=99ll build on Hydra when is appropriate. >=20 > Thanks, > Ludo=E2=80=99. >=20 > =C2=B9 https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/libr= aries/qt-5/5.4/default.nix quick followup: qtbase has the full config and makefiles, a bunch of the other modules don't. It was suggested to me on irc that after compiling qtbase I should try running qmake in the other folders to compile them, but I haven't had a chance to progress that far yet. --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --82I3+IH0IqGh5yIs Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCgAGBQJXB1lyAAoJEPTB05F+rO6Ta+wP/jsouXlqD0sENQuUWij8k4XQ fnrHlWPfkG6Ps/X9Qfc076fT0bkfSl088zzt/Tqo//Q9tKP4cll+JjjVq03oLCWl BYSEGLt3pb6IcgsROLWa3U4neN2ayGNTFX/8dQud/Wxut5gF7pAW5WkgNujfLD9h u7P1WUxCv64GpEAl7wcqWxBPn2X/tsjvqDEttn3ucDIxzjqOyU/PWE3ZoLSDkfNj bip3sCh8bjFCIS9RUtx9wnVJVWygIRP8sTZkXbsMsXdzUVPgfSPQuSs+ePX6cQxR TluyR+tqMMCO1skhXOtrBzihi4rc9flQGpplsJaV4AVgLKhiSkIq15CtzegVXlfy elN2/mq3qit6MweX/MpTMGc4kkUpvrt8hSwT1pSFn3hm2n8G2zNACakbzrNZ6hEs EoZVVRbPznZudqHEi64L9w82Tlm8+bGcx6EHUOBP8IlREhAg/5Y0JJYOSzwJ8Lh/ hp+12Fm9NnVnN6qsMngB3JI69RN0AQG1hcl0YVZvugROXQaviOhbVW15dKiQXRby 8HkurOecs8XMihjd5aX3XN0cfJWDgkbDiJyzXsMd+B7FwTXlUOxNNjmYOCU5wASb 0d1H7+If9TRN0eNe0hgDljL0Xt95rqRAAsSo4FlG8Rh1CmbIspEwvwxeJ/9Y6WSs +otOZw8+6UYFUcM60Ntn =8MBy -----END PGP SIGNATURE----- --82I3+IH0IqGh5yIs--