Commit Graph

5707 Commits

Author SHA1 Message Date
Ludovic Courtès 9cca706c2e packages: When possible, use a UTF-8 locale in patch-and-repack.
* guix/packages.scm (%standard-patch-inputs): Add "locales".
  (patch-and-repack)[builder]: Add 'locales' variable.  When it is true,
  call 'setenv' and 'setlocale'.
2015-02-27 00:03:17 +01:00
Ludovic Courtès b0fd2bd3c5 gnu: Add glibc-utf8-locales to the implicit inputs.
Suggested by Mark H Weaver and Andreas Enge
at <http://lists.gnu.org/archive/html/guix-devel/2015-02/msg00356.html>.

* gnu/packages/commencement.scm (gzip-final, glibc-utf8-locales-final):
  New variables.
  (%final-inputs): Use them.
2015-02-26 23:41:49 +01:00
Ludovic Courtès 5335c56e8e build-system/gnu: Add 'install-locale' phase.
* guix/build/gnu-build-system.scm (install-locale): New procedure.
  (%standard-phases): Add it.
* guix/build-system/gnu.scm (gnu-build): Add #:locale and pass it to
  the build script.
  (gnu-cross-build): Likewise.
2015-02-26 23:36:55 +01:00
Ludovic Courtès f84218acae build-system: Use 'modify-phases'.
* guix/build/cmake-build-system.scm (%standard-phases): Use
  'modify-phases' instead of alist-*.
* guix/build/glib-or-gtk-build-system.scm (%standard-phases): Likewise.
* guix/build/gnu-dist.scm (%dist-phases): Likewise.
* guix/build/perl-build-system.scm (%standard-phases): Likewise.
* guix/build/python-build-system.scm (%standard-phases): Likewise.
* guix/build/ruby-build-system.scm (%standard-phases): Likewise.
* guix/build/waf-build-system.scm (%standard-phases): Likewise.
2015-02-26 23:00:21 +01:00
Ludovic Courtès 8ddc41e1f2 utils: Add 'modify-phases'.
* guix/build/utils.scm (modify-phases): New macro.
2015-02-26 22:48:39 +01:00
Ludovic Courtès cd0385b61a build-system/gnu: Add support for zip archives.
Fixes <http://bugs.gnu.org/19866>.
Reported by Andreas Enge <andreas@enge.fr>.

* guix/build/gnu-build-system.scm (unpack): Use 'unzip' when SOURCE ends
  in '.zip'.
2015-02-26 22:48:33 +01:00
Ludovic Courtès 93be4e8e6c Merge branch 'master' into core-updates 2015-02-26 22:37:12 +01:00
Ludovic Courtès e150917495 services: slim: Add "F1 to change" in session message.
* gnu/services/xorg.scm (slim-service)[slim.cfg]: Add 'session_msg'.
2015-02-26 22:25:15 +01:00
Ludovic Courtès a21b23d34a services: slim: Preserve the order of session types.
That makes WindowMaker the default session, by default.

* gnu/services/xorg.scm (xsessions-directory)[builder]: Prepend a number
  in the file name to preserve the order of SESSIONS.
  (slim-service): Augment docstring.
* doc/guix.texi (X Window): Adjust accordingly.
2015-02-26 22:25:15 +01:00
Ludovic Courtès 9f2840cb52 gnu: openexr: Add synopsis.
* gnu/packages/graphics.scm (openexr)[synopsis]: Fill in.
  [description]: Improve.
