Commit graph

8482 commits

Author SHA1 Message Date
Ludovic Courtès
85e5721421 gnu: glibc: Look for locale data in versioned sub-directories.
Suggested by Mark H Weaver <mhw@netris.org>.

* gnu/packages/patches/glibc-versioned-locpath.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/base.scm (glibc)[source]: Use it.
  [arguments]: Add explicit version sub-directory to
  libc_cv_localedir.
  [native-search-paths]: Use 'GUIX_LOCPATH' instead of 'LOCPATH'.
  (glibc-locales, glibc-utf8-locales): Write to a VERSION
  sub-directory.
2015-10-05 22:34:50 +02:00
Ludovic Courtès
f211b2af67 Revert "gnu: glibc: Honor 'GUIX_LOCPATH'."
This reverts commits fbb909ac7e
and 2ebe938c2f.
2015-10-05 22:34:34 +02:00
Ludovic Courtès
2ebe938c2f doc: Mention that /X.Y must be used for GUIX_LOCPATH.
This is a followup to commit f2d7bbb.

* doc/guix.texi (Application Setup): Mention the /X.Y sub-directory.
2015-10-04 10:20:59 +02:00
Ludovic Courtès
85b81cf8c1 packages: Use locales from the /X.Y sub-directory of the locale package.
This is a followup to commit f2d7bbb.

* guix/packages.scm (patch-and-repack)[build]: Append "/X.Y" to
  LOCPATH.
2015-10-04 10:19:42 +02:00
Ludovic Courtès
afd3d9316c Use "normalized codesets" everywhere.
In other words, change "xx_YY.UTF-8" to "xx_YY.utf8".

* guix/profiles.scm (ca-certificate-bundle): Use "en_US.utf8" instead of
  "en_US.UTF-8".
* guix/packages.scm (patch-and-repack): Likewise.
* guix/build/gnu-build-system.scm (install-locale): Likewise.
* guix/build-system/gnu.scm (gnu-build, gnu-cross-build): Likewise.
* gnu/packages/python.scm (python-ipython): Likewise.
* gnu/packages/gawk.scm (gawk): Likewise.
* build-aux/hydra/demo-os.scm: Likewise.
* gnu/packages/guile.scm (guile-ncurses)[arguments]: Remove
  'change-locale' phase.
2015-10-04 00:10:03 +02:00
Ludovic Courtès
8a55e217ad gnu: glibc-utf8-locales: Use the normalized codeset.
* gnu/packages/base.scm (glibc-utf8-locales)[argument]: Use the
  normalized codeset by default.
2015-10-04 00:10:03 +02:00
Ludovic Courtès
b6ac54517c gnu: commencement: Remove the tricky locale compatibility handling.
This is made unnecessary by the use of 'GUIX_LOCPATH'.

* gnu/packages/commencement.scm (locale-proof-package): Remove.
  (%boot5-inputs): Add on GLIBC-UTF8-LOCALES-FINAL.  This reverts parts
  of commit 28cbc58.
* gnu/packages/gawk.scm (gawk): Set 'GUIX_LOCPATH' instead of
  'LOCPATH'.
2015-10-04 00:09:29 +02:00
Ludovic Courtès
f2d7bbb537 gnu: glibc: Look for locale data in versioned sub-directories.
* gnu/packages/base.scm (glibc)[native-search-paths]: Add
  'lib/locale/VERSION' for 'GUIX_LOCPATH'.
  (glibc-locales, glibc-utf8-locales): Write to a VERSION
  sub-directory.
* guix/profiles.scm (ca-certificate-bundle): Adjust LOCPATH value
  accordingly.
2015-10-03 20:17:09 +02:00
Ludovic Courtès
fbb909ac7e gnu: glibc: Honor 'GUIX_LOCPATH'.
* gnu/packages/patches/glibc-guix-locpath.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/base.scm (glibc)[source]: Use it.
  [native-search-paths]: Use 'GUIX_LOCPATH' instead of 'LOCPATH'.
* doc/guix.texi (Application Setup): Introduce the term "foreign
  distro".  Document 'GUIX_LOCPATH'.
