Commit graph

7905 commits

Author SHA1 Message Date
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
Mathieu Lirzin
eea410f172 gnu: ratpoison: Add multiple monitors support.
* gnu/packages/ratpoison.scm (ratpoison)[inputs]: Add "libxinerama".
2015-07-22 13:38:40 +02:00
Ludovic Courtès
77d8bb1552 Merge branch 'version-0.8.3' 2015-07-22 02:18:47 +02:00
Ludovic Courtès
193a08e254 gnu: guix: Update development snapshot.
* gnu/packages/package-management.scm (guix-devel): Update to commit 5d09263.
  Prefix version string with "0.8.3.".
  (guix): Set to GUIX-DEVEL.
2015-07-22 00:33:47 +02:00
Mark H Weaver
476b2877ad gnu: libsbsms: Fix build on non-Intel platforms.
* gnu/packages/audio.scm (libsbsms)[arguments]: Add "--disable-sse" to
  configure-flags unless on x86_64.
2015-07-21 18:25:41 -04:00
Mark H Weaver
09c414d80c gnu: libsbsms: Use modify-phases.
* gnu/packages/audio.scm (libsbsms)[arguments]: Use modify-phases.
2015-07-21 18:25:41 -04:00