Commit Graph

8023 Commits

Author SHA1 Message Date
Federico Beffa d8b6fcdeda import: cabal: Make token recognition case-insensitive.
* guix/import/cabal.scm (make-rx-matcher): Add optional parameter FLAG.
  (is-property, is-flag, is-src-repo, is-exec, is-test-suite, is-benchmark,
  is-lib, is-else, is-if): Make test case-insensitive.
2015-07-08 10:53:05 +02:00
Federico Beffa 85ef742c25 gnu: Add emacs-mmm-mode.
* gnu/packages/emacs.scm (emacs-mmm-mode): New variable.
2015-07-08 10:53:05 +02:00
Federico Beffa 7839533458 gnu: Add emacs-auctex.
* gnu/packages/emacs.scm: New variable.
2015-07-08 10:53:05 +02:00
Federico Beffa e9137a5310 build: Add 'emacs-build-system'.
* Makefile.am (MODULES): Add 'guix/build-system/emacs.scm' and
  'guix/build/emacs-build-system.scm'.
* guix/build-system/emacs.scm: New file.
* guix/build/emacs-build-system.scm: New file.
* doc/guix.texi (Build Systems): Document it.
2015-07-08 10:53:05 +02:00
Federico Beffa 1d44b4e544 build: emacs-utils: Add 'emacs-byte-compile-directory'.
* guix/build/emacs-utils.scm (emacs-byte-compile-directory): New procedure.
2015-07-08 10:53:05 +02:00
Federico Beffa 7f74a931dd import: Add 'elpa' importer.
* guix/import/elpa.scm: New file.
* guix/scripts/import.scm: Add "elpa" to 'importers'.
* guix/scripts/import/elpa.scm: New file.
* Makefile.am (MODULES): Add 'guix/import/elpa.scm' and
  'guix/scripts/import/elpa.scm'.
  (SCM_TESTS): Add 'tests/elpa.scm'.
* doc/guix.texi (Invoking guix import): Document it.
* tests/elpa.scm: New file.
* po/guix/POTFILES.in: Add 'guix/scripts/import/elpa.scm'.
2015-07-08 10:53:05 +02:00
David Thompson 575b4b092d gnu: system: Move file-system->spec to (gnu system file-systems).
* gnu/system/linux-initrd.scm (file-system->spec): Move this...
* gnu/system/file-systems.scm: ... to here.
2015-07-07 21:20:59 -04:00
David Thompson 9110c2e942 gnu: system: Move <file-system-mapping> into (gnu system file-systems).
* gnu/system/vm.scm (<file-system-mapping>, %store-mapping): Move from here...
* gnu/system/file-systems.scm: ...to here.
* guix/scripts/system.scm: Import (gnu system file-systems).
2015-07-07 21:20:59 -04:00
David Thompson df3ce5c123 build: syscalls: Add pivot-root.
* guix/build/syscalls.scm (pivot-root): New procedure.
* tests/syscalls.scm ("pivot-root"): New test.
2015-07-07 21:16:25 -04:00
David Thompson 43ace6ea76 build: syscalls: Add setns.
* guix/build/syscalls.scm (setns): New procedure.
* tests/syscalls.scm ("setns"): New test.

squash: setns
2015-07-07 20:55:09 -04:00
David Thompson 8950ed11c6 build: syscalls: Add clone.
* guix/build/syscalls.scm (clone): New procedure.
  (CLONE_NEWNS, CLONE_NEWUTS, CLONE_NEWIPC, CLONE_NEWUSER, CLONE_NEWPID,
  CLONE_NEWNET): New variables.
* tests/syscalls.scm ("clone"): New test.
2015-07-07 20:35:08 -04:00
Cyril Roelandt 0e88cbf8c1 gnu: python-testtools: make python-mimeparse a propagated input
* gnu/packages/python.scm (python-testtools): move python-mimeparse from inputs
  to propagated-inputs.