2015-10-03 17:55:13 +02:00
Ludovic Courtès
1668dfcd37 gnu: texinfo: Claim 'INFOPATH'.
Reported by Konrad Hinsen <konrad.hinsen@fastmail.net>.

* gnu/packages/texinfo.scm (texinfo)[native-search-paths]: New field.
2015-10-03 14:36:12 +02:00
Ludovic Courtès
57aff6476e utils: Add 'every*'.
* guix/build/gnu-build-system.scm (every*): Move to...
* guix/build/utils.scm (every*): ... here.  New procedure.
2015-10-03 14:36:12 +02:00
Ludovic Courtès
29aca449c7 gnu: gettext: Upgrade to 0.19.6.
* gnu/packages/gettext.scm (gnu-gettext): Update to 0.19.6.
2015-10-03 14:36:12 +02:00
Ludovic Courtès
e393586161 gnu: coreutils: Use upstream's fix for 'tail'.
* gnu/packages/patches/coreutils-racy-tail-test.patch: Remove.
* gnu-system.am (dist_patch_DATA): Adjust accordingly.
* gnu/packages/base.scm (coreutils)[source]: Replace this patch with
  upstream's fix for 'tail'.
2015-10-03 14:36:11 +02:00
Ludovic Courtès
2ae71b746b gnu: glibc: Do not abort when incompatible locale data is found.
* gnu/packages/patches/glibc-locale-incompatibility.patch: New file.
* gnu/packages/base.scm (glibc)[source]: Use it.
* gnu-system.am (dist_patch_DATA): Add it.
2015-10-03 14:36:07 +02:00
Ludovic Courtès
997f86e96b gnu: pixman: Update to 0.32.8.
* gnu/packages/xdisorg.scm (pixman): Update to 0.32.8.
* gnu/packages/patches/pixman-pointer-arithmetic.patch: Remove.
* gnu-system.am (dist_patch_DATA): Adjust accordingly.
2015-09-30 17:19:27 +02:00
Ludovic Courtès
46bd6edd5a gnu: libc: Look for locale data under /run/current-system/locale/X.Y.
* gnu/packages/base.scm (glibc)[arguments]: Append VERSION to
  'libc_cv_localedir'.
* gnu/system/locale.scm (localedef-command): Write to the sub-directory
  called (package-version libc) in #$output.
  (locale-directory): Create said directory.
* doc/guix.texi (Locales): Mention the per-version sub-directory.
2015-09-30 17:06:40 +02:00
Julian Graham
c24fff615b gnu: Add gzochi.
* gnu/packages/game-development.scm (gzochi): New variable.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2015-09-29 23:56:37 +02:00
Jeff Mickey
820dc3f5f1 gnu: Add pigz.
* gnu/packages/compression.scm (pigz): New variable.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2015-09-29 23:40:10 +02:00
Ludovic Courtès
0b1f0d36b1 gnu: lsh: 'lsh-authorize' uses the absolute file name of 'sexp-conv'.
Fixes <http://bugs.gnu.org/21516>.
Reported by Andreas Enge <andreas@enge.fr>.

* gnu/packages/lsh.scm (lsh)[arguments]: In 'pre-configure' phase,
  change 'src/lsh-authorize' to use the absolute file name of
  'sexp-conv'.
2015-09-28 22:54:04 +02:00
Ludovic Courtès
30d9aa5422 guix gc: Add '--list-failures' and '--clear-failures'.
Suggested by Mark H Weaver <mhw@netris.org>.

* guix/scripts/gc.scm (show-help, %options): Add --list-failures and
  --clear-failures.
  (guix-gc): Honor them.
* doc/guix.texi (Invoking guix gc): Document them.
  (Invoking guix-daemon): Mention them.
2015-09-28 22:54:04 +02:00
Ludovic Courtès
16748d8015 store: Add 'query-failed-paths' and 'clear-failed-paths' RPCs.
Suggested by Mark H Weaver <mhw@netris.org>.

* guix/store.scm (query-failed-paths, clear-failed-paths): New
  procedures.
* tests/guix-daemon.sh: Add test with daemon started with
  --cache-failures.
2015-09-28 22:54:04 +02:00
Ludovic Courtès
df0a3b7f9e tests: 'open-connection-for-tests' takes an optional parameter.
* guix/tests.scm (open-connection-for-tests): Add optional FILE
  parameter; pass it to 'open-connection'.
