From mboxrd@z Thu Jan 1 00:00:00 1970 From: Efraim Flashner Subject: Re: [PATCH 02/14] gnu: Add qtimageformats. Date: Sun, 12 Jun 2016 23:20:24 +0300 Message-ID: <20160612202024.GA26270@debian-netbook> References: <20160610121025.6632-1-efraim@flashner.co.il> <20160610121025.6632-3-efraim@flashner.co.il> <20160610163045.GB29669@jasmine> <20160612141221.GA20207@solar> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="T4sUOijqQbZv57TR" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36103) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bCBs9-0001Kr-Og for guix-devel@gnu.org; Sun, 12 Jun 2016 16:20:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bCBs4-0006Qj-DS for guix-devel@gnu.org; Sun, 12 Jun 2016 16:20:40 -0400 Received: from flashner.co.il ([178.62.234.194]:39469) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bCBs3-0006M9-RZ for guix-devel@gnu.org; Sun, 12 Jun 2016 16:20:36 -0400 Content-Disposition: inline In-Reply-To: <20160612141221.GA20207@solar> 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: Andreas Enge Cc: guix-devel@gnu.org --T4sUOijqQbZv57TR Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Jun 12, 2016 at 04:12:21PM +0200, Andreas Enge wrote: > On Fri, Jun 10, 2016 at 12:30:45PM -0400, Leo Famulari wrote: > > On Fri, Jun 10, 2016 at 03:10:13PM +0300, Efraim Flashner wrote: > > > +(define-public qtimageformats > > > + (package (inherit qtsvg) > > These patches make me realize my understanding of package inheritance is > > unclear. > >=20 > > If qtsvg is updated, but no other changes are made, will qtimageformats > > (and all the other packages that inherit from qtsvg) need to be rebuilt > > as well? > >=20 > > Looking at `guix refresh -l` and `guix gc --references` suggests the > > answer is "no". >=20 > My understanding is that not the package definition, but the derivation > counts. So for instance, if the version is increased in qtsvg, this new > version also appears in qtimageformats, but if it is set back there, not > even the package definition has changed. >=20 > So this should be safe; in a sense, the inheritance from qtsvg creates a > "qt build system"; since this is so far only used internally to build qt > itself, I think it is okay to not expose it to the exterior world. >=20 > However, another question: Are all the inputs for qtbase needed for all t= he > other modules, too, or could the list be trimmed? >=20 > Andreas >=20 quite possibly the inputs could be shortened, but since they're all using qmake for configure I don't really know how to check. The best I have for cross-distro comparison is debian: $ apt-cache depends libqt5svg5 libqt5svg5 PreDepends: dpkg dpkg:i386 Depends: libc6 Depends: libqt5core5a Depends: libqt5gui5 Depends: libqt5widgets5 Depends: libstdc++6 Depends: Depends: zlib1g I don't think I've seen anything like before, but I'm assuming its the list of inputs/depends that qtbase-5.5.1 uses in Debian. qtcore, qtgui and qtwidgets are all outputs of qtbase. --=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 --T4sUOijqQbZv57TR Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCgAGBQJXXcQFAAoJEPTB05F+rO6T2jkP/j/ZFHkcCLjts4k6120lbKnH Y0qUnA/NGnuDiU8jWdm5TOjjvVrAgPTIIlMt/zWDSMj61wX5ERGsAKGyYwBTJOzt nCQljrGkE6R4UKdXLrM/brMShBRGSCLbLB3hQqmI+kU6o6MOI/fZOCZ3cxuuGWWy a+YC/g2fENgmRm8cWxJ1lL5YSJlNjsRD0iEgBF6Rnio092g/wS551bVW4VnLTGA/ Uikvj2LVmAlsrufardxI6+1yuZWr5davhl5fIz+/dNKMJSMNFeG6tRmWcGQ+7erE mnseznQahAOJ3TO6Vb8+Xw/gXCWAQ64TT5z3GkN9EmDtyf8VzhoUN5Waz7rAhyQN iTzR9V46Rnx6ehQ4z1JlHloS+47JjFYjUSrfqIaIIFW7n1cWRIAokLAXeRpOdfPw gIEk+T+0cyUNqHHSEtn3NSf/7/b4bVwf9bYvNtNbWU6EcDl8AoZj3UHQRCxTKqZj XYe52HlF2B0e7n7tqboJRqYYZ1foEcM7xSlkJ6JSdHImOQHTsf7AktAFevzsTsMx DnmIu9fEScSxOlpcQbUO8udyF2uDc7P0dX4MYFEJ0rYM4xF+0KE3rEBsb3RcMrh4 gQlBUdbfCgp5cnV8Z+gWmoa2vqZVPG6HePEBoORi/K+i7UY9tVKV0OXRAVOBRTT+ gzvBDV3Ff0/PsNMa7jZq =QxqP -----END PGP SIGNATURE----- --T4sUOijqQbZv57TR--