2015-07-08 02:28:51 +02:00
David Thompson db6e5e2b2c utils: Add call-with-temporary-directory.
* guix/utils.scm (call-with-temporary-directory): New procedure.
2015-07-07 18:47:25 -04:00
David Thompson b4abdeb63b build: syscalls: Add mkdtemp!
* guix/build/syscalls.scm (mkdtemp!): New procedure.
* tests/syscalls.scm ("mkdtemp!"): New test.
2015-07-07 18:46:44 -04:00
David Thompson b16d138a0a build: syscalls: Add unmount flags.
* guix/build/syscalls.scm (MNT_FORCE, MNT_DETACH, MNT_EXPIRE)
  (UMOUNT_NOFOLLOW): New variables.
2015-07-07 18:38:41 -04:00
David Thompson 577c02eb40 build: syscalls: Add additional mount flags.
* guix/build/syscalls.scm (MS_NOSUID, MS_NODEV, MS_NOEXEC, MS_STRICTATIME):
  New variables.
2015-07-07 18:38:41 -04:00
Ludovic Courtès 4931dfcdfd tests: Test the exit code of 'guix environment'.
This is a followup to d2cef62.

* tests/guix-environment.sh: Add test for the exit code.
2015-07-08 00:06:45 +02:00
Ludovic Courtès a8afb9aed3 store: 'run-with-store' initializes %CURRENT-TARGET-SYSTEM to #f.
* guix/store.scm (run-with-store): Set %CURRENT-TARGET-SYSTEM to #f.
* tests/gexp.scm ("gexp->derivation vs. %current-target-system"): New test.
2015-07-08 00:06:45 +02:00
Mark H Weaver d7facc6603 gnu: cups-filters: Update to 1.0.71.
* gnu/packages/cups.scm (cups-filters): Update to 1.0.71.
2015-07-07 16:47:48 -04:00
Mark H Weaver b1982b80ca gnu: zathura-{cb,ps,djvu,pdf-poppler}: Fix installation of desktop files.
Based on a patch by Alex Kost <alezost@gmail.com>.

* gnu/packages/pdf.scm (zathura-cb, zathura-ps, zathura-djvu)
  (zathura-pdf-poppler)[arguments]: In make-flags, set PREFIX instead of
  DESTDIR and adjust PLUGINDIR accordingly.
2015-07-07 15:58:35 -04:00
Mark H Weaver 734976b681 gnu: libdvdnav: Update to 5.0.3.
* gnu/packages/video.scm (libdvdnav): Update to 5.0.3.
2015-07-07 14:48:09 -04:00
Mark H Weaver 9aebf3301a gnu: libdvdread: Update to 5.0.3.
* gnu/packages/video.scm (libdvdread): Update to 5.0.3.
2015-07-07 14:48:09 -04:00
Alex Kost c05c43216f system: Fix typo.
* gnu/system.scm (etc-directory): Fix typo in a comment.
2015-07-07 21:28:53 +03:00
Mathieu Lirzin 7eff42432b Prevent Git from silently ignoring new files.
* .gitignore: Ignore only specific files instead of the whole
  'build-aux' directory.
2015-07-07 20:01:35 +02:00
Mark H Weaver e088410984 gnu: Add libmpeg2.
* gnu/packages/video.scm (libmpeg2): New variable.
2015-07-07 13:09:36 -04:00
Mark H Weaver 23da88f61e gnu: liba52: Build shared library.
* gnu/packages/patches/liba52-enable-pic.patch,
  gnu/packages/patches/liba52-link-with-libm.patch,
  gnu/packages/patches/liba52-set-soname.patch,
  gnu/packages/patches/liba52-use-mtune-not-mcpu.patch: New files.
* gnu-system.am (dist_patch_DATA): Add them.
* gnu/packages/video.scm (liba52)[source]: Add patches.
  [native-inputs]: Add autoconf, automake, and libtool.
  [arguments]: Add "--enable-shared" to configure-flags.
  Add 'bootstrap' phase.
2015-07-07 10:52:04 -04:00
David Thompson 4ca5c91f65 gnu: ruby: Remove custom 'rake gem' build phase from all gems.
* gnu/packages/ruby.scm (ruby-hoe, ruby-rake-compiler,
  ruby-net-http-persistent, ruby-minitest, ruby-minitest-sprint,
  ruby-minitest-bacon): Remove custom 'rake gem' build phase that is now
  handled automatically by the Ruby build system.
2015-07-07 08:54:29 -04:00
pjotrp 76ae915ec8 build: ruby: Run 'rake gem' when gemspec is missing.
* guix/build/ruby-build-system.scm (build): Run 'rake gem' when there is no
  gemspec in the source tree.

