Commit Graph

42142 Commits

Author SHA1 Message Date
Ludovic Courtès 14328b81a2
guix build: Transformation options match packages by spec.
This allows us to combine several transformations on a given package, in
particular '--with-git-url' and '--with-branch'.

Previously transformations would ignore each other since they would all
take (specification->package SOURCE) as their replacement source,
compare it by identity, which doesn't work if a previous transformation
has already changed SOURCE.

* guix/scripts/build.scm (evaluate-replacement-specs): Adjust to produce
an alist as expected by 'package-input-rewriting/spec', with a package
spec as the first element of each pair.
(evaluate-git-replacement-specs): Likewise.
(transform-package-inputs):  Adjust accordingly and use
'package-input-rewriting/spec'.
(transform-package-inputs/graft): Likewise.
(transform-package-source-branch, transform-package-source-commit): Use
'package-input-rewriting/spec'.
(transform-package-source-git-url): Likewise, and adjust the
REPLACEMENTS alist accordingly.
(options->transformation): Iterate over OPTS instead of over
%TRANSFORMATIONS.  Invoke transformations one by one.
* tests/scripts-build.scm ("options->transformation, with-input"):
Adjust test to compare packages by name rather than by identity.
("options->transformation, with-git-url + with-branch"): New test.
2019-03-17 22:55:01 +01:00
Ludovic Courtès 0c0ff42a24
guix build: Factorize 'package-git-url'.
* guix/scripts/build.scm (package-git-url): New procedure.
(evaluate-git-replacement-specs): Use it.
2019-03-17 22:55:01 +01:00
Ludovic Courtès f258d88628
packages: Add 'package-input-rewriting/spec'.
* guix/packages.scm (package-input-rewriting/spec): New procedure.
* tests/packages.scm ("package-input-rewriting/spec")
("package-input-rewriting/spec, partial match"): New tests.
* doc/guix.texi (Defining Packages): Document it.
2019-03-17 22:55:01 +01:00
Ludovic Courtès 880916ac52
guix build: Add '--with-git-url'.
* guix/scripts/build.scm (%not-equal): New variable.
(evaluate-git-replacement-specs): Use it instead of local variable
'not-equal'.
(transform-package-source-git-url): New procedure.
(%transformations): Add 'with-git-url'.
(%transformation-options, show-transformation-options-help): Add
'--with-git-url'.
* tests/scripts-build.scm ("options->transformation, with-git-url"):
New test.
2019-03-17 22:55:01 +01:00
Ludovic Courtès 55da450a1f
scripts: 'warn-about-old-distro' looks at the age of the running Guix.
This fixes a discrepancy that could be seen when running:

  sudo guix system …

where 'guix' would warn about the age of root's Guix, even though the
running Guix is the user's, not root's.

* guix/scripts.scm (warn-about-old-distro)[false-if-not-found]: Remove.
Obtain the profile date by calling 'current-profile-date' instead of
stat'ing "current-guix".
2019-03-17 22:55:01 +01:00
Ludovic Courtès cd2e4b2a8d
describe: Add 'current-profile-date'.
* guix/describe.scm (current-profile-date): New procedure.
2019-03-17 22:55:01 +01:00
Oleg Pykhalov 19c0cdb9e6
gnu: tome4: Fix build.
* gnu/packages/games.scm (tome4)[source]: Patch 'src/tgl.h' in snippet.
2019-03-17 21:55:51 +03:00
Efraim Flashner de3ed0b4d4
gnu: Add editorconfig-vim.
* gnu/packages/vim.scm (editorconfig-vim): New variable.
2019-03-17 20:33:21 +02:00
Efraim Flashner 2238211a47
gnu: Add editorconfig-core-c.
* gnu/packages/text-editors.scm (editorconfig-core-c): New variable.
2019-03-17 20:33:17 +02:00
Julien Lepiller 50ab554bd5
gnu: unison: Fix manual generation.
* gnu/packages/ocaml.scm (unison)[arguments]: Fix documentation
generation.
2019-03-17 18:37:37 +01:00
Julien Lepiller 22d1cb7ffa
gnu: opam: Update to 2.0.3.
* gnu/packages/ocaml.scm (opam): Update to 2.0.3.
2019-03-17 18:37:31 +01:00
Ludovic Courtès 8ffab257dd
guix system: Fix success report of the bootloader installation.
Fixes <https://bugs.gnu.org/34890>.
Reported by Jack Hill <jackhill@jackhill.us>.

Regression introduced in 21fcfe1ee9.

