Commit graph

39004 commits

Author SHA1 Message Date
Ludovic Courtès
b40de030d1
doc: Move sections under "GNU Distribution" one level higher.
* doc/guix.texi (Introduction): Add note about Guix System.
[Managing Software the Guix Way]: New section heading.
[GNU Distribution]: New subsection of "Introduction".  Mention "Guix
System" rather than "GuixSD" and update the list of supported systems.
(GNU Distribution): Remove as a chapter.
(System Installation, System Configuration, Documentation)
(Installing Debugging Files, Security Updates, Package Modules)
(Packaging Guidelines, Bootstrapping, Porting): Turn these sections
into chapters.
2019-01-22 23:04:05 +01:00
Ludovic Courtès
5f2daffe09
self: System tests depend on CLI modules.
This is because (gnu tests docker) depends on (guix scripts pack).

* guix/self.scm (compiled-guix)[*system-test-modules*]: Add dependency
on *CLI-MODULES*.
2019-01-22 23:04:05 +01:00
Ludovic Courtès
02ec889e6b
offload: 'status' reports the time difference.
* guix/scripts/offload.scm (check-machine-status): Report the time
difference for each MACHINE.
2019-01-22 23:04:05 +01:00
Ludovic Courtès
c2dcff41c2
records: Detect duplicate field initializers.
* guix/records.scm (report-duplicate-field-specifier): New procedure.
(make-syntactic-constructor): Call it.
* tests/records.scm ("define-record-type* & duplicate initializers"):
New test.

Co-authored-by: Mark H Weaver <mhw@netris.org>
2019-01-22 23:04:05 +01:00
Ludovic Courtès
c498aaaf11
compile: Let compiler warnings through during the load phase.
Previous warnings and errors such as those raised by (guix records)
would not be displayed during the load phase.

