Commit Graph

7710 Commits (72b891e50e1d0106a4b7a0fd88a44e34baae93e9)

Author SHA1 Message Date
Ludovic Courtès 72b891e50e vm: Make the list of partitions to build a parameter.
* gnu/build/vm.scm (<partition>): New record type.
  (fold2): New procedure.
  (initialize-partition-table): Remove #:bootable? and
  'partition-size' parameters.  Add 'partitions' parameter.  Invoke 'parted'
  with '--script'.
  (initialize-root-partition): Remove.
  (initialize-partition, root-partition-initializer): New procedures.
  (initialize-hard-disk): Remove #:system-directory, #:disk-image-size,
  #:file-system-type, #:file-system-label, #:closures, #:copy-closures?,
  #:bootable?, and #:register-closures? parameters.  Add #:partitions.
  Rewrite to use 'initialize-partition' for each item of PARTITIONS.
* gnu/system/vm.scm (expression->derivation-in-linux-vm): Add (guix records)
  to #:modules default value.
  (qemu-image): Adjust accordingly.
2015-07-26 00:57:44 +02:00
Ludovic Courtès 5b9da1f955 system: Add 'ping6' to %SETUID-PROGRAMS.
* gnu/system.scm (%setuid-programs): Add 'ping6'.
2015-07-26 00:57:44 +02:00
Ben Woodcroft b81cb1f2f3 gnu: bedtools: Add patch to fix compilation on 32 bit systems.
* gnu/packages/patches/bedtools-32bit-compilation.patch: New file.
* gnu/packages/bioinformatics.scm (bedtools)[source]: Add patch.
* gnu-system.am (dist_patch_DATA): Register patch.

Signed-off-by: Andreas Enge <andreas@enge.fr>
2015-07-25 19:16:49 +02:00
Andreas Enge c6c86cd7a5 gnu: vlc: Update input Qt to version 5.
* gnu/packages/video.scm (vlc)[inputs]: Switch from Qt version 4 to 5.
2015-07-25 18:29:00 +02:00
Andreas Enge 9c55bae607 gnu: vlc: Update to 2.2.1.
* gnu/packages/video.scm (vlc): Update to 2.2.1.
2015-07-25 17:28:43 +02:00
Ludovic Courtès e7f5691d45 syscalls: Add 'network-interfaces', which wraps libc's 'getifaddrs'.
Based on discussions with Rohan Prinja <rohan.prinja@gmail.com>.

* guix/build/syscalls.scm (<interface>): New record type.
  (write-interface, values->interface, unfold-interface-list,
  network-interfaces, free-ifaddrs): New procedures.
  (ifaddrs): New C struct.
  (%struct-ifaddrs-type, %sizeof-ifaddrs): New macros.
* tests/syscalls.scm ("network-interfaces returns one or more interfaces",
  "network-interfaces returns \"lo\""): New tests.
2015-07-25 14:43:45 +02:00
Ludovic Courtès 573b4c1ff3 syscalls: 'define-c-struct' properly align reads.
* guix/build/syscalls.scm (alignof*, align): New macros.
  (write-types, read-types): Use 'align' to compute the actual offset to
  read/write a value of TYPE0.
2015-07-25 14:43:45 +02:00
Ludovic Courtès 3ca337699a syscalls: 'read-socket-address' gracefully handles unsupported families.
* guix/build/syscalls.scm (PF_PACKET, AF_PACKET): New variables.
  (read-socket-address): Make 'index' optional.  Return (vector FAMILY) when
  FAMILY is neither AF_INET nor AF_INET6.
2015-07-25 14:43:44 +02:00
Ludovic Courtès 4a30e84e61 syscalls: 'define-c-struct' distinguishes pointers from integers.
* guix/build/syscalls.scm (read-type): Add special-case for when TYPE is '*.
2015-07-25 14:43:44 +02:00
Ludovic Courtès b89e74054e syscalls: Rename 'network-interfaces' and 'all-network-interfaces'.
* guix/build/syscalls.scm (network-interfaces): Rename to...
  (network-interface-names): ... this.
  (all-network-interfaces): Rename to...
  (all-network-interface-names): ... this.
* gnu/services/networking.scm (dhcp-client-service): Adjust accordingly.
* tests/syscalls.scm ("all-network-interfaces"): Rename to...
  ("all-network-interface-names"): ... this, and adjust accordingly.
  ("network-interfaces"): Rename to...
  ("network-interface-names"): ... this, and adjust accordingly.
2015-07-25 14:43:44 +02:00
Ludovic Courtès 53de532f28 doc: Make "Application Setup" more prominent.
* doc/guix.texi (Binary Installation): Add reference to "Application Setup".
2015-07-25 14:43:44 +02:00
Ben Woodcroft bd4af2f940 gnu: bedtools: Update to 2.24.0.
* gnu/packages/bioinformatics.scm (bedtools): Update to 2.24.0.
2015-07-25 00:02:54 -04:00
Mark H Weaver 7409c8d42b gnu: e2fsprogs: Update to 1.42.13.
* gnu/packages/linux.scm (e2fsprogs): Update to 1.42.13.  Change the source
  URI to use the .tar.xz file from kernel.org.
