aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Revert "build-system/gnu: Keep the sloppy conversion strategy during bootstrap."Ludovic Courtès2015-03-01
| | | | | | This reverts commit b479c3ddaf85c831e34888229849bc1ce34419de. This commit was the result of an incorrect characterization of the problem; see the log of commit 87c8b92 for details.
* gnu: commencement: Make UTF-8 locales available right after 'guile-final'.Ludovic Courtès2015-03-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In <http://hydra.gnu.org/build/263170>, we see: 153: 12 [patch-usr-bin-file #:native-inputs #f ...] [...] ?: 1 [regexp-exec # ...] In ice-9/boot-9.scm: 106: 0 [#<procedure 1998ec0 at ice-9/boot-9.scm:97:6 (thrown-k . args)> encoding-error ...] ice-9/boot-9.scm:106:20: In procedure #<procedure 1998ec0 at ice-9/boot-9.scm:97:6 (thrown-k . args)>: ice-9/boot-9.scm:106:20: Throw to key `encoding-error' with args `("scm_to_stringn" "cannot convert narrow string to output locale" 84 #f #f)'. This is due to that fact that 'patch-/usr/bin/file' read a line containing a byte sequence with bytes > 127 (namely a copyright sign.) But this build was running with a C locale, and so those bytes cannot be represented in that locale, hence this error. This commit makes the UTF-8 locales available earlier such that everything can be represented in locale encoding. * gnu/packages/commencement.scm (glibc-utf8-locales-final): Move earlier; change "gzip" input to GZIP built with %BOOT4-INPUTS. (%boot5-inputs): Define to %BOOT4-INPUTS plus GLIBC-UTF8-LOCALES-FINAL. (gnu-make-final, coreutils-final, grep-final): Use it instead of %BOOT4-INPUTS. (gzip-final): Remove. (%boot6-inputs): New variable. (%final-inputs): Use it instead of %BOOT5-INPUTS. Don't rely on GZIP-FINAL.
* build-system/gnu: Keep the sloppy conversion strategy during bootstrap.Ludovic Courtès2015-03-01
| | | | | | | * guix/build/gnu-build-system.scm (gnu-build): Leave %DEFAULT-PORT-CONVERSION-STRATEGY unchanged when 'string->bytevector' fails to convert to ISO-8859-1. This is an attempt to work around the build failures at <http://hydra.gnu.org/build/263002>.
* gnu: Add 'file-name' fields for github source tarballs without a name.Mark H Weaver2015-02-28
| | | | | | | | | | | | | | | | * gnu/packages/aarddict.scm (aarddict), gnu/packages/algebra.scm (arb), gnu/packages/audio.scm (jack-2, lvtk), gnu/packages/bioinformatics.scm (bedops, bedtools, bowtie), gnu/packages/game-development.scm (tiled), gnu/packages/games.scm (minetest-data, minetest, retroarch), gnu/packages/jrnl.scm (jrnl), gnu/packages/kde.scm (qjson), gnu/packages/libevent.scm (libuv), gnu/packages/linux.scm (pflask), gnu/packages/mail.scm (offlineimap, libetpan), gnu/packages/maths.scm (arpack-ng), gnu/packages/ninja.scm (ninja), gnu/packages/nutrition.scm (gourmet), gnu/packages/python.scm (python-cairocffi), gnu/packages/rdf.scm (lrdf), gnu/packages/ruby.scm (ruby-i18n), gnu/packages/sxiv.scm (sxiv): Add 'file-name' field to origin.
* gnu: Move autoconf-style phases after the unpack phase.Mark H Weaver2015-02-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | * gnu/packages/audio.scm (soundtouch)[arguments]: Move 'bootstrap' after 'unpack'. Remove custom /usr/bin/file patching, which will now be handled by the 'patch-usr-bin-file' phase. * gnu/packages/emacs.scm (emacs-w3m)[arguments]: Rename 'pre-configure' phase to 'autoconf' and move it after 'unpack'. * gnu/packages/fontutils.scm (libuninameslist)[arguments]: Move 'bootstrap' phase after 'unpack'. * gnu/packages/libevent.scm (libuv)[arguments]: Move 'autogen' phase after 'unpack'. Run "sh autogen.sh" instead of "./autogen.sh". * gnu/packages/linux.scm (bridge-utils)[arguments]: Move 'bootstrap' phase after 'unpack'. * gnu/packages/mail.scm (libetpan)[arguments]: Move 'autogen' phase after 'unpack'. Run "sh autogen.sh" instead of "./autogen.sh". Setenv "NOCONFIGURE" before running autogen.sh. * gnu/packages/package-management.scm (guix-devel)[arguments]: Move 'bootstrap' phase after 'unpack'. Run "sh autogen.sh" instead of "./autogen.sh". * gnu/packages/rdf.scm (lrdf)[arguments]: Move 'autoreconf' phase after 'remove-out-of-tree-references' phase. * gnu/packages/tor.scm (privoxy)[arguments]: Move 'autoconf' phase after 'unpack'. * gnu/packages/web.scm (libpsl)[arguments]: Move 'bootstrap' phase after 'unpack'. Run "sh autogen.sh" instead of "./autogen.sh". Remove 'fix-autogen-shebang' phase.
* utils: Treat 'configure' and Makefiles with an 8-bit encoding.Ludovic Courtès2015-02-28
| | | | | * guix/build/utils.scm (patch-makefile-SHELL, patch-/usr/bin/file): Wrap 'substitute*' in 'with-fluids'. Fixes <http://hydra.gnu.org/build/262895>.
* packages: Set the port conversion strategy to 'error'.Ludovic Courtès2015-02-28
| | | | | | | | Suggested by Mark H Weaver. * guix/build/gnu-build-system.scm (gnu-build): Set %DEFAULT-PORT-CONVERSION-STRATEGY to 'error. * guix/packages.scm (patch-and-repack)[builder]: Likewise.
* utils: Change 'patch-shebangs' to use binary input.Ludovic Courtès2015-02-28
| | | | | | | * guix/build/utils.scm (get-char*): New procedure. (patch-shebang): Use it instead of 'read-char'. (fold-port-matches): Remove local 'get-char' and use 'get-char*' instead.
* gexp: Aggregate outputs of compound gexps.Ludovic Courtès2015-02-27
| | | | | | | * guix/gexp.scm (gexp-outputs)[add-reference-output]: Recurse into lists. * tests/gexp.scm ("output list + ungexp-splicing list, combined gexps"): New test.
* gexp: Add tests for 'gexp-outputs'.Ludovic Courtès2015-02-27
| | | | | * tests/gexp.scm (gexp-outputs): New procedure. ("output list", "output list, combined gexps"): New tests.
* download: Comment on lack of progress report with chunked encoding.Ludovic Courtès2015-02-27
| | | | * guix/build/download.scm (progress-proc): Add comment.
* download: Measure and display the throughput.Ludovic Courtès2015-02-27
| | | | | | * guix/build/download.scm (duration->seconds, throughput->string): New procedures. (progress-proc): Measure and display the throughput.
* download: Abstract the receive buffer size.Ludovic Courtès2015-02-27
| | | | | * guix/build/download.scm (%http-receive-buffer-size): New variable. (progress-proc, tls-wrap, http-fetch): Use it.
* utils: Call the progress-report proc when 'dump-port' starts.Ludovic Courtès2015-02-27
| | | | | * guix/build/utils.scm (dump-port): Add call to PROGRESS at the beginning.
* build-system/gnu: Set $LC_ALL (or similar) to the chosen locale.Ludovic Courtès2015-02-27
| | | | | | | Suggested by Mark H Weaver. * guix/build/utils.scm (locale-category->string): New procedure. * guix/build/gnu-build-system.scm (install-locale): Add 'setenv' call.
* gnu: Remove now unneeded 'localedef' invocations.Ludovic Courtès2015-02-27
| | | | | | | | | | | | | This is a followup to commit b0fd2bd. * gnu/packages/gawk.scm (gawk)[arguments] <install-locales>: Add comment on why we leave this here. * gnu/packages/guile.scm (guile-ncurses)[arguments]: Remove 'install-locales' phase. * gnu/packages/swig.scm (swig)[arguments]: Likewise. * gnu/packages/python.scm (python-matplotlib): Remove 'LOCPATH' setting and 'localedef' invocation. (python-scipy): Likewise.
* gnu: Remove now unneeded 'unpack' phases for unzip.Ludovic Courtès2015-02-27
| | | | | | | | | This is a followup to commit cd0385b. * gnu/packages/bioinformatics.scm (hisat)[arguments]: Remove 'unpack' phase. * gnu/packages/image.scm (freeimage): Likewise. * gnu/packages/python.scm (python2-cssutils): Likewise.
* gnu: gettext: Set encoding to ISO-8859-1 when modifying files.Ludovic Courtès2015-02-27
| | | | | | * gnu/packages/gettext.scm (gnu-gettext)[arguments] <patch-tests>: Set %default-port-encoding. Fixes test failures at <http://hydra.gnu.org/build/262586>.
* build-system/cmake: Enable verbose output from Makefile builds.宋文武2015-02-27
| | | | | * guix/build/cmake-build-system.scm (configure): Pass -DCMAKE_VERBOSE_MAKEFILE=ON to cmake.
* gnu: cmake: Update to 3.1.3.宋文武2015-02-27
| | | | * gnu/packages/cmake.scm (cmake): Update to 3.1.3.
* gnu: cairo: Enable tee surface backend.Mark H Weaver2015-02-26
| | | | | * gnu/packages/gtk.scm (cairo)[arguments]: Add --enable-tee to configure-flags.
* gnu: sqlite: Update to 3.8.8.3.Mark H Weaver2015-02-26
| | | | * gnu/packages/databases.scm (sqlite): Update to 3.8.8.3.
* gnu: sqlite: Add "CFLAGS=-O2 -DSQLITE_SECURE_DELETE" to configure-flags.Mark H Weaver2015-02-26
| | | | | * gnu/packages/databases.scm (sqlite)[arguments]: Add "CFLAGS=-O2 -DSQLITE_SECURE_DELETE" to configure-flags.
* ld-wrapper: Add '-rpath' for arguments such as 'libfoo.so.5.3'.Ludovic Courtès2015-02-27
| | | | | | | | | Suggested by Andreas Enge <andreas@enge.fr> at <http://lists.gnu.org/archive/html/guix-devel/2015-02/msg00810.html>. CMake command lines appear to refer to such file names. * gnu/packages/ld-wrapper.scm (shared-library?): New procedure. (library-files-linked): Use it.
* packages: When possible, use a UTF-8 locale in patch-and-repack.Ludovic Courtès2015-02-27
| | | | | | * guix/packages.scm (%standard-patch-inputs): Add "locales". (patch-and-repack)[builder]: Add 'locales' variable. When it is true, call 'setenv' and 'setlocale'.
* gnu: Add glibc-utf8-locales to the implicit inputs.Ludovic Courtès2015-02-26
| | | | | | | | | 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.
* build-system/gnu: Add 'install-locale' phase.Ludovic Courtès2015-02-26
| | | | | | | | * 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.
* build-system: Use 'modify-phases'.Ludovic Courtès2015-02-26
| | | | | | | | | | | * 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.
* utils: Add 'modify-phases'.Ludovic Courtès2015-02-26
| | | | * guix/build/utils.scm (modify-phases): New macro.
* build-system/gnu: Add support for zip archives.Ludovic Courtès2015-02-26
| | | | | | | | 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'.
* Merge branch 'master' into core-updatesLudovic Courtès2015-02-26
|\
| * services: slim: Add "F1 to change" in session message.Ludovic Courtès2015-02-26
| | | | | | | | * gnu/services/xorg.scm (slim-service)[slim.cfg]: Add 'session_msg'.
| * services: slim: Preserve the order of session types.Ludovic Courtès2015-02-26
| | | | | | | | | | | | | | | | | | 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.
| * gnu: openexr: Add synopsis.Ludovic Courtès2015-02-26
| | | | | | | | | | * gnu/packages/graphics.scm (openexr)[synopsis]: Fill in. [description]: Improve.
| * gnu: samba: Update to 3.6.25.Mark H Weaver2015-02-26
| | | | | | | | * gnu/packages/samba.scm (samba): Update to 3.6.25.
| * gnu: e2fsprogs: Update to 1.42.12.Mark H Weaver2015-02-26
| | | | | | | | * gnu/packages/linux.scm (e2fsprogs): Update to 1.42.12.
| * doc: Remove reference to git submodules in HACKING.Mark H Weaver2015-02-26
| | | | | | | | * HACKING: Remove mention of git submodules.
| * gnu: icecat: Apply fixes for CVE-2015-{0822,0827,0831,0836}.Mark H Weaver2015-02-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
| * gnu: luajit: Fix patch file names in gnu-system.am.Mark H Weaver2015-02-25
| | | | | | | | * gnu-system.am (dist_patch_DATA): Fix patch file names.
| * gnu: Fix luajit installationTomáš Čech2015-02-26
| | | | | | | | | | | | | | * 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.
| * gnu: Add avidemux.Andreas Enge2015-02-26
| | | | | | | | * gnu/packages/video.scm (avidemux, avidemux-2.5): New variables.
| * build: Bump version number.Ludovic Courtès2015-02-26
| | | | | | | | * configure.ac: Change to version 0.8.2.
| * ui: Add missing copyright line.Ludovic Courtès2015-02-26
| | | | | | | | * guix/ui.scm: Add copyright line for Deck (aka. nebuli).
| * ui: Honor --no-* options passed via $GUIX_BUILD_OPTIONS.Ludovic Courtès2015-02-26
| | | | | | | | | | | | | | | | | | | | 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.
| * ui: Factorize command-line + env. var. option parsing.Ludovic Courtès2015-02-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
| * gnu: ffmpeg: Add soxr and twolame as inputs.Taylan Ulrich Bayırlı/Kammer2015-02-25
| | | | | | | | * gnu/packages/video.scm (ffmpeg): Add soxr and twolame as inputs.
| * gnu: nss-mdns: Use /var as the localstatedir.Ludovic Courtès2015-02-25
| | | | | | | | | | | | | | | | 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.
| * services: nscd: Make sure /var/db/nscd exists.Ludovic Courtès2015-02-25
| | | | | | | | * gnu/services/base.scm (nscd-service)[activate]: Make /var/db/nscd.
| * gnu: Add CTL.Ludovic Courtès2015-02-25
| | | | | | | | * gnu/packages/graphics.scm (ctl): New variable.
| * gnu: Add OpenEXR and IlmBase.Ludovic Courtès2015-02-25
| | | | | | | | | | | | * 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.