Commit graph

8519 commits

Author SHA1 Message Date
David Thompson
ee78d02452 build: container: Use the same clone flags as fork(3).
The intent is to make 'clone' behave a lot more like 'primitive-fork', which
calls clone(2) with SIGCHLD, CLONE_CHILD_CLEARTID, and CLONE_CHILD_SETTID
flags.  Notably, running 'clone' at the REPL without these flags would break
the REPL beyond repair.

* guix/build/syscalls.scm (CLONE_CHILD_CLEARTID, CLONE_CHILD_SETTID): New
  variables.
* gnu/build/linux-container.scm (namespaces->bit-mask): Add
  CLONE_CHILD_CLEARTID and CLONE_CHILD_SETTID to bit mask.
2015-09-07 13:09:58 -04:00
David Thompson
4949ada9da build: container: Setup /dev/console.
* gnu/build/linux-container.scm (mount-file-systems): Bind mount the
  controlling terminal as /dev/console.
2015-09-07 13:09:58 -04:00
David Thompson
468e56576c gnu: Add ruby-byebug.
* gnu/packages/ruby.scm (ruby-byebug): New variable.
2015-09-07 08:27:57 -04:00
David Thompson
4a9e058566 gnu: Add ruby-pg.
* gnu/packages/ruby.scm (ruby-pg): New variable.
2015-09-07 08:27:37 -04:00
David Thompson
b500e7182d build: ruby: Avoid long build directory names.
Having the hash of the source gem in the source directory file name proved to
be problematic when running the test suite for the 'pg' gem that creates
UNIX-domain sockets in the source directory and exceeded the 108 character
limit on GNU/Linux systems.

* guix/build/ruby-build-system.scm (unpack): Rename unpacked gem directory to
  "gem".
2015-09-07 08:27:10 -04:00
Mark H Weaver
140b4bc6cd packages: Build tarballs in sorted order even if tar doesn't support it.
This is a followup to commit 92226a470d.

* guix/packages.scm (patch-and-repack)[build]: Determine if tar supports the
  "--sort=name" option using a run-time test.  If not supported, generate the
  sorted file list with 'find-files' and pass it to tar using "--files-from".
2015-09-06 17:25:51 -04:00
Mark H Weaver
f4ae827e26 utils: find-files: Add DIRECTORIES? and FAIL-ON-ERROR? arguments.
* guix/build/utils.scm (find-files): Add DIRECTORIES? and FAIL-ON-ERROR?
  keyword arguments.
2015-09-06 17:25:50 -04:00
Andreas Enge
8957241dd4 gnu: Add enblend-enfuse.
* gnu/packages/photo.scm (enblend-enfuse): New variable.
2015-09-06 23:12:51 +02:00
Andreas Enge
f03c0e01ca gnu: calibre: Update to 2.37.1.
* gnu/packages/ebook.scm (calibre): Update to 2.37.1.
2015-09-06 22:36:34 +02:00
Andreas Enge
194c7f95f1 gnu: Add FLANN.
* gnu/packages/maths.scm (flann): New variable.
2015-09-06 19:34:09 +02:00
Efraim Flashner
a1703aa765 gnu: youtube-dl: Update to 2015.09.03.
* gnu/packages/video.scm (youtube-dl): Update to 2015.09.03.
2015-09-06 18:24:18 +02:00
Andreas Enge
0e6412c1d0 gnu: Add libpano13.
* gnu/packages/photo.scm (libpano13): New variable.
2015-09-06 18:20:01 +02:00
宋文武
f5c0b04bfe gnu: poppler: Update to 0.35.0.
* gnu/packages/pdf.scm (poppler): Update to 0.35.0.
2015-09-06 21:52:21 +08:00
宋文武
81ece42981 gnu: harfbuzz: Update to 1.0.3.
* gnu/packages/gtk.scm (harfbuzz): Update to 1.0.3.
2015-09-06 21:52:21 +08:00
宋文武
e6f22a828e gnu: graphite2: Update to 1.3.1.
* gnu/packages/fontutils.scm (graphite2): Update to 1.3.1.  Remove
  unused PERL from inputs.
  [native-inputs]: New field.
2015-09-06 21:52:21 +08:00
宋文武
d582eaacec gnu: Add python-fonttools.
* gnu/packages/python.scm (python-fonttools, python2-fonttools): New
  variables.
2015-09-06 21:52:21 +08:00
宋文武
030fa12ef2 gnu: fontconfig: Update to 2.11.94.
* gnu/packages/fontutils.scm (fontconfig): Update to 2.11.94.
  [arguments]: Pass '--with-cache-dir=/var/cache/fontconfig' to configure.
  Add #:phases.