2015-07-24 17:12:53 -04:00
Andreas Enge 6bb5a8a1c1 gnu: Add liblxqt.
* gnu/packages/lxqt.scm (liblxqt): New variable.
2015-07-24 23:10:54 +02:00
Andreas Enge 4a8276704f gnu: Add kwindowsystem.
* gnu/packages/kde-frameworks.scm (kwindowsystem): New variable.
2015-07-24 23:01:14 +02:00
Andreas Enge f272987aa2 gnu: Add extra-cmake-modules.
* gnu/packages/kde-frameworks.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Register it.
2015-07-24 22:25:33 +02:00
Andreas Enge d0dfc06683 gnu: ripperX: Update to 2.8.0.
* gnu/packages/mp3.scm (ripperx): Update to 2.8.0. Drop one patch and
  add another one.
* gnu/packages/patches/ripperx-libm.patch: Remove file.
* gnu/packages/patches/ripperx-missing-file.patch: New file.
* gnu-system.am (dist_patch_DATA): Register one patch and unregister the
  other.
2015-07-24 21:16:29 +02:00
Andreas Enge 10b1f68877 gnu: Add cm.
* gnu/packages/algebra.scm (cm): New variable.
2015-07-24 18:53:03 +02:00
Andreas Enge 9f51293cee gnu: algebra: Prefix imported licenses.
* gnu/packages/algebra.scm (mpfrcx, fplll, pari-gp, gp2c, flint, arb,
  bc, fftw, eigen)[license]: Prefix imported licenses.
2015-07-24 18:41:36 +02:00
Andreas Enge 878c8f3f47 gnu: mpfrcx: Propagate inputs.
* gnu/packages/algebra.scm (mpfrcx): Propagate inputs gmp, mpfr and mpc.
2015-07-24 18:36:15 +02:00
Ludovic Courtès 47e0ba8fe5 gnu: clang: Disable distro detection and remove FHS assumptions.
* gnu/packages/patches/clang-libc-search-path.patch: Disable distro detection
  and remove hard-coded FHS file names, both of which would lead to breakage
  on non-GuixSD systems.
2015-07-24 17:29:37 +02:00
Ludovic Courtès 8fe5b1d1d1 doc: Fix name of GNU FreeFont package.
Fixes <http://bugs.gnu.org/21121>.
Reported by Malcolm Cook <MEC@stowers.org>.

* doc/guix.texi (Application Setup): Fix name of GNU FreeFont package.
2015-07-24 01:23:53 +02:00
Ludovic Courtès ec2406efc7 vm: Use the 'umount' procedure instead of util-linux's 'umount' command.
* gnu/build/vm.scm (initialize-root-partition, initialize-hard-disk): Use the
  'umount' procedure instead of invoking the 'umount' command.
* gnu/system/vm.scm (qemu-image): Remove UTIL-LINUX from INPUTS.
2015-07-24 01:19:57 +02:00
Ludovic Courtès e9ba6357e3 doc: Clarify that tar timestamp warnings affect tar <= 1.26.
* doc/guix.texi (Binary Installation): Explain that warnings were triggered by
  tar <= 1.26.
2015-07-24 01:19:57 +02:00
Ludovic Courtès 7e96eb1a08 gnu: guile-static: Add 'umount' procedure.
* gnu/packages/patches/guile-linux-syscalls.patch: Add 'umount' subr.
2015-07-24 01:19:57 +02:00
Ludovic Courtès 7c0a91049b gnu: Add extundelete.
* gnu/packages/linux.scm (extundelete): New variable.
2015-07-24 01:19:57 +02:00
Andreas Enge 324bdcd87e gnu: gp2c: Update to 0.0.9pl3.
* gnu/packages/algebra.scm (gp2c): Update to 0.0.9pl3.
2015-07-23 22:20:00 +02:00
Andreas Enge 424ce93d95 gnu: arb: Update to 2.7.0.
* gnu/packages/algebra.scm (arb): Update to 2.7.0.
2015-07-23 22:17:30 +02:00
Andreas Enge ec5f3ec416 gnu: parallel: Update to 20150722.
* gnu/packages/parallel.scm (parallel): Update to 20150722.
2015-07-23 20:23:56 +02:00
Andreas Enge b4b4c81bbe gnu: ucommon: Update to 6.3.6.
* gnu/packages/telephony.scm (ucommon): Update to 6.3.6.
2015-07-23 20:22:09 +02:00
Andreas Enge cce11514c7 gnu: ffmpeg: Update to 2.7.2.
* gnu/packages/video.scm (ffmpeg): Update to 2.7.2.
2015-07-23 19:22:59 +02:00
宋文武 3f1470100a gnu: retroarch: Update to 1.2.2.
* gnu/packages/games.scm (retroarch): Update to 1.2.2.
2015-07-23 22:32:00 +08:00
Ludovic Courtès 015878fdbb Thank Anders. 2015-07-23 09:42:24 +02:00
Ludovic Courtès 69b4ffcfbd Fix typos in translatable strings.
Reported by Anders Jonsson <anders.jonsson@norsjovallen.se>.

