Commit Graph

7470 Commits

Author SHA1 Message Date
Ludovic Courtès 113c17a0c9 profiles: Gracefully deal with packages containing an etc/ symlink.
This fixes a bug whereby 'guix package -i gcc-toolchain' would fail in
'build-profile'.  This is because in 'gcc-toolchain', etc/ is a symlink,
and so the 'scandir' call in 'unsymlink' would return #f instead of
returning a list.

Reported by Andreas Enge <andreas.enge@inria.fr>.

* guix/build/profiles.scm (ensure-writable-directory)[unsymlink]: Append
  "/" to TARGET before calling 'scandir'.
* tests/profiles.scm ("etc/profile when etc/ is a symlink"): New test.
2015-05-18 09:47:29 +02:00
Ludovic Courtès 01dbc7e01a install: Files in the tarball are all root-owned.
Fixes a thinko introduced in 175ced4.

* gnu/system/install.scm (self-contained-tarball): Use "root:0" as the
  owner and group.
* doc/guix.texi (Binary Installation): Revert 175ced4.
2015-05-18 00:43:28 +02:00
Ludovic Courtès 175ced413c install: Use the right user and group name for files in the binary tarball.
Suggested by Andreas Enge <andreas@enge.fr>
at <http://lists.gnu.org/archive/html/guix-devel/2015-05/msg00220.html>.

* gnu/system/install.scm (self-contained-tarball): Pass --owner and
  --group to 'tar'.
* doc/guix.texi (Binary Installation): Move group and account creation
  before extraction.  Make "run the daemon" a separate step.
2015-05-18 00:12:39 +02:00
Ludovic Courtès cfc149dc07 doc: Suggest the same build user and group names as on GuixSD.
* doc/guix.texi (Build Environment Setup): Suggest the user and group
  names as used on GuixSD.
  (Binary Installation): Adjust accordingly.
2015-05-18 00:03:43 +02:00
Ludovic Courtès d72d05f9ce doc: Better suggestion for the /usr/local/bin/guix symlink.
Suggested by Andreas Enge <andreas@enge.fr>
at <http://lists.gnu.org/archive/html/guix-devel/2015-05/msg00220.html>.

* doc/guix.texi (Binary Installation): Use the longer 'guix' file name.
2015-05-17 23:37:53 +02:00
Ludovic Courtès 9bb34f9c92 services: dhcp-client: Turn up the interfaces before calling 'dhclient'.
Somehow, as of Linux 4.0.2, the interfaces are down by default, which
prevents 'dhclient' from actually using them.

* gnu/services/networking.scm (dhcp-client-service): Call
  'set-network-interface-up' on each item of IFACES.
2015-05-17 23:24:30 +02:00
Ludovic Courtès 6944fdbdbd syscalls: Add 'set-network-interface-up'.
* guix/build/syscalls.scm (set-network-interface-up): New procedure.
2015-05-17 23:20:59 +02:00
Ludovic Courtès 152dd61ca4 doc: Document 'ifconfig eno1 up' before running 'dhclient'.
Reported by Scott McDonough <smcdonough1@gmail.com>
in <http://bugs.gnu.org/20582>.

* doc/guix.texi (System Installation): Suggested setting the interface
  up before running 'dhclient'.
2015-05-17 23:18:54 +02:00
Ludovic Courtès 8c3a5d7059 doc: Suggest how to preserve /var and /root owner and permissions.
Reported by Andreas Enge <andreas@enge.fr>.

* doc/guix.texi (Binary Installation): Suggest --skip-old-files when
  extracting the archive.
2015-05-17 22:53:18 +02:00
Ludovic Courtès d41a8a07b2 gnu: magit: Install .el files directly under share/emacs/site-lisp.
Fixes a regression introduced in 7e4871b.

* gnu/packages/emacs.scm (magit)[arguments]: Add #:make-flags.
2015-05-17 21:25:09 +02:00
Ludovic Courtès 7e4871ba9c gnu: magit: Update to 1.4.1.
* gnu/packages/emacs.scm (magit)[source, version]: Update to 1.4.1
  [propagated-inputs]: New field.
  [arguments]: Add #:test-target.  Add 'augment-load-path' phase.
2015-05-17 14:12:22 +02:00
Ludovic Courtès 2c047b4a67 gnu: magit: Move Emacs to 'native-inputs'.
* gnu/packages/emacs.scm (magit): Move EMACS-NO-X from 'inputs' to
  'native-inputs'.
2015-05-17 14:12:22 +02:00
Ludovic Courtès c466bfd1ac gnu: magit: Use 'modify-phases'.
* gnu/packages/emacs.scm (magit)[arguments]: Use 'modify-phases' instead
  of 'alist-cons-before' & co.