2015-02-26 22:25:15 +01:00
Mark H Weaver a068dba78b gnu: grep: Apply fix for CVE-2015-1345.
* gnu/packages/patches/grep-CVE-2015-1345.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/base.scm (grep): Add patch.
2015-02-26 05:16:04 -05:00
Mark H Weaver baece08a04 gnu: samba: Update to 3.6.25.
* gnu/packages/samba.scm (samba): Update to 3.6.25.
2015-02-26 02:23:06 -05:00
Mark H Weaver 183eaf877f gnu: e2fsprogs: Update to 1.42.12.
* gnu/packages/linux.scm (e2fsprogs): Update to 1.42.12.
2015-02-26 02:23:06 -05:00
Mark H Weaver 24d77d1038 doc: Remove reference to git submodules in HACKING.
* HACKING: Remove mention of git submodules.
2015-02-26 00:44:13 -05:00
Mark H Weaver 8830740643 gnu: icecat: Apply fixes for CVE-2015-{0822,0827,0831,0836}.
* gnu/packages/patches/icecat-CVE-2015-0822.patch,
  gnu/packages/patches/icecat-CVE-2015-0827-pt-1.patch,
  gnu/packages/patches/icecat-CVE-2015-0827-pt-2.patch,
  gnu/packages/patches/icecat-CVE-2015-0827-pt-3.patch,
  gnu/packages/patches/icecat-CVE-2015-0831-pt-1.patch,
  gnu/packages/patches/icecat-CVE-2015-0831-pt-2.patch,
  gnu/packages/patches/icecat-CVE-2015-0836-pt-01.patch,
  gnu/packages/patches/icecat-CVE-2015-0836-pt-02.patch,
  gnu/packages/patches/icecat-CVE-2015-0836-pt-03.patch,
  gnu/packages/patches/icecat-CVE-2015-0836-pt-04.patch,
  gnu/packages/patches/icecat-CVE-2015-0836-pt-05.patch,
  gnu/packages/patches/icecat-CVE-2015-0836-pt-06.patch,
  gnu/packages/patches/icecat-CVE-2015-0836-pt-07.patch,
  gnu/packages/patches/icecat-CVE-2015-0836-pt-08.patch,
  gnu/packages/patches/icecat-CVE-2015-0836-pt-09.patch,
  gnu/packages/patches/icecat-CVE-2015-0836-pt-10.patch,
  gnu/packages/patches/icecat-CVE-2015-0836-pt-11.patch: New files.
* gnu-system.am (dist_patch_DATA): Add them.
* gnu/packages/gnuzilla.scm (icecat)[source]: Add patches.
2015-02-26 00:39:31 -05:00
Mark H Weaver 5be2f8844d gnu: luajit: Fix patch file names in gnu-system.am.
* gnu-system.am (dist_patch_DATA): Fix patch file names.
2015-02-25 21:00:43 -05:00
Tomáš Čech dcaf2511d7 gnu: Fix luajit installation
* gnu/packages/lua.scm (luajit): Apply 2 patches.
* gnu-system.am (dist_patch_DATA): Register 2 patches.
* gnu/packages/patches/luajit-no_ldconfig.patch: New file.
* gnu/packages/patches/luajit-symlinks.patch: New file.
2015-02-26 00:43:02 +01:00
Andreas Enge 447260319b gnu: Add avidemux.
* gnu/packages/video.scm (avidemux, avidemux-2.5): New variables.
2015-02-26 00:08:17 +01:00
Ludovic Courtès fe3df05091 build: Bump version number.
* configure.ac: Change to version 0.8.2.
2015-02-26 00:04:36 +01:00
Ludovic Courtès e9c1e22f04 ui: Add missing copyright line.
* guix/ui.scm: Add copyright line for Deck (aka. nebuli).
2015-02-26 00:04:36 +01:00
Ludovic Courtès cf6ce3e6ef ui: Honor --no-* options passed via $GUIX_BUILD_OPTIONS.
Reported by Alex Kost <alezost@gmail.com>
at <http://lists.gnu.org/archive/html/guix-devel/2015-02/msg00702.html>.

* guix/ui.scm (parse-command-line)[parse-options-from]: Add 'seeds'
  parameter.
  Thread the result of the first 'parse-options-from' call to the
  second.
2015-02-26 00:04:36 +01:00
Ludovic Courtès b3f213893b ui: Factorize command-line + env. var. option parsing.
* guix/ui.scm (%default-argument-handler, parse-command-line): New
  procedures.
  (environment-build-options): Make private.
* guix/scripts/archive.scm (guix-archive)[parse-options,
  parse-options-from]: Remove.  Use 'parse-command-line' instead.
* guix/scripts/build.scm (guix-build): Likewise.
* guix/scripts/environment.scm (guix-environment): Likewise.
* guix/scripts/package.scm (guix-package): Likewise.
* guix/scripts/system.scm (guix-system): Likewise.
* tests/ui.scm (with-environment-variable): New macro.
  ("parse-command-line"): New test.
