Commit graph

16208 commits

Author SHA1 Message Date
Chris Marusich
8074b33077
system: Add 'guix system' actions: switch-generation and roll-back.
* guix/scripts/system.scm (roll-back-system, switch-to-system-generation): new
actions.
(reinstall-grub): New procedure, used by switch-to-system-generation.
(show-help, process-command, guix-system): Honor the new actions.
* doc/guix.texi (Invoking guix system) <switch-generation, roll-back>: Add the
new actions.
<reconfigure>: In the footnote, mention that the new actions also only work on
GuixSD.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-11-06 18:08:53 +01:00
Chris Marusich
1e17a2d5f2
install: Extract procedure: install-grub-config.
* gnu/build/install.scm (install-grub-config): New procedure.
(install-grub): Use it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-11-06 18:08:53 +01:00
Chris Marusich
aff7280a0b
system: Optionally limit the entries returned by profile-grub-entries.
* guix/scripts/system.scm (profile-grub-entries): Add an optional parameter
which allows the caller to limit the number of returned grub entries.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-11-06 18:08:53 +01:00
Chris Marusich
45e39eee21
system: Rename previous-grub-entries to profile-grub-entries.
* guix/scripts/system.scm (previous-grub-entries, profile-grub-entries):
Rename previous-grub-entries to profile-grub-entries to indicate that it is
stateful and returns the entries for all profile generations, not just the
previous ones.  Update all callers.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-11-06 18:08:53 +01:00
Chris Marusich
9008debc54
profiles: Extract a procedure for getting relative generation numbers.
* guix/profiles.scm (relative-generation-spec->number): New procedure.
* guix/scripts/package.scm (switch-generation-action): Use it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-11-06 18:08:53 +01:00
Chris Marusich
3382bfe9ea
system: Avoid using device paths in <menu-entry> device field.
This fixes a regression introduced by
1ef8b72a7f, in which we would incorrectly use a
device path in a label-based grub root search command, e.g. 'search --label
--set /dev/sda4'.

* gnu/system.scm (grub-device): New procedure.
(operating-system-grub.cfg, operating-system-parameters-file): Use it.
(read-boot-parameters): Handle device paths correctly.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-11-06 18:08:46 +01:00
Marius Bakke
f4dc22bcd9
gnu: nmap: Update to 7.31.
* gnu/packages/admin.scm (nmap): Update to 7.31.
[arguments]: Add phase 'patch-Makefile' to prevent lua from being built.
2016-11-06 16:17:29 +00:00
Marius Bakke
331ef882ff
gnu: wireshark: Use lua-5.2.
* gnu/packages/networking.scm (wireshark)[inputs]: Change from 'lua' to
'lua-5.2'.
2016-11-06 16:17:27 +00:00
Marius Bakke
6dbf1fec0d
gnu: lua: Update to 5.3.3.
* gnu/packages/patches/lua52-liblua-so.patch: Rename to ...
* gnu/packages/patches/lua-liblua-so.patch: ... this. Add version comment.
* gnu/local.mk (dist_patch_DATA): Adjust patch name.
* gnu/packages/lua.scm (lua): Update to 5.3.3.
[source]: Use https URL. Use new patch name.
[home-page]: Use https URL.
(lua-5.2): New variable.
(lua-5.1)[source]: Use https URL.
2016-11-06 16:17:16 +00:00
ng0
de975de39b
gnu: build: file-system: Change url of LUKS specification.
* gnu/build/file-system.scm: Change url of LUKS specification.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2016-11-06 14:35:36 +02:00
ng0
f0badf98d7
gnu: pingus: Update upstream location.
* gnu/packages/games.scm (pingus)[source]: Update source uri.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2016-11-06 14:35:33 +02:00
ng0
73ea83f517
gnu: r-proto: Update project's home-page.
* gnu/packages/statistics.scm (r-proto)[home-page]: Update project's home-page.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2016-11-06 14:35:21 +02:00
Hartmut Goebel
fab959d308
gnu: java-hamcrest-core: Fix build.
Since we now remove the directory "lib" from the source, we need to
create a directory where build.xml searches for .jar-files.

* gnu/packages/java.scm (java-hamcrest-core)[pahases]: New phase
  create-dummy-directories.
2016-11-06 11:49:12 +01:00
Hartmut Goebel
e5213cd63b
gnu: java-hamcrest-core: Remove wrong source file-name.
The sources file-name was set to "java-hamcrest-core", while it contains
not only the "core" but all of hamcrest. Further the source archive
already has the correct name.

* gnu/packages/java.scm (java-hamcrest-core)[source]: Remove file-name.
2016-11-06 10:55:08 +01:00
Hartmut Goebel
006728966a
gnu: java-hamcrest-core: Update upstream location.
The checksum changed since the new location's archive contains no
jar-files (except those of external libraries) and line endings are
different.