2015-09-06 21:52:21 +08:00
Ludovic Courtès
a5c0d8bc55 ui: Change 'P_' to return the empty string when passed the empty string.
Reported by Mathieu Lirzin <mathieu.lirzin@etu.u-bordeaux.fr>
at <https://lists.gnu.org/archive/html/guix-devel/2015-09/msg00111.html>.

* guix/ui.scm (P_): Check whether MSGID is empty, and return it if it is.
2015-09-06 15:52:04 +02:00
David Thompson
37ab3abad3 Update copyright information in (gnu packages ruby). 2015-09-06 09:39:18 -04:00
David Thompson
f847ad7bc0 gnu: Add ruby-ox.
* gnu/packages/ruby.scm (ruby-ox): New variable.
2015-09-06 09:24:17 -04:00
David Thompson
5ff89a1bd2 gnu: Add ruby-activesupport.
* gnu/packages/ruby.scm (ruby-activesupport): New variable.
2015-09-06 09:24:17 -04:00
David Thompson
c99e224707 gnu: Add ruby-json.
* gnu/packages/ruby.scm (ruby-json): New variable.
2015-09-06 09:08:49 -04:00
David Thompson
08a1b7013d gnu: Add ruby-tzinfo.
* gnu/packages/ruby.scm (ruby-tzinfo): New variable.
2015-09-06 09:08:49 -04:00
David Thompson
1415792a7c gnu: Add ruby-thread-safe.
* gnu/packages/ruby.scm (ruby-thread-safe): New variable.
2015-09-06 09:08:49 -04:00
David Thompson
96e76083b8 gnu: Add ruby-pry.
* gnu/packages/ruby.scm (ruby-pry): New variable.
2015-09-06 09:08:48 -04:00
David Thompson
5337f8b97d gnu: Add ruby-slop-3.
* gnu/packages/ruby.scm (ruby-slop-3): New variable.
2015-09-06 09:08:48 -04:00
David Thompson
2e3fdea441 gnu: Add ruby-coderay.
* gnu/packages/ruby.scm (ruby-coderay): New variable.
2015-09-06 09:08:48 -04:00
David Thompson
30b0b725ff gnu: Add ruby-method-source.
* gnu/packages/ruby.scm (ruby-method-source): New variable.
2015-09-06 09:08:47 -04:00
Ludovic Courtès
386b0052f5 gnu: sound-theme-freedesktop: Specify the applicable licenses.
* gnu/packages/libcanberra.scm (sound-theme-freedesktop)[license]:
  Specify the actual licenses that apply.
2015-09-06 12:36:15 +02:00
Ludovic Courtès
12abc6e395 licenses: Add CC-BY-SA and CC-BY.
* guix/licenses.scm (cc-by-sa4.0, cc-by3.0): New variables.
2015-09-06 12:36:15 +02:00
Ludovic Courtès
90f2801e21 gnu: Set license of the bootstrap tools.
* gnu/packages/bootstrap.scm (package-from-tarball)[license]: Set to
  GPL3+.
* gnu/packages/make-bootstrap.scm (%static-binaries)[license]:
  Likewise.
2015-09-06 12:36:15 +02:00
Ludovic Courtès
52b9efe337 lint: Add 'license' checker.
* guix/scripts/lint.scm (check-license): New procedure.
  (%checkers): Add 'license' checker.
* tests/lint.scm ("license: invalid license"): New test.
2015-09-06 12:36:15 +02:00
Ludovic Courtès
718a2bde42 gnu: r-stringr: Provide valid 'home-page' URL.
* gnu/packages/statistics.scm (r-stringr)[home-page]: Set to valid URL.
2015-09-06 12:36:15 +02:00
Alex Kost
d0f74308e2 gnu: coreutils-light: Rename to coreutils-minimal.
* gnu/packages/base.scm (coreutils-light): Rename to ...
  (coreutils-minimal): ...this.
* gnu/packages/commencement.scm (%boot5-inputs): Use it.
2015-09-06 12:33:21 +03:00
Alex Kost
f24931d841 gnu: bash-light: Rename to bash-minimal.
* gnu/packages/bash.scm (bash-light): Rename to ...
  (bash-minimal): ...this.
  (static-bash): Use it.
* gnu/packages/make-bootstrap.scm (%bash-static): Use it.
2015-09-06 12:33:21 +03:00
Alex Kost
6480fcae24 emacs-build-system: Fix a file name of info directory.
* guix/build/emacs-build-system.scm (move-doc): Adjust to use
  "/share/info" instead of its sub-directory.
2015-09-06 12:15:51 +03:00
Alex Kost
1ce6f43a6b gnu: wpa-supplicant-light: Rename to wpa-supplicant-minimal.
* gnu/packages/admin.scm (wpa-supplicant-light): Rename to ...
  (wpa-supplicant-minimal): ...this.
  (wpa-supplicant): Use it.
