Commit Graph

6859 Commits

Author SHA1 Message Date
Ludovic Courtès 87c8b92f50 gnu: commencement: Make UTF-8 locales available right after 'guile-final'.
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.
2015-03-01 17:03:04 +01:00
宋文武 8ccf68f9e0 gnu: xfwm4: Add inputs libdrm and libxdamage.
* gnu/packages/xfce.scm (xfwm4): Add libdrm and libxdamage to inputs.
2015-03-01 18:41:57 +08:00
宋文武 39a4d761c7 gnu: xfwm4: Update to 4.12.0.
* gnu/packages/xfce.scm (xfwm4): Update 4.12.0.
2015-03-01 18:41:02 +08:00
宋文武 046bcf2952 gnu: xfdesktop: Update to 4.12.0.
* gnu/packages/xfce.scm (xfdesktop): Update to 4.12.0.
2015-03-01 18:38:52 +08:00
宋文武 ad1540062b gnu: thunar-volman: Update to 0.8.1.
* gnu/packages/xfce.scm (thunar-volman): Update to 0.8.1.
2015-03-01 18:38:39 +08:00
宋文武 78daf79be1 gnu: thunar: Update to 1.6.6.
* gnu/packages/xfce.scm (thunar): Update to 1.6.6.
2015-03-01 18:38:22 +08:00
宋文武 2998f7181f gnu: xfce4-settings: Update to 4.12.0.
* gnu/packages/xfce.scm (xfce4-settings): Update to 4.12.0.
2015-03-01 18:38:06 +08:00
宋文武 3d75c320fa gnu: xfce4-session: Update to 4.12.0.
* gnu/packages/xfce.scm (xfce4-session): Update to 4.12.0.
2015-03-01 18:37:54 +08:00
宋文武 be3db25a52 gnu: xfce4-appfinder: Update to 4.12.0.
* gnu/packages/xfce.scm (xfce4-appfinder): Update to 4.12.0.
2015-03-01 18:37:37 +08:00
宋文武 bcd54994f0 gnu: xfce4-panel: Update to 4.12.0.
* gnu/packages/xfce.scm (xfce4-panel): Update to 4.12.0.
2015-03-01 18:37:20 +08:00
宋文武 3786be080f gnu: tumbler: Update to 0.1.31.
* gnu/packages/xfce.scm (tumbler): Update to 0.1.31.
2015-03-01 18:37:04 +08:00
宋文武 ea3fb8f183 gnu: garcon: Update to 0.4.0.
* gnu/packages/xfce.scm (garcon): Update to 0.4.0.
2015-03-01 18:36:48 +08:00
宋文武 9ade90ae52 gnu: exo: Update to 0.10.3.
* gnu/packages/xfce.scm (exo): Update to 0.10.3.
2015-03-01 18:36:26 +08:00
宋文武 7379ffc1a0 gnu: libxfce4ui: Update to 4.12.0.
* gnu/packages/xfce.scm (libxfce4ui): Update to 4.12.0.
2015-03-01 18:36:12 +08:00
宋文武 96fffedea0 gnu: libxfce4util: Update to 4.12.1.
* gnu/packages/xfce.scm (libxfce4util): Update to 4.12.1.
2015-03-01 18:35:14 +08:00
Ludovic Courtès ec4a4c46ef services: xorg: Fix file descriptor leak from SLiM/xinitrc.
Previously processes started from the window manager would have a couple
of leaked file descriptors: writable /var/log/slim.log and readable
/gnu/store/…-xinitrc.

* gnu/services/xorg.scm (xinitrc)[builder]: Add 'close-all-fdes'.  Use
  it in 'exec-from-login-shell'.
