From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#27563: [PATCH] gnu: ghostscript: Add phase "remove-timestamps". Date: Wed, 05 Jul 2017 23:57:06 +0200 Message-ID: <87shiar1hp.fsf@gnu.org> References: <20170703200844.3f6d9e19@scratchpost.org> <20170703181646.20170-1-dannym@scratchpost.org> <20170703191857.GF2938@macbook42.flashner.co.il> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50654) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dSsJA-0000MU-MD for bug-guix@gnu.org; Wed, 05 Jul 2017 17:58:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dSsJ8-0006HQ-3D for bug-guix@gnu.org; Wed, 05 Jul 2017 17:58:04 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:51163) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dSsJ7-0006HJ-W6 for bug-guix@gnu.org; Wed, 05 Jul 2017 17:58:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dSsJ7-0006zQ-MV for bug-guix@gnu.org; Wed, 05 Jul 2017 17:58:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <20170703191857.GF2938@macbook42.flashner.co.il> (Efraim Flashner's message of "Mon, 3 Jul 2017 22:18:58 +0300") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Efraim Flashner Cc: 27563@debbugs.gnu.org Efraim Flashner skribis: > On Mon, Jul 03, 2017 at 08:16:46PM +0200, Danny Milosavljevic wrote: >> * gnu/packages/ghostscript.scm (ghostscript): Add phase "remove-timestam= ps". >> --- >> gnu/packages/ghostscript.scm | 5 +++++ >> 1 file changed, 5 insertions(+) >>=20 >> diff --git a/gnu/packages/ghostscript.scm b/gnu/packages/ghostscript.scm >> index 1cb651c96..56e05cd77 100644 >> --- a/gnu/packages/ghostscript.scm >> +++ b/gnu/packages/ghostscript.scm >> @@ -185,6 +185,11 @@ printing, and psresize, for adjusting page sizes.") >> (substitute* "base/gscdef.c" >> (("GS_DOCDIR") >> "\"~/.guix-profile/share/doc/ghostscript\"")))) >> + (add-after 'configure 'remove-timestamps >> + (lambda _ >> + (substitute* "base/mkromfs.c" >> + (("time\\(NULL\\)") "0U")) >> + #t)) >> (replace 'build >> (lambda _ >> ;; Build 'libgs.so', but don't build the statically-linked = 'gs' >>=20 > > is it possible to patch this in a snippet? Agreed; your second version LGTM. Like Leo, I=E2=80=99d invite you to check the state of =E2=80=98core-update= s=E2=80=99. :-) Depending on how far it went, perhaps we can push it there along with the netpbm one, cancel pending builds, and start a new evaluation (let me know if you want to do these.) Thanks, Ludo=E2=80=99.