* guix/scripts/system.scm (bootloader-installer-script): Ungexp DEVICE.
2019-03-17 16:30:00 +01:00
Ludovic Courtès 3822003082
gnu: console-setup: Set absolute file name of 'cat' in 'ckbcomp'.
* gnu/packages/xorg.scm (console-setup)[arguments]: Add
'patch-file-names' phase.
2019-03-17 16:30:00 +01:00
Ludovic Courtès e6c46ec42e
vm: 'expression->derivation-in-linux-vm' leads to a kernel panic upon failure.
Partially fixes <https://bugs.gnu.org/34276>.
Reported by Tobias Geerinckx-Rice <me@tobias.gr>.

* gnu/system/vm.scm (expression->derivation-in-linux-vm)[loader]: Call
'exit' when USER-BUILDER exits with a non-zero code.
2019-03-17 16:30:00 +01:00
Marius Bakke a5c6a752fd
gnu: x11perf: Update to 1.6.1.
* gnu/packages/xorg.scm (x11perf): Update to 1.6.1.
2019-03-17 16:12:32 +01:00
Marius Bakke 67b1d9a145
gnu: ceph: Add XFS support.
* gnu/packages/storage.scm (ceph)[arguments]: Adjust #:configure-flags.
[inputs]: Add XFSPROGS.
2019-03-17 16:12:32 +01:00
Marius Bakke 2f2ef9d9b9
gnu: xfsprogs: Install the headers.
* gnu/packages/linux.scm (xfsprogs)[arguments]: Add #:phases.
2019-03-17 16:12:32 +01:00
Marius Bakke 02a4efb238
gnu: ceph: Install headers to the "lib" output.
The previous provision for this has been defunct since version 12.