2015-09-28 22:53:59 +02:00
Pjotr Prins
b2bddb07ef gnu: Add bio-blastxmlparser.
* gnu/packages/bioinformatics.scm (bio-blastxmlparser): New variable.
2015-09-28 12:22:47 +02:00
Vicente Vera Parra
0e4e03f884 gnu: Add r-data.table.
* gnu/packages/statistics.scm (r-data.table): New variable.
2015-09-28 11:07:23 +02:00
Vicente Vera Parra
91312ebed4 gnu: Add r-chron.
* gnu/packages/statistics.scm (r-chron): New variable.
2015-09-28 11:07:10 +02:00
Ricardo Wurmus
ea5616e0e6 gnu: Add r-servr.
* gnu/packages/web.scm (r-servr): New variable.
2015-09-28 10:35:19 +02:00
Ricardo Wurmus
21d3770e02 gnu: Add r-jsonlite.
* gnu/packages/web.scm (r-jsonlite): New variable.
2015-09-28 10:35:19 +02:00
Ricardo Wurmus
a359c9c15c gnu: Add r-httpuv.
* gnu/packages/web.scm (r-httpuv): New variable.
2015-09-28 10:35:19 +02:00
Mark H Weaver
36743e71af doc: Fix spelling.
This is a followup to commit ba7d6c763c.

* doc/guix.texi (Synopses and Descriptions): Fix spelling.
2015-09-28 02:09:59 -04:00
Mathieu Lirzin
cd8b7cfb3f lint: Fix 'check-texinfo-markup'.
Fixes a regression introduced in 5d8d8f3.

* guix/scripts/lint.scm (check-description-style): When no exception is
  thrown in 'check-texinfo-markup', return the rendered description.
2015-09-28 00:23:12 +02:00
Mathieu Lirzin
ba7d6c763c doc: Add more recommandations for package descriptions.
* doc/guix.texi (Synopses and Descriptions): Warn about special
  characters in Texinfo.  Indicate how to help the translators.
2015-09-28 00:22:12 +02:00
Mathieu Lirzin
ae05b1856f gnu: Add arandr.
* gnu/packages/xdisorg.scm (arandr): New variable.
2015-09-28 00:19:11 +02:00
Andreas Enge
aab56ab7da gnu: avidemux: Build with Qt 5 instead of Qt 4.
* gnu/packages/video.scm (avidemux)[inputs]: Replace qt-4 by qt.
  [arguments]: Add build flag.
2015-09-27 00:06:30 +02:00
Andreas Enge
c4c020b781 gnu: global: Update to 6.5.1.
* gnu/packages/code.scm (global): Update to 6.5.1.
2015-09-26 22:03:06 +02:00
Andreas Enge
308aa2e795 gnu: libmicrohttpd: Update to 0.9.43.
* gnu/packages/gnunet.scm (libmicrohttpd): Update to 0.9.43.
2015-09-26 22:03:06 +02:00
Andreas Enge
f799c2820d gnu: ddrescue: Update to 1.20.
* gnu/packages/disk.scm (ddrescue): Update to 1.20.
2015-09-26 22:03:06 +02:00
Andreas Enge
19c34308d6 gnu: sipwitch: Update to 1.9.10.
* gnu/packages/telephony.scm (sipwitch): Update to 1.9.10.
2015-09-26 22:03:06 +02:00
Andreas Enge
b32eabe4bf gnu: ucommon: Update to 6.6.0.
* gnu/packages/telephony.scm (ucommon): Update to 6.6.0.
2015-09-26 22:03:06 +02:00
Andreas Enge
fdcb976815 gnu: parallel: Update to 20150922.
* gnu/packages/parallel.scm (parallel): Update to 20150922.
2015-09-26 22:03:06 +02:00
Paul van der Walt
b2a222445e gnu: xapian: Update to 1.2.21.
* gnu/packages/search.scm (xapian): Update to 1.2.21.
2015-09-26 21:41:26 +02:00
Alex Kost
730bf80888 emacs: devel: Highlight 'modify-phases' keywords.
* emacs/guix-guile.el (guix-guile-keyword-regexp): New function.
* emacs/guix-devel.el (guix-devel-faces): New custom group.
  (guix-devel-modify-phases-keyword): New face.
  (guix-devel-modify-phases-keyword-regexp,
  guix-devel-font-lock-keywords): New variables.
  (guix-devel-modify-phases-font-lock-matcher,
  guix-devel-modify-phases-font-lock-pre): New functions.
  (guix-devel-mode): Adjust to add/remove font-lock-keywords.
