Commit graph

498 commits

Author SHA1 Message Date
Ludovic Courtès f69cf40741
gnu: 'define-deprecated-guile3.0-package' actually exports <package> objects.
Until now, that macro would expand to something like:

  (export guile3.0-git)

where 'guile3.0-git' is actually a macro (produced by
'define-deprecated'), which would thus be skipped by 'fold-packages'.
Consequently, "guix install guile3.0-git" would say that no such package
exists.

* gnu/packages/guile.scm (define-deprecated-guile3.0-package): Add
'old-name' and export it.
2020-05-11 13:01:11 +02:00
Ludovic Courtès 0e8b05175d
gnu: guile-next: Mark as deprecated alias for "guile".
* gnu/packages/guile.scm (guile-next): Mark as 'deprecated-package' for
GUILE-3.0.
2020-05-10 16:08:37 +02:00
Efraim Flashner 3d867fea42
gnu: guile-git: Prevent guild build warnings.
* gnu/packages/guile.scm (guile-git)[arguments]: Add
GUILE_AUTO_COMPILE=0 to make-flags.
2020-05-10 14:09:48 +03:00
Marius Bakke 5d9e218792
gnu: guile-json: Update to 3.5.0.
* gnu/packages/patches/guile-json-cross.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
* gnu/packages/guile.scm (guile-json-3): Update to 3.5.0.
[source](patches): Remove.
[native-inputs]: Remove AUTOCONF and AUTOMAKE.
[arguments]: Remove.
2020-04-30 22:23:44 +02:00
Christopher Baines cef392f393
guix: self: Use guile with libgc-7.
Rather than libgc version 8. This should avoid crashes that can occur,
particularly when loading data in to the Guix Data Service [1].

1: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=40525

* gnu/packages/guile.scm (guile-3.0/libgc-7): New variable.
* guix/self.scm (specification->package): Use guile-3.0/libgc-7 for guile.
2020-04-18 15:49:44 +01:00
Jan (janneke) Nieuwenhuizen 541122957c
gnu: guile-json: Cross-build fix.
* gnu/packages/patches/guile-json-cross.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/guile.scm (guile-json-3)[source]: Use it.
[arguments]: Remove configure to trigger bootstrap phase.
2020-04-11 21:29:29 +02:00
Ludovic Courtès 916ec91f23
gnu: guile@3: Disable JIT on GNU/Hurd.
* gnu/packages/guile.scm (guile-3.0)[arguments]: New field.
2020-04-11 19:22:27 +02:00
Marius Bakke 2778302399
Merge branch 'master' into core-updates
Conflicts:
	etc/news.scm
	gnu/local.mk
	gnu/packages/check.scm
	gnu/packages/cross-base.scm
	gnu/packages/gimp.scm
	gnu/packages/java.scm
	gnu/packages/mail.scm
	gnu/packages/sdl.scm
	gnu/packages/texinfo.scm
	gnu/packages/tls.scm
	gnu/packages/version-control.scm
2020-04-08 13:00:50 +02:00
Ricardo Wurmus a71d335832
gnu: guile-for-guile-emacs: Update to 2.1.2-1.15ca784.
* gnu/packages/guile.scm (guile-for-guile-emacs): Update to 2.1.2-1.15ca784.
[source]: Fetch from Guile upstream repository.
[arguments]: Enable tests; replace 'bootstrap phase; disable only broken
tests.
[native-search-paths]: Inherit from guile-2.2.
2020-04-06 08:40:50 +02:00
Jan Nieuwenhuizen ba2f61bb05
gnu: guile: Disable failing tests on the Hurd.
* gnu/packages/guile.scm (guile-2.0)[arguments]: Remove failing/hanging tests
on the Hurd.
2020-03-29 15:31:12 +02:00
Marius Bakke e8bc2a01e9
gnu: Adjust 'package-for-guile-2.0' for the Guile 3 switch.
* gnu/packages/guile.scm (package-for-guile-2.0): Rewrite GUILE-3.0 instead of
GUILE-2.2.
2020-03-28 22:06:35 +01:00
Marius Bakke 7f1aa73b8c
gnu: guile: Update to 3.0.2.
* gnu/packages/guile.scm (guile-3.0): Update to 3.0.2.
[source](patches): Remove.
* gnu/packages/patches/guile-3.0-crash.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
2020-03-27 19:21:49 +01:00
Ludovic Courtès 3139739802
gnu: guile-next: Update to 3.0.2.
* gnu/packages/guile.scm (guile-3.0): Update to 3.0.2.
* gnu/packages/patches/guile-3.0-crash.patch: Remove.
* gnu/local.mk (dist_patch_DATA): Remove it.
2020-03-27 19:09:30 +01:00
Marius Bakke 142cd4dc98
gnu: guile-readline: Build with Guile 3.
* gnu/packages/guile.scm (guile-readline): Switch to GUILE-3.0.
(guile2.2-readline): New public variable.
(guile3.0-readline): Define in terms of DEPRECATED-GUILE3.0-PACKAGE.  Move
expression below the 'deprecated-guile3.0-package' definition.
2020-03-18 20:10:38 +01:00
Marius Bakke 02ed227f94
gnu: guile-sqlite3: Use the correct Guile version.
This is a follow-up to commit b6bee63bed4f013064c0d902e7c8b83ed7514ade..