2015-02-26 00:04:36 +01:00
Taylan Ulrich Bayırlı/Kammer 72bfebf58d gnu: ffmpeg: Add soxr and twolame as inputs.
* gnu/packages/video.scm (ffmpeg): Add soxr and twolame as inputs.
2015-02-25 22:09:35 +01:00
Ludovic Courtès 60a2d27edd gnu: nss-mdns: Use /var as the localstatedir.
Reported by Mark H Weaver <mhw@netris.org>
at <http://lists.gnu.org/archive/html/guix-devel/2015-02/msg00686.html>.

* gnu/packages/avahi.scm (nss-mdns)[arguments]: Use
  --localstatedir=/var.
2015-02-25 18:03:51 +01:00
Ludovic Courtès faf0f39bd3 services: nscd: Make sure /var/db/nscd exists.
* gnu/services/base.scm (nscd-service)[activate]: Make /var/db/nscd.
2015-02-25 18:02:13 +01:00
Ludovic Courtès 9d620590b9 gnu: Add CTL.
* gnu/packages/graphics.scm (ctl): New variable.
2015-02-25 17:05:45 +01:00
Ludovic Courtès cab6a2535a gnu: Add OpenEXR and IlmBase.
* gnu/packages/graphics.scm (ilmbase, openexr): New variables.
* gnu/packages/patches/openexr-missing-samples.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
2015-02-25 16:58:50 +01:00
Taylan Ulrich Bayırlı/Kammer bd4464f2e9 gnu: Add portaudio.
* gnu/packages/audio.scm (portaudio): New variable.
2015-02-25 15:38:17 +01:00
Taylan Ulrich Bayırlı/Kammer 49f3670889 gnu: Add twolame.
* gnu/packages/audio.scm (twolame): New variable.
2015-02-25 15:38:17 +01:00
Taylan Ulrich Bayırlı/Kammer 4bddd14c11 gnu: Add soxr.
* gnu/packages/audio.scm (soxr): New variable.
2015-02-25 15:38:17 +01:00
Taylan Ulrich Bayırlı/Kammer 754a98ae42 gnu: Add soundtouch.
* gnu/packages/audio.scm (soundtouch): New variable.
2015-02-25 15:38:17 +01:00
Taylan Ulrich Bayırlı/Kammer 9f1cdd9dfa gnu: Add libsbsms.
* gnu/packages/audio.scm (libsbsms): New variable.
2015-02-25 15:38:17 +01:00
Taylan Ulrich Bayırlı/Kammer e6caa52d85 gnu: Add cpufrequtils.
* gnu/packages/linux.scm (cpufrequtils): New variable.
* gnu/packages/patches/cpufrequtils-fix-aclocal.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
2015-02-25 15:27:48 +01:00
Taylan Ulrich Bayırlı/Kammer a9a1a40b50 gnu: Add sysfsutils-1.
* gnu/packages/linux.scm (sysfsutils-1): New variable.
2015-02-25 15:27:48 +01:00
Taylan Ulrich Bayırlı/Kammer 37f5caec4e gnu: Add sysfsutils.
* gnu/packages/linux.scm (sysfsutils): New variable.
2015-02-25 15:27:48 +01:00
Ludovic Courtès c9505f3ffa gnu: Add glibc-utf8-locales.
* gnu/packages/base.scm (glibc-utf8-locales): New variable.
2015-02-25 14:13:30 +01:00
Andreas Enge 5e5784a91d gnu: python2-rdflib: Explicitly build with python-2.
* gnu/packages/rdf.scm (python2-rdflib): Add argument to build with python-2.
2015-02-25 10:55:28 +01:00
Ludovic Courtès 8a00b93027 gnu: glibc: Change 'LOCPATH' specification to look for "lib/locale".
Suggested by Andreas Schwab <schwab@linux-m68k.org>
at <http://lists.gnu.org/archive/html/guix-devel/2015-02/msg00652.html>.

* gnu/packages/base.scm (glibc)[native-search-paths]: Change
  "share/locale" to "lib/locale".
