From mboxrd@z Thu Jan 1 00:00:00 1970 From: Maxim Cournoyer Subject: [PATCH] Fix & update guile-lib to 0.2.5 Date: Sat, 04 Mar 2017 22:25:15 -0800 Message-ID: <87mvd08cl0.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33456) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ckPbf-0004im-AP for guix-devel@gnu.org; Sun, 05 Mar 2017 01:25:24 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ckPbc-0000Sr-5h for guix-devel@gnu.org; Sun, 05 Mar 2017 01:25:23 -0500 Received: from mail-pg0-x230.google.com ([2607:f8b0:400e:c05::230]:33385) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ckPbb-0000SN-TK for guix-devel@gnu.org; Sun, 05 Mar 2017 01:25:20 -0500 Received: by mail-pg0-x230.google.com with SMTP id 25so56392205pgy.0 for ; Sat, 04 Mar 2017 22:25:18 -0800 (PST) Received: from apteryx (c-24-23-195-4.hsd1.ca.comcast.net. [24.23.195.4]) by smtp.gmail.com with ESMTPSA id d2sm32274287pgf.35.2017.03.04.22.25.16 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 04 Mar 2017 22:25:16 -0800 (PST) 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: guix-devel --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain Hello Guix! While attempting to reconfigure my system I encountered a failure to build guile-lib. The guile-lib 0.2.3 archive could not be found at the original URL anymore. I've used this as an opportunity to update the package and clean it a bit. Thanks! Maxim --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=0001-gnu-guile-lib-Update-to-0.2.5.patch Content-Transfer-Encoding: quoted-printable From=2034ffe35bb78409d255f1987d38d7ce4fe77f12d3 Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Sat, 4 Mar 2017 22:10:41 -0800 Subject: [PATCH] gnu: guile-lib: Update to 0.2.5 The build was broken since the URL of version 0.2.3 was changed. The archive was moved into an "old" subdirectory of the original location. * gnu/packages/guile.scm (guile-lib): Update to 0.2.5. [make-flags]: Add GUILE_AUTO_COMPILE to prevent guild errors. [phases]: Remove 'check replacement since it is no longer needed. =2D-- gnu/packages/guile.scm | 41 +++++++++++++++++++---------------------- 1 file changed, 19 insertions(+), 22 deletions(-) diff --git a/gnu/packages/guile.scm b/gnu/packages/guile.scm index 293579b1be..4440c6c602 100644 =2D-- a/gnu/packages/guile.scm +++ b/gnu/packages/guile.scm @@ -632,32 +632,29 @@ The library is shipped with documentation in Info for= mat and usage examples.") (define-public guile-lib (package (name "guile-lib") =2D (version "0.2.3") + (version "0.2.5") (source (origin =2D (method url-fetch) =2D (uri (string-append "mirror://savannah/guile-lib/guile-lib-" =2D version ".tar.gz")) =2D (sha256 =2D (base32 =2D "0pwdd52vakni1fabaiav8v0ad7xp3bx8x3brijbr1mpgamm9dxqc")))) + (method url-fetch) + (uri (string-append "mirror://savannah/guile-lib/guile-lib-" + version ".tar.gz")) + (sha256 + (base32 + "1qbk485djgxqrbfjvk4b7w7y4x9xygf2qb8dqnl7885kajasx8qg")))) (build-system gnu-build-system) (arguments =2D '(#:phases (modify-phases %standard-phases =2D (add-before 'configure 'patch-module-dir =2D (lambda _ =2D (substitute* "src/Makefile.in" =2D (("^moddir =3D ([[:graph:]]+)") =2D "moddir =3D $(datadir)/guile/site/@GUILE_EFFECT= IVE_VERSION@\n") =2D (("^godir =3D ([[:graph:]]+)") =2D "godir =3D \ + '(#:make-flags + '("GUILE_AUTO_COMPILE=3D0") ;to prevent guild errors + #:phases + (modify-phases %standard-phases + (add-before 'configure 'patch-module-dir + (lambda _ + (substitute* "src/Makefile.in" + (("^moddir =3D ([[:graph:]]+)") + "moddir =3D $(datadir)/guile/site/@GUILE_EFFECTIVE_VERSION= @\n") + (("^godir =3D ([[:graph:]]+)") + "godir =3D \ $(libdir)/guile/@GUILE_EFFECTIVE_VERSION@/site-ccache\n")) =2D #t)) =2D (replace 'check =2D (lambda _ =2D ;; Work around a harmless test failure involving =2D ;; two-spaces-after-period rendering. =2D (zero? (system* "make" "check" ;"-C" "unit-tests" =2D "XFAIL_TESTS=3Dtexinfo.serialize.s= cm"))))))) + #t))))) (native-inputs `(("pkg-config" ,pkg-config))) (inputs `(("guile" ,guile-2.0))) (home-page "http://www.nongnu.org/guile-lib/") =2D-=20 2.11.1 --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEJ9WGpPiQCFQyn/CfEmDkZILmNWIFAli7r0sACgkQEmDkZILm NWLq9Q/+NR0gfVNGPaMo3FE7ijs8JA0Zbpkik+OL4eYR8Qoq0Mx7ZoorDvVs+pIx zNfzhdtldF3GcllaWdeiZcv/rl86SBo4Z9487GA7+dryQnpHe8YGKOGeL+mcTD79 jjHoPkh2no0uZn+gWV//y39QEi9Y4oKSlkK9PdavtXgCWubn56B9Z9R/gF4hmVXE nNDs5JNr7lrARnUQaAuCCO1pLyGMGYLl2MrS2YJJ9OuotNq6sFbAjSX4Ewuh58XC 0tj+NycVOq9lJtjS7vWf5/0EIbK+VQFB3F8l9cm55xjbsHYV0BtIDwhZob9//2vm rUU2iNeL8Q6lxTzxL0S10xrjUqN65s4n/U6pUSuzVHBdi4ap74z6Et5fABorPFDz +A8Fdgkl2WWo6FmMxLOVV6A2Mfap0ey5+QHH9fC+Q1ZMPV7v2U7LRMJ7JiIovQq8 Kt3MFEoex5qMCI3GCbM0Z4cibODpKiN3XKYtBKUDA/LQOdXhUdnsbXQvC2gHN8yX qUXcPDlTN+kSiXgsFoNNDWUvc8qF85gTDaurlrs+t4syFMjIgsnZQgTawtkqMrtb mbVF83Hc6Wsb7+S/XnzazKtd2In89oQnxcADtAu/1muPmCpJHBbAtQ41Mld5PoP2 UE9aIeSH18LnpQ+b82NvMxInKivL89qdV3Cp8NyzuuNSr6sAAGE= =u7uH -----END PGP SIGNATURE----- --==-=-=--