* gnu/packages/storage.scm (ceph)[arguments]: Remove obsolete substitution in
favor of a configure flag.
2019-03-17 16:12:32 +01:00
Tobias Geerinckx-Rice 7e148c20d2
gnu: ghc-xmonad-contrib: Update to 0.15.
* gnu/packages/wm.scm (ghc-xmonad-contrib): Update to 0.15.
2019-03-17 15:20:02 +01:00
Tobias Geerinckx-Rice de98b91581
gnu: xmonad: Update to 0.15.
* gnu/packages/wm.scm (xmonad): Update to 0.15.
2019-03-17 15:20:02 +01:00
Tobias Geerinckx-Rice ec9299d090
gnu: xmonad: Don't use NAME in source URI.
* gnu/packages/wm.scm (xmonad)[source]: Hard-code NAME.
2019-03-17 15:20:01 +01:00
Tobias Geerinckx-Rice 65f91295fb
gnu: libxxf86dga: Update to 1.1.5.
* gnu/packages/xorg.scm (libxxf86dga): Update to 1.1.5.
Re-indent.
2019-03-17 15:20:01 +01:00
Tobias Geerinckx-Rice e9543cf7bd
gnu: xorg-cf-files: Update to 1.0.6.
* gnu/packages/xorg.scm (xorg-cf-files): Update to 1.0.6.
2019-03-17 15:20:01 +01:00
Tobias Geerinckx-Rice 4a07463e5d
gnu: imake: Update to 1.0.8.
* gnu/packages/xorg.scm (imake): Update to 1.0.8.
2019-03-17 15:20:00 +01:00
Tobias Geerinckx-Rice c8510c3108
gnu: ansible: Update to 2.7.9.
* gnu/packages/admin.scm (ansible): Update to 2.7.9.
2019-03-17 15:20:00 +01:00
Danny Milosavljevic 7311ed3f86
gnu: rust: Work around Hydra bug.
* gnu/packages/rust.scm (rust-1.20)[properties]: Work around Hydra bug.
2019-03-17 11:04:36 +01:00
Rutger Helling 707c761f1b
gnu: wine-staging: Update to 4.4.
* gnu/packages/wine.scm (wine-staging-patchset-data): Update to 4.4.
* gnu/packages/wine.scm (wine-staging): Update to 4.4.
2019-03-17 11:03:37 +01:00
Rutger Helling 3bce3834fa
gnu: gajim-omemo: Update to 2.6.28.
* gnu/packages/messaging.scm (gajim-omemo): Update to 2.6.28.
2019-03-17 10:50:53 +01:00
Ricardo Wurmus 10451f6bac
gnu: Add kaldi-gstreamer-server.
* gnu/packages/machine-learning.scm (kaldi-gstreamer-server): New variable.
2019-03-17 10:10:15 +01:00
Ricardo Wurmus 57e4592f63
gnu: Add python2-ws4py-for-kaldi-gstreamer-server.
* gnu/packages/python-web.scm (python2-ws4py-for-kaldi-gstreamer-server): New
variable.
2019-03-17 10:10:14 +01:00
Tobias Geerinckx-Rice e3545ffcf9
gnu: lua-lpeg: Update to 1.0.2.
* gnu/packages/lua.scm (make-lua-lpeg): Update to 1.0.2.
2019-03-16 23:32:44 +01:00
Tobias Geerinckx-Rice 2c257dbfa5
gnu: perl-ev: Update to 4.25.
* gnu/packages/libevent.scm (perl-ev): Update to 4.25.
2019-03-16 23:32:44 +01:00
Tobias Geerinckx-Rice b0aefabefc
gnu: libwpd: Don't use NAME in source URI.
* gnu/packages/libreoffice.scm (libwpd)[source]: Hard-code NAME.
2019-03-16 23:32:44 +01:00
Tobias Geerinckx-Rice 20fbb897da
gnu: libwpg: Update to 0.3.3.
* gnu/packages/libreoffice.scm (libwpg): Update to 0.3.3.
2019-03-16 23:32:43 +01:00
Tobias Geerinckx-Rice fbed28004d
gnu: libwpg: Don't use NAME in source URI.
* gnu/packages/libreoffice.scm (libwpg)[source]: Hard-code NAME.
2019-03-16 23:32:43 +01:00
Tobias Geerinckx-Rice 4290b2655e
gnu: libqxp: Update to 0.0.2.
* gnu/packages/libreoffice.scm (libqxp): Update to 0.0.2.
2019-03-16 23:32:43 +01:00
Tobias Geerinckx-Rice 8e9a84d957
gnu: libnumbertext: Update to 1.0.5.
* gnu/packages/libreoffice.scm (libnumbertext): Update to 1.0.5.
[source]: Use a release tarball.
[native-inputs]: Remove autoconf, automake, libtool, and pkg-config.
2019-03-16 23:32:43 +01:00
Tobias Geerinckx-Rice 3d0574c4f3
gnu: go-ipfs: Update to 0.4.19.
* gnu/packages/ipfs.scm (go-ipfs): Update to 0.4.19.
2019-03-16 23:32:42 +01:00
Tobias Geerinckx-Rice cdee738e49
gnu: catimg: Update to 2.5.0.
* gnu/packages/image-viewers.scm (catimg): Update to 2.5.0.
2019-03-16 23:32:42 +01:00
Tobias Geerinckx-Rice 56d2007ea9
gnu: sxiv: Update to 25.
* gnu/packages/image-viewers.scm (sxiv): Update to 25.
[arguments]: Change renamed DEF_CPPFLAGS to CPPFLAGS.
2019-03-16 23:32:42 +01:00
Tobias Geerinckx-Rice f54de09b78
gnu: easyrpg-player: Update to 0.6.0.
* gnu/packages/easyrpg.scm (easyrpg-player): Update to 0.6.0.
2019-03-16 23:32:42 +01:00
Tobias Geerinckx-Rice da2a145bf6
gnu: liblcf: Update to 0.6.0.
* gnu/packages/easyrpg.scm (liblcf): Update to 0.6.0.
2019-03-16 23:32:41 +01:00
Tobias Geerinckx-Rice a7874ac60d
gnu: burp: Update to 2.3.2.
* gnu/packages/backup.scm (burp): Update to 2.3.2.
2019-03-16 23:32:41 +01:00
Tobias Geerinckx-Rice b56d160944
guix: Match package names case-insensitively.
* guix/scripts/package.scm (options->upgrade-predicate, process-query):
Use REGEXP/ICASE when matching package names.
2019-03-16 23:32:41 +01:00
Ricardo Wurmus 23dbe62158
gnu: evolution: Actually fix licenses.
* gnu/packages/gnome.scm (evolution)[license]: Use LPGL2.1.
2019-03-16 23:18:06 +01:00
Ricardo Wurmus 92cfe66004
gnu: evolution: Fix typo.
* gnu/packages/gnome.scm (evolution)[license]: Fix typo.
2019-03-16 23:16:37 +01:00
Ricardo Wurmus 7d3bb43370
gnu: Add evolution.
* gnu/packages/gnome.scm (evolution): New variable.
2019-03-16 23:14:53 +01:00
Ricardo Wurmus e1c58440bd
gnu: Add ytnef.
* gnu/packages/mail.scm (ytnef): New variable.
2019-03-16 23:14:53 +01:00
Pierre Neidhardt da33a9e42e
gnu: Add emacs-nhexl-mode.
* gnu/packages/emacs-xyz.scm (emacs-nhexl-mode): New variable.
2019-03-16 20:41:15 +01:00
Pierre Neidhardt a953423a8c
gnu: Add missing copyright.
* gnu/packages/games.scm: Do it.
2019-03-16 20:27:15 +01:00