2015-03-01 00:25:30 +01:00
Ludovic Courtès b479c3ddaf build-system/gnu: Keep the sloppy conversion strategy during bootstrap.
* 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>.
2015-03-01 00:23:07 +01:00
Ricardo Wurmus 74bbf89495 gnu: Add zita-alsa-pcmi.
* gnu/packages/audio.scm (zita-alsa-pcmi): New variable.
2015-02-28 22:30:19 +01:00
Ricardo Wurmus 8fb79e3dfb gnu: Add LV2 mda EPiano plugin.
* gnu/packages/audio.scm (lv2-mdaepiano): New variable.
2015-02-28 22:29:57 +01:00
Ricardo Wurmus 982471276b gnu: Add LV2 mda Piano plugin.
* gnu/packages/audio.scm (lv2-mdapiano): New variable.
2015-02-28 22:29:47 +01:00
Ricardo Wurmus dd6b54b846 gnu: Add txt2man.
* gnu/packages/man.scm (txt2man): New variable.
2015-02-28 21:54:29 +01:00
David Thompson 654b27e56e gnu: mpd: Export package variables using define-public.
* gnu/packages/mpd.scm: Use define-public for package variables.  Remove
  #:exports from module declaration.
2015-02-28 14:05:20 -05:00
Paul van der Walt 773b2792e1 gnu: Add mpd-mpc.
* gnu/packages/mpd.scm (mpd-mpc): New variable.
2015-02-28 13:10:32 -05:00
Paul van der Walt e42dc6249c gnu: ncmpcpp: Update to 0.6.2
* gnu/packages/mpd.scm (ncmpcpp): Update to version 0.6.2.  Add boost,
  readline, autotools inputs.
2015-02-28 09:54:12 -05:00
Mark H Weaver f586c87705 gnu: Add 'file-name' fields for github source tarballs without a name.
* 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.
2015-02-28 09:49:01 -05:00
Mark H Weaver 722ec72244 gnu: Move autoconf-style phases after the unpack phase.
* 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.
2015-02-28 09:49:01 -05:00
Paul van der Walt 17dd4329eb gnu: mail: Add copyright line.
* gnu/packages/mail.scm (mu): Add forgotten copyright line.
2015-02-28 09:48:28 -05:00
Ludovic Courtès dd0a8ef15f utils: Treat 'configure' and Makefiles with an 8-bit encoding.
* guix/build/utils.scm (patch-makefile-SHELL, patch-/usr/bin/file): Wrap
  'substitute*' in 'with-fluids'.  Fixes <http://hydra.gnu.org/build/262895>.
2015-02-28 12:25:22 +01:00
宋文武 692784ddbb gnu: Add font-adobe-source-han-sans.
* gnu/packages/fonts.scm (font-adobe-source-han-sans): New variable.
2015-02-28 17:51:29 +08:00
Andreas Enge 88c268347b gnu: python: Drop special handling of python2-numpydoc as input.
* gnu/packages/python.scm (python2-numpy, python2-matplotlib,
  python2-ipython): Keep input python2-numpydoc created by
  package-with-python2.
2015-02-28 01:17:57 +01:00
Ludovic Courtès 4db87162e6 packages: Set the port conversion strategy to 'error'.
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.
2015-02-28 01:10:24 +01:00
Andreas Enge 5e4d8f6710 gnu: python-numpydoc: Drop one test.
* gnu/packages/python.scm (python-numpydoc): Drop one test for all Python
  versions.
  (python2-numpydoc): Define it by package-with-python2 without modifications.
2015-02-28 01:08:37 +01:00
Ludovic Courtès ca1e3ad2fa utils: Change 'patch-shebangs' to use binary input.
* 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.
2015-02-28 01:01:51 +01:00
Andreas Enge 7ca0dbc3f0 gnu: python2-py2cairo: Rename to python2-pycairo.
* gnu/packages/gtk.scm (python2-py2cairo): Rename to ...
  (python2-pycairo): ... this
  (python2-pygtk): Adapt input.