* gnu/system/install.scm (installation-os): Use it.
2015-09-06 12:14:57 +03:00
Leo Famulari
761b3d44fb gnu: Add Anonymous Pro fonts.
* gnu/packages/fonts.scm (font-anonymous-pro): New variable.

Signed-off-by: Alex Kost <alezost@gmail.com>
2015-09-06 12:13:37 +03:00
David Thompson
e920bfcacf gnu: Add ruby-nokogiri.
Co-Authored-By: Pjotr Prins <pjotr.public01@thebird.nl>

* gnu/packages/ruby.scm (ruby-nokogiri): New variable.
2015-09-05 20:24:08 -04:00
David Thompson
bea1c0e246 gnu: Add ruby-mini-portile.
* gnu/packages/ruby.scm (ruby-mini-portile): New variable.
2015-09-05 20:24:00 -04:00
David Thompson
616eaead7e gnu: Add ruby-minitar.
* gnu/packages/ruby.scm (ruby-minitar): New variable.
2015-09-05 20:23:44 -04:00
Ludovic Courtès
cfc5d39888 tests: Fix typos.
* tests/derivations.scm ("substitutable-derivation?",
  "derivation-prerequisites-to-build and substitutes, local build"): Fix
  harmless typos.
2015-09-05 22:11:03 +02:00
Ludovic Courtès
6b44a09747 download: Disable offloading for downloads.
* guix/download.scm (url-fetch): Use #:local-build? #t.
* guix/git-download.scm (git-fetch): Likewise.
2015-09-05 22:11:03 +02:00
David Thompson
cf897cbacc build: syscalls: Properly handle clone errors.
* guix/build/syscalls.scm (clone): Catch -1 return value and throw error.
2015-09-05 13:42:02 -04:00
Andreas Enge
b7d0b096b0 gnu: Remove #:select from module import in (gnu packages geeqie).
* gnu/packages/geeqie.scm: Import all of (gnu packages ghostscript) instead
  of selectively only the lcms variable; this helps resolve problems with
  circular dependencies when including the module.
2015-09-05 18:13:54 +02:00
Andreas Enge
1de0afd5a5 gnu: libtiff: Build with the current libjpeg instead of libjpeg-8.
* gnu/packages/image.scm (libtiff)[inputs]: Use libjpeg instead of libjpeg-9.
  [arguments]: Drop the now unneeded field.
2015-09-05 17:58:53 +02:00
Andreas Enge
45468e3649 gnu: libtiff: Update to 4.0.5.
* gnu/packages/patches/libtiff-CVE-2012-4564.patch,
  gnu/packages/patches/libtiff-CVE-2013-1960.patch,
  gnu/packages/patches/libtiff-CVE-2013-1961.patch,
  gnu/packages/patches/libtiff-CVE-2013-4231.patch,
  gnu/packages/patches/libtiff-CVE-2013-4232.patch,
  gnu/packages/patches/libtiff-CVE-2013-4243.patch,
  gnu/packages/patches/libtiff-CVE-2013-4244.patch,
  gnu/packages/patches/libtiff-CVE-2014-8127-pt1.patch,
  gnu/packages/patches/libtiff-CVE-2014-8127-pt2.patch,
  gnu/packages/patches/libtiff-CVE-2014-8127-pt3.patch,
  gnu/packages/patches/libtiff-CVE-2014-8127-pt4.patch,
  gnu/packages/patches/libtiff-CVE-2014-8128-pt1.patch,
  gnu/packages/patches/libtiff-CVE-2014-8128-pt2.patch,
  gnu/packages/patches/libtiff-CVE-2014-8128-pt3.patch,
  gnu/packages/patches/libtiff-CVE-2014-8128-pt4.patch,
  gnu/packages/patches/libtiff-CVE-2014-8128-pt5.patch,
  gnu/packages/patches/libtiff-CVE-2014-8129.patch,
  gnu/packages/patches/libtiff-CVE-2014-9330.patch,
  gnu/packages/patches/libtiff-CVE-2014-9655.patch: Delete files.
* gnu-system.am (dist_patch_DATA): Unregister the patches.
* gnu/packages/image.scm (libtiff): Update to 4.0.5 and drop the patches.
2015-09-05 17:58:45 +02:00
Andreas Enge
6376ed4a34 gnu: libtiff: Update home page.
* gnu/packages/image.scm (libtiff)[home-page]: Update.
2015-09-04 21:51:43 +02:00
Andreas Enge
ced7cc92d7 gnu: vigra: Add support for OpenEXR.
* gnu/packages/image.scm (vigra)[inputs]: Add ilmbase and openexr.
  [arguments]: Augment #:configure-flags.
2015-09-04 21:30:00 +02:00
Andreas Enge
f06441951c gnu: Order module imports in (gnu packages photo) alphabetically.
* gnu/packages/photo.scm: Order module imports alphabetically.
2015-09-04 21:30:00 +02:00