2015-05-17 14:12:22 +02:00
Ludovic Courtès 2f910ef68c gnu: Add git-modes.
* gnu/packages/emacs.scm (git-modes): New variable.
2015-05-17 14:12:15 +02:00
Ludovic Courtès fb9d786534 gnu: qemu: Add dependency on libusb.
Suggested by 白い熊@相撲道 <guix-devel_gnu.org@sumou.com>.

* gnu/packages/qemu.scm (qemu)[inputs]: Add LIBUSB.
2015-05-17 11:45:27 +02:00
Ludovic Courtès 034e0d50fc gnu: libusb: Update to 1.0.19.
* gnu/packages/libusb.scm (libusb): Update to 1.0.19.
  [arguments]: New field
2015-05-17 11:45:27 +02:00
Andreas Enge 493b6e28fb gnu: libpagemaker: Rename duplicate 'native-inputs' field.
* gnu/packages/libreoffice.scm (libpagemaker): Rename duplicate
  'native-inputs' field to 'propagated-inputs'.

Corrects commit 86d648e.
2015-05-17 11:02:45 +02:00
Andreas Enge 0390a52063 gnu: redland: Propagate input.
* gnu/packages/rdf.scm (redland): Move rasqal from 'inputs' to
  'propagated-inputs'.
* gnu/packages/rdf.scm (soprano): Drop input rasqal.
* gnu/packages/audio.scm (ardour-3): Drop inputs rasqal and raptor2.

Reported by John Darrington <jmd@gnu.org>.
2015-05-17 10:08:29 +02:00
Andreas Enge aff75ddfc6 gnu: calibre: Update to 2.28.0.
* gnu/packages/ebook.scm (calibre): Update to 2.28.0.
2015-05-17 09:49:08 +02:00
Andreas Enge baa941e699 gnu: libwps: Propagate input.
* gnu/packages/libreoffice.scm (libwps): Move librevenge from 'inputs'
  to 'propagated-inputs'.
2015-05-16 22:21:05 +02:00
Andreas Enge b819182d07 gnu: libmwaw: Propagate input.
* gnu/packages/libreoffice.scm (libmwaw): Move librevenge from 'inputs'
  to 'propagated-inputs'.
2015-05-16 22:21:04 +02:00
Andreas Enge 3b5199b3d7 gnu: libodfgen: Propagate input.
* gnu/packages/libreoffice.scm (libodfgen): Move librevenge from 'inputs'
  to 'propagated-inputs'.
2015-05-16 22:21:04 +02:00
Andreas Enge a3be6b8bb0 gnu: libvisio: Propagate inputs.
* gnu/packages/libreoffice.scm (libvisio): Move icu4c, librevenge and
  libxml2 from 'inputs' to 'propagated-inputs'.
2015-05-16 22:21:04 +02:00
Andreas Enge 86d648ea97 gnu: libpagemaker: Propagate input.
* gnu/packages/libreoffice.scm (libpagemaker): Move librevenge from
  'inputs' to 'propagated-inputs'.
2015-05-16 22:21:04 +02:00
Andreas Enge e39cc72376 gnu: libmspub: Propagate inputs.
* gnu/packages/libreoffice.scm (libmspub): Move icu4c, librevenge and zlib
  from 'inputs' to 'propagated-inputs'.
2015-05-16 22:21:04 +02:00
Andreas Enge c5b5800bb5 gnu: libfreehand: Propagate inputs.
* gnu/packages/libreoffice.scm (libfreehand): Move librevenge and zlib
  from 'inputs' to 'propagated-inputs'.
2015-05-16 22:21:04 +02:00
Andreas Enge 480fe00270 gnu: libetonyek: Propagate inputs.
* gnu/packages/libreoffice.scm (libetonyek): Move librevenge and libxml2
  from 'inputs' to 'propagated-inputs'.
2015-05-16 22:21:04 +02:00
Andreas Enge 269194c3c0 gnu: libcdr: Propagate inputs.
* gnu/packages/libreoffice.scm (libcdr): Move icu4c, lcms, librevenge and
  zlib from 'inputs' to 'propagated-inputs'.
2015-05-16 22:21:04 +02:00
Andreas Enge 57080fea86 gnu: libabw: Propagate inputs.
* gnu/packages/libreoffice.scm (libabw): Move librevenge and libxml2 from
  'inputs' to 'propagated-inputs'.
2015-05-16 22:21:04 +02:00
Andreas Enge f678913cfe gnu: libcmis: Propagate inputs.
* gnu/packages/libreoffice.scm (libcmis): Move curl and libxml2 from
  'inputs' to 'propagated-inputs'.
2015-05-16 22:21:04 +02:00
Andreas Enge 239c853c43 gnu: libwpg: Propagate input.
* gnu/packages/libreoffice.scm (libwpg): Move libwpg from 'inputs' to
  'propagated-inputs'.