Co-Authored-By: David Thompson <davet@gnu.org>
2015-07-07 08:54:29 -04:00
Ricardo Wurmus 795c01f31d gnu: samtools: Update to 1.2.
* gnu/packages/bioinformatics.scm (samtools): Update to 1.2.
2015-07-07 14:43:07 +02:00
Andreas Enge 66b2b085ce gnu: pari-gp: Update to 2.7.4.
* gnu/packages/algebra.scm (pari-gp): Update to 2.7.4.
2015-07-07 13:19:09 +02:00
Mark H Weaver 48cfe294b0 gnu: icecat: Apply more libvpx-1.4 fixes.
This is a followup to commit c803ffcb3a.

* gnu/packages/patches/icecat-libvpx-1.4.patch: Augment existing patch to
  include fixes for content/media/encoder/VP8TrackEncoder.cpp.
2015-07-07 02:59:59 -04:00
Mark H Weaver c803ffcb3a gnu: icecat: Fix build against libvpx 1.4.
* gnu/packages/patches/icecat-libvpx-1.4.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/gnuzilla.scm (icecat)[source]: Add patch.
2015-07-06 23:01:56 -04:00
Mark H Weaver 0ba652b2f5 gnu: gst-plugins-good: Disable rtprtx tests that frequently fail.
* gnu/packages/gstreamer.scm (arguments): Add 'disable-failing-rtprtx-tests'
  phase.
2015-07-06 21:36:33 -04:00
Mark H Weaver 723e886656 gnu: libvpx: Update to 1.4.0.
* gnu/packages/patches/libvpx-fix-armhf-link.patch,
  gnu/packages/patches/libvpx-fix-ssse3-quantize.patch,
  gnu/packages/patches/libvpx-vp9-out-of-bounds-access.patch: Remove files.
* gnu-system.am (dist_patch_DATA): Remove them.
* gnu/packages/video.scm (libvpx): Update to 1.4.0.  Remove patches.  Update
  source URI.
2015-07-06 21:17:05 -04:00
Mark H Weaver 9ed5486439 gnu: libwmf: Fix CVE-2006-3376, CVE-2009-1364, CVE-2015-{0848,4588,4695,4696}.
* gnu/packages/patches/libwmf-CVE-2006-3376.patch,
  gnu/packages/patches/libwmf-CVE-2009-1364.patch,
  gnu/packages/patches/libwmf-CVE-2015-0848+4588+4695+4696.patch: New files.
* gnu-system.am (dist_patch_DATA): Add them.
* gnu/packages/image.scm (libwmf)[source]: Add patches.
2015-07-06 20:04:50 -04:00
Andy Patterson 075d99f195 substitute: Avoid infinite loop when updating the substitute list.
Reported
at <http://lists.gnu.org/archive/html/guix-devel/2015-07/msg00119.html>.

* guix/scripts/substitute.scm (http-multiple-get): When RESP has "Connection:
  close", consume HEAD anyway; always call PROC to read from BODY.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2015-07-07 01:04:02 +02:00
Ludovic Courtès 399f9acee3 daemon: Flush upon '\r' when reading the substituter's stderr.
This commit had been inadvertently reverted in 322eeb8.

* nix/libstore/local-store.cc (LocalStore::getLineFromSubstituter):
  Flush when the line contains '\r'.
2015-07-07 01:03:45 +02:00
Alex Kost a8ac45b19e build: Generate 'AUTHORS'.
* build-aux/generate-authors.scm: New file.
* Makefile.am (gen-AUTHORS): New target.
  (dist-hook, .PHONY): Add it.
2015-07-06 19:00:19 +03:00
Andreas Enge f2820e0763 gnu: libreoffice: Update to 4.4.4.3.
* gnu/packages/libreoffice.scm (libreoffice): Update to 4.4.4.3.
2015-07-06 08:26:42 +02:00
Ludovic Courtès 1109ddcd54 gnu: freeipmi: Update to 1.4.9.
* gnu/packages/freeipmi.scm (freeipmi): Update to 1.4.9.
2015-07-06 00:47:09 +02:00
Ludovic Courtès 6cb2533b1e gnu: gcal: Update to 4.
* gnu/packages/gcal.scm (gcal): Update to 4.
2015-07-06 00:47:09 +02:00
Ludovic Courtès 0bd6f138d9 gnu: gxmessage: Update to 3.4.3.
* gnu/packages/gxmessage.scm (gxmessage): Update to 3.4.3.
  [inputs]: Use GTK+ instead of GTK+-2.