* gnu/packages/guile.scm (guile-sqlite3)[native-inputs]: Remove GUILE-2.2.
Add GUILE-3.0.
2020-03-17 11:13:20 +01:00
Ludovic Courtès b6bee63bed
gnu: Default to Guile 3.0.
This patch changes three things:

  1. package derivations are built using Guile 3.0;

  2. 'gexp->derivation' defaults to Guile 3.0;

  3. "guile3.0-" packages are deprecated aliases for the regular
     package, which now depends on Guile 3.0; "guile2.2-" packages are
     introduced; "guile-next" is renamed to "guile".

* gnu/packages/guile.scm (guile-2.0/fixed): Remove.
(guile-3.0/fixed): New variable.
(package-for-guile-3.0): Remove.
(package-for-guile-2.2): New variable.
(define-deprecated-guile3.0-package): New macro.
(guile-3.0)[name]: Change to "guile".
(guile-json-3)[native-inputs, inputs]: New fields.
(guile2.2-json): New variable.
(guile3.0-json): Deprecate.
(guile-gdbm-ffi)[native-inputs]: Switch to GUILE-3.0.
(guile2.2-gdbm-ffi): New variable.
(guile3.0-gdbm-ffi): Deprecate.
(guile-sqlite3): Switch to GUILE-3.0.
(guile2.2-sqlite3): New variable.
(guile3.0-sqlite3): Deprecate.
(guile-bytestructures): Switch to GUILE-3.0.
(guile2.2-bytestructures): New variable.
(guile3.0-bytestructures): Deprecate.
(guile-git): Switch to GUILE-3.0.
(guile2.2-git): New variable.
(guile3.0-git): Deprecate.
(guile-2.2/bug-fix):
* gnu/packages/ci.scm (cuirass): Switch to GUILE-3.0.
* gnu/packages/emacs-xyz.scm (emacs-guix): Switch to GUILE-3.0.
* gnu/packages/gtk.scm (guile-cairo)[arguments]: New field.
Switch to GUILE-3.0.
(guile2.2-cairo): New variable.
(guile3.0-cairo): Deprecate.
(guile-rsvg): Switch to GUILE-3.0.
(guile2.2-cairo): New variable.
(guile3.0-cairo): Deprecate.
(guile-present): Switch to GUILE-3.0.
(guile2.2-present): New variable.
(guile3.0-present): Deprecate.
(guile-gnome)[propagated-inputs]: Use GUILE2.2-CAIRO and GUILE2.2-LIB.
* gnu/packages/guile-xyz.scm (guile-fibers)[arguments]: Add #:configure-flags.
Switch to GUILE-3.0.
(guile2.2-fibers): New variable.
(guile3.0-fibers): Deprecate.
(guile-syntax-highlight): Switch to GUILE-3.0.
(guile2.2-syntax-highlight): New variable.
(guile3.0-syntax-highlight): Deprecate.
(guile-colorized): Switch to GUILE-3.0.
(guile2.2-colorized): New variable.
(guile3.0-colorized): Deprecate.
(guile-pfds): Switch to GUILE-3.0.
(guile2.2-pfds): New variable.
(guile3.0-pfds): Deprecate.
(guile-simple-zmq): Switch to GUILE-3.0.
(guile2.2-simple-zmq): New variable.
(guile3.0-simple-zmq): Deprecate.
(guile-newt): Switch to GUILE-3.0.
(guile2.2-newt): New variable.
(guile3.0-newt): Deprecate.
(guile-parted): Switch to GUILE-3.0.
(guile2.2-parted): New variable.
(guile3.0-parted): Deprecate.
(guile-config): Switch to GUILE-3.0.
(guile2.2-config): New variable.
(guile3.0-config): Deprecate.
(guile-hall): Switch to GUILE-3.0.
(guile2.2-hall): New variable.
(guile3.0-hall): Deprecate.
(guile-ics): Switch to GUILE-3.0.
(guile2.2-ics): New variable.
(guile3.0-ics): Deprecate.
(guile-wisp)[arguments]: Add 'support-guile-3.0' phase.
Switch to GUILE-3.0.
(guile2.2-wisp): New variable.
(guile3.0-wisp): Deprecate.
(guile-lib): Switch to GUILE-3.0.
(guile2.2-lib): New variable.
(guile3.0-lib): Deprecate.
(guile-minikanren): Switch to GUILE-3.0.
(guile2.2-minikanren): New variable.
(guile3.0-minikanren): Deprecate.
(guile-irregex): Switch to GUILE-3.0.
(guile2.2-irregex): New variable.
(guile3.0-irregex): Deprecate.
(haunt): Switch to GUILE-3.0, and remove GUILE-READER.
(guile2.2-haunt): New variable.
(guile3.0-haunt): Deprecate.
(guile-commonmark): Switch to GUILE-3.0.
(guile2.2-commonmark): New variable.
(guile3.0-commonmark): Deprecate.
(mcron): Switch to GUILE-3.0.
(guile2.0-mcron): New variable.
(guile3.0-mcron): Deprecate.
(guile-picture-language): Switch to GUILE-3.0.
(guile2.2-picture-language): New variable.
(guile3.0-picture-language): Deprecate.
(guile-gi): Switch to GUILE-3.0.
(guile2.2-gi): New variable.
(guile3.0-gi): Deprecate.
(guile-hashing): Switch to GUILE-3.0.
(guile2.2-hashing): New variable.
(guile3.0-hashing): Deprecate.
* gnu/packages/package-management.scm (guix): Switch to GUILE-3.0.
(guile2.2-guix): New variable.
(guile3.0-guix): Deprecate.
(gwl): Replace "guile3.0-" with "guile-".
(guix-jupyter)[source]: Adjust for Guile 3.0.
Switch to GUILE-3.0.
* gnu/packages/ssh.scm (guile-ssh): Switch to GUILE-3.0.
(guile2.2-ssh): New variable.
(guile3.0-ssh): Deprecate.
* gnu/packages/admin.scm (shepherd): Switch to GUILE-3.0.
(guile2.2-shepherd): New variable.
(guile3.0-shepherd): Deprecate.
* gnu/packages/mail.scm (mailutils): Switch to GUILE-3.0.
(guile2.2-mailutils): New variable.
(guile3.0-mailutils): Deprecate.
* gnu/packages/plotutils.scm (guile-charting): Switch to GUILE-3.0.
(guile2.2-charting): New variable.
(guile3.0-charting): Deprecate.
* gnu/packages/version-control.scm (libgit2): Switch to GUILE-3.0.
* gnu/packages/vpn.scm (vpnc-scripts): Switch to GUILE-3.0.
* gnu/packages/web.scm (guix-data-service): Switch to GUILE-3.0.
(hpcguix-web): Switch to GUILE-3.0.
* guix/self.scm (specification->package): Refer to the "guile-" variants
instead of "guile3.0-".
* guix/gexp.scm (default-guile): Change to GUILE-3.0.
* build-aux/build-self.scm (build): #:guile-version defaults to "3.0".
* gnu/packages/commencement.scm (guile-final): Base on GUILE-3.0/FIXED.
2020-03-16 15:44:02 +01:00
Marius Bakke 961d2ee269
Merge branch 'master' into core-updates 2020-03-14 13:13:40 +01:00
Ludovic Courtès a20cfe71e9
gnu: guile-next: Enable JIT on ARMv7.
JIT support on ARMv7 is fixed by "guile-3.0-crash.patch".