2015-02-25 09:46:13 +01:00
Mark H Weaver c964a15d82 download: Cope with Guile 2.0.6 or earlier.
* guix/build/download.scm: Do not attempt to support relative URIs in
  "Location" headers if 'declare-relative-uri-header!' is not present.
  This is the case for Guile 2.0.6 or earlier.
2015-02-24 20:01:55 -05:00
Andreas Enge da71f145c6 gnu: Add python2-rdflib.
* gnu/packages/rdf.scm (python2-rdflib): New variable.
  (python-rdflib): Add patch.
* gnu/packages/patches/python2-rdflib-drop-sparqlwrapper.patch: New file.
* gnu-system.am (dist_patch_DATA): Register patch.
2015-02-25 00:58:20 +01:00
Andreas Enge 3dd7547666 gnu: python-html5lib: Add propagated input.
* gnu/packages/python.scm (python-html5lib): Add propagated input python-six.
  (python2-html5lib): Add propagated input python2-six.
2015-02-25 00:58:20 +01:00
Andreas Enge 0c20025c05 gnu: Add python2-six.
* gnu/packages/python.scm (python2-six): New variable.
2015-02-25 00:58:20 +01:00
Andreas Enge 4219f48f70 gnu: python-rdflib: Correct typo.
* gnu/packages/rdf.scm (python-rdflib): Correct typo in the name of an input.
2015-02-25 00:58:20 +01:00
Ludovic Courtès b9e02a71a9 gnu: glibc-locales: Install to lib/locales.
Suggested by Andreas Schwab <schwab@linux-m68k.org>
at <http://lists.gnu.org/archive/html/guix-devel/2015-02/msg00652.html>.

* gnu/packages/base.scm (glibc-locales) <#:configure-flags>: Change
  "/share/locale" to "/lib/locale".
2015-02-25 00:47:49 +01:00
David Thompson 61452a5ab1 gnu: Add pumpa.
* gnu/packages/pumpio.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
2015-02-24 18:00:31 -05:00
Ludovic Courtès 6e1a7d17f4 guix system: Honor '--no-grub'.
Reported by Alex Kost <alezost@gmail.com>
at <http://lists.gnu.org/archive/html/guix-devel/2015-02/msg00564.html>.

* guix/scripts/system.scm (%options) <no-grub>: Use 'alist-cons' instead
  of 'alist-delete'.
2015-02-24 23:43:03 +01:00
Ludovic Courtès a4d8c40f7d artwork: Update to latest GRUB image.
* gnu/artwork.scm (%artwork-repository): Update to newer snapshot.
2015-02-24 23:43:03 +01:00
Ludovic Courtès 4cc78cb38f gnu: Sync GNU synopses and descriptions.
* gnu/packages/games.scm (gnugo): Adjust synopsis.
* gnu/packages/libffcall.scm (libffcall): Likewise.
* gnu/packages/lisp.scm (clisp): Adjust synopsis and description.
2015-02-24 23:43:03 +01:00
Ludovic Courtès 2178ed66f7 build: Reject or warn against file name length limit overruns.
* m4/guix.m4 (GUIX_TEST_ROOT_DIRECTORY, LINUX_HASH_BANG_LIMIT,
  SOCKET_FILE_NAME_LIMIT, GUIX_SOCKET_FILE_NAME_LENGTH,
  GUIX_TEST_SOCKET_FILE_NAME_LENGTH, GUIX_HASH_BANG_LENGTH,
  GUIX_CHECK_FILE_NAME_LIMITS): New macros.
* configure.ac: Use 'GUIX_CHECK_FILE_NAME_LIMITS'.
* config-daemon.ac: Use 'GUIX_TEST_ROOT_DIRECTORY'.
* test-env.in: Check socket name length and emit warning if it exceeds
  107.
2015-02-24 23:43:03 +01:00
Ludovic Courtès 43da8f018d build: Disable grafting in sanity checks.
* build-aux/check-available-binaries.scm: Wrap body in 'parameterize'
  form that clears '%graft?'.
* build-aux/check-final-inputs-self-contained.scm: Likewise.
2015-02-24 23:43:03 +01:00