2015-05-16 22:21:04 +02:00
Andreas Enge 933c390ca7 gnu: libe-book: Propagate inputs.
* gnu/packages/libreoffice.scm (libe-book): Move icu4c, librevenge and
  libxml2 from 'inputs' to 'propagated-inputs'.
2015-05-16 22:21:04 +02:00
Andreas Enge b7e71faaf7 gnu: libwpd: Propagate input.
* gnu/packages/libreoffice.scm (libwpd): Move librevenge from 'inputs' to
  'propagated-inputs'.
* gnu/packages/libreoffice.scm (libwpg)[inputs]: Drop librevenge.
2015-05-16 22:21:04 +02:00
Mark H Weaver 64572282b7 gnu: gdb: Update to 7.9.1.
* gnu/packages/gdb.scm (gdb): Update to 7.9.1.
2015-05-15 21:42:24 -04:00
Ludovic Courtès 897e5d9960 hydra: Increase USB image size.
* build-aux/hydra/gnu-system.scm (qemu-jobs): Increase disk image size
  to 860 MiB, for x86_64.
2015-05-15 22:55:14 +02:00
Taylan Ulrich Bayırlı/Kammer 2fdcc6074e packages: Use %store-directory.
* guix/packages.scm (patch-and-repack): Call %store-directory instead of
  duplicating its code.
2015-05-15 16:42:54 +02:00
Taylan Ulrich Bayırlı/Kammer fefd841887 gnu: busybox: Parameterize reference to /gnu/store.
* gnu/packages/busybox.scm (busybox): Call %store-directory instead of
  referencing "/gnu/store" directly.
2015-05-15 16:38:53 +02:00
Ricardo Wurmus 35de1fbd90 gnu: Add python-seaborn.
* gnu/packages/python.scm (python-seaborn, python2-seaborn): New variables.
2015-05-15 16:33:45 +02:00
Ricardo Wurmus d072efcb6d gnu: Add python-pandas.
* gnu/packages/python.scm (python-pandas, python2-pandas): New variables.
2015-05-15 16:33:45 +02:00
Ricardo Wurmus 12f8f9bb3e gnu: Add python-scikit-image.
* gnu/packages/python.scm (python-scikit-image, python2-scikit-image): New
  variables.
2015-05-15 16:33:45 +02:00
Ludovic Courtès f6154eb59b gnu: m4: Disable tests when cross-compiling.
Reported by Manolis Ragkousis <manolis837@gmail.com>
at <http://lists.gnu.org/archive/html/guix-devel/2015-05/msg00161.html>.

* gnu/packages/m4.scm (m4)[arguments]: Change #:tests? condition.
2015-05-15 15:06:37 +02:00
Ludovic Courtès 6189fce529 nls: Update 'da' translation. 2015-05-15 15:06:37 +02:00
Ricardo Wurmus ecf28847b2 gnu: openblas: Update to 0.2.14.
* gnu/packages/maths.scm (openblas): Update to 0.2.14.
2015-05-15 13:53:30 +02:00
宋文武 7a4d05091e gnu: Add GNUjump.
* gnu/packages/games.scm (gnujump): New variable.
2015-05-15 14:01:29 +08:00
Mark H Weaver f6708fcdb2 gnu: qemu: Update to 2.3.0; add fix for CVE-2015-3456.
* gnu/packages/patches/qemu-CVE-2015-3456.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/qemu.scm (qemu-headless): Update to 2.3.0.  Add patch.
2015-05-14 19:36:19 -04:00
Andreas Enge 3736a110bd gnu: Add libcmis.
* gnu/packages/libreoffice.scm (libcmis): New variable.

Co-authored-by: John Darrington <jmd@gnu.org>
2015-05-14 17:24:03 +02:00
Mark H Weaver 5df4f48e95 gnu: linux-libre: Update to 4.0.3.
* gnu/packages/linux.scm (linux-libre): Update to 4.0.3.
2015-05-13 23:33:05 -04:00
Mark H Weaver fd19fa55eb gnu: pcre: Update to 8.37.
* gnu/packages/pcre.scm (pcre): Update to 8.37.
2015-05-13 19:09:58 -04:00
Ludovic Courtès aa38fabacc gnu: guix: Update development snapshot.
* gnu/packages/package-management.scm (guix-devel): Update to 5875eb7.
  Change 'version' prefix to "0.8.2.".
  (guix): Set to GUIX-DEVEL.
2015-05-14 00:44:22 +02:00
Ludovic Courtès 5875eb7325 gnu: guix: Update to 0.8.2.
* gnu/packages/package-management.scm (guix-0.8.1): Rename to...
  (guix-0.8.2): ... this.  Update to 0.8.2.  Adjust users.
  (guix): Set to GUIX-0.8.2.
2015-05-14 00:31:51 +02:00