* gnu/packages/guile.scm (guile-3.0)[arguments]: Remove.
2020-03-12 11:52:21 +01:00
Marius Bakke edc8fd2e2d
gnu: Remove guile@2.2.6.
* gnu/packages/patches/guile-finalization-crash.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
* gnu/packages/guile.scm (guile-2.2)[source](patches): Remove
'guile-finalization-crash.patch'.
(guile-2.2.7): Remove variable.
(guile-2.2/bug-fix): Point to GUILE-2.2.
* gnu/packages/admin.scm (shepherd)[native-inputs, inputs]: Use GUILE-2.2
instead of GUILE-2.2.7.
2020-03-10 20:54:52 +01:00
Marius Bakke 50b99c90c8
Merge branch 'master' into core-updates 2020-03-10 20:50:02 +01:00
Ludovic Courtès 98619142b8
gnu: guile-next: Update to 3.0.1 with bug-fix for crash.
* gnu/packages/guile.scm (guile-3.0): Update to 3.0.1 with
"guile-3.0-crash.patch".
* gnu/packages/patches/guile-3.0-crash.patch: New file.
* gnu/local.mk (dist_patch_DATA): Use it.
2020-03-10 18:16:39 +01:00
Ludovic Courtès d6d0e10b3d
gnu: guile-next: Revert to 3.0.0.
Guile 3.0.1 segfaults while building guix-system-tests.drv on
and "guile3.0-guix" on x86_64-linux.