* gnu/packages/backup.scm, gnu/packages/databases.scm,
  gnu/packages/linux.scm, gnu/packages/perl.scm,
  gnu/packages/web.scm, guix/scripts/lint.scm,
  guix/scripts/publish.scm: Fix typos in translatable strings.
2015-07-23 09:42:23 +02:00
Ludovic Courtès 4d40227cce doc: Fix typos in "Setuid Programs".
* doc/guix.texi (Setuid Programs): Fix typos.
2015-07-23 09:42:23 +02:00
Mark H Weaver 6bb5c4ef71 gnu: tor: Update to 0.2.6.10.
* gnu/packages/tor.scm (tor): Update to 0.2.6.10.
2015-07-22 22:10:39 -04:00
Ludovic Courtès 0e9f9f7bc2 Thank Malcolm. 2015-07-22 23:47:35 +02:00
Ludovic Courtès 254b1c2e95 doc: Suggest unpacking with --warning=no-timestamp.
Suggested by Malcolm Cook <MEC@stowers.org>.

* doc/guix.texi (Binary Installation): Suggest --warning=no-timestamp.
2015-07-22 23:47:35 +02:00
Mark H Weaver fa1fdb8dfe gnu: linux-libre: Update to 4.1.3 and 4.0.9.
* gnu/packages/linux.scm (linux-libre): Update to 4.1.3.
  (linux-libre-4.0): Update to 4.0.9.
2015-07-22 17:43:17 -04:00
Ludovic Courtès 31ea3ebb05 Thank Dave. 2015-07-22 22:56:42 +02:00
Ludovic Courtès aafa0dffb1 doc: Mention zeroed mtimes in the binary tarball.
Fixes <http://bugs.gnu.org/21111>.
Reported by Dave Love <fx@gnu.org>.

* doc/guix.texi (Binary Installation): Add paragraph about "implausibly old
  time stamps" warning from tar.
2015-07-22 22:56:41 +02:00
Ludovic Courtès d490d06e0f size: Add '--substitute-urls' option.
* guix/scripts/size.scm (show-help, %options): Add --substitute-urls.
  (%default-options): Add 'substitute-urls'.
  (guix-size): Honor it.
* doc/guix.texi (Invoking guix size): Document it.
2015-07-22 22:56:41 +02:00
Ludovic Courtès 1eabf4ec63 derivations: Improve docstring of 'substitution-oracle'.
* guix/derivations.scm (substitution-oracle): Improve docstring.
2015-07-22 22:56:41 +02:00
Ludovic Courtès b59df2434a derivations: Improve complexity of 'substitution-oracle'.
* guix/derivations.scm (substitution-oracle): Use a final 'concatenate'
  instead of repeated 'append's.
2015-07-22 22:56:41 +02:00
Ludovic Courtès 1bd4e6db15 doc: Mention initial passwords in "System Installation".
Suggested by remo_ on IRC.

* doc/guix.texi (System Installation): Explicitly mention user account
  passwords.
  (User Accounts): Add 'user-account-password' anchor.
2015-07-22 22:56:41 +02:00
Ludovic Courtès 2c59cbc26a import: hackage: Remove reference to unbound variable.
* guix/scripts/import/hackage.scm (guix-import-hackage): Fix error message for
  imports from stdin, which referred to unbound variable 'package-name'.
2015-07-22 22:56:41 +02:00
Ludovic Courtès 1acd8d22af size: Remove leftover 'pk'.
* guix/scripts/size.scm (profile->page-map): Remove leftover 'pk'.
2015-07-22 22:56:41 +02:00
Christopher Allan Webber f3d8cd79d1 gnu: guile-minikanren: Fix README location.
* gnu/packages/guile.scm (minikanren): Fix output location for README.org

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2015-07-22 22:56:41 +02:00
Andreas Enge 1436c5c7e8 gnu: teckit: Update to 2.5.4.
* gnu/packages/fontutils.scm (teckit): Update to 2.5.4. Drop patch.
  Use svn-fetch for download.
  [arguments]: Add phase to call autogen.
  [native-inputs]: New field.
* gnu/packages/patches/teckit-cstdio.patch: Delete file.
* gnu-system.am (dist_patch_DATA): Unregister patch.
2015-07-22 19:29:17 +02:00
Mark H Weaver 8fd3c1ff6e gnu: git-modes: Add file-name field to source origin.
* gnu/packages/emacs.scm (git-modes)[source]: Add 'file-name' field.
2015-07-22 11:50:07 -04:00