2015-09-26 22:38:43 +03:00
Paul van der Walt
c284e78fa4 gnu: mu: Update to 0.9.13.
* gnu/packages/mail.scm (mu): Update to 0.9.13.
2015-09-26 21:11:30 +02:00
Paul van der Walt
dc5f87f42a gnu: ncmpcpp: Update to 0.6.7.
* gnu/packages/mpd.scm (ncmpcpp): Update to 0.6.7.
2015-09-26 20:57:44 +02:00
Mark H Weaver
d2a6336609 gnu: qemu: Update to 2.4.0.1. Include fix for CVE-2015-6855.
* gnu/packages/patches/qemu-CVE-2015-3209.patch,
  gnu/packages/patches/qemu-CVE-2015-4037.patch,
  gnu/packages/patches/qemu-CVE-2015-4103.patch,
  gnu/packages/patches/qemu-CVE-2015-4104.patch,
  gnu/packages/patches/qemu-CVE-2015-4105.patch,
  gnu/packages/patches/qemu-CVE-2015-4106-pt1.patch,
  gnu/packages/patches/qemu-CVE-2015-4106-pt2.patch,
  gnu/packages/patches/qemu-CVE-2015-4106-pt3.patch,
  gnu/packages/patches/qemu-CVE-2015-4106-pt4.patch,
  gnu/packages/patches/qemu-CVE-2015-4106-pt5.patch,
  gnu/packages/patches/qemu-CVE-2015-4106-pt6.patch,
  gnu/packages/patches/qemu-CVE-2015-4106-pt7.patch,
  gnu/packages/patches/qemu-CVE-2015-4106-pt8.patch,
  gnu/packages/patches/qemu-CVE-2015-5745.patch: Delete files.
* gnu/packages/patches/qemu-CVE-2015-6855.patch: New file.
* gnu-system.am (dist_patch_DATA): Add the new patch and delete the old ones.
* gnu/packages/qemu.scm (qemu-headless): Update to 2.4.0.1.  Add the new patch
  and delete the old ones.
2015-09-26 10:32:19 -04:00
Ludovic Courtès
e1556533d3 Merge branch 'core-updates' 2015-09-26 15:14:53 +02:00
Mathieu Lirzin
5d8d8f3b0a lint: Improve 'check-texinfo-markup'.
* guix/scripts/lint.scm (check-description-style): Set 'field' parameter
  when emitting a warning in 'check-texinfo-markup'.  Catch any error
  that may occur in during the 'texi->plain-text' conversion.  This is a
  followup to commit 2748ee3.
2015-09-26 15:10:13 +02:00
Andreas Enge
92f1cefb74 gnu: ibus: Add input gtk+-3.
* gnu/packages/ibus.scm (ibus)[inputs]: Add the required gtk+-3.
2015-09-26 11:22:11 +02:00
Ludovic Courtès
15d5ca1356 http-client: Backport Guile fix for 'read-chunk-header'.
Fixes the wrong-type-arg exception initially reported
at <http://debbugs.gnu.org/cgi/bugreport.cgi?bug=19976#5>
by Ricardo Wurmus <rekado@elephly.net>.

* guix/http-client.scm (read-chunk-header): Backport Guile commit 53b8d5f.
2015-09-26 11:13:50 +02:00
宋文武
dd8d6d6547 gnu: Add squashfs-tools.
* gnu/packages/compression.scm (squashfs-tools): New variable.
2015-09-26 10:31:07 +08:00
Ludovic Courtès
5ef9d7deea offload: Use gzip instead of xz for compression on the master.
* guix/scripts/offload.scm (send-files): Use gzip --fast instead of xz.
2015-09-25 22:35:35 +02:00