* guix/build/compile.scm (load-files): Remove 'parameterize' around
'resolve-interface' call.
(compile-files)[build]: Move 'with-fluids' for *CURRENT-WARNING-PREFIX*
to...
<top level>: ... here.
2019-01-22 23:04:05 +01:00
Ludovic Courtès
2d04076332
gnu: Remove duplicate record fields.
* gnu/packages/haskell.scm (ghc-case-insensitive): Remove duplicate
'inputs' field.
* gnu/packages/python-xyz.scm (python2-pysnptools): Remove duplicate
'native-inputs' field.
* gnu/tests/install.scm (%separate-home-os): Remove duplicate 'type'
field.
2019-01-22 23:04:05 +01:00
Ludovic Courtès
567f0d2590
self: Remove leftover export.
* guix/self.scm: Remove 'reload-guix' export.
2019-01-22 23:04:05 +01:00
Ludovic Courtès
323f250da7
vm: Remove unnecessary import.
* gnu/system/vm.scm: Remove unnecessary (guix scripts pack) import.
2019-01-22 23:04:05 +01:00
Danny Milosavljevic
d1dfcc7c1b
gnu: Add fakeroot.
* gnu/packages/linux.scm (fakeroot): New variable.
2019-01-22 16:38:19 +01:00
Danny Milosavljevic
c63d7b7975
gnu: Add genext2fs.
* gnu/packages/linux.scm (genext2fs): New variable.
2019-01-22 16:12:08 +01:00
Carl Dong
0a59cc6e85
gnu: bitcoin-core: Update to 0.17.1.
* gnu/packages/finances.scm (bitcoin-core): Update to 0.17.1.

Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
2019-01-22 15:26:24 +01:00
Danny Milosavljevic
0e9600cbbd
gnu: bitcoin-core: End phase in #t.
* gnu/packages/finance.scm (bitcoin-core)[arguments]<#:phases>[set-home]:
End phase in #t.
2019-01-22 15:26:17 +01:00
Carl Dong
99629e5a11
gnu: bitcoin-core: Make bitcoin-qt deterministic.
* gnu/packages/finance.scm (bitcoin-core)[arguments]<#:phases>
[make-qt-deterministic]: New phase.

Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
2019-01-22 15:26:03 +01:00
Ricardo Wurmus
0845999a5e
gnu: Add glibc-locales variants for older versions of glibc.
* gnu/packages/base.scm (make-glibc-locales, make-glibc-utf8-locales): New
procedures.
(glibc-locales): Express in terms of make-glibc-locales.
(glibc-utf8-locales): Express in terms of make-glibc-utf8-locales.
(glibc-locales-2.27, glibc-utf8-locales-2.27): New variables.
2019-01-22 15:10:59 +01:00
Ricardo Wurmus
11627ca550
gnu: paps: Update to 0.7.0-1.37e6ca1.
* gnu/packages/pdf.scm (paps): Update to 0.7.0-1.37e6ca1.
[source]: Fetch from git.
[arguments]: Add phase "do-not-run-configure-script-during-bootstrap".
[native-inputs]: Add autoconf, automake, gettext-minimal, glib:bin and
intltool.
[home-page]: Point to Github.
2019-01-22 15:09:40 +01:00
Efraim Flashner
354d27e5dc
gnu: python-websocket-client: Update to 0.54.0.
* gnu/packages/python-web.scm (python-websocket-client): Update to 0.54.0.
[properties]: New field.
(python2-websocket-client)[native-inputs]: Add
python2-backport-ssl-match-hostname.
2019-01-22 12:59:14 +02:00
Efraim Flashner
e2227b6ada
gnu: python-isort: Update to 4.3.4.
* gnu/packages/python-xyz.scm (python-isort): Update to 4.3.4.
[source]: Use 'git-fetch'.
[properties]: New field.
(python2-isort)[native-inputs]: Add python2-futures.
2019-01-22 11:47:44 +02:00
Efraim Flashner
dddd7a75fa
gnu: python-wrapt: Update to 1.11.1.
* gnu/packages/python-xyz.scm (python-wrapt): Update to 1.11.1.
2019-01-22 11:47:43 +02:00
Efraim Flashner
2782bd51f4
gnu: python-virtualenv: Update to 16.1.0.
* gnu/packages/python-xyz.scm (python-virtualenv): Update to 16.1.0.
[arguments]: Move custom 'check phase to custom 'disable-failing-test
phase and re-instate standard 'check phase.
2019-01-22 11:47:40 +02:00
Taylan Kammer
db58e326e5
gnu: guile-bytestructures: Update to 1.0.5.
* gnu/packages/guile.scm (guile-bytestructures): Update to 1.0.5.
2019-01-22 02:18:13 +01:00
Ludovic Courtès
f896abc71f
gnu: emacs-nix-mode: Move to emacs-xyz.scm.
This removes emacs-xyz.scm from the closure of (gnu packages base).

* gnu/packages/package-management.scm (emacs-nix-mode): Move back to...
* gnu/packages/emacs-xyz.scm (emacs-nix-mode): ... here.  New variable.
2019-01-21 23:10:07 +01:00
Ludovic Courtès
f61e6e5238
tests: Adjust for removal of 'device' field in <bootloader-configuration>.
This is a followup to commit 5f7467f046.