* gnu/packages/java.scm (java-hamcrest-core)[source]: Update source
  uri and checksum. [snippet]: Remove directory "lib" completely.
2016-11-06 10:42:57 +01:00
Efraim Flashner
937bc2d137
gnu: bullet: Update to 2.85.1.
* gnu/packages/game-development.scm (bullet): Update to 2.85.1.
[source]: Change to new Github url.
[arguments]: Enable tests, build shared libraries.
[inputs]: Add glu, libx11, mesa.
2016-11-06 10:30:18 +02:00
Mark H Weaver
8b6ad165d1
Merge branch 'master' into core-updates 2016-11-06 03:29:06 -05:00
Mark H Weaver
7f4658983a
gnu: epiphany: Update to 3.22.1.
* gnu/packages/gnome.scm (epiphany): Update to 3.22.1.
2016-11-06 02:55:52 -05:00
Efraim Flashner
569fc290b3
gnu: ibus: Update to 1.5.14.
* gnu/packages/ibus.scm (ibus): Update to 1.5.14.
[arguments]: Disable emojis.
[inputs]: Add json-glib.
[home-page]: Use project's new home-page.
2016-11-05 23:23:37 +02:00
Efraim Flashner
7acc2a3eb3
gnu: libkate: Update upstream location.
* gnu/packages/xiph.scm (libkate)[source]: Update source uri.
[home-page]: Update project's home-page.
2016-11-05 23:23:36 +02:00
ng0
2c62b31619
gnu: w3m: Fix the commit string.
* gnu/packages/w3m.scm (w3m)[source]: Fix the commit string.

Signed-off-by: Leo Famulari <leo@famulari.name>
2016-11-05 17:12:24 -04:00
Leo Famulari
683cdbf51b
gnu: python-axolotl-curve25519: Fix license.
* gnu/packages/python.scm (python-axolotl-curve25519,
python2-axolotl-curve25519)[license]: Replace ISC with BSD-3.
2016-11-05 16:34:14 -04:00
Arun Isaac
06ff083754
gnu: Add python-axolotl.
* gnu/packages/python.scm (python-axolotl, python2-axolotl): New variables.

Signed-off-by: Leo Famulari <leo@famulari.name>
2016-11-05 16:32:19 -04:00
Arun Isaac
2f6dd9cdef
gnu: Add python-axolotl-curve25519.
* gnu/packages/python.scm (python-axolotl-curve25519,
  python2-axolotl-curve25519): New variables.

Signed-off-by: Leo Famulari <leo@famulari.name>
2016-11-05 16:32:15 -04:00
Leo Famulari
fa5a3f5727
nls: Update 'pt_BR' translation. 2016-11-05 15:21:26 -04:00
Leo Famulari
9422c98a0a
gnu: python-imagesize: Disable the test suite.
* gnu/packages/python.scm (python-imagesize, python2-imagesize)[arguments]:
Disable the tests.
2016-11-05 14:13:39 -04:00
Leo Famulari
2d125a9b21
gnu: weex: Update to 2.8.2 [fixes CVE-2005-3150].
* gnu/packages/ftp.scm (weex): Update to 2.8.2.
[source]: Use new URL. Remove obsolete 'weex-vacopy.patch'.
[arguments]: Remove custom 'configure' phase and add 'bootstrap' phase.
[native-inputs]: Add autoconf, automake, and gnu-gettext.
* gnu/packages/patches/weex-vacopy.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Remove it.
2016-11-05 13:31:44 -04:00
Efraim Flashner
268b3802e9
gnu: whois: Update to 5.2.13.
* gnu/packages/networking.scm (whois): Update to 5.2.13.
2016-11-05 17:46:55 +02:00
Efraim Flashner
0cee33ac96
gnu: gst-plugins-bad: Update to 1.10.0.
* gnu/packages/gstreamer.scm (gst-plugins-bad): Update to 1.10.0.
[inputs]: Remove wayland.
[tests]: Update comment about failing tests.
[home-page]: Use https.
2016-11-05 17:41:39 +02:00
Efraim Flashner
18a9a7ef38
gnu: jasper: Update to 1.900.19.
* gnu/packages/image.scm (jasper): Update to 1.900.19.
[arguments]: Remove custom make-flags.
2016-11-05 17:41:38 +02:00
Efraim Flashner
378a0535e1
gnu: freeipmi: Update to 1.5.5.
* gnu/packages/freeipmi.scm (freeipmi): Update to 1.5.5.
2016-11-05 17:41:38 +02:00
Efraim Flashner
96451462c5
gnu: python-gst: Update to 1.10.0.
* gnu/packages/gstreamer.scm (python-gst): Update to 1.10.0.
2016-11-05 17:41:38 +02:00
Efraim Flashner
81fc4b20c7
gnu: gst-libav: Update to 1.10.0.
* gnu/packages/gstreamer.scm (gst-libav): Update to 1.10.0.
2016-11-05 17:41:37 +02:00
Efraim Flashner
7aa083e581
gnu: gst-plugins-ugly: Update to 1.10.0.
* gnu/packages/gstreamer.scm (gst-plugins-ugly): Update to 1.10.0.
2016-11-05 17:41:37 +02:00
Efraim Flashner
49eddefbf0
gnu: gst-plugins-good: Update to 1.10.0.
* gnu/packages/gstreamer.scm (gst-plugins-good): Update to 1.10.0.
2016-11-05 17:41:37 +02:00
Efraim Flashner
74e6c84444
gnu: gst-plugins-base: Update to 1.10.0.
* gnu/packages/gstreamer.scm (gst-plugins-base): Update to 1.10.0.
2016-11-05 17:41:37 +02:00
Efraim Flashner
e2a2eeecce
gnu: gstreamer: Update to 1.10.0.
* gnu/packages/gstreamer.scm (gstreamer): Update to 1.10.0.
2016-11-05 17:41:36 +02:00
ng0
05234973c7
gnu: Add mps-youtube.
* gnu/packages/video.scm (mps-youtube): New variable.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
2016-11-05 12:27:12 +00:00
ng0
02f8f804f0
gnu: Add python-pafy.
* gnu/packages/python.scm (python-pafy): New variable.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
2016-11-05 12:27:12 +00:00
Leo Famulari
c2f4cab9a0
gnu: libidn: Distinguish from libidn2.
* gnu/packages/libidn.scm (libidn)[description]: Add detail to help distinguish
from libidn2.
2016-11-05 01:12:35 -04:00
Leo Famulari
250a8abc66
gnu: Add libidn2.
* gnu/packages/libidn.scm (libidn2): New variable.
2016-11-05 01:12:31 -04:00
Kei Kebreau
674a0f9558
gnu: w3m: Switch to Debian's actively maintained fork of w3m.
Fixes some security issues seen here:
<http://www.openwall.com/lists/oss-security/2016/11/03/3>

