From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38943) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gOrIx-0001sU-K2 for guix-patches@gnu.org; Mon, 19 Nov 2018 16:42:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gOrIx-0007Yj-00 for guix-patches@gnu.org; Mon, 19 Nov 2018 16:42:03 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:57085) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gOrIw-0007Yf-TU for guix-patches@gnu.org; Mon, 19 Nov 2018 16:42:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gOrIw-0007An-QW for guix-patches@gnu.org; Mon, 19 Nov 2018 16:42:02 -0500 Subject: bug#33351: gnu: xonotic: Symlink to xonotic data instead of copying into xonotic. Resent-To: guix-patches@gnu.org Resent-Message-ID: From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) References: Date: Mon, 19 Nov 2018 22:40:57 +0100 In-Reply-To: (pkill9's message of "Mon, 12 Nov 2018 03:40:56 +0000 (GMT)") Message-ID: <871s7gvj86.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: pkill9@runbox.com Cc: 33351-done@debbugs.gnu.org Hello, skribis: > This patch changes the 'install-data phase of the xonotic package so that= it creates a symlink to xonotic's data ('xonotic-data' package) instead of= copying it. This reduces the package download size from 880mb to 12mb. Good catch. > The xonotic-data package is already an input in the xonotic package rathe= r than a native-input, so that didn't need to be changed. > > From 0396ed08ca9fe936e2a89f830fbee1ecfc408b9b Mon Sep 17 00:00:00 2001 > From: Pkill -9 > Date: Mon, 12 Nov 2018 03:14:15 +0000 > Subject: [PATCH] gnu: xonotic: Symlink to xonotic data instead of copying= into > xonotic. > > * gnu/packages/games.scm (xonotic)[arguments]: Modify the phase > 'install-data so it creates a symlink to xonotic's data instead of > copying it into the xonotic package. Applied, thanks! Ludo=E2=80=99.