* tests/guix-system.sh: For <bootloader-configuration> records, use
'target' rather than 'device'.
2019-01-21 23:09:55 +01:00
Ludovic Courtès
f9e8a12379
store: Rename '&nix-error' to '&store-error'.
* guix/store.scm (&nix-error): Rename to...
(&store-error): ... this, and adjust users.
(&nix-connection-error): Rename to...
(&store-connection-error): ... this, and adjust users.
(&nix-protocol-error): Rename to...
(&store-protocol-error): ... this, adjust users.
(&nix-error, &nix-connection-error, &nix-protocol-error): Define these
condition types and their getters as deprecrated aliases.
* build-aux/run-system-tests.scm, guix/derivations.scm,
guix/grafts.scm, guix/scripts/challenge.scm,
guix/scripts/graph.scm, guix/scripts/lint.scm,
guix/scripts/offload.scm, guix/serialization.scm,
guix/ssh.scm, guix/tests.scm, guix/ui.scm,
tests/derivations.scm, tests/gexp.scm, tests/guix-daemon.sh,
tests/packages.scm, tests/store.scm, doc/guix.texi: Adjust to use the
new names.
2019-01-21 23:09:55 +01:00
Ludovic Courtès
de9fbe9cdc
store: Rename <nix-server> to <store-connection>.
* guix/store.scm (<nix-server>): Rename to...
(<store-connection>): ... this.  Adjust users accordingly.
(nix-server?, nix-server-major-version)
(nix-server-minor-version, nix-server-socket)
(nix-server-version): Define as deprecated aliases.
* guix/inferior.scm: Adjust accordingly.
* guix/ssh.scm: Likewise.
2019-01-21 23:09:55 +01:00
Ludovic Courtès
3a0b2c6c6e
deprecation: Send warnings to (current-error-port) by default.
* guix/deprecation.scm (deprecation-warning-port): Default
to (current-error-port).
2019-01-21 23:09:55 +01:00
Ludovic Courtès
1b7dd99738
deprecation: Add 'define-deprecated/alias'.
* guix/deprecation.scm (define-deprecated/alias): New macro.
2019-01-21 23:09:55 +01:00
Pierre Neidhardt
6185732390
gnu: fortune-mod: Skip failing tests.
* gnu/packages/games.scm (fortune-mod)[arguments]: Skip failing tests.
2019-01-21 23:06:19 +01:00
Pierre Neidhardt
f528588a9f
gnu: mediainfo: Update to 18.12.
* gnu/packages/video.scm (mediainfo): Update to 18.12.
[arguments]: Remove manual autogen.sh.
2019-01-21 22:42:48 +01:00
Pierre Neidhardt
c0588f98c5
gnu: libzen: Fix sha256 and remove manual autogen.sh.
* gnu/packages/cpp.scm (libzen)[source]: Fix sha256.
[arguments]: Remove manual autogen.sh.
2019-01-21 22:40:25 +01:00
Arun Isaac
cb5fe915d2
import: github: Improve readability.
* guix/import/github.scm (latest-released-version): Use any and cond instead
of a recursive loop and an if-else ladder respectively.
2019-01-21 17:59:15 +05:30
Arun Isaac
6b7ea49bed
import: github: Use prereleases when package has no releases.
* guix/import/github.scm (latest-released-version): Use preleases when package
has no releases.
2019-01-21 17:59:15 +05:30
Danny Milosavljevic
0233bdde6c
gnu: xen: Update comments.
* gnu/packages/virtualization.scm (xen): Update comments.
2019-01-21 12:23:58 +01:00
Danny Milosavljevic
504f3ac840
gnu: xen: Don't patch etherboot Makefile.
* gnu/packages/virtualization.scm (xen)[arguments]<#:phases>[patch]:
Don't patch etherboot's "Makefile".
2019-01-21 12:09:32 +01:00
Mathieu Othacehe
b65b78ff38
gnu: calibre: Fix PDF to EPUB conversion.
When trying to convert a PDF to EPUB, the following error occurs:

File "/gnu/store/kz6bgqw9z7akj11zh20wkx14cgq0s3n2-calibre-3.35.0/lib/calibre/calibre/ebooks/pdf/pdftohtml.py", line 76, in pdftohtml
    _('Could not find pdftohtml, check it is in your PATH'))

Hardcode pdftohtml binary path by patching pdftohtml.py.