* gnu/packages/glib.scm (python2-pygobject-2): Adapt input.
* gnu/packages/python.scm (package-with-python2): Adapt input.
2015-02-27 23:53:57 +01:00
Ludovic Courtès f9efe568c3 gexp: Aggregate outputs of compound gexps.
* guix/gexp.scm (gexp-outputs)[add-reference-output]: Recurse into
  lists.
* tests/gexp.scm ("output list + ungexp-splicing list, combined gexps"):
  New test.
2015-02-27 22:05:40 +01:00
Ludovic Courtès 4b23c4664e gexp: Add tests for 'gexp-outputs'.
* tests/gexp.scm (gexp-outputs): New procedure.
  ("output list", "output list, combined gexps"): New tests.
2015-02-27 22:03:20 +01:00
Ludovic Courtès c9727aac40 download: Comment on lack of progress report with chunked encoding.
* guix/build/download.scm (progress-proc): Add comment.
2015-02-27 15:08:37 +01:00
Ludovic Courtès 9fbe6f1920 download: Measure and display the throughput.
* guix/build/download.scm (duration->seconds, throughput->string): New
  procedures.
  (progress-proc): Measure and display the throughput.
2015-02-27 15:08:37 +01:00
Ludovic Courtès e7620dc995 download: Abstract the receive buffer size.
* guix/build/download.scm (%http-receive-buffer-size): New variable.
  (progress-proc, tls-wrap, http-fetch): Use it.
2015-02-27 15:08:37 +01:00
Ludovic Courtès 2c1fb35377 utils: Call the progress-report proc when 'dump-port' starts.
* guix/build/utils.scm (dump-port): Add call to PROGRESS at the
  beginning.
2015-02-27 15:08:37 +01:00
Ludovic Courtès 251e8b2ee8 build-system/gnu: Set $LC_ALL (or similar) to the chosen locale.
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.
2015-02-27 15:08:37 +01:00
Ludovic Courtès 7184b4b1bd gnu: Remove now unneeded 'localedef' invocations.
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.
2015-02-27 15:08:37 +01:00
Ludovic Courtès da6dd842d0 gnu: Remove now unneeded 'unpack' phases for unzip.
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.
2015-02-27 15:08:37 +01:00
Ludovic Courtès e8c9f0498f gnu: gettext: Set encoding to ISO-8859-1 when modifying files.
* gnu/packages/gettext.scm (gnu-gettext)[arguments] <patch-tests>: Set
  %default-port-encoding.  Fixes test failures at
  <http://hydra.gnu.org/build/262586>.
2015-02-27 15:08:37 +01:00
Jason Self ac4cbcc10a gnu: linux-libre: Update to 3.18.8
* gnu/packages/linux.scm (linux-libre): Update to version 3.18.8.
2015-02-27 05:02:31 -08:00
宋文武 50915d2c2e build-system/cmake: Enable verbose output from Makefile builds.
* guix/build/cmake-build-system.scm (configure): Pass
  -DCMAKE_VERBOSE_MAKEFILE=ON to cmake.
2015-02-27 19:10:40 +08:00
宋文武 f1886b51bd gnu: cmake: Update to 3.1.3.
* gnu/packages/cmake.scm (cmake): Update to 3.1.3.
2015-02-27 18:53:25 +08:00
Paul van der Walt 922eaededc gnu: mu: Update to 0.9.11.
* gnu/packages/mail.scm (mu): Update to 0.9.11.  Update source URI.  Add
  autoconf, automake, and libtool to native-inputs.  Add autoreconf phase.
2015-02-26 20:53:41 -05:00
Mark H Weaver 77888fae13 gnu: cairo: Enable tee surface backend.
* gnu/packages/gtk.scm (cairo)[arguments]: Add --enable-tee to
  configure-flags.
2015-02-26 19:22:57 -05:00
Mark H Weaver e5718ca1e6 gnu: sqlite: Update to 3.8.8.3.
* gnu/packages/databases.scm (sqlite): Update to 3.8.8.3.
2015-02-26 19:22:27 -05:00