* gnu/packages/w3m.scm (w3m): Switch it.
[source]: Use Debian's git tree. Remove obsolete patches.
[arguments]: Remove an unneeded substitute* function.
* gnu/packages/patches/w3m-disable-sslv2-and-sslv3.patch,
gnu/packages/patches/w3m-disable-weak-ciphers.patch,
gnu/packages/patches/w3m-force-ssl_verify_server-on.patch,
gnu/packages/patches/w3m-libgc.patch: Delete files.
* gnu/local.mk (dist_patch_DATA): Remove them.
2016-11-04 20:06:03 -04:00
Leo Famulari
682bfb8124
gnu: webkitgtk: Update to 2.14.2.
* gnu/packages/webkit.scm (webkitgtk): Update to 2.14.1.
2016-11-04 19:49:11 -04:00
Ricardo Wurmus
c27ae827da
gnu: Add jupyter.
* gnu/packages/python.scm (jupyter): New variable.
2016-11-04 21:23:08 +01:00
Ricardo Wurmus
accd5f996e
gnu: python-ipython: Update to 4.0.0.
* gnu/packages/python.scm (python-ipython): Update to 4.0.0.
[inputs]: Keep only "readline" and "which"; move the remaining inputs
to propagated-inputs, except for "python-requests" and "python-nose"
which are moved to native-inputs.
[propagated-inputs]: Add "python-pexpect", "python-pickleshare",
"python-simplegeneric", "python-traitlets", "python-ipykernel".
[native-inputs]: Add "python-testpath".
[arguments]: Enable building of HTML documentation.
[source]: Remove patch.
* gnu/packages/patches/python-ipython-inputhook-ctype.patch: Remove
patch.
* gnu/local.mk (dist_patch_DATA): Remove it.
2016-11-04 21:23:07 +01:00
Ricardo Wurmus
8ceebf8fa6
gnu: Add python-jupyter-console.
* gnu/packages/python.scm (python-jupyter-console,
python2-jupyter-console): New variable.
2016-11-04 21:23:07 +01:00
Ricardo Wurmus
4fe2e34409
gnu: Add python-ipywidgets.
* gnu/packages/python.scm (python-ipywidgets, python2-ipywidgets): New
variables.
2016-11-04 21:23:06 +01:00
Ricardo Wurmus
d55724ed5b
gnu: Add python-widgetsnbextension.
* gnu/packages/python.scm (python-widgetsnbextension,
python2-widgetsnbextension): New variables.
2016-11-04 21:23:06 +01:00
Ricardo Wurmus
a0d62280f5
gnu: Add python-notebook.
* gnu/packages/python.scm (python-notebook, python2-notebook): New
variables.
2016-11-04 21:23:05 +01:00
Ricardo Wurmus
c60898a845
gnu: Add python-nbconvert.
* gnu/packages/python.scm (python-nbconvert, python2-nbconvert): New
variables.
2016-11-04 21:23:05 +01:00