* gnu/packages/ebook.scm (calibre)[arguments]: Patch pdftohtml.py in
'configure phase to set hardcode pdftohtml binary path.
2019-01-21 10:56:24 +01:00
Efraim Flashner
26e4203be1
gnu: moreutils: Update to 0.63.
* gnu/packages/moreutils.scm (moreutils): Update to 0.63.
[arguments]: All phases return #t.
2019-01-21 11:31:06 +02:00
Efraim Flashner
f3359f93f6
gnu: perl-module-scandeps: Update to 1.27.
* gnu/packages/perl.scm (perl-module-scandeps): Update to 1.27.
2019-01-21 11:21:14 +02:00
Efraim Flashner
5b0fe2b8f1
gnu: perl-json: Update to 4.01.
* gnu/packages/perl.scm (perl-json): Update to 4.01.
[source]: Update source uri.
2019-01-21 11:21:14 +02:00
Efraim Flashner
8c396a0576
gnu: perl-json-xs: Update to 4.0.
* gnu/packages/perl.scm (perl-json-xs): Update to 4.0.
[native-inputs]: Add perl-canary-stability.
2019-01-21 11:21:14 +02:00
Efraim Flashner
cf867de061
gnu: perl-file-remove: Update to 1.58.
* gnu/packages/perl.scm (perl-file-remove): Update to 1.58.
[description]: Texify the description.
2019-01-21 11:21:14 +02:00
Efraim Flashner
755fc87305
gnu: perl-file-homedir: Update to 1.004.
* gnu/packages/perl.scm (perl-file-homedir): Update to 1.004.
2019-01-21 11:21:13 +02:00
Efraim Flashner
cbe6f6e385
gnu: perl-file-which: Update to 1.23.
* gnu/packages/perl.scm (perl-file-which): Update to 1.23.
[source]: Update source uri.
[home-page]: Update to new home-page.
2019-01-21 11:21:13 +02:00
Efraim Flashner
6a19aaca50
gnu: perl-file-slurp: Update to 9999.25.
* gnu/packages/perl.scm (perl-file-slurp): Update to 9999.25.
[source]: Update source uri.
2019-01-21 11:21:13 +02:00
Efraim Flashner
f860a068f9
gnu: perl-text-template: Update to 1.54.
* gnu/packages/perl.scm (perl-text-template): Update to 1.54.
[native-inputs]: Add perl-test-more-utf8, perl-test-warnings.
2019-01-21 11:21:13 +02:00
Efraim Flashner
26eb9260f9
gnu: Add perl-test-more-utf8.
* gnu/packages/perl-check.scm (perl-test-more-utf8): New variable.
2019-01-21 11:21:12 +02:00
Ludovic Courtès
e9dfa4d839
build-self: Execute trampoline in a clean environment.
Previously execution of the trampoline would be somewhat sensitive to
GUILE_LOAD_PATH & co., for example.

* build-aux/build-self.scm (build-program): Remove 'unsetenv' call and
%LOAD-COMPILED-PATH hack.
(call-with-clean-environment): New procedure.
(with-clean-environment): New macro.
(build): Wrap 'open-pipe*' call in 'with-clean-environment'.
2019-01-21 10:19:32 +01:00
Ludovic Courtès
c680a7daa5
ci: Skip system tests on armhf-linux.
* gnu/ci.scm (system-test-jobs): Return the empty list when SYSTEM is
"armhf-linux".
2019-01-21 10:19:31 +01:00
Danny Milosavljevic
7aae5d6154
gnu: xen: Update comment.
Follow-up to 35e8900da0.

* gnu/packages/virtualization.scm (xen): Update comment.
2019-01-21 10:15:53 +01:00
Danny Milosavljevic
35e8900da0
gnu: Add xen.
* gnu/packages/virtualization.scm (xen): New variable.
2019-01-21 10:15:04 +01:00
Mathieu Othacehe
e3634bd0a3
Update .mailmap.
* .mailmap: Add my email.
2019-01-21 10:10:43 +01:00
Mathieu Othacehe
b93d2602f7
Update 'TODO'
* TODO (Installer): Add Pierre Neidhardt suggestions described here:
  https://lists.gnu.org/archive/html/guix-devel/2019-01/msg00305.html
2019-01-21 09:59:41 +01:00