2013-01-05 18:47:50 -05:00
|
|
|
|
;;; GNU Guix --- Functional package management for GNU
|
2020-01-10 05:28:59 -05:00
|
|
|
|
;;; Copyright © 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020 Ludovic Courtès <ludo@gnu.org>
|
gnu: Move most packages from guile.scm to new module.
* gnu/packages/guile.scm (artanis, guildhall, guile-aspell, guile-bash,
guile-8sync, guile-daemon, guile-dsv, guile-fibers, guile-syntax-highlight,
guile-sjson, guile-colorized, guile-pfds, guile-aa-tree, guile-simple-zmq,
jupyter-guile-kernel, guile-sparql, guile-debbugs, guile-email,
guile-debbugs-next, guile-newt, guile-mastodon, guile-parted, guile-xosd,
guile-dbi, guile-dbd-sqlite3, guile-config, guile-hall, guile-ics, guile-wisp,
guile-sly, g-wrap, guile-miniadapton, guile-reader, guile2.2-reader,
guile-ncurses, guile-ncurses/gpm, guile-lib, guile2.0-lib, guile2.2-lib,
guile-minikanren, guile2.0-minikanren, guile2.2-minikanren, guile-irregex,
guile2.0-irregex, guile2.2-irregex, haunt, guile2.0-haunt, guile2.2-haunt,
guile-redis, guile2.0-redis, guile2.2-redis, guile-commonmark,
guile2.0-commonmark, guile2.2-commonmark, mcron, mcron2): Move these variables
from here...
* gnu/packages/guile-xyz.scm: ...to this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/installer.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/ci.scm,
gnu/packages/gtk.scm,
gnu/packages/guile.scm,
gnu/packages/mail.scm,
gnu/packages/package-management.scm,
gnu/packages/skribilo.scm,
gnu/packages/web.scm,
gnu/services/mcron.scm: Update module references.
2019-01-28 08:57:10 -05:00
|
|
|
|
;;; Copyright © 2014 Cyril Roelandt <tipecaml@gmail.com>
|
|
|
|
|
;;; Copyright © 2014, 2016, 2018 David Thompson <davet@gnu.org>
|
|
|
|
|
;;; Copyright © 2014, 2017, 2018 Mark H Weaver <mhw@netris.org>
|
2017-01-08 16:46:34 -05:00
|
|
|
|
;;; Copyright © 2015, 2017 Christopher Allan Webber <cwebber@dustycloud.org>
|
|
|
|
|
;;; Copyright © 2016 Jan Nieuwenhuizen <janneke@gnu.org>
|
gnu: Move most packages from guile.scm to new module.
* gnu/packages/guile.scm (artanis, guildhall, guile-aspell, guile-bash,
guile-8sync, guile-daemon, guile-dsv, guile-fibers, guile-syntax-highlight,
guile-sjson, guile-colorized, guile-pfds, guile-aa-tree, guile-simple-zmq,
jupyter-guile-kernel, guile-sparql, guile-debbugs, guile-email,
guile-debbugs-next, guile-newt, guile-mastodon, guile-parted, guile-xosd,
guile-dbi, guile-dbd-sqlite3, guile-config, guile-hall, guile-ics, guile-wisp,
guile-sly, g-wrap, guile-miniadapton, guile-reader, guile2.2-reader,
guile-ncurses, guile-ncurses/gpm, guile-lib, guile2.0-lib, guile2.2-lib,
guile-minikanren, guile2.0-minikanren, guile2.2-minikanren, guile-irregex,
guile2.0-irregex, guile2.2-irregex, haunt, guile2.0-haunt, guile2.2-haunt,
guile-redis, guile2.0-redis, guile2.2-redis, guile-commonmark,
guile2.0-commonmark, guile2.2-commonmark, mcron, mcron2): Move these variables
from here...
* gnu/packages/guile-xyz.scm: ...to this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/installer.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/ci.scm,
gnu/packages/gtk.scm,
gnu/packages/guile.scm,
gnu/packages/mail.scm,
gnu/packages/package-management.scm,
gnu/packages/skribilo.scm,
gnu/packages/web.scm,
gnu/services/mcron.scm: Update module references.
2019-01-28 08:57:10 -05:00
|
|
|
|
;;; Copyright © 2016, 2017 Leo Famulari <leo@famulari.name>
|
2020-04-04 13:12:30 -04:00
|
|
|
|
;;; Copyright © 2016, 2019, 2020 Ricardo Wurmus <rekado@elephly.net>
|
2017-02-21 05:20:02 -05:00
|
|
|
|
;;; Copyright © 2017 Andy Wingo <wingo@igalia.com>
|
gnu: Move most packages from guile.scm to new module.
* gnu/packages/guile.scm (artanis, guildhall, guile-aspell, guile-bash,
guile-8sync, guile-daemon, guile-dsv, guile-fibers, guile-syntax-highlight,
guile-sjson, guile-colorized, guile-pfds, guile-aa-tree, guile-simple-zmq,
jupyter-guile-kernel, guile-sparql, guile-debbugs, guile-email,
guile-debbugs-next, guile-newt, guile-mastodon, guile-parted, guile-xosd,
guile-dbi, guile-dbd-sqlite3, guile-config, guile-hall, guile-ics, guile-wisp,
guile-sly, g-wrap, guile-miniadapton, guile-reader, guile2.2-reader,
guile-ncurses, guile-ncurses/gpm, guile-lib, guile2.0-lib, guile2.2-lib,
guile-minikanren, guile2.0-minikanren, guile2.2-minikanren, guile-irregex,
guile2.0-irregex, guile2.2-irregex, haunt, guile2.0-haunt, guile2.2-haunt,
guile-redis, guile2.0-redis, guile2.2-redis, guile-commonmark,
guile2.0-commonmark, guile2.2-commonmark, mcron, mcron2): Move these variables
from here...
* gnu/packages/guile-xyz.scm: ...to this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/installer.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/ci.scm,
gnu/packages/gtk.scm,
gnu/packages/guile.scm,
gnu/packages/mail.scm,
gnu/packages/package-management.scm,
gnu/packages/skribilo.scm,
gnu/packages/web.scm,
gnu/services/mcron.scm: Update module references.
2019-01-28 08:57:10 -05:00
|
|
|
|
;;; Copyright © 2017 Marius Bakke <mbakke@fastmail.com>
|
2019-08-18 03:10:58 -04:00
|
|
|
|
;;; Copyright © 2017, 2019 Mathieu Othacehe <m.othacehe@gmail.com>
|
gnu: Move most packages from guile.scm to new module.
* gnu/packages/guile.scm (artanis, guildhall, guile-aspell, guile-bash,
guile-8sync, guile-daemon, guile-dsv, guile-fibers, guile-syntax-highlight,
guile-sjson, guile-colorized, guile-pfds, guile-aa-tree, guile-simple-zmq,
jupyter-guile-kernel, guile-sparql, guile-debbugs, guile-email,
guile-debbugs-next, guile-newt, guile-mastodon, guile-parted, guile-xosd,
guile-dbi, guile-dbd-sqlite3, guile-config, guile-hall, guile-ics, guile-wisp,
guile-sly, g-wrap, guile-miniadapton, guile-reader, guile2.2-reader,
guile-ncurses, guile-ncurses/gpm, guile-lib, guile2.0-lib, guile2.2-lib,
guile-minikanren, guile2.0-minikanren, guile2.2-minikanren, guile-irregex,
guile2.0-irregex, guile2.2-irregex, haunt, guile2.0-haunt, guile2.2-haunt,
guile-redis, guile2.0-redis, guile2.2-redis, guile-commonmark,
guile2.0-commonmark, guile2.2-commonmark, mcron, mcron2): Move these variables
from here...
* gnu/packages/guile-xyz.scm: ...to this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/installer.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/ci.scm,
gnu/packages/gtk.scm,
gnu/packages/guile.scm,
gnu/packages/mail.scm,
gnu/packages/package-management.scm,
gnu/packages/skribilo.scm,
gnu/packages/web.scm,
gnu/services/mcron.scm: Update module references.
2019-01-28 08:57:10 -05:00
|
|
|
|
;;; Copyright © 2017 Tobias Geerinckx-Rice <me@tobias.gr>
|
|
|
|
|
;;; Copyright © 2017, 2018 Amirouche <amirouche@hypermove.net>
|
|
|
|
|
;;; Copyright © 2018 Danny Milosavljevic <dannym@scratchpost.org>
|
2018-10-10 14:26:54 -04:00
|
|
|
|
;;; Copyright © 2018 Eric Bavier <bavier@member.fsf.org>
|
gnu: Move most packages from guile.scm to new module.
* gnu/packages/guile.scm (artanis, guildhall, guile-aspell, guile-bash,
guile-8sync, guile-daemon, guile-dsv, guile-fibers, guile-syntax-highlight,
guile-sjson, guile-colorized, guile-pfds, guile-aa-tree, guile-simple-zmq,
jupyter-guile-kernel, guile-sparql, guile-debbugs, guile-email,
guile-debbugs-next, guile-newt, guile-mastodon, guile-parted, guile-xosd,
guile-dbi, guile-dbd-sqlite3, guile-config, guile-hall, guile-ics, guile-wisp,
guile-sly, g-wrap, guile-miniadapton, guile-reader, guile2.2-reader,
guile-ncurses, guile-ncurses/gpm, guile-lib, guile2.0-lib, guile2.2-lib,
guile-minikanren, guile2.0-minikanren, guile2.2-minikanren, guile-irregex,
guile2.0-irregex, guile2.2-irregex, haunt, guile2.0-haunt, guile2.2-haunt,
guile-redis, guile2.0-redis, guile2.2-redis, guile-commonmark,
guile2.0-commonmark, guile2.2-commonmark, mcron, mcron2): Move these variables
from here...
* gnu/packages/guile-xyz.scm: ...to this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/installer.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/ci.scm,
gnu/packages/gtk.scm,
gnu/packages/guile.scm,
gnu/packages/mail.scm,
gnu/packages/package-management.scm,
gnu/packages/skribilo.scm,
gnu/packages/web.scm,
gnu/services/mcron.scm: Update module references.
2019-01-28 08:57:10 -05:00
|
|
|
|
;;; Copyright © 2019 Taylan Kammer <taylan.kammer@gmail.com>
|
2020-05-10 07:09:48 -04:00
|
|
|
|
;;; Copyright © 2020 Efraim Flashner <efraim@flashner.co.il>
|
distro: Add the `guile', `typesetting', and `databases' package modules.
* distro.scm (package-files): Adjust PREFIX-LEN to use the top-level
directory, not %DISTRO-MODULE-DIRECTORY.
* distro/packages/base.scm (guile-reader, guile-reader/guile-1.8,
guile-reader/guile-2.0, lout, recutils): Move to...
* distro/packages/guile.scm, distro/packages/typesetting.scm,
distro/packages/databases.scm: ... here. New files.
* Makefile.am (MODULES): Add them.
(EXTRA_DIST): Add `.dir-locals.el'.
* .dir-locals.el: New file, with settings formerly in `base.scm'.
2012-09-26 16:17:41 -04:00
|
|
|
|
;;;
|
2013-01-05 18:47:50 -05:00
|
|
|
|
;;; This file is part of GNU Guix.
|
distro: Add the `guile', `typesetting', and `databases' package modules.
* distro.scm (package-files): Adjust PREFIX-LEN to use the top-level
directory, not %DISTRO-MODULE-DIRECTORY.
* distro/packages/base.scm (guile-reader, guile-reader/guile-1.8,
guile-reader/guile-2.0, lout, recutils): Move to...
* distro/packages/guile.scm, distro/packages/typesetting.scm,
distro/packages/databases.scm: ... here. New files.
* Makefile.am (MODULES): Add them.
(EXTRA_DIST): Add `.dir-locals.el'.
* .dir-locals.el: New file, with settings formerly in `base.scm'.
2012-09-26 16:17:41 -04:00
|
|
|
|
;;;
|
2013-01-05 18:47:50 -05:00
|
|
|
|
;;; GNU Guix is free software; you can redistribute it and/or modify it
|
distro: Add the `guile', `typesetting', and `databases' package modules.
* distro.scm (package-files): Adjust PREFIX-LEN to use the top-level
directory, not %DISTRO-MODULE-DIRECTORY.
* distro/packages/base.scm (guile-reader, guile-reader/guile-1.8,
guile-reader/guile-2.0, lout, recutils): Move to...
* distro/packages/guile.scm, distro/packages/typesetting.scm,
distro/packages/databases.scm: ... here. New files.
* Makefile.am (MODULES): Add them.
(EXTRA_DIST): Add `.dir-locals.el'.
* .dir-locals.el: New file, with settings formerly in `base.scm'.
2012-09-26 16:17:41 -04:00
|
|
|
|
;;; under the terms of the GNU General Public License as published by
|
|
|
|
|
;;; the Free Software Foundation; either version 3 of the License, or (at
|
|
|
|
|
;;; your option) any later version.
|
|
|
|
|
;;;
|
2013-01-05 18:47:50 -05:00
|
|
|
|
;;; GNU Guix is distributed in the hope that it will be useful, but
|
distro: Add the `guile', `typesetting', and `databases' package modules.
* distro.scm (package-files): Adjust PREFIX-LEN to use the top-level
directory, not %DISTRO-MODULE-DIRECTORY.
* distro/packages/base.scm (guile-reader, guile-reader/guile-1.8,
guile-reader/guile-2.0, lout, recutils): Move to...
* distro/packages/guile.scm, distro/packages/typesetting.scm,
distro/packages/databases.scm: ... here. New files.
* Makefile.am (MODULES): Add them.
(EXTRA_DIST): Add `.dir-locals.el'.
* .dir-locals.el: New file, with settings formerly in `base.scm'.
2012-09-26 16:17:41 -04:00
|
|
|
|
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
|
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
|
;;; GNU General Public License for more details.
|
|
|
|
|
;;;
|
|
|
|
|
;;; You should have received a copy of the GNU General Public License
|
2013-01-05 18:47:50 -05:00
|
|
|
|
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
|
distro: Add the `guile', `typesetting', and `databases' package modules.
* distro.scm (package-files): Adjust PREFIX-LEN to use the top-level
directory, not %DISTRO-MODULE-DIRECTORY.
* distro/packages/base.scm (guile-reader, guile-reader/guile-1.8,
guile-reader/guile-2.0, lout, recutils): Move to...
* distro/packages/guile.scm, distro/packages/typesetting.scm,
distro/packages/databases.scm: ... here. New files.
* Makefile.am (MODULES): Add them.
(EXTRA_DIST): Add `.dir-locals.el'.
* .dir-locals.el: New file, with settings formerly in `base.scm'.
2012-09-26 16:17:41 -04:00
|
|
|
|
|
2013-01-17 19:06:24 -05:00
|
|
|
|
(define-module (gnu packages guile)
|
2017-02-11 13:23:56 -05:00
|
|
|
|
#:use-module ((guix licenses) #:prefix license:)
|
2013-01-17 19:06:47 -05:00
|
|
|
|
#:use-module (gnu packages)
|
2019-01-10 09:10:07 -05:00
|
|
|
|
#:use-module (gnu packages autotools)
|
|
|
|
|
#:use-module (gnu packages base)
|
2013-05-26 17:45:59 -04:00
|
|
|
|
#:use-module (gnu packages bash)
|
2013-01-17 19:06:24 -05:00
|
|
|
|
#:use-module (gnu packages bdw-gc)
|
gnu: Move contents of zip module into compression module.
* gnu/packages/zip.scm (zip, unzip, zziplib, perl-zip): Move to...
* gnu/packages/compression.scm: ...here.
* gnu/packages/zip.scm: Delete file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Unregister deleted file.
* po/packages/POTFILES.in: Unregister deleted file.
* gnu/packages/{audio, avr, bioinformatics, busybox, cdrom, ci, compression,
docbook, documentation, fonts, fpga, game-development, games, gl, gnome,
gnuzilla, graphics, guile, haskell, image, java, kodi, ldc, libreoffice,
markup, maths, mc, monitoring, music, php, pretty-print, python, scheme,
smalltalk, statistics, synergy, tex, textutils, video, web-browsers, xml,
zip}.scm, guix/build-system/{ant, font}.scm, guix/{download, packages}.scm:
Adapt module import.
2017-06-12 14:40:01 -04:00
|
|
|
|
#:use-module (gnu packages compression)
|
gnu: Move dbm databases to new module.
* gnu/packages/databases.scm (gdbm, bdb, bdb-5.3): Move from here...
* gnu/packages/dbm.scm: ...to this new module.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/audio.scm,
gnu/packages/avahi.scm,
gnu/packages/backup.scm,
gnu/packages/cobol.scm,
gnu/packages/cyrus-sasl.scm,
gnu/packages/databases.scm,
gnu/packages/finance.scm,
gnu/packages/game-development.scm,
gnu/packages/gnome.scm,
gnu/packages/guile.scm,
gnu/packages/ibus.scm,
gnu/packages/kerberos.scm,
gnu/packages/linux.scm,
gnu/packages/mail.scm,
gnu/packages/man.scm,
gnu/packages/nvi.scm,
gnu/packages/openldap.scm,
gnu/packages/package-management.scm,
gnu/packages/php.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python.scm,
gnu/packages/rdf.scm,
gnu/packages/ruby.scm,
gnu/packages/sawfish.scm: Update module references.
2019-01-16 08:48:47 -05:00
|
|
|
|
#:use-module (gnu packages dbm)
|
2019-01-10 09:10:07 -05:00
|
|
|
|
#:use-module (gnu packages flex)
|
2013-01-17 19:06:24 -05:00
|
|
|
|
#:use-module (gnu packages gawk)
|
2019-01-10 09:10:07 -05:00
|
|
|
|
#:use-module (gnu packages gettext)
|
2018-12-16 09:49:41 -05:00
|
|
|
|
#:use-module (gnu packages hurd)
|
2013-01-17 19:06:24 -05:00
|
|
|
|
#:use-module (gnu packages libffi)
|
|
|
|
|
#:use-module (gnu packages libunistring)
|
2015-11-08 13:06:10 -05:00
|
|
|
|
#:use-module (gnu packages linux)
|
2013-01-17 19:06:24 -05:00
|
|
|
|
#:use-module (gnu packages m4)
|
|
|
|
|
#:use-module (gnu packages multiprecision)
|
|
|
|
|
#:use-module (gnu packages pkg-config)
|
|
|
|
|
#:use-module (gnu packages readline)
|
gnu: Move sqlite to separate module.
* gnu/packages/databases.scm (sqlite, sqlite-3.26.0, sqlite-with-fts5,
sqlite-with-column-metadata): Move variables from here...
* gnu/packages/sqlite.scm: ...to this new module.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/apl.scm,
gnu/packages/bittorrent.scm,
gnu/packages/calendar.scm,
gnu/packages/code.scm,
gnu/packages/crypto.scm,
gnu/packages/databases.scm,
gnu/packages/dc.scm,
gnu/packages/disk.scm,
gnu/packages/ebook.scm,
gnu/packages/education.scm,
gnu/packages/emacs.scm,
gnu/packages/emulators.scm,
gnu/packages/file-systems.scm,
gnu/packages/freedesktop.scm,
gnu/packages/ftp.scm,
gnu/packages/games.scm,
gnu/packages/geo.scm,
gnu/packages/gnome.scm,
gnu/packages/gnunet.scm,
gnu/packages/gnupg.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/gps.scm,
gnu/packages/guile.scm,
gnu/packages/ibus.scm,
gnu/packages/kerberos.scm,
gnu/packages/kodi.scm,
gnu/packages/lisp.scm,
gnu/packages/mail.scm,
gnu/packages/messaging.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/nfs.scm,
gnu/packages/ocaml.scm,
gnu/packages/package-management.scm,
gnu/packages/pdf.scm,
gnu/packages/photo.scm,
gnu/packages/php.scm,
gnu/packages/python.scm,
gnu/packages/qt.scm,
gnu/packages/ruby.scm,
gnu/packages/scheme.scm,
gnu/packages/sync.scm,
gnu/packages/syndication.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/web-browsers.scm,
gnu/packages/webkit.scm: Adjust module references.
2019-01-15 15:47:05 -05:00
|
|
|
|
#:use-module (gnu packages sqlite)
|
2015-05-10 10:29:54 -04:00
|
|
|
|
#:use-module (gnu packages texinfo)
|
2017-02-11 15:52:00 -05:00
|
|
|
|
#:use-module (gnu packages version-control)
|
distro: Add the `guile', `typesetting', and `databases' package modules.
* distro.scm (package-files): Adjust PREFIX-LEN to use the top-level
directory, not %DISTRO-MODULE-DIRECTORY.
* distro/packages/base.scm (guile-reader, guile-reader/guile-1.8,
guile-reader/guile-2.0, lout, recutils): Move to...
* distro/packages/guile.scm, distro/packages/typesetting.scm,
distro/packages/databases.scm: ... here. New files.
* Makefile.am (MODULES): Add them.
(EXTRA_DIST): Add `.dir-locals.el'.
* .dir-locals.el: New file, with settings formerly in `base.scm'.
2012-09-26 16:17:41 -04:00
|
|
|
|
#:use-module (guix packages)
|
Remove (guix http) and (guix ftp).
* guix/ftp.scm, guix/http.scm, guix/build/ftp.scm, guix/build/http.scm:
Remove.
* Makefile.am (MODULES): Likewise.
* tests/builders.scm, distro/packages/base.scm,
distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/compression.scm, distro/packages/gawk.scm,
distro/packages/gnupg.scm, distro/packages/gperf.scm,
distro/packages/guile.scm, distro/packages/libffi.scm,
distro/packages/libsigsegv.scm, distro/packages/libtool.scm,
distro/packages/libunistring.scm, distro/packages/lout.scm,
distro/packages/m4.scm, distro/packages/multiprecision.scm,
distro/packages/ncurses.scm, distro/packages/perl.scm,
distro/packages/pkg-config.scm, distro/packages/pth.scm,
distro/packages/readline.scm, distro/packages/recutils.scm: Use
`url-fetch' instead of `http-fetch' and `ftp-fetch'.
* distro/packages/bootstrap.scm: Likewise
(bootstrap-origin): Remove references to `http-fetch' and
`ftp-fetch'.
* guix.scm (%public-modules): Remove `http' and `ftp'; add `download'.
2012-11-12 18:22:44 -05:00
|
|
|
|
#:use-module (guix download)
|
2015-04-21 23:40:15 -04:00
|
|
|
|
#:use-module (guix git-download)
|
2014-01-22 17:45:44 -05:00
|
|
|
|
#:use-module (guix build-system gnu)
|
2018-07-18 09:42:11 -04:00
|
|
|
|
#:use-module (guix build-system guile)
|
2019-10-22 11:51:23 -04:00
|
|
|
|
#:use-module (guix deprecation)
|
2014-01-22 17:45:44 -05:00
|
|
|
|
#:use-module (guix utils)
|
2018-01-30 22:38:10 -05:00
|
|
|
|
#:use-module (ice-9 match)
|
|
|
|
|
#:use-module ((srfi srfi-1) #:prefix srfi-1:))
|
distro: Add the `guile', `typesetting', and `databases' package modules.
* distro.scm (package-files): Adjust PREFIX-LEN to use the top-level
directory, not %DISTRO-MODULE-DIRECTORY.
* distro/packages/base.scm (guile-reader, guile-reader/guile-1.8,
guile-reader/guile-2.0, lout, recutils): Move to...
* distro/packages/guile.scm, distro/packages/typesetting.scm,
distro/packages/databases.scm: ... here. New files.
* Makefile.am (MODULES): Add them.
(EXTRA_DIST): Add `.dir-locals.el'.
* .dir-locals.el: New file, with settings formerly in `base.scm'.
2012-09-26 16:17:41 -04:00
|
|
|
|
|
|
|
|
|
;;; Commentary:
|
|
|
|
|
;;;
|
distro: Split (distro packages base) into several files.
* distro/packages/base.scm (libsigsegv, gawk, perl, m4, gmp, mpfr, mpc,
ncurses, readline, bash, libtool, libunistring, libffi, pkg-config,
libgc): Move to modules of their own.
(guile-1.8, guile-2.0): Move to...
* distro/packages/guile.scm: ... here.
* distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/gawk.scm, distro/packages/libffi.scm,
distro/packages/libsigsegv.scm, distro/packages/libtool.scm,
distro/packages/libunistring.scm, distro/packages/m4.scm,
distro/packages/multiprecision.scm, distro/packages/ncurses.scm,
distro/packages/perl.scm, distro/packages/pkg-config.scm,
distro/packages/readline.scm: New files.
2012-11-04 16:37:22 -05:00
|
|
|
|
;;; GNU Guile, and modules and extensions.
|
distro: Add the `guile', `typesetting', and `databases' package modules.
* distro.scm (package-files): Adjust PREFIX-LEN to use the top-level
directory, not %DISTRO-MODULE-DIRECTORY.
* distro/packages/base.scm (guile-reader, guile-reader/guile-1.8,
guile-reader/guile-2.0, lout, recutils): Move to...
* distro/packages/guile.scm, distro/packages/typesetting.scm,
distro/packages/databases.scm: ... here. New files.
* Makefile.am (MODULES): Add them.
(EXTRA_DIST): Add `.dir-locals.el'.
* .dir-locals.el: New file, with settings formerly in `base.scm'.
2012-09-26 16:17:41 -04:00
|
|
|
|
;;;
|
|
|
|
|
;;; Code:
|
|
|
|
|
|
distro: Split (distro packages base) into several files.
* distro/packages/base.scm (libsigsegv, gawk, perl, m4, gmp, mpfr, mpc,
ncurses, readline, bash, libtool, libunistring, libffi, pkg-config,
libgc): Move to modules of their own.
(guile-1.8, guile-2.0): Move to...
* distro/packages/guile.scm: ... here.
* distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/gawk.scm, distro/packages/libffi.scm,
distro/packages/libsigsegv.scm, distro/packages/libtool.scm,
distro/packages/libunistring.scm, distro/packages/m4.scm,
distro/packages/multiprecision.scm, distro/packages/ncurses.scm,
distro/packages/perl.scm, distro/packages/pkg-config.scm,
distro/packages/readline.scm: New files.
2012-11-04 16:37:22 -05:00
|
|
|
|
(define-public guile-1.8
|
|
|
|
|
(package
|
|
|
|
|
(name "guile")
|
|
|
|
|
(version "1.8.8")
|
|
|
|
|
(source (origin
|
Remove (guix http) and (guix ftp).
* guix/ftp.scm, guix/http.scm, guix/build/ftp.scm, guix/build/http.scm:
Remove.
* Makefile.am (MODULES): Likewise.
* tests/builders.scm, distro/packages/base.scm,
distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/compression.scm, distro/packages/gawk.scm,
distro/packages/gnupg.scm, distro/packages/gperf.scm,
distro/packages/guile.scm, distro/packages/libffi.scm,
distro/packages/libsigsegv.scm, distro/packages/libtool.scm,
distro/packages/libunistring.scm, distro/packages/lout.scm,
distro/packages/m4.scm, distro/packages/multiprecision.scm,
distro/packages/ncurses.scm, distro/packages/perl.scm,
distro/packages/pkg-config.scm, distro/packages/pth.scm,
distro/packages/readline.scm, distro/packages/recutils.scm: Use
`url-fetch' instead of `http-fetch' and `ftp-fetch'.
* distro/packages/bootstrap.scm: Likewise
(bootstrap-origin): Remove references to `http-fetch' and
`ftp-fetch'.
* guix.scm (%public-modules): Remove `http' and `ftp'; add `download'.
2012-11-12 18:22:44 -05:00
|
|
|
|
(method url-fetch)
|
distro: Use `mirror://' URLs.
* distro/packages/base.scm, distro/packages/bash.scm,
distro/packages/compression.scm, distro/packages/gawk.scm,
distro/packages/gperf.scm, distro/packages/guile.scm,
distro/packages/libsigsegv.scm, distro/packages/libtool.scm,
distro/packages/libunistring.scm, distro/packages/m4.scm,
distro/packages/multiprecision.scm, distro/packages/ncurses.scm,
distro/packages/pth.scm, distro/packages/readline.scm,
distro/packages/recutils.scm: Use `mirror://gnu' URLs.
* distro/packages/gnupg.scm: Use `mirror://gnupg' URLs.
2012-11-12 17:34:03 -05:00
|
|
|
|
(uri (string-append "mirror://gnu/guile/guile-" version
|
distro: Split (distro packages base) into several files.
* distro/packages/base.scm (libsigsegv, gawk, perl, m4, gmp, mpfr, mpc,
ncurses, readline, bash, libtool, libunistring, libffi, pkg-config,
libgc): Move to modules of their own.
(guile-1.8, guile-2.0): Move to...
* distro/packages/guile.scm: ... here.
* distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/gawk.scm, distro/packages/libffi.scm,
distro/packages/libsigsegv.scm, distro/packages/libtool.scm,
distro/packages/libunistring.scm, distro/packages/m4.scm,
distro/packages/multiprecision.scm, distro/packages/ncurses.scm,
distro/packages/perl.scm, distro/packages/pkg-config.scm,
distro/packages/readline.scm: New files.
2012-11-04 16:37:22 -05:00
|
|
|
|
".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
gnu: Use the 'patches' field of <origin>.
* gnu/packages/apr.scm,
gnu/packages/autotools.scm,
gnu/packages/avahi.scm,
gnu/packages/cdrom.scm,
gnu/packages/cmake.scm,
gnu/packages/cpio.scm,
gnu/packages/cross-base.scm,
gnu/packages/emacs.scm,
gnu/packages/flex.scm,
gnu/packages/fontutils.scm,
gnu/packages/glib.scm,
gnu/packages/grub.scm,
gnu/packages/guile.scm,
gnu/packages/idutils.scm,
gnu/packages/libevent.scm,
gnu/packages/linux.scm,
gnu/packages/mail.scm,
gnu/packages/make-bootstrap.scm,
gnu/packages/mp3.scm,
gnu/packages/oggvorbis.scm,
gnu/packages/pdf.scm,
gnu/packages/plotutils.scm,
gnu/packages/qemu.scm,
gnu/packages/recutils.scm,
gnu/packages/rush.scm,
gnu/packages/scheme.scm,
gnu/packages/system.scm,
gnu/packages/tcsh.scm,
gnu/packages/valgrind.scm,
gnu/packages/vpn.scm,
gnu/packages/w3m: Use the 'patches' field of <origin> instead of
adding a patch as input plus using #:patches.
2013-10-08 18:09:04 -04:00
|
|
|
|
"0l200a0v7h8bh0cwz6v7hc13ds39cgqsmfrks55b1rbj5vniyiy3"))
|
2016-04-08 08:18:13 -04:00
|
|
|
|
(patches (search-patches "guile-1.8-cpp-4.5.patch"))))
|
distro: Split (distro packages base) into several files.
* distro/packages/base.scm (libsigsegv, gawk, perl, m4, gmp, mpfr, mpc,
ncurses, readline, bash, libtool, libunistring, libffi, pkg-config,
libgc): Move to modules of their own.
(guile-1.8, guile-2.0): Move to...
* distro/packages/guile.scm: ... here.
* distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/gawk.scm, distro/packages/libffi.scm,
distro/packages/libsigsegv.scm, distro/packages/libtool.scm,
distro/packages/libunistring.scm, distro/packages/m4.scm,
distro/packages/multiprecision.scm, distro/packages/ncurses.scm,
distro/packages/perl.scm, distro/packages/pkg-config.scm,
distro/packages/readline.scm: New files.
2012-11-04 16:37:22 -05:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments '(#:configure-flags '("--disable-error-on-warning")
|
|
|
|
|
|
|
|
|
|
;; Insert a phase before `configure' to patch things up.
|
gnu: Use 'modify-phases' syntax.
* gnu/packages/admin.scm (mingetty, clusterssh, wpa-supplicant-minimal,
wpa-supplicant, wakelan, acpica, tree, direvent, dstat)[arguments]: Use
'modify-phases' syntax.
* gnu/packages/algebra.scm (arb)[arguments]: Likewise.
* gnu/packages/apr.scm (apr-util)[arguments]: Likewise.
* gnu/packages/audio.scm (clalsadrv, fluidsynth, faad2, lv2-mda-piano,
lv2-mda-epiano, timidity++, vamp, soundtouch, portaudio, rsound,
zita-convolver, zita-alsa-pcmi)[arguments]: Likewise.
* gnu/packages/backup.scm (rdup, btar)[arguments]: Likewise.
* gnu/packages/bioinformatics.scm (bedops, bwa, crossmap, express,
flexbar, grit, hisat, ngs-sdk, subread)[arguments]: Likewise.
* gnu/packages/bittorrent.scm (transmission)[arguments]: Likewise.
* gnu/packages/cdrom.scm (cd-discid)[arguments]: Likewise.
* gnu/packages/compression.scm (sharutils)[arguments]: Likewise.
* gnu/packages/conky.scm (conky)[arguments]: Likewise.
* gnu/packages/databases.scm (bdb, bdb-5.3)[arguments]: Likewise.
* gnu/packages/debug.scm (delta, c-reduce)[arguments]: Likewise.
* gnu/packages/display-managers.scm (slim)[arguments]: Likewise.
* gnu/packages/dns.scm (dnsmasq)[arguments]: Likewise.
* gnu/packages/emacs.scm (geiser, emacs-wget, bbdb)[arguments]: Likewise.
* gnu/packages/engineering.scm (pcb)[arguments]: Likewise.
* gnu/packages/firmware.scm (ath9k-htc-firmware)[arguments]: Likewise.
* gnu/packages/flashing-tools.scm (flashrom)[arguments]: Likewise.
* gnu/packages/fltk.scm (fltk)[arguments]: Likewise.
* gnu/packages/freedesktop.scm (python-pyxdg)[arguments]: Likewise.
* gnu/packages/gd.scm (perl-gd)[arguments]: Likewise.
* gnu/packages/gkrellm.scm (gkrellm)[arguments]: Likewise.
* gnu/packages/glib.scm (glibmm)[arguments]: Likewise.
* gnu/packages/gl.scm (glew)[arguments]: Likewise.
* gnu/packages/gnome.scm (icon-naming-utils, orbit2, libbonobo, gnome-vfs,
libgnome, libbonoboui, goffice-0.8, dconf)[arguments]: Likewise.
* gnu/packages/gprolog.scm (gprolog)[arguments]: Likewise.
* gnu/packages/gps.scm (gpscorrelate)[arguments]: Likewise.
* gnu/packages/graphics.scm (agg)[arguments]: Likewise.
* gnu/packages/gtk.scm (ganv, girara, gtksourceview-2, guile-present,
python2-pycairo)[arguments]: Likewise.
* gnu/packages/guile.scm (guile-1.8)[arguments]: Likewise.
* gnu/packages/guile-wm.scm (guile-wm)[arguments]: Likewise.
* gnu/packages/hugs.scm (hugs)[arguments]: Likewise.
* gnu/packages/hurd.scm (gnumach-headers, hurd-headers, hurd-minimal)
[arguments]: Likewise.
* gnu/packages/image-viewers.scm (feh, sxiv)[arguments]: Likewise.
* gnu/packages/libcanberra.scm (libcanberra)[arguments]: Likewise.
* gnu/packages/linux.scm (bridge-utils, iw, fuse, unionfs-fuse/static,
lm-sensors, i2c-tools, xsensors, perf, mdadm, libaio, module-init-tools)
[arguments]: Likewise.
* gnu/packages/lisp.scm (ccl)[arguments]: Likewise.
* gnu/packages/lout.scm (lout)[arguments]: Likewise.
* gnu/packages/lua.scm (luajit)[arguments]: Likewise.
* gnu/packages/machine-learning.scm (shogun)[arguments]: Likewise.
* gnu/packages/mail.scm (exim)[arguments]: Likewise.
* gnu/packages/man.scm (man-pages, txt2man)[arguments]: Likewise.
* gnu/packages/maths.scm (lapack, superlu-dist, openlibm, openspecfun)
[arguments]: Likewise.
* gnu/packages/messaging.scm (bitlbee)[arguments]: Likewise.
* gnu/packages/mp3.scm (libmad, id3lib, mp3info)[arguments]: Likewise.
* gnu/packages/music.scm (solfege)[arguments]: Likewise.
* gnu/packages/noweb.scm (noweb)[arguments]: Likewise.
* gnu/packages/patchutils.scm (patchutils, quilt, colordiff)[arguments]:
Likewise.
* gnu/packages/pdf.scm (xpdf, zathura-cb, zathura-ps, zathura-djvu,
zathura-pdf-poppler, zathura, podofo, fbida)[arguments]: Likewise.
* gnu/packages/perl.scm (perl-file-list, perl-test-harness)[arguments]:
Likewise.
* gnu/packages/photo.scm (gphoto2)[arguments]: Likewise.
* gnu/packages/popt.scm (popt)[arguments]: Likewise.
* gnu/packages/pretty-print.scm (source-highlight, astyle)[arguments]:
Likewise.
* gnu/packages/pumpio.scm (pumpa)[arguments]: Likewise.
* gnu/packages/python.scm (python-passlib, python-pycrypto, python2-empy,
python-sqlalchemy, python-docopt)[arguments]: Likewise.
* gnu/packages/rdf.scm (lrdf)[arguments]: Likewise.
* gnu/packages/regex.scm (tre)[arguments]: Likewise.
* gnu/packages/rrdtool.scm (rrdtool)[arguments]: Likewise.
* gnu/packages/ruby.scm (ruby-2.1, ruby-1.8)[arguments]: Likewise.
* gnu/packages/sawfish.scm (sawfish)[arguments]: Likewise.
* gnu/packages/scheme.scm (racket)[arguments]: Likewise.
* gnu/packages/sdl.scm (guile-sdl)[arguments]: Likewise.
* gnu/packages/serveez.scm (serveez)[arguments]: Likewise.
* gnu/packages/skribilo.scm (skribilo)[arguments]: Likewise.
* gnu/packages/smalltalk.scm (smalltalk)[arguments]: Likewise.
* gnu/packages/suckless.scm (dmenu, slock)[arguments]: Likewise.
* gnu/packages/tcl.scm (expect)[arguments]: Likewise.
* gnu/packages/telephony.scm (commoncpp)[arguments]: Likewise.
* gnu/packages/textutils.scm (recode, libgtextutils)[arguments]:
Likewise.
* gnu/packages/time.scm (time)[arguments]: Likewise.
* gnu/packages/tor.scm (privoxy)[arguments]: Likewise.
* gnu/packages/uucp.scm (uucp)[arguments]: Likewise.
* gnu/packages/video.scm (libdvdnav-4)[arguments]: Likewise.
* gnu/packages/web-browsers.scm (lynx)[arguments]: Likewise.
* gnu/packages/web.scm (tinyproxy)[arguments]: Likewise.
* gnu/packages/wicd.scm (wicd)[arguments]: Likewise.
* gnu/packages/wm.scm (bspwm)[arguments]: Likewise.
* gnu/packages/xdisorg.scm (sxhkd, xcape)[arguments]: Likewise.
* gnu/packages/xfce.scm (xfconf)[arguments]: Likewise.
* gnu/packages/xfig.scm (transfig)[arguments]: Likewise.
* gnu/packages/xorg.scm (imake)[arguments]: Likewise.
2017-07-29 11:28:42 -04:00
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before 'configure 'patch-stuff
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
;; Add a call to `lt_dladdsearchdir' so that
|
|
|
|
|
;; `libguile-readline.so' & co. are in the
|
|
|
|
|
;; loader's search path.
|
|
|
|
|
(substitute* "libguile/dynl.c"
|
|
|
|
|
(("lt_dlinit.*$" match)
|
|
|
|
|
(format #f
|
|
|
|
|
" ~a~% lt_dladdsearchdir(\"~a/lib\");~%"
|
|
|
|
|
match
|
|
|
|
|
(assoc-ref outputs "out"))))
|
2013-02-07 18:15:26 -05:00
|
|
|
|
|
gnu: Use 'modify-phases' syntax.
* gnu/packages/admin.scm (mingetty, clusterssh, wpa-supplicant-minimal,
wpa-supplicant, wakelan, acpica, tree, direvent, dstat)[arguments]: Use
'modify-phases' syntax.
* gnu/packages/algebra.scm (arb)[arguments]: Likewise.
* gnu/packages/apr.scm (apr-util)[arguments]: Likewise.
* gnu/packages/audio.scm (clalsadrv, fluidsynth, faad2, lv2-mda-piano,
lv2-mda-epiano, timidity++, vamp, soundtouch, portaudio, rsound,
zita-convolver, zita-alsa-pcmi)[arguments]: Likewise.
* gnu/packages/backup.scm (rdup, btar)[arguments]: Likewise.
* gnu/packages/bioinformatics.scm (bedops, bwa, crossmap, express,
flexbar, grit, hisat, ngs-sdk, subread)[arguments]: Likewise.
* gnu/packages/bittorrent.scm (transmission)[arguments]: Likewise.
* gnu/packages/cdrom.scm (cd-discid)[arguments]: Likewise.
* gnu/packages/compression.scm (sharutils)[arguments]: Likewise.
* gnu/packages/conky.scm (conky)[arguments]: Likewise.
* gnu/packages/databases.scm (bdb, bdb-5.3)[arguments]: Likewise.
* gnu/packages/debug.scm (delta, c-reduce)[arguments]: Likewise.
* gnu/packages/display-managers.scm (slim)[arguments]: Likewise.
* gnu/packages/dns.scm (dnsmasq)[arguments]: Likewise.
* gnu/packages/emacs.scm (geiser, emacs-wget, bbdb)[arguments]: Likewise.
* gnu/packages/engineering.scm (pcb)[arguments]: Likewise.
* gnu/packages/firmware.scm (ath9k-htc-firmware)[arguments]: Likewise.
* gnu/packages/flashing-tools.scm (flashrom)[arguments]: Likewise.
* gnu/packages/fltk.scm (fltk)[arguments]: Likewise.
* gnu/packages/freedesktop.scm (python-pyxdg)[arguments]: Likewise.
* gnu/packages/gd.scm (perl-gd)[arguments]: Likewise.
* gnu/packages/gkrellm.scm (gkrellm)[arguments]: Likewise.
* gnu/packages/glib.scm (glibmm)[arguments]: Likewise.
* gnu/packages/gl.scm (glew)[arguments]: Likewise.
* gnu/packages/gnome.scm (icon-naming-utils, orbit2, libbonobo, gnome-vfs,
libgnome, libbonoboui, goffice-0.8, dconf)[arguments]: Likewise.
* gnu/packages/gprolog.scm (gprolog)[arguments]: Likewise.
* gnu/packages/gps.scm (gpscorrelate)[arguments]: Likewise.
* gnu/packages/graphics.scm (agg)[arguments]: Likewise.
* gnu/packages/gtk.scm (ganv, girara, gtksourceview-2, guile-present,
python2-pycairo)[arguments]: Likewise.
* gnu/packages/guile.scm (guile-1.8)[arguments]: Likewise.
* gnu/packages/guile-wm.scm (guile-wm)[arguments]: Likewise.
* gnu/packages/hugs.scm (hugs)[arguments]: Likewise.
* gnu/packages/hurd.scm (gnumach-headers, hurd-headers, hurd-minimal)
[arguments]: Likewise.
* gnu/packages/image-viewers.scm (feh, sxiv)[arguments]: Likewise.
* gnu/packages/libcanberra.scm (libcanberra)[arguments]: Likewise.
* gnu/packages/linux.scm (bridge-utils, iw, fuse, unionfs-fuse/static,
lm-sensors, i2c-tools, xsensors, perf, mdadm, libaio, module-init-tools)
[arguments]: Likewise.
* gnu/packages/lisp.scm (ccl)[arguments]: Likewise.
* gnu/packages/lout.scm (lout)[arguments]: Likewise.
* gnu/packages/lua.scm (luajit)[arguments]: Likewise.
* gnu/packages/machine-learning.scm (shogun)[arguments]: Likewise.
* gnu/packages/mail.scm (exim)[arguments]: Likewise.
* gnu/packages/man.scm (man-pages, txt2man)[arguments]: Likewise.
* gnu/packages/maths.scm (lapack, superlu-dist, openlibm, openspecfun)
[arguments]: Likewise.
* gnu/packages/messaging.scm (bitlbee)[arguments]: Likewise.
* gnu/packages/mp3.scm (libmad, id3lib, mp3info)[arguments]: Likewise.
* gnu/packages/music.scm (solfege)[arguments]: Likewise.
* gnu/packages/noweb.scm (noweb)[arguments]: Likewise.
* gnu/packages/patchutils.scm (patchutils, quilt, colordiff)[arguments]:
Likewise.
* gnu/packages/pdf.scm (xpdf, zathura-cb, zathura-ps, zathura-djvu,
zathura-pdf-poppler, zathura, podofo, fbida)[arguments]: Likewise.
* gnu/packages/perl.scm (perl-file-list, perl-test-harness)[arguments]:
Likewise.
* gnu/packages/photo.scm (gphoto2)[arguments]: Likewise.
* gnu/packages/popt.scm (popt)[arguments]: Likewise.
* gnu/packages/pretty-print.scm (source-highlight, astyle)[arguments]:
Likewise.
* gnu/packages/pumpio.scm (pumpa)[arguments]: Likewise.
* gnu/packages/python.scm (python-passlib, python-pycrypto, python2-empy,
python-sqlalchemy, python-docopt)[arguments]: Likewise.
* gnu/packages/rdf.scm (lrdf)[arguments]: Likewise.
* gnu/packages/regex.scm (tre)[arguments]: Likewise.
* gnu/packages/rrdtool.scm (rrdtool)[arguments]: Likewise.
* gnu/packages/ruby.scm (ruby-2.1, ruby-1.8)[arguments]: Likewise.
* gnu/packages/sawfish.scm (sawfish)[arguments]: Likewise.
* gnu/packages/scheme.scm (racket)[arguments]: Likewise.
* gnu/packages/sdl.scm (guile-sdl)[arguments]: Likewise.
* gnu/packages/serveez.scm (serveez)[arguments]: Likewise.
* gnu/packages/skribilo.scm (skribilo)[arguments]: Likewise.
* gnu/packages/smalltalk.scm (smalltalk)[arguments]: Likewise.
* gnu/packages/suckless.scm (dmenu, slock)[arguments]: Likewise.
* gnu/packages/tcl.scm (expect)[arguments]: Likewise.
* gnu/packages/telephony.scm (commoncpp)[arguments]: Likewise.
* gnu/packages/textutils.scm (recode, libgtextutils)[arguments]:
Likewise.
* gnu/packages/time.scm (time)[arguments]: Likewise.
* gnu/packages/tor.scm (privoxy)[arguments]: Likewise.
* gnu/packages/uucp.scm (uucp)[arguments]: Likewise.
* gnu/packages/video.scm (libdvdnav-4)[arguments]: Likewise.
* gnu/packages/web-browsers.scm (lynx)[arguments]: Likewise.
* gnu/packages/web.scm (tinyproxy)[arguments]: Likewise.
* gnu/packages/wicd.scm (wicd)[arguments]: Likewise.
* gnu/packages/wm.scm (bspwm)[arguments]: Likewise.
* gnu/packages/xdisorg.scm (sxhkd, xcape)[arguments]: Likewise.
* gnu/packages/xfce.scm (xfconf)[arguments]: Likewise.
* gnu/packages/xfig.scm (transfig)[arguments]: Likewise.
* gnu/packages/xorg.scm (imake)[arguments]: Likewise.
2017-07-29 11:28:42 -04:00
|
|
|
|
;; The usual /bin/sh...
|
|
|
|
|
(substitute* "ice-9/popen.scm"
|
|
|
|
|
(("/bin/sh") (which "sh")))
|
|
|
|
|
#t)))))
|
2019-03-30 09:34:40 -04:00
|
|
|
|
|
|
|
|
|
;; When cross-compiling, a native version of Guile itself is needed.
|
|
|
|
|
(native-inputs (if (%current-target-system)
|
|
|
|
|
`(("self" ,this-package))
|
|
|
|
|
'()))
|
|
|
|
|
|
gnu: Use the 'patches' field of <origin>.
* gnu/packages/apr.scm,
gnu/packages/autotools.scm,
gnu/packages/avahi.scm,
gnu/packages/cdrom.scm,
gnu/packages/cmake.scm,
gnu/packages/cpio.scm,
gnu/packages/cross-base.scm,
gnu/packages/emacs.scm,
gnu/packages/flex.scm,
gnu/packages/fontutils.scm,
gnu/packages/glib.scm,
gnu/packages/grub.scm,
gnu/packages/guile.scm,
gnu/packages/idutils.scm,
gnu/packages/libevent.scm,
gnu/packages/linux.scm,
gnu/packages/mail.scm,
gnu/packages/make-bootstrap.scm,
gnu/packages/mp3.scm,
gnu/packages/oggvorbis.scm,
gnu/packages/pdf.scm,
gnu/packages/plotutils.scm,
gnu/packages/qemu.scm,
gnu/packages/recutils.scm,
gnu/packages/rush.scm,
gnu/packages/scheme.scm,
gnu/packages/system.scm,
gnu/packages/tcsh.scm,
gnu/packages/valgrind.scm,
gnu/packages/vpn.scm,
gnu/packages/w3m: Use the 'patches' field of <origin> instead of
adding a patch as input plus using #:patches.
2013-10-08 18:09:04 -04:00
|
|
|
|
(inputs `(("gawk" ,gawk)
|
distro: Split (distro packages base) into several files.
* distro/packages/base.scm (libsigsegv, gawk, perl, m4, gmp, mpfr, mpc,
ncurses, readline, bash, libtool, libunistring, libffi, pkg-config,
libgc): Move to modules of their own.
(guile-1.8, guile-2.0): Move to...
* distro/packages/guile.scm: ... here.
* distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/gawk.scm, distro/packages/libffi.scm,
distro/packages/libsigsegv.scm, distro/packages/libtool.scm,
distro/packages/libunistring.scm, distro/packages/m4.scm,
distro/packages/multiprecision.scm, distro/packages/ncurses.scm,
distro/packages/perl.scm, distro/packages/pkg-config.scm,
distro/packages/readline.scm: New files.
2012-11-04 16:37:22 -05:00
|
|
|
|
("readline" ,readline)))
|
|
|
|
|
|
|
|
|
|
;; Since `guile-1.8.pc' has "Libs: ... -lgmp -lltdl", these must be
|
|
|
|
|
;; propagated.
|
|
|
|
|
(propagated-inputs `(("gmp" ,gmp)
|
2015-01-06 17:14:59 -05:00
|
|
|
|
("libltdl" ,libltdl)))
|
distro: Split (distro packages base) into several files.
* distro/packages/base.scm (libsigsegv, gawk, perl, m4, gmp, mpfr, mpc,
ncurses, readline, bash, libtool, libunistring, libffi, pkg-config,
libgc): Move to modules of their own.
(guile-1.8, guile-2.0): Move to...
* distro/packages/guile.scm: ... here.
* distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/gawk.scm, distro/packages/libffi.scm,
distro/packages/libsigsegv.scm, distro/packages/libtool.scm,
distro/packages/libunistring.scm, distro/packages/m4.scm,
distro/packages/multiprecision.scm, distro/packages/ncurses.scm,
distro/packages/perl.scm, distro/packages/pkg-config.scm,
distro/packages/readline.scm: New files.
2012-11-04 16:37:22 -05:00
|
|
|
|
|
2013-03-30 17:50:45 -04:00
|
|
|
|
(native-search-paths
|
|
|
|
|
(list (search-path-specification
|
|
|
|
|
(variable "GUILE_LOAD_PATH")
|
packages: Add 'file-type' field to 'search-path-specification'.
Fixes <http://bugs.gnu.org/18033>.
* guix/packages.scm (<search-path-specification>): Rename 'directories'
field to 'files'. Add 'file-type'.
(search-path-specification->sexp): Honor 'file-type'.
* gnu/packages/autotools.scm, gnu/packages/bootstrap.scm,
gnu/packages/cross-base.scm, gnu/packages/games.scm,
gnu/packages/gcc.scm, gnu/packages/glib.scm,
gnu/packages/guile.scm, gnu/packages/man.scm,
gnu/packages/perl.scm, gnu/packages/pkg-config.scm,
gnu/packages/python.scm, gnu/packages/ruby.scm,
gnu/packages/xfce.scm: Change 'directories' to 'files'.
* tests/packages.scm ("search paths"): Change 'directories' field to
'files'.
* guix/scripts/environment.scm (for-each-search-path): Likewise.
2014-12-27 17:22:08 -05:00
|
|
|
|
(files '("share/guile/site")))))
|
2013-03-30 17:50:45 -04:00
|
|
|
|
|
gnu: Use synopses from the Womb.
* gnu/packages/algebra.scm,
gnu/packages/aspell.scm,
gnu/packages/autotools.scm,
gnu/packages/base.scm,
gnu/packages/bash.scm,
gnu/packages/bison.scm,
gnu/packages/cdrom.scm,
gnu/packages/cflow.scm,
gnu/packages/compression.scm,
gnu/packages/cpio.scm,
gnu/packages/cppi.scm,
gnu/packages/ddrescue.scm,
gnu/packages/dejagnu.scm,
gnu/packages/ed.scm,
gnu/packages/emacs.scm,
gnu/packages/fdisk.scm,
gnu/packages/gawk.scm,
gnu/packages/gcc.scm,
packages/gcc.scm, b/gnu/packages/gcc.scm,
4b982 100644
s/gcc.scm,
s/gcc.scm,
@@
%standard-phases)))))
`((gcc-libc . ,(assoc-ref inputs "libc"))))
The GNU Compiler Collection")
GNU Compiler Collection")
n
ompiler Collection includes compiler front ends for C, C++,
tran, OpenMP for C/C++/Fortran, Java, and Ada, as well as
gnu/packages/gdb.scm,
gnu/packages/gettext.scm,
gnu/packages/ghostscript.scm,
gnu/packages/glib.scm,
gnu/packages/global.scm,
gnu/packages/gnupg.scm,
gnu/packages/gnutls.scm,
gnu/packages/gperf.scm,
gnu/packages/gprolog.scm,
gnu/packages/groff.scm,
gnu/packages/grub.scm,
gnu/packages/gsasl.scm,
gnu/packages/guile.scm,
gnu/packages/help2man.scm,
gnu/packages/idutils.scm,
gnu/packages/indent.scm,
gnu/packages/less.scm,
gnu/packages/libidn.scm,
gnu/packages/libsigsegv.scm,
gnu/packages/libunistring.scm,
gnu/packages/linux.scm,
gnu/packages/lsh.scm,
gnu/packages/m4.scm,
gnu/packages/mailutils.scm,
gnu/packages/multiprecision.scm,
gnu/packages/nano.scm,
gnu/packages/ncurses.scm,
gnu/packages/nettle.scm,
gnu/packages/oggvorbis.scm,
gnu/packages/parted.scm,
gnu/packages/pth.scm,
gnu/packages/readline.scm,
gnu/packages/recutils.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/shishi.scm,
gnu/packages/smalltalk.scm,
gnu/packages/system.scm,
gnu/packages/texinfo.scm,
gnu/packages/time.scm,
gnu/packages/wdiff.scm,
gnu/packages/wget.scm,
gnu/packages/which.scm: Use synopses from the Womb.
2013-04-17 12:04:25 -04:00
|
|
|
|
(synopsis "Scheme implementation intended especially for extensions")
|
distro: Split (distro packages base) into several files.
* distro/packages/base.scm (libsigsegv, gawk, perl, m4, gmp, mpfr, mpc,
ncurses, readline, bash, libtool, libunistring, libffi, pkg-config,
libgc): Move to modules of their own.
(guile-1.8, guile-2.0): Move to...
* distro/packages/guile.scm: ... here.
* distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/gawk.scm, distro/packages/libffi.scm,
distro/packages/libsigsegv.scm, distro/packages/libtool.scm,
distro/packages/libunistring.scm, distro/packages/m4.scm,
distro/packages/multiprecision.scm, distro/packages/ncurses.scm,
distro/packages/perl.scm, distro/packages/pkg-config.scm,
distro/packages/readline.scm: New files.
2012-11-04 16:37:22 -05:00
|
|
|
|
(description
|
Synchronize package descriptions with the Womb.
* gnu/packages/algebra.scm,
gnu/packages/aspell.scm,
gnu/packages/autotools.scm,
gnu/packages/base.scm,
gnu/packages/bash.scm,
gnu/packages/bison.scm,
gnu/packages/cdrom.scm,
gnu/packages/cflow.scm,
gnu/packages/compression.scm,
gnu/packages/cpio.scm,
gnu/packages/cppi.scm,
gnu/packages/ddrescue.scm,
gnu/packages/dejagnu.scm,
gnu/packages/ed.scm,
gnu/packages/emacs.scm,
gnu/packages/fdisk.scm,
gnu/packages/freeipmi.scm,
gnu/packages/gawk.scm,
gnu/packages/gcal.scm,
gnu/packages/gcc.scm,
gnu/packages/gdb.scm,
gnu/packages/gdbm.scm,
gnu/packages/gettext.scm,
gnu/packages/ghostscript.scm,
gnu/packages/global.scm,
gnu/packages/gnunet.scm,
gnu/packages/gnupg.scm,
gnu/packages/gnutls.scm,
gnu/packages/gperf.scm,
gnu/packages/gprolog.scm,
gnu/packages/groff.scm,
gnu/packages/grub.scm,
gnu/packages/gsasl.scm,
gnu/packages/guile.scm,
gnu/packages/gv.scm,
gnu/packages/help2man.scm,
gnu/packages/idutils.scm,
gnu/packages/indent.scm,
gnu/packages/less.scm,
gnu/packages/libidn.scm,
gnu/packages/libsigsegv.scm,
gnu/packages/libunistring.scm,
gnu/packages/lightning.scm,
gnu/packages/linux.scm,
gnu/packages/lsh.scm,
gnu/packages/m4.scm,
gnu/packages/mail.scm,
gnu/packages/maths.scm,
gnu/packages/multiprecision.scm,
gnu/packages/nano.scm,
gnu/packages/ncurses.scm,
gnu/packages/nettle.scm,
gnu/packages/ocrad.scm,
gnu/packages/oggvorbis.scm,
gnu/packages/parted.scm,
gnu/packages/plotutils.scm,
gnu/packages/pth.scm,
gnu/packages/readline.scm,
gnu/packages/recutils.scm,
gnu/packages/rush.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/shishi.scm,
gnu/packages/smalltalk.scm,
gnu/packages/system.scm,
gnu/packages/texinfo.scm,
gnu/packages/time.scm,
gnu/packages/unrtf.scm,
gnu/packages/version-control.scm,
gnu/packages/wdiff.scm,
gnu/packages/wget.scm,
gnu/packages/which.scm,
gnu/packages/xnee.scm,
gnu/packages/zile.scm: Change value of the 'description' field to that
of the Womb.
2013-10-09 10:14:23 -04:00
|
|
|
|
"Guile is the GNU Ubiquitous Intelligent Language for Extensions, the
|
|
|
|
|
official extension language of the GNU system. It is an implementation of
|
|
|
|
|
the Scheme language which can be easily embedded in other applications to
|
|
|
|
|
provide a convenient means of extending the functionality of the application
|
|
|
|
|
without requiring the source code to be rewritten.")
|
2017-03-29 18:48:16 -04:00
|
|
|
|
(home-page "https://www.gnu.org/software/guile/")
|
2017-02-11 13:23:56 -05:00
|
|
|
|
(license license:lgpl2.0+)))
|
distro: Split (distro packages base) into several files.
* distro/packages/base.scm (libsigsegv, gawk, perl, m4, gmp, mpfr, mpc,
ncurses, readline, bash, libtool, libunistring, libffi, pkg-config,
libgc): Move to modules of their own.
(guile-1.8, guile-2.0): Move to...
* distro/packages/guile.scm: ... here.
* distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/gawk.scm, distro/packages/libffi.scm,
distro/packages/libsigsegv.scm, distro/packages/libtool.scm,
distro/packages/libunistring.scm, distro/packages/m4.scm,
distro/packages/multiprecision.scm, distro/packages/ncurses.scm,
distro/packages/perl.scm, distro/packages/pkg-config.scm,
distro/packages/readline.scm: New files.
2012-11-04 16:37:22 -05:00
|
|
|
|
|
|
|
|
|
(define-public guile-2.0
|
|
|
|
|
(package
|
|
|
|
|
(name "guile")
|
2017-02-13 18:08:42 -05:00
|
|
|
|
(version "2.0.14")
|
distro: Split (distro packages base) into several files.
* distro/packages/base.scm (libsigsegv, gawk, perl, m4, gmp, mpfr, mpc,
ncurses, readline, bash, libtool, libunistring, libffi, pkg-config,
libgc): Move to modules of their own.
(guile-1.8, guile-2.0): Move to...
* distro/packages/guile.scm: ... here.
* distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/gawk.scm, distro/packages/libffi.scm,
distro/packages/libsigsegv.scm, distro/packages/libtool.scm,
distro/packages/libunistring.scm, distro/packages/m4.scm,
distro/packages/multiprecision.scm, distro/packages/ncurses.scm,
distro/packages/perl.scm, distro/packages/pkg-config.scm,
distro/packages/readline.scm: New files.
2012-11-04 16:37:22 -05:00
|
|
|
|
(source (origin
|
Remove (guix http) and (guix ftp).
* guix/ftp.scm, guix/http.scm, guix/build/ftp.scm, guix/build/http.scm:
Remove.
* Makefile.am (MODULES): Likewise.
* tests/builders.scm, distro/packages/base.scm,
distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/compression.scm, distro/packages/gawk.scm,
distro/packages/gnupg.scm, distro/packages/gperf.scm,
distro/packages/guile.scm, distro/packages/libffi.scm,
distro/packages/libsigsegv.scm, distro/packages/libtool.scm,
distro/packages/libunistring.scm, distro/packages/lout.scm,
distro/packages/m4.scm, distro/packages/multiprecision.scm,
distro/packages/ncurses.scm, distro/packages/perl.scm,
distro/packages/pkg-config.scm, distro/packages/pth.scm,
distro/packages/readline.scm, distro/packages/recutils.scm: Use
`url-fetch' instead of `http-fetch' and `ftp-fetch'.
* distro/packages/bootstrap.scm: Likewise
(bootstrap-origin): Remove references to `http-fetch' and
`ftp-fetch'.
* guix.scm (%public-modules): Remove `http' and `ftp'; add `download'.
2012-11-12 18:22:44 -05:00
|
|
|
|
(method url-fetch)
|
distro: Use `mirror://' URLs.
* distro/packages/base.scm, distro/packages/bash.scm,
distro/packages/compression.scm, distro/packages/gawk.scm,
distro/packages/gperf.scm, distro/packages/guile.scm,
distro/packages/libsigsegv.scm, distro/packages/libtool.scm,
distro/packages/libunistring.scm, distro/packages/m4.scm,
distro/packages/multiprecision.scm, distro/packages/ncurses.scm,
distro/packages/pth.scm, distro/packages/readline.scm,
distro/packages/recutils.scm: Use `mirror://gnu' URLs.
* distro/packages/gnupg.scm: Use `mirror://gnupg' URLs.
2012-11-12 17:34:03 -05:00
|
|
|
|
(uri (string-append "mirror://gnu/guile/guile-" version
|
distro: Split (distro packages base) into several files.
* distro/packages/base.scm (libsigsegv, gawk, perl, m4, gmp, mpfr, mpc,
ncurses, readline, bash, libtool, libunistring, libffi, pkg-config,
libgc): Move to modules of their own.
(guile-1.8, guile-2.0): Move to...
* distro/packages/guile.scm: ... here.
* distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/gawk.scm, distro/packages/libffi.scm,
distro/packages/libsigsegv.scm, distro/packages/libtool.scm,
distro/packages/libunistring.scm, distro/packages/m4.scm,
distro/packages/multiprecision.scm, distro/packages/ncurses.scm,
distro/packages/perl.scm, distro/packages/pkg-config.scm,
distro/packages/readline.scm: New files.
2012-11-04 16:37:22 -05:00
|
|
|
|
".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-02-13 18:08:42 -05:00
|
|
|
|
"10lxc6l5alf3lzbs3ihnbfy6dfcrsyf8667wa57f26vf4mk2ai78"))))
|
distro: Split (distro packages base) into several files.
* distro/packages/base.scm (libsigsegv, gawk, perl, m4, gmp, mpfr, mpc,
ncurses, readline, bash, libtool, libunistring, libffi, pkg-config,
libgc): Move to modules of their own.
(guile-1.8, guile-2.0): Move to...
* distro/packages/guile.scm: ... here.
* distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/gawk.scm, distro/packages/libffi.scm,
distro/packages/libsigsegv.scm, distro/packages/libtool.scm,
distro/packages/libunistring.scm, distro/packages/m4.scm,
distro/packages/multiprecision.scm, distro/packages/ncurses.scm,
distro/packages/perl.scm, distro/packages/pkg-config.scm,
distro/packages/readline.scm: New files.
2012-11-04 16:37:22 -05:00
|
|
|
|
(build-system gnu-build-system)
|
2019-03-30 09:34:40 -04:00
|
|
|
|
|
|
|
|
|
;; When cross-compiling, a native version of Guile itself is needed.
|
|
|
|
|
(native-inputs `(,@(if (%current-target-system)
|
|
|
|
|
`(("self" ,this-package))
|
|
|
|
|
'())
|
|
|
|
|
("pkgconfig" ,pkg-config)))
|
distro: Split (distro packages base) into several files.
* distro/packages/base.scm (libsigsegv, gawk, perl, m4, gmp, mpfr, mpc,
ncurses, readline, bash, libtool, libunistring, libffi, pkg-config,
libgc): Move to modules of their own.
(guile-1.8, guile-2.0): Move to...
* distro/packages/guile.scm: ... here.
* distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/gawk.scm, distro/packages/libffi.scm,
distro/packages/libsigsegv.scm, distro/packages/libtool.scm,
distro/packages/libunistring.scm, distro/packages/m4.scm,
distro/packages/multiprecision.scm, distro/packages/ncurses.scm,
distro/packages/perl.scm, distro/packages/pkg-config.scm,
distro/packages/readline.scm: New files.
2012-11-04 16:37:22 -05:00
|
|
|
|
(inputs `(("libffi" ,libffi)
|
2016-04-24 08:06:56 -04:00
|
|
|
|
,@(libiconv-if-needed)
|
2017-06-02 09:34:36 -04:00
|
|
|
|
|
|
|
|
|
;; We need Bash when cross-compiling because some of the scripts
|
|
|
|
|
;; in bin/ refer to it. Use 'bash-minimal' because we don't need
|
|
|
|
|
;; an interactive Bash with Readline and all.
|
|
|
|
|
,@(if (target-mingw?) '() `(("bash" ,bash-minimal)))))
|
distro: Split (distro packages base) into several files.
* distro/packages/base.scm (libsigsegv, gawk, perl, m4, gmp, mpfr, mpc,
ncurses, readline, bash, libtool, libunistring, libffi, pkg-config,
libgc): Move to modules of their own.
(guile-1.8, guile-2.0): Move to...
* distro/packages/guile.scm: ... here.
* distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/gawk.scm, distro/packages/libffi.scm,
distro/packages/libsigsegv.scm, distro/packages/libtool.scm,
distro/packages/libunistring.scm, distro/packages/m4.scm,
distro/packages/multiprecision.scm, distro/packages/ncurses.scm,
distro/packages/perl.scm, distro/packages/pkg-config.scm,
distro/packages/readline.scm: New files.
2012-11-04 16:37:22 -05:00
|
|
|
|
(propagated-inputs
|
|
|
|
|
`( ;; These ones aren't normally needed here, but since `libguile-2.0.la'
|
|
|
|
|
;; reads `-lltdl -lunistring', adding them here will add the needed
|
|
|
|
|
;; `-L' flags. As for why the `.la' file lacks the `-L' flags, see
|
|
|
|
|
;; <http://thread.gmane.org/gmane.comp.lib.gnulib.bugs/18903>.
|
|
|
|
|
("libunistring" ,libunistring)
|
2015-01-06 17:14:59 -05:00
|
|
|
|
|
|
|
|
|
;; Depend on LIBLTDL, not LIBTOOL. That way, we avoid some the extra
|
|
|
|
|
;; dependencies that LIBTOOL has, which is helpful during bootstrap.
|
|
|
|
|
("libltdl" ,libltdl)
|
distro: Split (distro packages base) into several files.
* distro/packages/base.scm (libsigsegv, gawk, perl, m4, gmp, mpfr, mpc,
ncurses, readline, bash, libtool, libunistring, libffi, pkg-config,
libgc): Move to modules of their own.
(guile-1.8, guile-2.0): Move to...
* distro/packages/guile.scm: ... here.
* distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/gawk.scm, distro/packages/libffi.scm,
distro/packages/libsigsegv.scm, distro/packages/libtool.scm,
distro/packages/libunistring.scm, distro/packages/m4.scm,
distro/packages/multiprecision.scm, distro/packages/ncurses.scm,
distro/packages/perl.scm, distro/packages/pkg-config.scm,
distro/packages/readline.scm: New files.
2012-11-04 16:37:22 -05:00
|
|
|
|
|
|
|
|
|
;; The headers and/or `guile-2.0.pc' refer to these packages, so they
|
|
|
|
|
;; must be propagated.
|
2014-03-18 10:14:02 -04:00
|
|
|
|
("bdw-gc" ,libgc)
|
distro: Split (distro packages base) into several files.
* distro/packages/base.scm (libsigsegv, gawk, perl, m4, gmp, mpfr, mpc,
ncurses, readline, bash, libtool, libunistring, libffi, pkg-config,
libgc): Move to modules of their own.
(guile-1.8, guile-2.0): Move to...
* distro/packages/guile.scm: ... here.
* distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/gawk.scm, distro/packages/libffi.scm,
distro/packages/libsigsegv.scm, distro/packages/libtool.scm,
distro/packages/libunistring.scm, distro/packages/m4.scm,
distro/packages/multiprecision.scm, distro/packages/ncurses.scm,
distro/packages/perl.scm, distro/packages/pkg-config.scm,
distro/packages/readline.scm: New files.
2012-11-04 16:37:22 -05:00
|
|
|
|
("gmp" ,gmp)))
|
|
|
|
|
|
2013-07-03 17:55:04 -04:00
|
|
|
|
(outputs '("out" "debug"))
|
|
|
|
|
|
2012-12-20 17:07:46 -05:00
|
|
|
|
(arguments
|
2018-02-19 22:09:27 -05:00
|
|
|
|
`(#:configure-flags '("--disable-static") ; saves 3 MiB
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
2020-03-12 11:59:25 -04:00
|
|
|
|
,@(if (hurd-system?)
|
|
|
|
|
'((add-after 'unpack 'disable-tests
|
|
|
|
|
(lambda _
|
|
|
|
|
;; Hangs at: "Running 00-repl-server.test"
|
|
|
|
|
(rename-file "test-suite/tests/00-repl-server.test" "00-repl-server.test")
|
|
|
|
|
;; Sometimes Hangs at: "Running 00-socket.test"
|
|
|
|
|
(rename-file "test-suite/tests/00-socket.test" "00-socket.test")
|
|
|
|
|
;; FAIL: srfi-18.test: thread-sleep!: thread sleeps fractions of a second
|
|
|
|
|
(rename-file "test-suite/tests/srfi-18.test" "srfi-18.test")
|
|
|
|
|
;; failed to remove 't-guild-compile-7215.go.tdL7yC
|
|
|
|
|
(substitute* "test-suite/standalone/Makefile.in"
|
|
|
|
|
(("test-guild-compile ") ""))
|
|
|
|
|
#t)))
|
|
|
|
|
'())
|
2018-02-19 22:09:27 -05:00
|
|
|
|
(add-before 'configure 'pre-configure
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
;; Tell (ice-9 popen) the file name of Bash.
|
|
|
|
|
(let ((bash (assoc-ref inputs "bash")))
|
|
|
|
|
(substitute* "module/ice-9/popen.scm"
|
|
|
|
|
;; If bash is #f allow fallback for user to provide
|
|
|
|
|
;; "bash" in PATH. This happens when cross-building to
|
|
|
|
|
;; MinGW for which we do not have Bash yet.
|
|
|
|
|
(("/bin/sh")
|
|
|
|
|
,@(if (target-mingw?)
|
|
|
|
|
'((if bash
|
|
|
|
|
(string-append bash "/bin/bash")
|
|
|
|
|
"bash"))
|
|
|
|
|
'((string-append bash "/bin/bash")))))
|
|
|
|
|
#t))))))
|
2012-12-20 17:07:46 -05:00
|
|
|
|
|
2013-03-30 17:50:45 -04:00
|
|
|
|
(native-search-paths
|
|
|
|
|
(list (search-path-specification
|
|
|
|
|
(variable "GUILE_LOAD_PATH")
|
packages: Add 'file-type' field to 'search-path-specification'.
Fixes <http://bugs.gnu.org/18033>.
* guix/packages.scm (<search-path-specification>): Rename 'directories'
field to 'files'. Add 'file-type'.
(search-path-specification->sexp): Honor 'file-type'.
* gnu/packages/autotools.scm, gnu/packages/bootstrap.scm,
gnu/packages/cross-base.scm, gnu/packages/games.scm,
gnu/packages/gcc.scm, gnu/packages/glib.scm,
gnu/packages/guile.scm, gnu/packages/man.scm,
gnu/packages/perl.scm, gnu/packages/pkg-config.scm,
gnu/packages/python.scm, gnu/packages/ruby.scm,
gnu/packages/xfce.scm: Change 'directories' to 'files'.
* tests/packages.scm ("search paths"): Change 'directories' field to
'files'.
* guix/scripts/environment.scm (for-each-search-path): Likewise.
2014-12-27 17:22:08 -05:00
|
|
|
|
(files '("share/guile/site/2.0")))
|
2013-03-30 17:50:45 -04:00
|
|
|
|
(search-path-specification
|
|
|
|
|
(variable "GUILE_LOAD_COMPILED_PATH")
|
2018-08-23 11:22:41 -04:00
|
|
|
|
(files '("lib/guile/2.0/site-ccache")))))
|
2013-03-30 17:50:45 -04:00
|
|
|
|
|
gnu: Use synopses from the Womb.
* gnu/packages/algebra.scm,
gnu/packages/aspell.scm,
gnu/packages/autotools.scm,
gnu/packages/base.scm,
gnu/packages/bash.scm,
gnu/packages/bison.scm,
gnu/packages/cdrom.scm,
gnu/packages/cflow.scm,
gnu/packages/compression.scm,
gnu/packages/cpio.scm,
gnu/packages/cppi.scm,
gnu/packages/ddrescue.scm,
gnu/packages/dejagnu.scm,
gnu/packages/ed.scm,
gnu/packages/emacs.scm,
gnu/packages/fdisk.scm,
gnu/packages/gawk.scm,
gnu/packages/gcc.scm,
packages/gcc.scm, b/gnu/packages/gcc.scm,
4b982 100644
s/gcc.scm,
s/gcc.scm,
@@
%standard-phases)))))
`((gcc-libc . ,(assoc-ref inputs "libc"))))
The GNU Compiler Collection")
GNU Compiler Collection")
n
ompiler Collection includes compiler front ends for C, C++,
tran, OpenMP for C/C++/Fortran, Java, and Ada, as well as
gnu/packages/gdb.scm,
gnu/packages/gettext.scm,
gnu/packages/ghostscript.scm,
gnu/packages/glib.scm,
gnu/packages/global.scm,
gnu/packages/gnupg.scm,
gnu/packages/gnutls.scm,
gnu/packages/gperf.scm,
gnu/packages/gprolog.scm,
gnu/packages/groff.scm,
gnu/packages/grub.scm,
gnu/packages/gsasl.scm,
gnu/packages/guile.scm,
gnu/packages/help2man.scm,
gnu/packages/idutils.scm,
gnu/packages/indent.scm,
gnu/packages/less.scm,
gnu/packages/libidn.scm,
gnu/packages/libsigsegv.scm,
gnu/packages/libunistring.scm,
gnu/packages/linux.scm,
gnu/packages/lsh.scm,
gnu/packages/m4.scm,
gnu/packages/mailutils.scm,
gnu/packages/multiprecision.scm,
gnu/packages/nano.scm,
gnu/packages/ncurses.scm,
gnu/packages/nettle.scm,
gnu/packages/oggvorbis.scm,
gnu/packages/parted.scm,
gnu/packages/pth.scm,
gnu/packages/readline.scm,
gnu/packages/recutils.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/shishi.scm,
gnu/packages/smalltalk.scm,
gnu/packages/system.scm,
gnu/packages/texinfo.scm,
gnu/packages/time.scm,
gnu/packages/wdiff.scm,
gnu/packages/wget.scm,
gnu/packages/which.scm: Use synopses from the Womb.
2013-04-17 12:04:25 -04:00
|
|
|
|
(synopsis "Scheme implementation intended especially for extensions")
|
distro: Split (distro packages base) into several files.
* distro/packages/base.scm (libsigsegv, gawk, perl, m4, gmp, mpfr, mpc,
ncurses, readline, bash, libtool, libunistring, libffi, pkg-config,
libgc): Move to modules of their own.
(guile-1.8, guile-2.0): Move to...
* distro/packages/guile.scm: ... here.
* distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/gawk.scm, distro/packages/libffi.scm,
distro/packages/libsigsegv.scm, distro/packages/libtool.scm,
distro/packages/libunistring.scm, distro/packages/m4.scm,
distro/packages/multiprecision.scm, distro/packages/ncurses.scm,
distro/packages/perl.scm, distro/packages/pkg-config.scm,
distro/packages/readline.scm: New files.
2012-11-04 16:37:22 -05:00
|
|
|
|
(description
|
Synchronize package descriptions with the Womb.
* gnu/packages/algebra.scm,
gnu/packages/aspell.scm,
gnu/packages/autotools.scm,
gnu/packages/base.scm,
gnu/packages/bash.scm,
gnu/packages/bison.scm,
gnu/packages/cdrom.scm,
gnu/packages/cflow.scm,
gnu/packages/compression.scm,
gnu/packages/cpio.scm,
gnu/packages/cppi.scm,
gnu/packages/ddrescue.scm,
gnu/packages/dejagnu.scm,
gnu/packages/ed.scm,
gnu/packages/emacs.scm,
gnu/packages/fdisk.scm,
gnu/packages/freeipmi.scm,
gnu/packages/gawk.scm,
gnu/packages/gcal.scm,
gnu/packages/gcc.scm,
gnu/packages/gdb.scm,
gnu/packages/gdbm.scm,
gnu/packages/gettext.scm,
gnu/packages/ghostscript.scm,
gnu/packages/global.scm,
gnu/packages/gnunet.scm,
gnu/packages/gnupg.scm,
gnu/packages/gnutls.scm,
gnu/packages/gperf.scm,
gnu/packages/gprolog.scm,
gnu/packages/groff.scm,
gnu/packages/grub.scm,
gnu/packages/gsasl.scm,
gnu/packages/guile.scm,
gnu/packages/gv.scm,
gnu/packages/help2man.scm,
gnu/packages/idutils.scm,
gnu/packages/indent.scm,
gnu/packages/less.scm,
gnu/packages/libidn.scm,
gnu/packages/libsigsegv.scm,
gnu/packages/libunistring.scm,
gnu/packages/lightning.scm,
gnu/packages/linux.scm,
gnu/packages/lsh.scm,
gnu/packages/m4.scm,
gnu/packages/mail.scm,
gnu/packages/maths.scm,
gnu/packages/multiprecision.scm,
gnu/packages/nano.scm,
gnu/packages/ncurses.scm,
gnu/packages/nettle.scm,
gnu/packages/ocrad.scm,
gnu/packages/oggvorbis.scm,
gnu/packages/parted.scm,
gnu/packages/plotutils.scm,
gnu/packages/pth.scm,
gnu/packages/readline.scm,
gnu/packages/recutils.scm,
gnu/packages/rush.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/shishi.scm,
gnu/packages/smalltalk.scm,
gnu/packages/system.scm,
gnu/packages/texinfo.scm,
gnu/packages/time.scm,
gnu/packages/unrtf.scm,
gnu/packages/version-control.scm,
gnu/packages/wdiff.scm,
gnu/packages/wget.scm,
gnu/packages/which.scm,
gnu/packages/xnee.scm,
gnu/packages/zile.scm: Change value of the 'description' field to that
of the Womb.
2013-10-09 10:14:23 -04:00
|
|
|
|
"Guile is the GNU Ubiquitous Intelligent Language for Extensions, the
|
|
|
|
|
official extension language of the GNU system. It is an implementation of
|
|
|
|
|
the Scheme language which can be easily embedded in other applications to
|
|
|
|
|
provide a convenient means of extending the functionality of the application
|
|
|
|
|
without requiring the source code to be rewritten.")
|
2017-03-29 18:48:16 -04:00
|
|
|
|
(home-page "https://www.gnu.org/software/guile/")
|
2017-02-11 13:23:56 -05:00
|
|
|
|
(license license:lgpl3+)))
|
distro: Split (distro packages base) into several files.
* distro/packages/base.scm (libsigsegv, gawk, perl, m4, gmp, mpfr, mpc,
ncurses, readline, bash, libtool, libunistring, libffi, pkg-config,
libgc): Move to modules of their own.
(guile-1.8, guile-2.0): Move to...
* distro/packages/guile.scm: ... here.
* distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/gawk.scm, distro/packages/libffi.scm,
distro/packages/libsigsegv.scm, distro/packages/libtool.scm,
distro/packages/libunistring.scm, distro/packages/m4.scm,
distro/packages/multiprecision.scm, distro/packages/ncurses.scm,
distro/packages/perl.scm, distro/packages/pkg-config.scm,
distro/packages/readline.scm: New files.
2012-11-04 16:37:22 -05:00
|
|
|
|
|
2017-03-19 12:30:44 -04:00
|
|
|
|
(define-public guile-2.2
|
2015-05-10 10:29:54 -04:00
|
|
|
|
(package (inherit guile-2.0)
|
2017-03-19 12:30:44 -04:00
|
|
|
|
(name "guile")
|
2020-03-10 15:54:52 -04:00
|
|
|
|
(version "2.2.7")
|
2015-11-29 11:37:00 -05:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2017-04-08 17:10:50 -04:00
|
|
|
|
|
|
|
|
|
;; Note: we are limited to one of the compression formats
|
|
|
|
|
;; supported by the bootstrap binaries, so no lzip here.
|
2017-03-15 17:58:35 -04:00
|
|
|
|
(uri (string-append "mirror://gnu/guile/guile-" version
|
2017-04-08 17:10:50 -04:00
|
|
|
|
".tar.xz"))
|
2015-11-29 11:37:00 -05:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-03-10 15:54:52 -04:00
|
|
|
|
"013mydzhfswqci6xmyc1ajzd59pfbdak15i0b090nhr9bzm7dxyd"))
|
2016-02-06 15:43:57 -05:00
|
|
|
|
(modules '((guix build utils)))
|
2019-05-28 11:40:26 -04:00
|
|
|
|
(patches (search-patches
|
|
|
|
|
"guile-2.2-skip-oom-test.patch"))
|
2016-02-06 15:43:57 -05:00
|
|
|
|
|
|
|
|
|
;; Remove the pre-built object files. Instead, build everything
|
|
|
|
|
;; from source, at the expense of significantly longer build
|
|
|
|
|
;; times (almost 3 hours on a 4-core Intel i5).
|
gnu: All snippets report errors using exceptions, else return #t.
* gnu/packages/admin.scm, gnu/packages/algebra.scm, gnu/packages/audio.scm,
gnu/packages/backup.scm, gnu/packages/base.scm,
gnu/packages/bioinformatics.scm, gnu/packages/cdrom.scm,
gnu/packages/chez.scm, gnu/packages/code.scm, gnu/packages/compression.scm,
gnu/packages/cross-base.scm, gnu/packages/crypto.scm, gnu/packages/cups.scm,
gnu/packages/databases.scm, gnu/packages/dns.scm, gnu/packages/emacs.scm,
gnu/packages/emulators.scm, gnu/packages/engineering.scm,
gnu/packages/enlightenment.scm, gnu/packages/fpga.scm,
gnu/packages/freedesktop.scm, gnu/packages/ftp.scm, gnu/packages/games.scm,
gnu/packages/gcc.scm, gnu/packages/geo.scm, gnu/packages/ghostscript.scm,
gnu/packages/gl.scm, gnu/packages/glib.scm, gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm, gnu/packages/graphics.scm, gnu/packages/gtk.scm,
gnu/packages/guile.scm, gnu/packages/irc.scm, gnu/packages/java.scm,
gnu/packages/kerberos.scm, gnu/packages/linux.scm, gnu/packages/lisp.scm,
gnu/packages/lxde.scm, gnu/packages/machine-learning.scm,
gnu/packages/mail.scm, gnu/packages/maths.scm, gnu/packages/messaging.scm,
gnu/packages/monitoring.scm, gnu/packages/mp3.scm, gnu/packages/music.scm,
gnu/packages/netpbm.scm, gnu/packages/networking.scm, gnu/packages/node.scm,
gnu/packages/nvi.scm, gnu/packages/ocaml.scm, gnu/packages/pdf.scm,
gnu/packages/perl.scm, gnu/packages/php.scm, gnu/packages/plotutils.scm,
gnu/packages/pretty-print.scm, gnu/packages/profiling.scm,
gnu/packages/pulseaudio.scm, gnu/packages/python-crypto.scm,
gnu/packages/python.scm, gnu/packages/qt.scm, gnu/packages/robotics.scm,
gnu/packages/sawfish.scm, gnu/packages/scanner.scm, gnu/packages/scheme.scm,
gnu/packages/scribus.scm, gnu/packages/sdl.scm,
gnu/packages/serialization.scm, gnu/packages/shells.scm,
gnu/packages/slang.scm, gnu/packages/smalltalk.scm, gnu/packages/ssh.scm,
gnu/packages/sync.scm, gnu/packages/syncthing.scm, gnu/packages/tbb.scm,
gnu/packages/terminals.scm, gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm, gnu/packages/textutils.scm,
gnu/packages/tls.scm, gnu/packages/unrtf.scm,
gnu/packages/version-control.scm, gnu/packages/video.scm,
gnu/packages/vpn.scm, gnu/packages/web.scm, gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm, gnu/packages/xdisorg.scm, gnu/packages/xorg.scm:
In all snippets, report errors using exceptions, or else return #t.
2018-03-16 07:47:34 -04:00
|
|
|
|
(snippet '(begin
|
|
|
|
|
(for-each delete-file
|
|
|
|
|
(find-files "prebuilt" "\\.go$"))
|
|
|
|
|
#t))))
|
2016-12-14 02:48:38 -05:00
|
|
|
|
(properties '((timeout . 72000) ;20 hours
|
2017-06-20 00:23:00 -04:00
|
|
|
|
(max-silent-time . 36000))) ;10 hours (needed on ARM
|
2017-06-07 19:13:59 -04:00
|
|
|
|
; when heavily loaded)
|
2016-02-13 00:08:22 -05:00
|
|
|
|
(native-search-paths
|
|
|
|
|
(list (search-path-specification
|
|
|
|
|
(variable "GUILE_LOAD_PATH")
|
|
|
|
|
(files '("share/guile/site/2.2")))
|
|
|
|
|
(search-path-specification
|
|
|
|
|
(variable "GUILE_LOAD_COMPILED_PATH")
|
2019-06-21 12:00:17 -04:00
|
|
|
|
(files '("lib/guile/2.2/site-ccache")))))))
|
2015-11-29 11:37:00 -05:00
|
|
|
|
|
2020-03-10 15:54:52 -04:00
|
|
|
|
(define-deprecated guile-2.2/bug-fix guile-2.2)
|
2019-12-09 11:17:07 -05:00
|
|
|
|
|
2019-10-01 09:47:34 -04:00
|
|
|
|
(define-public guile-2.2.4
|
|
|
|
|
(package/inherit
|
|
|
|
|
guile-2.2
|
|
|
|
|
(version "2.2.4")
|
|
|
|
|
(source (origin
|
|
|
|
|
(inherit (package-source guile-2.2))
|
|
|
|
|
(uri (string-append "mirror://gnu/guile/guile-" version
|
|
|
|
|
".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"07p3g0v2ba2vlfbfidqzlgbhnzdx46wh2rgc5gszq1mjyx5bks6r"))))))
|
2017-04-08 17:10:50 -04:00
|
|
|
|
|
2020-01-16 10:41:59 -05:00
|
|
|
|
(define-public guile-3.0
|
|
|
|
|
;; This is the latest Guile stable version.
|
2019-08-03 08:13:37 -04:00
|
|
|
|
(package
|
|
|
|
|
(inherit guile-2.2)
|
2020-02-22 18:20:30 -05:00
|
|
|
|
(name "guile")
|
2020-03-27 14:21:49 -04:00
|
|
|
|
(version "3.0.2")
|
2019-08-03 08:13:37 -04:00
|
|
|
|
(source (origin
|
|
|
|
|
(inherit (package-source guile-2.2))
|
2020-03-08 16:12:20 -04:00
|
|
|
|
(uri (string-append "mirror://gnu/guile/guile-"
|
2019-08-03 08:13:37 -04:00
|
|
|
|
version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-03-27 14:21:49 -04:00
|
|
|
|
"12lziar4j27j9whqp2n18427q45y9ghq7gdd8lqhmj1k0lr7vi2k"))))
|
2020-04-05 06:54:29 -04:00
|
|
|
|
(arguments
|
|
|
|
|
;; XXX: JIT-enabled Guile crashes in obscure ways on GNU/Hurd.
|
|
|
|
|
(if (hurd-target?)
|
|
|
|
|
(substitute-keyword-arguments (package-arguments guile-2.2)
|
|
|
|
|
((#:configure-flags flags ''())
|
|
|
|
|
`(cons "--disable-jit" ,flags)))
|
|
|
|
|
(package-arguments guile-2.2)))
|
2019-08-03 08:13:37 -04:00
|
|
|
|
(native-search-paths
|
|
|
|
|
(list (search-path-specification
|
|
|
|
|
(variable "GUILE_LOAD_PATH")
|
|
|
|
|
(files '("share/guile/site/3.0")))
|
|
|
|
|
(search-path-specification
|
|
|
|
|
(variable "GUILE_LOAD_COMPILED_PATH")
|
|
|
|
|
(files '("lib/guile/3.0/site-ccache"
|
2020-01-16 10:41:59 -05:00
|
|
|
|
"share/guile/site/3.0")))))))
|
|
|
|
|
|
2020-06-24 18:48:45 -04:00
|
|
|
|
(define-public guile-3.0-latest
|
2020-06-21 17:23:23 -04:00
|
|
|
|
;; TODO: Make this 'guile-3.0' on the next rebuild cycle.
|
|
|
|
|
(package
|
|
|
|
|
(inherit guile-3.0)
|
2020-06-24 18:48:45 -04:00
|
|
|
|
(version "3.0.4")
|
2020-06-21 17:23:23 -04:00
|
|
|
|
(source (origin
|
|
|
|
|
(inherit (package-source guile-3.0))
|
|
|
|
|
(uri (string-append "mirror://gnu/guile/guile-"
|
|
|
|
|
version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-06-24 18:48:45 -04:00
|
|
|
|
"0c8dkyvs6xbxp7rgnhkyakajzhakay7qn9kahj1mj49x5vf4fybb"))))))
|
2020-06-21 17:23:23 -04:00
|
|
|
|
|
2020-05-10 09:31:09 -04:00
|
|
|
|
(define-public guile-next
|
|
|
|
|
(deprecated-package "guile-next" guile-3.0))
|
2017-03-22 04:47:42 -04:00
|
|
|
|
|
2020-04-17 13:16:19 -04:00
|
|
|
|
(define-public guile-3.0/libgc-7
|
|
|
|
|
;; Using libgc-7 avoid crashes that can occur, particularly when loading
|
|
|
|
|
;; data in to the Guix Data Service:
|
|
|
|
|
;; https://debbugs.gnu.org/cgi/bugreport.cgi?bug=40525
|
|
|
|
|
(hidden-package
|
|
|
|
|
(package
|
2020-06-24 18:48:45 -04:00
|
|
|
|
(inherit guile-3.0-latest)
|
2020-04-17 13:16:19 -04:00
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("bdw-gc" ,libgc-7)
|
|
|
|
|
,@(srfi-1:alist-delete "bdw-gc" (package-propagated-inputs guile-3.0)))))))
|
|
|
|
|
|
2020-02-22 18:20:30 -05:00
|
|
|
|
(define-public guile-3.0/fixed
|
|
|
|
|
;; A package of Guile that's rarely changed. It is the one used in the
|
|
|
|
|
;; `base' module, and thus changing it entails a full rebuild.
|
|
|
|
|
(package
|
|
|
|
|
(inherit guile-3.0)
|
|
|
|
|
(properties '((hidden? . #t) ;people should install 'guile-2.2'
|
|
|
|
|
(timeout . 72000) ;20 hours
|
|
|
|
|
(max-silent-time . 36000))))) ;10 hours (needed on ARM
|
|
|
|
|
; when heavily loaded)
|
|
|
|
|
|
2020-01-13 15:52:01 -05:00
|
|
|
|
(define* (make-guile-readline guile #:optional (name "guile-readline"))
|
2017-12-08 11:31:22 -05:00
|
|
|
|
(package
|
2020-01-13 15:52:01 -05:00
|
|
|
|
(name name)
|
2017-12-08 11:31:22 -05:00
|
|
|
|
(version (package-version guile))
|
|
|
|
|
(source (package-source guile))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:configure-flags '("--disable-silent-rules")
|
|
|
|
|
#:phases (modify-phases %standard-phases
|
|
|
|
|
(add-before 'build 'chdir
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(invoke "make" "-C" "libguile" "scmconfig.h")
|
|
|
|
|
(invoke "make" "-C" "lib")
|
|
|
|
|
(chdir "guile-readline")
|
|
|
|
|
|
|
|
|
|
(substitute* "Makefile"
|
|
|
|
|
(("../libguile/libguile-[[:graph:]]+\\.la")
|
|
|
|
|
;; Remove dependency on libguile-X.Y.la.
|
|
|
|
|
"")
|
|
|
|
|
(("^READLINE_LIBS = (.*)$" _ libs)
|
|
|
|
|
;; Link against the provided libguile.
|
|
|
|
|
(string-append "READLINE_LIBS = "
|
|
|
|
|
"-lguile-$(GUILE_EFFECTIVE_VERSION) "
|
|
|
|
|
libs "\n"))
|
|
|
|
|
(("\\$\\(top_builddir\\)/meta/build-env")
|
|
|
|
|
;; Use the provided Guile, not the one from
|
|
|
|
|
;; $(builddir).
|
|
|
|
|
"")
|
|
|
|
|
|
|
|
|
|
;; Install modules to the 'site' directories.
|
|
|
|
|
(("^moddir = .*$")
|
|
|
|
|
"moddir = $(pkgdatadir)/site/$(GUILE_EFFECTIVE_VERSION)\n")
|
|
|
|
|
(("^ccachedir = .*$")
|
|
|
|
|
"ccachedir = $(pkglibdir)/$(GUILE_EFFECTIVE_VERSION)/site-ccache\n"))
|
|
|
|
|
|
|
|
|
|
;; Load 'guile-readline.so' from the right place.
|
|
|
|
|
(substitute* "ice-9/readline.scm"
|
|
|
|
|
(("load-extension \"guile-readline\"")
|
|
|
|
|
(format #f "load-extension \
|
|
|
|
|
(string-append ~s \"/lib/guile/\" (effective-version) \"/extensions/guile-readline\")"
|
|
|
|
|
(assoc-ref outputs "out"))))
|
|
|
|
|
#t)))))
|
|
|
|
|
(home-page (package-home-page guile))
|
|
|
|
|
(native-inputs (package-native-inputs guile))
|
|
|
|
|
(inputs
|
|
|
|
|
`(,@(package-inputs guile) ;to placate 'configure'
|
|
|
|
|
,@(package-propagated-inputs guile)
|
|
|
|
|
("guile" ,guile)
|
|
|
|
|
("readline" ,readline)))
|
|
|
|
|
(synopsis "Line editing support for GNU Guile")
|
|
|
|
|
(description
|
|
|
|
|
"This module provides line editing support via the Readline library for
|
|
|
|
|
GNU@tie{}Guile. Use the @code{(ice-9 readline)} module and call its
|
|
|
|
|
@code{activate-readline} procedure to enable it.")
|
|
|
|
|
(license license:gpl3+)))
|
|
|
|
|
|
|
|
|
|
(define-public guile-readline
|
2020-03-18 15:10:38 -04:00
|
|
|
|
(make-guile-readline guile-3.0))
|
2017-12-08 11:31:22 -05:00
|
|
|
|
|
2020-03-18 15:10:38 -04:00
|
|
|
|
(define-public guile2.2-readline
|
|
|
|
|
(make-guile-readline guile-2.2 "guile2.2-readline"))
|
2020-01-13 15:52:01 -05:00
|
|
|
|
|
2017-03-19 12:37:49 -04:00
|
|
|
|
(define (guile-variant-package-name prefix)
|
|
|
|
|
(lambda (name)
|
|
|
|
|
"Return NAME with PREFIX instead of \"guile-\", when applicable."
|
|
|
|
|
(if (string-prefix? "guile-" name)
|
|
|
|
|
(string-append prefix "-"
|
|
|
|
|
(string-drop name
|
|
|
|
|
(string-length "guile-")))
|
|
|
|
|
name)))
|
2016-09-07 12:39:44 -04:00
|
|
|
|
|
2017-03-19 12:37:49 -04:00
|
|
|
|
(define package-for-guile-2.0
|
2019-01-28 05:53:51 -05:00
|
|
|
|
;; A procedure that rewrites the dependency tree of the given package to use
|
2020-03-28 17:06:35 -04:00
|
|
|
|
;; GUILE-2.0 instead of GUILE-3.0.
|
|
|
|
|
(package-input-rewriting `((,guile-3.0 . ,guile-2.0))
|
2017-03-19 12:37:49 -04:00
|
|
|
|
(guile-variant-package-name "guile2.0")))
|
2016-09-07 12:39:44 -04:00
|
|
|
|
|
2020-02-22 18:20:30 -05:00
|
|
|
|
(define package-for-guile-2.2
|
|
|
|
|
(package-input-rewriting `((,guile-3.0 . ,guile-2.2))
|
|
|
|
|
(guile-variant-package-name "guile2.2")))
|
|
|
|
|
|
|
|
|
|
(define-syntax define-deprecated-guile3.0-package
|
|
|
|
|
(lambda (s)
|
|
|
|
|
"Define a deprecated package alias for \"guile3.0-something\"."
|
|
|
|
|
(syntax-case s ()
|
|
|
|
|
((_ name)
|
|
|
|
|
(and (identifier? #'name)
|
|
|
|
|
(string-prefix? "guile3.0-" (symbol->string (syntax->datum
|
|
|
|
|
#'name))))
|
|
|
|
|
(let ((->guile (lambda (str)
|
|
|
|
|
(let ((base (string-drop str
|
|
|
|
|
(string-length "guile3.0-"))))
|
|
|
|
|
(string-append "guile-" base)))))
|
|
|
|
|
(with-syntax ((package-name (symbol->string (syntax->datum #'name)))
|
|
|
|
|
(package
|
|
|
|
|
(datum->syntax
|
|
|
|
|
#'name
|
|
|
|
|
(string->symbol
|
2020-05-11 07:01:11 -04:00
|
|
|
|
(->guile (symbol->string (syntax->datum
|
|
|
|
|
#'name))))))
|
|
|
|
|
(old-name
|
|
|
|
|
;; XXX: This is the name generated by
|
|
|
|
|
;; 'define-deprecated'.
|
|
|
|
|
(datum->syntax
|
|
|
|
|
#'name
|
|
|
|
|
(symbol-append '% (syntax->datum #'name)
|
|
|
|
|
'/deprecated))))
|
2020-02-22 18:20:30 -05:00
|
|
|
|
#'(begin
|
|
|
|
|
(define-deprecated name package
|
|
|
|
|
(deprecated-package package-name package))
|
2020-05-11 07:01:11 -04:00
|
|
|
|
(export old-name))))))))
|
2019-09-29 16:27:42 -04:00
|
|
|
|
|
2020-03-18 15:10:38 -04:00
|
|
|
|
(define-deprecated-guile3.0-package guile3.0-readline)
|
|
|
|
|
|
2015-11-29 11:37:00 -05:00
|
|
|
|
(define-public guile-for-guile-emacs
|
2020-04-04 13:12:30 -04:00
|
|
|
|
(let ((commit "15ca78482ac0dd2e3eb36dcb31765d8652d7106d")
|
|
|
|
|
(revision "1"))
|
|
|
|
|
(package (inherit guile-2.2)
|
|
|
|
|
(name "guile-for-guile-emacs")
|
|
|
|
|
(version (git-version "2.1.2" revision commit))
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "git://git.savannah.gnu.org/guile.git")
|
|
|
|
|
(commit commit)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1l7ik4q4zk7vq4m3gnwizc0b64b1mdr31hxqlzxs94xaf2lvi7s2"))))
|
|
|
|
|
(arguments
|
|
|
|
|
(substitute-keyword-arguments (package-arguments guile-2.2)
|
|
|
|
|
((#:phases phases '%standard-phases)
|
|
|
|
|
`(modify-phases ,phases
|
|
|
|
|
(replace 'bootstrap
|
|
|
|
|
(lambda _
|
|
|
|
|
;; Disable broken tests.
|
|
|
|
|
;; TODO: Fix them!
|
|
|
|
|
(substitute* "test-suite/tests/gc.test"
|
|
|
|
|
(("\\(pass-if \"after-gc-hook gets called\"" m)
|
|
|
|
|
(string-append "#;" m)))
|
|
|
|
|
(substitute* "test-suite/tests/version.test"
|
|
|
|
|
(("\\(pass-if \"version reporting works\"" m)
|
|
|
|
|
(string-append "#;" m)))
|
|
|
|
|
;; Warning: Unwind-only `out-of-memory' exception; skipping pre-unwind handler.
|
|
|
|
|
;; FAIL: test-out-of-memory
|
|
|
|
|
(substitute* "test-suite/standalone/Makefile.am"
|
|
|
|
|
(("(check_SCRIPTS|TESTS) \\+= test-out-of-memory") ""))
|
|
|
|
|
|
|
|
|
|
(patch-shebang "build-aux/git-version-gen")
|
|
|
|
|
(invoke "sh" "autogen.sh")
|
|
|
|
|
#t))))))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("autoconf" ,autoconf)
|
|
|
|
|
("automake" ,automake)
|
|
|
|
|
("libtool" ,libtool)
|
|
|
|
|
("flex" ,flex)
|
|
|
|
|
("texinfo" ,texinfo)
|
|
|
|
|
("gettext" ,gettext-minimal)
|
|
|
|
|
,@(package-native-inputs guile-2.2))))))
|
2015-09-16 16:49:06 -04:00
|
|
|
|
|
distro: Split (distro packages base) into several files.
* distro/packages/base.scm (libsigsegv, gawk, perl, m4, gmp, mpfr, mpc,
ncurses, readline, bash, libtool, libunistring, libffi, pkg-config,
libgc): Move to modules of their own.
(guile-1.8, guile-2.0): Move to...
* distro/packages/guile.scm: ... here.
* distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/gawk.scm, distro/packages/libffi.scm,
distro/packages/libsigsegv.scm, distro/packages/libtool.scm,
distro/packages/libunistring.scm, distro/packages/m4.scm,
distro/packages/multiprecision.scm, distro/packages/ncurses.scm,
distro/packages/perl.scm, distro/packages/pkg-config.scm,
distro/packages/readline.scm: New files.
2012-11-04 16:37:22 -05:00
|
|
|
|
|
|
|
|
|
;;;
|
|
|
|
|
;;; Extensions.
|
|
|
|
|
;;;
|
|
|
|
|
|
2019-10-22 11:51:23 -04:00
|
|
|
|
(define-public guile-json-1
|
2014-03-31 14:18:52 -04:00
|
|
|
|
(package
|
|
|
|
|
(name "guile-json")
|
2020-08-06 03:03:33 -04:00
|
|
|
|
(version "1.3.2")
|
2018-06-02 09:28:12 -04:00
|
|
|
|
(home-page "https://github.com/aconchillo/guile-json")
|
2014-03-31 14:18:52 -04:00
|
|
|
|
(source (origin
|
2016-09-07 12:27:11 -04:00
|
|
|
|
(method url-fetch)
|
2019-09-11 08:04:12 -04:00
|
|
|
|
(uri (string-append "mirror://savannah/guile-json/guile-json-"
|
|
|
|
|
version ".tar.gz"))
|
2016-09-07 12:27:11 -04:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-08-06 03:03:33 -04:00
|
|
|
|
"0m6yzb169r6iz56k3nkncjaiijwi4p0x9ijn1p5ax3s77jklxy9k"))))
|
2014-03-31 14:18:52 -04:00
|
|
|
|
(build-system gnu-build-system)
|
2020-08-06 03:03:33 -04:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:make-flags '("GUILE_AUTO_COMPILE=0"))) ;to prevent guild warnings
|
2018-12-02 18:53:14 -05:00
|
|
|
|
(native-inputs `(("pkg-config" ,pkg-config)
|
2018-06-02 09:28:12 -04:00
|
|
|
|
("guile" ,guile-2.2)))
|
|
|
|
|
(inputs `(("guile" ,guile-2.2)))
|
2014-03-31 14:18:52 -04:00
|
|
|
|
(synopsis "JSON module for Guile")
|
|
|
|
|
(description
|
2017-02-02 05:34:48 -05:00
|
|
|
|
"Guile-JSON supports parsing and building JSON documents according to the
|
|
|
|
|
specification. These are the main features:
|
|
|
|
|
|
|
|
|
|
@itemize
|
|
|
|
|
@item Strictly complies to @uref{http://json.org, specification}.
|
|
|
|
|
@item Build JSON documents programmatically via macros.
|
|
|
|
|
@item Unicode support for strings.
|
|
|
|
|
@item Allows JSON pretty printing.
|
|
|
|
|
@end itemize\n")
|
2018-09-07 11:03:49 -04:00
|
|
|
|
|
|
|
|
|
;; Version 1.2.0 switched to GPLv3+ (from LGPLv3+).
|
|
|
|
|
(license license:gpl3+)))
|
2014-03-31 14:18:52 -04:00
|
|
|
|
|
2019-10-22 11:51:23 -04:00
|
|
|
|
;; Deprecate the 'guile-json' alias to force the use 'guile-json-1' or
|
|
|
|
|
;; 'guile-json-3'. In the future, we may reuse 'guile-json' as an alias for
|
|
|
|
|
;; 'guile-json-3'.
|
2020-01-10 05:28:59 -05:00
|
|
|
|
(define-deprecated guile-json guile-json-1)
|
2019-10-22 18:43:49 -04:00
|
|
|
|
(export guile-json)
|
2019-07-21 17:17:01 -04:00
|
|
|
|
|
2017-05-13 15:49:01 -04:00
|
|
|
|
(define-public guile2.0-json
|
2019-10-22 11:51:23 -04:00
|
|
|
|
(package-for-guile-2.0 guile-json-1))
|
2016-09-07 12:39:44 -04:00
|
|
|
|
|
2019-01-14 11:21:55 -05:00
|
|
|
|
(define-public guile-json-3
|
|
|
|
|
;; This version is incompatible with 1.x; see the 'NEWS' file.
|
|
|
|
|
(package
|
2019-10-22 11:51:23 -04:00
|
|
|
|
(inherit guile-json-1)
|
2019-01-14 11:21:55 -05:00
|
|
|
|
(name "guile-json")
|
2020-04-30 16:23:44 -04:00
|
|
|
|
(version "3.5.0")
|
2019-01-14 11:21:55 -05:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2019-09-11 08:04:12 -04:00
|
|
|
|
(uri (string-append "mirror://savannah/guile-json/guile-json-"
|
|
|
|
|
version ".tar.gz"))
|
2019-01-14 11:21:55 -05:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-04-30 16:23:44 -04:00
|
|
|
|
"0nj0684qgh6ppkbdyxqfyjwsv2qbyairxpi8fzrhsi3xnc7jn4im"))))
|
|
|
|
|
(native-inputs `(("pkg-config" ,pkg-config)
|
2020-02-22 18:20:30 -05:00
|
|
|
|
("guile" ,guile-3.0)))
|
2020-04-30 16:23:44 -04:00
|
|
|
|
(inputs `(("guile" ,guile-3.0)))))
|
2020-02-22 18:20:30 -05:00
|
|
|
|
|
2019-09-29 16:27:42 -04:00
|
|
|
|
(define-public guile3.0-json
|
2020-02-22 18:20:30 -05:00
|
|
|
|
(deprecated-package "guile3.0-json" guile-json-3))
|
2019-09-29 16:27:42 -04:00
|
|
|
|
|
2020-06-02 12:26:34 -04:00
|
|
|
|
(define-public guile-json-4
|
|
|
|
|
(package
|
|
|
|
|
(inherit guile-json-3)
|
|
|
|
|
(name "guile-json")
|
2020-08-06 03:00:41 -04:00
|
|
|
|
(version "4.3.2")
|
2020-06-02 12:26:34 -04:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://savannah/guile-json/guile-json-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-08-06 03:00:41 -04:00
|
|
|
|
"0255c7f053z4p9mqzhpxwbfx3y47j9nfvlgnm8xasdclyzmjl9y2"))))))
|
2020-06-02 12:26:34 -04:00
|
|
|
|
|
|
|
|
|
(define-public guile2.2-json
|
|
|
|
|
(package-for-guile-2.2 guile-json-4))
|
|
|
|
|
|
2015-05-31 14:38:21 -04:00
|
|
|
|
;; There are two guile-gdbm packages, one using the FFI and one with
|
|
|
|
|
;; direct C bindings, hence the verbose name.
|
|
|
|
|
|
|
|
|
|
(define-public guile-gdbm-ffi
|
|
|
|
|
(package
|
|
|
|
|
(name "guile-gdbm-ffi")
|
|
|
|
|
(version "20120209.fa1d5b6")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 16:53:28 -04:00
|
|
|
|
(url "https://github.com/ijp/guile-gdbm")
|
2015-05-31 14:38:21 -04:00
|
|
|
|
(commit "fa1d5b6231d0e4d096687b378c025f2148c5f246")))
|
2015-11-23 04:50:55 -05:00
|
|
|
|
(file-name (string-append name "-" version "-checkout"))
|
2018-07-18 09:42:11 -04:00
|
|
|
|
(patches (search-patches
|
|
|
|
|
"guile-gdbm-ffi-support-gdbm-1.14.patch"))
|
2015-05-31 14:38:21 -04:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1j8wrsw7v9w6qkl47xz0rdikg50v16nn6kbs3lgzcymjzpa7babj"))))
|
2018-07-18 09:42:11 -04:00
|
|
|
|
(build-system guile-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:phases (modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'move-examples
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
;; Move examples where they belong.
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(doc (string-append out "/share/doc/"
|
|
|
|
|
(strip-store-file-name out)
|
|
|
|
|
"/examples")))
|
|
|
|
|
(copy-recursively "examples" doc)
|
|
|
|
|
(delete-file-recursively "examples")
|
|
|
|
|
#t)))
|
|
|
|
|
(add-after 'unpack 'set-libgdbm-file-name
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(substitute* "gdbm.scm"
|
|
|
|
|
(("\\(dynamic-link \"libgdbm\"\\)")
|
|
|
|
|
(format #f "(dynamic-link \"~a/lib/libgdbm.so\")"
|
|
|
|
|
(assoc-ref inputs "gdbm"))))
|
|
|
|
|
#t)))))
|
|
|
|
|
(native-inputs
|
2020-02-22 18:20:30 -05:00
|
|
|
|
`(("guile" ,guile-3.0)))
|
2018-03-18 08:43:06 -04:00
|
|
|
|
(inputs
|
|
|
|
|
`(("gdbm" ,gdbm)))
|
2015-05-31 14:38:21 -04:00
|
|
|
|
(home-page "https://github.com/ijp/guile-gdbm")
|
|
|
|
|
(synopsis "Guile bindings to the GDBM library via Guile's FFI")
|
|
|
|
|
(description
|
|
|
|
|
"Guile bindings to the GDBM key-value storage system, using
|
|
|
|
|
Guile's foreign function interface.")
|
2017-02-11 13:23:56 -05:00
|
|
|
|
(license license:gpl3+)))
|
2015-05-31 14:38:21 -04:00
|
|
|
|
|
2017-12-15 16:08:34 -05:00
|
|
|
|
(define-public guile2.0-gdbm-ffi
|
|
|
|
|
(package-for-guile-2.0 guile-gdbm-ffi))
|
|
|
|
|
|
2020-02-22 18:20:30 -05:00
|
|
|
|
(define-public guile2.2-gdbm-ffi
|
|
|
|
|
(package-for-guile-2.2 guile-gdbm-ffi))
|
|
|
|
|
|
|
|
|
|
(define-deprecated-guile3.0-package guile3.0-gdbm-ffi)
|
2015-05-31 14:38:21 -04:00
|
|
|
|
|
2016-06-18 09:09:08 -04:00
|
|
|
|
(define-public guile-sqlite3
|
2018-06-27 08:52:49 -04:00
|
|
|
|
(package
|
|
|
|
|
(name "guile-sqlite3")
|
2020-06-13 11:16:03 -04:00
|
|
|
|
(version "0.1.2")
|
2018-11-05 18:21:23 -05:00
|
|
|
|
(home-page "https://notabug.org/guile-sqlite3/guile-sqlite3.git")
|
2018-06-27 08:52:49 -04:00
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url home-page)
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-06-13 11:16:03 -04:00
|
|
|
|
"1nryy9j3bk34i0alkmc9bmqsm0ayz92k1cdf752mvhyjjn8nr928"))
|
2020-06-12 12:52:36 -04:00
|
|
|
|
(file-name (string-append name "-" version "-checkout"))))
|
2018-06-27 08:52:49 -04:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("autoconf" ,autoconf)
|
|
|
|
|
("automake" ,automake)
|
2020-03-17 06:13:20 -04:00
|
|
|
|
("guile" ,guile-3.0)
|
2018-06-27 08:52:49 -04:00
|
|
|
|
("pkg-config" ,pkg-config)))
|
|
|
|
|
(inputs
|
2020-02-22 18:20:30 -05:00
|
|
|
|
`(("guile" ,guile-3.0)
|
2018-06-27 08:52:49 -04:00
|
|
|
|
("sqlite" ,sqlite)))
|
|
|
|
|
(synopsis "Access SQLite databases from Guile")
|
|
|
|
|
(description
|
|
|
|
|
"This package provides Guile bindings to the SQLite database system.")
|
|
|
|
|
(license license:gpl3+)))
|
2016-06-18 09:09:08 -04:00
|
|
|
|
|
2018-10-10 14:26:54 -04:00
|
|
|
|
(define-public guile2.0-sqlite3
|
|
|
|
|
(package-for-guile-2.0 guile-sqlite3))
|
|
|
|
|
|
2020-02-22 18:20:30 -05:00
|
|
|
|
(define-public guile2.2-sqlite3
|
|
|
|
|
(package-for-guile-2.2 guile-sqlite3))
|
|
|
|
|
|
|
|
|
|
(define-deprecated-guile3.0-package guile3.0-sqlite3)
|
2019-11-23 16:02:07 -05:00
|
|
|
|
|
2016-10-09 06:31:20 -04:00
|
|
|
|
(define-public guile-bytestructures
|
|
|
|
|
(package
|
|
|
|
|
(name "guile-bytestructures")
|
2019-12-29 15:20:02 -05:00
|
|
|
|
(version "1.0.7")
|
2019-12-29 15:21:49 -05:00
|
|
|
|
(home-page "https://github.com/TaylanUB/scheme-bytestructures")
|
2016-10-09 06:31:20 -04:00
|
|
|
|
(source (origin
|
2019-12-29 15:21:49 -05:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url home-page)
|
|
|
|
|
(commit (string-append "v" version))))
|
2019-12-30 05:01:54 -05:00
|
|
|
|
(file-name (git-file-name name version))
|
2016-10-09 06:31:20 -04:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2019-12-29 15:20:02 -05:00
|
|
|
|
"0q0habjiy3h9cigb7q1br9kz6z212dn2ab31f6dgd3rrmsfn5rvb"))))
|
2018-01-08 16:30:10 -05:00
|
|
|
|
(build-system gnu-build-system)
|
2019-12-29 15:23:02 -05:00
|
|
|
|
(arguments
|
2020-01-13 04:00:18 -05:00
|
|
|
|
`(#:make-flags '("GUILE_AUTO_COMPILE=0") ;to prevent guild warnings
|
|
|
|
|
|
|
|
|
|
#:phases (modify-phases %standard-phases
|
|
|
|
|
(add-after 'install 'install-doc
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(package ,(package-full-name this-package "-"))
|
|
|
|
|
(doc (string-append out "/share/doc/" package)))
|
|
|
|
|
(install-file "README.md" doc)
|
|
|
|
|
#t))))))
|
2017-07-25 11:06:51 -04:00
|
|
|
|
(native-inputs
|
2019-12-29 15:21:49 -05:00
|
|
|
|
`(("autoconf" ,autoconf)
|
|
|
|
|
("automake" ,automake)
|
2019-12-29 15:24:10 -05:00
|
|
|
|
("pkg-config" ,pkg-config)
|
2020-02-22 18:20:30 -05:00
|
|
|
|
("guile" ,guile-3.0)))
|
2016-10-09 06:31:20 -04:00
|
|
|
|
(inputs
|
2020-02-22 18:20:30 -05:00
|
|
|
|
`(("guile" ,guile-3.0)))
|
2016-10-09 06:31:20 -04:00
|
|
|
|
(synopsis "Structured access to bytevector contents for Guile")
|
|
|
|
|
(description
|
|
|
|
|
"Guile bytestructures offers a system imitating the type system
|
|
|
|
|
of the C programming language, to be used on bytevectors. C's type
|
|
|
|
|
system works on raw memory, and Guile works on bytevectors which are
|
|
|
|
|
an abstraction over raw memory. It's also more powerful than the C
|
|
|
|
|
type system, elevating types to first-class status.")
|
2019-08-26 15:36:45 -04:00
|
|
|
|
(license license:gpl3+)
|
|
|
|
|
(properties '((upstream-name . "bytestructures")))))
|
2016-10-09 06:31:20 -04:00
|
|
|
|
|
2017-07-25 11:06:51 -04:00
|
|
|
|
(define-public guile2.0-bytestructures
|
|
|
|
|
(package-for-guile-2.0 guile-bytestructures))
|
|
|
|
|
|
2020-02-22 18:20:30 -05:00
|
|
|
|
(define-public guile2.2-bytestructures
|
|
|
|
|
(package-for-guile-2.2 guile-bytestructures))
|
|
|
|
|
|
|
|
|
|
(define-deprecated-guile3.0-package guile3.0-bytestructures)
|
2019-09-29 16:27:42 -04:00
|
|
|
|
|
2017-02-11 15:52:00 -05:00
|
|
|
|
(define-public guile-git
|
2018-07-07 11:23:13 -04:00
|
|
|
|
(package
|
|
|
|
|
(name "guile-git")
|
2020-01-20 05:31:17 -05:00
|
|
|
|
(version "0.3.0")
|
2018-07-07 11:23:13 -04:00
|
|
|
|
(home-page "https://gitlab.com/guile-git/guile-git.git")
|
|
|
|
|
(source (origin
|
2020-01-20 05:31:17 -05:00
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://gitlab.com/guile-git/guile-git/uploads/"
|
|
|
|
|
"4c563d8e7e1ff84396abe8ca7011bcaf/guile-git-"
|
|
|
|
|
version ".tar.gz"))
|
2018-07-07 11:23:13 -04:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-01-20 05:31:17 -05:00
|
|
|
|
"0c5i3d16hp7gp9rd78vk9zc45js8bphf92m4lbb5gyi4l1yl7kkm"))))
|
2018-07-07 11:23:13 -04:00
|
|
|
|
(build-system gnu-build-system)
|
2020-05-10 07:09:48 -04:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:make-flags '("GUILE_AUTO_COMPILE=0"))) ; to prevent guild warnings
|
2018-07-07 11:23:13 -04:00
|
|
|
|
(native-inputs
|
2020-02-18 05:47:32 -05:00
|
|
|
|
`(("pkg-config" ,pkg-config)
|
2020-02-22 18:20:30 -05:00
|
|
|
|
("guile" ,guile-3.0)
|
2020-02-18 05:47:32 -05:00
|
|
|
|
("guile-bytestructures" ,guile-bytestructures)))
|
2018-07-07 11:23:13 -04:00
|
|
|
|
(inputs
|
2020-02-22 18:20:30 -05:00
|
|
|
|
`(("guile" ,guile-3.0)
|
2018-07-07 11:23:13 -04:00
|
|
|
|
("libgit2" ,libgit2)))
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("guile-bytestructures" ,guile-bytestructures)))
|
|
|
|
|
(synopsis "Guile bindings for libgit2")
|
|
|
|
|
(description
|
|
|
|
|
"This package provides Guile bindings to libgit2, a library to
|
2017-02-11 15:52:00 -05:00
|
|
|
|
manipulate repositories of the Git version control system.")
|
2018-07-07 11:23:13 -04:00
|
|
|
|
(license license:gpl3+)))
|
2017-01-08 16:46:34 -05:00
|
|
|
|
|
2020-02-22 18:20:30 -05:00
|
|
|
|
(define-public guile2.2-git
|
|
|
|
|
(package-for-guile-2.2 guile-git))
|
2019-11-23 10:10:47 -05:00
|
|
|
|
|
2017-07-25 11:11:41 -04:00
|
|
|
|
(define-public guile2.0-git
|
2019-11-23 10:10:03 -05:00
|
|
|
|
(let ((base (package-for-guile-2.0 guile-git)))
|
|
|
|
|
(package
|
|
|
|
|
(inherit base)
|
|
|
|
|
;; Libgit2's Guile test driver requires (ice-9 textual-ports), which is
|
|
|
|
|
;; not in Guile 2.0. Thus, keep LIBGIT2 as-is here (i.e., built against
|
|
|
|
|
;; Guile 2.2).
|
|
|
|
|
(inputs `(("libgit2" ,libgit2)
|
|
|
|
|
,@(srfi-1:alist-delete "libgit2"
|
|
|
|
|
(package-inputs base)))))))
|
2017-07-25 11:11:41 -04:00
|
|
|
|
|
2020-02-22 18:20:30 -05:00
|
|
|
|
(define-deprecated-guile3.0-package guile3.0-git)
|
|
|
|
|
|
2020-07-27 09:02:33 -04:00
|
|
|
|
(define-public guile-zlib
|
|
|
|
|
(package
|
|
|
|
|
(name "guile-zlib")
|
|
|
|
|
(version "0.0.1")
|
2020-07-27 09:44:51 -04:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
2020-07-27 12:28:51 -04:00
|
|
|
|
;; XXX: Do not use "git-fetch" method here that would create and
|
|
|
|
|
;; endless inclusion loop, because this package is used as an extension
|
|
|
|
|
;; in the same method.
|
2020-07-27 09:44:51 -04:00
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri
|
|
|
|
|
(string-append "https://notabug.org/guile-zlib/guile-zlib/archive/"
|
|
|
|
|
version ".tar.gz"))
|
2020-08-06 09:25:19 -04:00
|
|
|
|
(file-name (string-append name "-" version ".tar.gz"))
|
2020-07-27 09:44:51 -04:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1caz6cbl6sg5567nk68z88rshp0m26zmb0a9ry1jkc1ivpk0n47i"))))
|
2020-07-27 09:02:33 -04:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:make-flags
|
|
|
|
|
'("GUILE_AUTO_COMPILE=0"))) ;to prevent guild warnings
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("autoconf" ,autoconf)
|
|
|
|
|
("automake" ,automake)
|
|
|
|
|
("pkg-config" ,pkg-config)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("guile" ,guile-3.0)
|
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
|
(synopsis "Guile bindings to zlib")
|
|
|
|
|
(description
|
|
|
|
|
"This package provides Guile bindings for zlib, a lossless
|
|
|
|
|
data-compression library. The bindings are written in pure Scheme by using
|
|
|
|
|
Guile's foreign function interface.")
|
|
|
|
|
(home-page "https://notabug.org/guile-zlib/guile-zlib")
|
|
|
|
|
(license license:gpl3+)))
|
2018-12-05 00:15:45 -05:00
|
|
|
|
|
2020-07-27 09:02:33 -04:00
|
|
|
|
(define-public guile-lzlib
|
|
|
|
|
(package
|
|
|
|
|
(name "guile-lzlib")
|
|
|
|
|
(version "0.0.1")
|
2020-07-27 09:48:28 -04:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri
|
|
|
|
|
(string-append "https://notabug.org/guile-lzlib/guile-lzlib/archive/"
|
|
|
|
|
version ".tar.gz"))
|
2020-08-06 09:24:39 -04:00
|
|
|
|
(file-name (string-append name "-" version ".tar.gz"))
|
2020-07-27 09:48:28 -04:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0rdmszn1qix085ci2mddwq5cypipc004fk7arrrkgn9bv39hazza"))))
|
2020-07-27 09:02:33 -04:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:make-flags
|
|
|
|
|
'("GUILE_AUTO_COMPILE=0"))) ;to prevent guild warnings
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("autoconf" ,autoconf)
|
|
|
|
|
("automake" ,automake)
|
|
|
|
|
("pkg-config" ,pkg-config)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("guile" ,guile-3.0)
|
|
|
|
|
("lzlib" ,lzlib)))
|
|
|
|
|
(synopsis "Guile bindings to lzlib")
|
|
|
|
|
(description
|
|
|
|
|
"This package provides Guile bindings for lzlib, a C library for
|
|
|
|
|
in-memory LZMA compression and decompression. The bindings are written in
|
|
|
|
|
pure Scheme by using Guile's foreign function interface.")
|
|
|
|
|
(home-page "https://notabug.org/guile-lzlib/guile-lzlib")
|
|
|
|
|
(license license:gpl3+)))
|
|
|
|
|
|
|
|
|
|
;;; guile.scm ends here
|