unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Efraim Flashner <efraim@flashner.co.il>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: guix-devel@gnu.org
Subject: Re: qt: monolithic or modular?
Date: Fri, 8 Apr 2016 10:10:42 +0300	[thread overview]
Message-ID: <20160408071042.GA29200@debian-netbook> (raw)
In-Reply-To: <87bn5owg39.fsf@gnu.org>

[-- Attachment #1: Type: text/plain, Size: 1858 bytes --]

On Tue, Apr 05, 2016 at 11:38:18AM +0200, Ludovic Courtès wrote:
> Efraim Flashner <efraim@flashner.co.il> 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’m all for it!  It may also simplify unbundling as discussed in
> <http://bugs.gnu.org/21288>.  (We’ll need a Qt updaters and/or importer
> at some point.)
> 
> The difficulty is to make sure Qt finds its modules at run time, but the
> fact that Nixpkgs uses this approach¹ suggests that it should work.
> 
> If you’re willing to work on this, I would suggest creating a branch,
> which we’ll build on Hydra when is appropriate.
> 
> Thanks,
> Ludo’.
> 
> ¹ https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/libraries/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.

-- 
Efraim Flashner   <efraim@flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

  reply	other threads:[~2016-04-08  7:10 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-05  4:22 qt: monolithic or modular? Efraim Flashner
2016-04-05  9:38 ` Ludovic Courtès
2016-04-08  7:10   ` Efraim Flashner [this message]
2016-04-09 14:39 ` Andreas Enge
2016-05-18 12:17 ` Efraim Flashner
2016-05-19 12:15   ` Ludovic Courtès
2016-05-19 13:17     ` Efraim Flashner
2016-05-19 15:55       ` Efraim Flashner
2016-05-20 11:59         ` Ludovic Courtès
2016-05-27 19:23           ` Andreas Enge
2016-06-03 20:30             ` Andreas Enge
2016-06-04 15:24               ` Andreas Enge
2016-06-05  7:24               ` Efraim Flashner
2016-06-05  9:15                 ` Andreas Enge
2016-06-05 10:24                   ` Efraim Flashner
2016-06-05 10:52                     ` Andreas Enge
2016-05-20 11:56       ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160408071042.GA29200@debian-netbook \
    --to=efraim@flashner.co.il \
    --cc=guix-devel@gnu.org \
    --cc=ludo@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).