* gnu/packages/guile.scm (guile-next): Revert to 3.0.0.
(guile-3.0):
2020-03-08 22:15:54 +01:00
Ludovic Courtès 1a30351bf3
gnu: guile-next: Update to 3.0.1.
* gnu/packages/guile.scm (guile-3.0): Update to 3.0.1.  Use "mirror://" URL.
2020-03-08 21:21:57 +01:00
Ludovic Courtès 8ab060b68b
gnu: guile: Add 2.2.7.
* gnu/packages/guile.scm (guile-2.2.7): New variable.
(guile-2.2/bug-fix): Redefine as a deprecated alias for GUILE-2.2.7.
* gnu/packages/admin.scm (shepherd)[native-inputs, inputs]: Use GUILE-2.2.7.
* gnu/packages/patches/guile-finalization-crash.patch: Remove.
* gnu/local.mk (dist_patch_DATA): Remove it.
2020-03-07 22:29:44 +01:00
Mathieu Othacehe 96a9675b55
gnu: guile-git: Fix cross-compilation.
* gnu/packages/guile.scm (guile-git)[native-inputs]: Add guile and
guile-bytestructures.
2020-02-18 14:34:43 +01:00
Mathieu Othacehe 85e887ddc7
gnu: guile-git: Fix cross-compilation.
* gnu/packages/guile.scm (guile-git)[native-inputs]: Add guile and
guile-bytestructures.
2020-02-18 11:47:32 +01:00
Marius Bakke 12d8adbfc0
Merge branch 'staging' into core-updates 2020-01-23 23:11:11 +01:00
Ludovic Courtès 6e6aab0b6a
gnu: guile-next: Disable JIT on armhf-linux.
* gnu/packages/guile.scm (guile-3.0)[arguments]: New field.
2020-01-23 11:26:55 +01:00
Marius Bakke 14ab024978
gnu: guile@3.0: Do not inherit all patches from guile@2.2.
* gnu/packages/guile.scm (guile-3.0)[source](patches): New field.
2020-01-21 23:17:20 +01:00
Marius Bakke 8ed9be3fac
Merge branch 'staging' into core-updates 2020-01-21 22:39:42 +01:00
Marius Bakke 25623647e9
gnu: guile-git: Update to 0.3.0.
* gnu/packages/guile.scm (guile-git): Update to 0.3.0.
[source]: Download tarball with URL-FETCH.
[source](file-name, modules, snippet): Remove.
[native-inputs]: Remove AUTOCONF, AUTOMAKE and TEXINFO.
2020-01-20 21:53:53 +01:00
Ludovic Courtès e7921d5ecb
gnu: guile: Add 3.0.0.
* gnu/packages/guile.scm (guile-3.0): New variable.
(guile-next): Turn into an alias for GUILE-3.0.
2020-01-16 18:30:57 +01:00
Marius Bakke 3cfe76bec0
Merge branch 'master' into core-updates 2020-01-15 00:09:46 +01:00
Marius Bakke f63495d31b
gnu: guile: Apply Shepherd fix to the default Guile.
* gnu/packages/guile.scm (guile-2.2/bug-fix): Remove variable.
(guile-2.2)[source](patches): Add "guile-finalization-crash.patch".
* gnu/packages/admin.scm (shepherd)[inputs, native-inputs]: Change from
GUILE-2.2/BUG-FIX to GUILE-2.2.
2020-01-14 18:31:35 +01:00
Ludovic Courtès 7c3b6b2e26
gnu: guile-readline: Add "guile3.0-readline" variant.
* gnu/packages/guile.scm (make-guile-readline): Add optional 'name'
parameter and honor it.
(guile3.0-readline): New variable.
2020-01-13 23:13:04 +01:00
Ludovic Courtès 4616f5a840
gnu: guile-next: Update to 2.9.9.
* gnu/packages/guile.scm (guile-next): Update to 2.9.9.
2020-01-13 18:04:58 +01:00
Ludovic Courtès 7ed9c3124d
gnu: guile-bytestructures: Install 'README.md'.
* gnu/packages/guile.scm (guile-bytestructures)[arguments]: Add
'install-doc' phase.
2020-01-13 18:04:58 +01:00
Ludovic Courtès 9b65dea806
gnu: Use the two-element 'define-deprecated' form where applicable.
* gnu/packages/guile.scm (guile-json): Use the two-element
'define-deprecated' form.
* gnu/packages/kde.scm (kdevplatform): Likewise.
* gnu/packages/mpi.scm (hwloc-2.0): Likewise.
* gnu/packages/qt.scm (qt): Likewise.
2020-01-12 00:19:09 +01:00
Marius Bakke b7bf02a418
Merge branch 'master' into core-updates 2020-01-11 22:38:24 +01:00
Ludovic Courtès 49dbeacb9d
gnu: guile-next: Update to 2.9.8.
* gnu/packages/guile.scm (guile-next): Update to 2.9.8.
2020-01-02 19:42:59 +01:00
Mathieu Othacehe ce9383c090
Merge remote-tracking branch 'master' into core-updates. 2019-12-31 11:04:51 +01:00
Efraim Flashner 4347662539
gnu: guile-bytestructures: Use a source file name.
* gnu/packages/guile.scm (guile-bytestructures)[source]: Add 'file-name'.
2019-12-30 12:01:54 +02:00
Mathieu Othacehe b9a9c8efca
gnu: guile-bytestructures: Fix cross-compilation.
* gnu/packages/guile.scm (guile-bytestructures)[native-inputs]: Add guile to
fix cross-compilation.
2019-12-29 21:27:40 +01:00
Mathieu Othacehe 9a78e181f0
gnu: guile-bytestructures: Remove guild warnings.
* gnu/packages/guile.scm (guile-bytestructures)[arguments]: Pass
GUILE_AUTO_COMPILE=0 as make-flag to prevent guild warnings.
2019-12-29 21:27:36 +01:00
Mathieu Othacehe 16e42db095
gnu: guile-bytestructures: Switch to git-fetch.
* gnu/packages/guile.scm (guile-bytestructures)[home-page]: Move up,
[source]: switch form url-fetch to git-fetch method,
[native-inputs]: add autoconf and automake.
2019-12-29 21:26:12 +01:00
Mathieu Othacehe 247a47bc40
gnu: guile-bytestructures: Update to 1.0.7.
* gnu/packages/guile.scm (guile-bytestructures): Update to 1.0.7.
2019-12-29 21:26:12 +01:00
Ludovic Courtès 085bdfd092
gnu: guile-next: Update to 2.9.7.
* gnu/packages/guile.scm (guile-next): Update to 2.9.7.
2019-12-13 18:04:04 +01:00
Efraim Flashner c9e676d0b1
Merge remote-tracking branch 'origin/master' into core-updates 2019-12-12 04:10:59 +02:00
Ludovic Courtès 4bd6f1d1d6
gnu: guile: Add 2.2.6-1 with a finalization crash bug-fix.
* gnu/packages/patches/guile-finalization-crash.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/guile.scm (guile-2.2/bug-fix): New variable.
2019-12-09 18:32:05 +01:00
Ludovic Courtès 629a53844b
gnu: guile-next: Update to 2.9.6.
* gnu/packages/guile.scm (guile-next): Update to 2.9.6.
2019-12-08 00:47:26 +01:00