From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Famulari Subject: Re: [PATCH 02/14] gnu: Add qtimageformats. Date: Fri, 10 Jun 2016 12:30:45 -0400 Message-ID: <20160610163045.GB29669@jasmine> References: <20160610121025.6632-1-efraim@flashner.co.il> <20160610121025.6632-3-efraim@flashner.co.il> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39127) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bBPKq-0000mX-3k for guix-devel@gnu.org; Fri, 10 Jun 2016 12:31:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bBPKk-0008W5-RI for guix-devel@gnu.org; Fri, 10 Jun 2016 12:31:03 -0400 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:51318) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bBPKj-0008Sq-Hb for guix-devel@gnu.org; Fri, 10 Jun 2016 12:30:58 -0400 Content-Disposition: inline In-Reply-To: <20160610121025.6632-3-efraim@flashner.co.il> 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: Efraim Flashner Cc: guix-devel@gnu.org On Fri, Jun 10, 2016 at 03:10:13PM +0300, Efraim Flashner wrote: > * gnu/packages/qt.scm (qtimageformats): New variable. > +(define-public qtimageformats > + (package (inherit qtsvg) These patches make me realize my understanding of package inheritance is unclear. 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? Looking at `guix refresh -l` and `guix gc --references` suggests the answer is "no". I know this is a contrived example; if qtsvg is updated, it's likely that all the Qt packages will be updated as well. > + (name "qtimageformats") > + (version "5.6.1") > + (source (origin > + (method url-fetch) > + (uri (string-append "https://download.qt.io/official_releases/qt/" > + (version-major+minor version) "/" version > + "/submodules/" name "-opensource-src-" > + version ".tar.xz")) > + (sha256 > + (base32 > + "020v1148433zx4g87z2r8fgff32n0laajxqqsja1l3yzz7jbrwvl")))))) > + > (define-public qjson > (package > (name "qjson") > -- > 2.8.3 > >