2015-07-06 00:47:09 +02:00
Ludovic Courtès af87a551bc gnu: guile-sdl: Update to 0.5.2.
* gnu/packages/sdl.scm (guile-sdl): Update to 0.5.2.
  [arguments]: Augment 'fix-env-and-path' phase to modify 'test/Makefile.in'.
2015-07-06 00:47:09 +02:00
Ricardo Wurmus d19cf78357 gnu: powertabeditor: Update to 2.0.0-alpha8.
* gnu/packages/music.scm (powertabeditor): Update to 2.0.0-alpha8.
2015-07-05 20:57:04 +02:00
Ricardo Wurmus 7e11d11355 gnu: powertabeditor: Enable tests.
* gnu/packages/music.scm (powertabeditor)[arguments]: Run "pte_tests" in
  "check" phase; add phase "fix-tests".
2015-07-05 20:57:04 +02:00
Andreas Enge 9884d7ec8e download: Reference tls instead of renamed gnutls module.
* guix/download.scm (gnutls-package): Use new module name tls instead
  of gnutls.
2015-07-05 19:11:04 +02:00
Andreas Enge cb6a802c01 gnu: Add LibreSSL.
* gnu/packages/tls.scm (libressl): New variable.
2015-07-05 19:03:34 +02:00
Andreas Enge e9aa8d0ccb gnu: Fix ambiguity between openssl package and license in tls module.
* gnu/packages/tls.scm: Prefix imported licenses.
2015-07-05 19:03:34 +02:00
Mark H Weaver 90e1cdae0c gnu: icecat: Add support for WebGL, CUPS, Hunspell, startup-notification, etc.
Also remove most bundled libraries from the source, add comments about
libraries yet to be unbundled, explicitly link libxul.so with libraries that
might try (and fail) to dlopen, and remove the h264parse gstreamer module from
the blacklist.

* gnu/packages/gnuzilla.scm (icecat)[source]: Add snippet.
  [inputs]: Add cups, gdk-pixbuf, glib, hunspell, libcanberra, libgnome,
  libxinerama, libxscrnsaver, mit-krb5, and startup-notification.
  [arguments]<#:configure-flags>: add "--enable-default-toolkit=cairo-gtk2",
  "--enable-pango", "--enable-gio", "--enable-svg", "--enable-canvas",
  "--enable-mathml", "--enable-startup-notification", "--disable-gnomevfs",
  "--disable-gconf", "--disable-gnomeui", and "--enable-system-hunspell".
  Remove outdated comment about "--with-system-bz2" not being used.
  <#:phases>: Use 'modify-phases'.  Add 'remove-h264parse-from-blacklist'
  and 'arrange-to-link-libxul-with-libraries-it-might-dlopen' phases.
2015-07-05 12:58:56 -04:00
Andreas Enge cc2b77dfc7 gnu: Move content of openssl module into tls module.
* gnu/packages/openssl.scm (openssl, perl-net-ssleay): Move to...
* gnu/packages/tls.scm: ...here.
* gnu/packages/openssl.scm: Delete file.
* gnu-system.am (GNU_SYSTEM_MODULES): Unregister deleted file.
* gnu/packages/{admin.scm, bittorrent.scm, certs.scm, ci.scm,
  cyrus-sasl.scm, databases.scm, dns.scm, ebook.scm, enlightenment.scm,
  gnunet.scm, libreoffice.scm, links.scm, mail.scm, messaging.scm,
  networking.scm, ntp.scm, openldap.scm, package-management.scm, pdf.scm,
  python.scm, qt.scm, rdesktop.scm, rdf.scm, ruby.scm, ssh.scm,
  synergy.scm, tor.scm, version-control.scm, video.scm, vpn.scm,
  w3m.scm, web.scm, weechat.scm, xiph.scm}: Adapt module import.
2015-07-05 18:27:24 +02:00