summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-12-20daemon: Implement signed archive import/export.Ludovic Courtès
* guix/scripts/authenticate.scm, nix/scripts/guix-authenticate.in, tests/signing-key.pub, tests/signing-key.sec: New files. * po/POTFILES.in: Add 'guix/scripts/authenticate.scm'. * guix/store.scm (dump-port): New procedure. (process-stderr): Add 'user-port' optional parameter. Handle the %STDERR-WRITE and %STDERR-READ cases as expected. (import-paths, export-path, export-paths): New procedures. * tests/store.scm ("export/import several paths", "import corrupt path"): New tests. * Makefile.am (MODULES): Add 'guix/scripts/authenticate.scm'. (EXTRA_DIST): Add 'tests/signing-key.{pub,sec}'. * daemon.am (libstore_a_CPPFLAGS)[-DNIX_CONF_DIR]: Change 'NIX_CONF_DIR' to .../guix. Change 'OPENSSL_PATH' to 'guix-authenticate'. * config-daemon.ac: Instantiate 'nix/scripts/guix-authenticate'. * nix/nix-daemon/guix-daemon.cc (main): Augment $PATH to include 'settings.nixLibexecDir'. * test-env.in: Export 'NIX_CONF_DIR' and 'NIX_LIBEXEC_DIR'. Populate $NIX_CONF_DIR.
2013-12-20pk-crypto: Add a few sexp utility procedures.Ludovic Courtès
* guix/pk-crypto.scm (gcry-sexp-car, gcry-sexp-cdr, gcry-sexp-nth, gcry-sexp-nth-data, dereference-size_t, latin1-string->bytevector, hash-data->bytevector): New procedures. * tests/pk-crypto.scm ("gcry-sexp-car + cdr", "gcry-sexp-nth", "gcry-sexp-nth-data", "bytevector->hash-data->bytevector"): New tests.
2013-12-20Update 'TODO'.Ludovic Courtès
2013-12-20Add (guix pk-crypto).Ludovic Courtès
* guix/pk-crypto.scm, tests/pk-crypto.scm: New files. * Makefile.am (MODULES, SCM_TESTS): Add them.
2013-12-19sync-with-upstream: Work around limitation of dash.Ludovic Courtès
Reported by Andreas Enge <andreas@enge.fr>. * nix/sync-with-upstream: Expand use of {cc,hh}, to placate dash.
2013-12-19daemon: Fix 'HashSink::currentHash()'.Ludovic Courtès
Before that, calls to 'HashSink::currentHash()' would eventually lead to a segfault because the underlying gcrypt handle has been closed. (Note that this method is only used via 'importPaths' and 'exportPath', though.) * nix/libutil/gcrypt-hash.hh (struct guix_hash_context): Add a constructor and a copy constructor; move out of 'extern "C"'. * nix/libutil/gcrypt-hash.cc (guix_hash_final): Clear 'md_handle' upon exit. * nix/sync-with-upstream (top_srcdir): Change hash.{cc,hh} to read 'struct Ctx' instead of 'union Ctx'.
2013-12-19daemon: Add libgcrypt call to state that the initialization is over.Ludovic Courtès
* nix/nix-daemon/guix-daemon.cc (main): Add 'gcry_control' call.
2013-12-18gnu: xf86-video-vmware: Add input xorg-server.Andreas Enge
* gnu/packages/xorg.scm (xf86-video-vmware): Add input xorg-server.
2013-12-18gnu: iso-codes: Update to 3.49.Andreas Enge
* gnu/packages/iso-codes.scm (iso-codes): Update to 3.49.
2013-12-18gnu: shishi: Use libgcrypt-1.5.Andreas Enge
* gnu/packages/shishi.scm (shishi): Use input libgcrypt-1.5 instead of 1.6.
2013-12-18gnu: libgcrypt: Make old version 1.5.3 public.Andreas Enge
* gnu/packages/gnupg.scm (libgcrypt-1.5): New variable. * gnu/packages/ssh.scm (libssh): Use libgcrypt-1.5 instead of defining it ad-hoc.
2013-12-17gnu: libssh: Upgrade to 0.5.5.Ludovic Courtès
* gnu/packages/ssh.scm (libssh): Upgrade to 0.5.5.
2013-12-17gnu: libssh: Build against an older libgcrypt.Ludovic Courtès
* gnu/packages/ssh.scm (libssh): Use libgcrypt 1.5.3 as an input.
2013-12-17gnu: ffmpeg: Modify runpath of binaries to include output library path.Andreas Enge
* gnu/packages/video.scm (ffmpeg): Patch binaries to add output library path to runpath.
2013-12-16gnu: tor: Upgrade to 0.2.4.19.Ludovic Courtès
* gnu/packages/tor.scm (tor): Upgrade to 0.2.4.19.
2013-12-16gnu: freeipmi: Upgrade to 1.3.4.Ludovic Courtès
* gnu/packages/freeipmi.scm (freeipmi): Upgrade to 1.3.4.
2013-12-16gnu: libgcrypt: Upgrade to 1.6.0.Ludovic Courtès
* gnu/packages/gnupg.scm (libgcrypt): Upgrade to 1.6.0.
2013-12-16pull: Move build code to (guix build pull).Ludovic Courtès
* guix/build/pull.scm: New file. * Makefile.am (MODULES): Add it. * guix/scripts/pull.scm (unpack): Use it.
2013-12-16gnu: Add gnome-desktop.Cyril Roelandt
* gnu/packages/gnome.scm (gnome-desktop): New variable.
2013-12-15gnu: Add iso-codes.Cyril Roelandt
* gnu/packages/iso-codes.scm: New file. * gnu-system.am: Add it.
2013-12-15gnu: Add libpeas.Cyril Roelandt
* gnu/packages/gnome.scm (libpeas): New variable.
2013-12-15gnu: gtk+: enable introspection.Cyril Roelandt
* gnu/packages/gtk.scm (atk, gdk-pixbuf, gtk+, pango): enable introspection * guix/build/gnome.scm: New file.
2013-12-15gnu: gobject-introspection: look for 'gcc' when no compiler seems available.Cyril Roelandt
* gnu/packages/patches/gobject-introspection.patch: New file.
2013-12-15gnu: Move libelf and patchelf to (gnu packages elf).Ludovic Courtès
* gnu/packages/patchelf.scm (patchelf): Move to... * gnu/packages/elf.scm (patchelf): ... here. * gnu/packages/patchelf.scm: Remove. * gnu-system.am (GNU_SYSTEM_MODULES): Adjust accordingly. * gnu/packages/gcc.scm (libelf): Move to... * gnu/packages/elf.scm (libelf): ... here. * gnu/packages/cdrom.scm, gnu/packages/icu4c.scm, gnu/packages/samba.scm, gnu/packages/scheme.scm, gnu/packages/ssh.scm: Adjust references to (gnu packages patchelf).
2013-12-15gnu: Add elfutils.Ludovic Courtès
* gnu/packages/elf.scm: New file. * gnu-system.am (GNU_SYSTEM_MODULES): Add it.
2013-12-15gnu: Move numerous "inputs" which should be "native-inputs".John Darrington
* gnu/packages/avahi.scm, gnu/packages/cdrom.scm, gnu/packages/cryptsetup.scm, gnu/packages/curl.scm, gnu/packages/emacs.scm, gnu/packages/fontutils.scm, gnu/packages/gdb.scm, gnu/packages/geeqie.scm, gnu/packages/ghostscript.scm, gnu/packages/glib.scm, gnu/packages/gnome.scm, gnu/packages/gnunet.scm, gnu/packages/gnupg.scm, gnu/packages/gnuzilla.scm, gnu/packages/graphviz.scm, gnu/packages/groff.scm, gnu/packages/gstreamer.scm, gnu/packages/gtk.scm, gnu/packages/gv.scm, gnu/packages/imagemagick.scm, gnu/packages/irssi.scm, gnu/packages/kde.scm, gnu/packages/libcanberra.scm, gnu/packages/libtiff.scm, gnu/packages/linux.scm, gnu/packages/lvm.scm, gnu/packages/mp3.scm, gnu/packages/netpbm.scm, gnu/packages/parted.scm, gnu/packages/pdf.scm, gnu/packages/pulseaudio.scm, gnu/packages/qemu.scm, gnu/packages/qt.scm, gnu/packages/ratpoison.scm, gnu/packages/rdf.scm, gnu/packages/slim.scm, gnu/packages/texlive.scm, gnu/packages/version-control.scm, gnu/packages/video.scm, gnu/packages/vpn.scm, gnu/packages/w3m.scm, gnu/packages/xml.scm, gnu/packages/xnee.scm, gnu/packages/xorg.scm, gnu/packages/zip.scm: Move some build-time dependencies from `inputs' to `native-inputs'. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2013-12-15gnu: gnupg: Fix cross-compile issues.John Darrington
* gnu/packages/gnupg.scm (libgpg-error): Add gcc as a native input, and set the CC_FOR_BUILD variable. * gnu/packages/gnupg.scm (libgcrypt): Add libgpg-error as a native input and set the --with-gpg-error-prefix configure option. * gnu/packages/gnupg.scm (libksba): Add libgpg-error as a native input and set the --with-gpg-error-prefix configure option. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2013-12-15gnu: openssl: Fix cross-compile issues.John Darrington
* gnu/packages/openssl.scm (openssl): Move perl from inputs to native-inputs. Replace reference to target bash with the native bash or target bash as appropriate. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2013-12-15gnu: imagemagick: Add inputs.Andreas Enge
* gnu/packages/imagemagick.scm (imagemagick): Add inputs fftw and lcms.
2013-12-15gnu: imagemagick: Update to 6.8.7-9.Andreas Enge
* gnu/packages/imagemagick.scm (imagemagick): Update to 6.8.7-9.
2013-12-14gnu: qt: Update to 5.2.0.Andreas Enge
* gnu/packages/qt.scm (qt): Update to 5.2.0.
2013-12-14guix package: allow multiple arguments after -i, -r, and -u.Mark H Weaver
* guix/scripts/package.scm (%options): Adapt option processors to accept and return a second seed value: 'arg-handler', which handles bare arguments (if not false). The install, remove, and upgrade option processors return an arg-handler that repeat the same operation. All other option processors return #f as the arg-handler. Make the arguments to install and remove optional. The upgrade option processor deletes (upgrade . #f) from the alist before adding a new entry. (guix-package): Procedures passed to 'args-fold*' accept the new seed value 'arg-handler'. The 'operand-proc' uses 'arg-handler' (if not false). * doc/guix.texi (Invoking guix package): Update docs. * tests/guix-package.sh: Add test.
2013-12-14gnu: libxml2: Fixed cross-compilation.John Darrington
* gnu/packages/xml.scm (libxml2): assign "cross-libc" to the variable glibc. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2013-12-14gnu: tzdata: Fix cross-compilation.Ludovic Courtès
Reported by John Darrington <john@darrington.wattle.id.au>. * gnu/packages/base.scm (tzdata): Use the 'source' keyword argument in phases rather than the "source" input. This fixes cross-compilation.
2013-12-14pull: Compile guix/ files before gnu/ files.Ludovic Courtès
* guix/scripts/pull.scm (unpack)[builder]: Build files under guix/ before files under gnu/.
2013-12-14pull: Compile files in parallel.Ludovic Courtès
* guix/scripts/pull.scm (unpack)[builder](compile-file*): Remove. (call-with-process, p-for-each): New procedures. Use them to compile files in parallel.
2013-12-14pull: Limit memory usage when compiling.Ludovic Courtès
Reported by Arne Babenhauserheide <arne.babenhauserheide@kit.edu>. * guix/scripts/pull.scm (unpack)[builder](compile-file*): Change to run 'compile-file' in a child process. This limits memory usage; before that memory usage was proportional to the number of files to compile.
2013-12-14gnu: icecat: Further analyse the failure of using system libpng and libjpeg.Andreas Enge
* gnu/packages/gnuzilla.scm (icecat): Add comments.
2013-12-13gnu: file: Fixed cross-compilation.John Darrington
* gnu/packages/file.scm (file): [(eq? (%current-target-system) #f)] Add native-inputs. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2013-12-13gnu: icecat: Build without debugging symbols; use some of the system libs.Ludovic Courtès
* gnu/packages/gnuzilla.scm (icecat): Add 'native-inputs'. Add bzip2, libevent, libffi, and zlib as inputs. Add #:configure-flags. Change 'configure' phase to honor it.
2013-12-13gnu: idutils: Add Emacs as an input so idutils.el gets compiled and installed.Ludovic Courtès
* gnu/packages/idutils.scm (idutils): Add Emacs to 'native-inputs'.
2013-12-13gnu: global: Install the elisp file under $out/share/emacs/site-lisp.Ludovic Courtès
* gnu/packages/global.scm (global)[arguments]: Add #:phases.
2013-12-13gnu: ffmpeg: Check via "make fate".Andreas Enge
* gnu/packages/patches/ffmpeg-check.patch: Drop patch. * gnu-system.am (dist_patch_DATA): Unregister patch. * gnu/packages/video.scm (ffmpeg): Drop patch and use "fate" as test target as recommended at http://trac.ffmpeg.org/ticket/3177#comment:11 . * gnu/packages/video.scm
2013-12-11gnu: libtasn1: Upgrade to 3.4.Ludovic Courtès
* gnu/packages/gnutls.scm (libtasn1): Upgrade to 3.4. Add 'native-inputs' field.
2013-12-11build: Skip one 'package-source-derivation' test when networking is missing.Ludovic Courtès
* tests/packages.scm ("package-source-derivation, snippet"): Skip when networking is missing.
2013-12-11gnu: guix: Upgrade to 0.5.Ludovic Courtès
* gnu/packages/package-management.scm (guix): Upgrade to 0.5. Update the bootstrap binaries; add mips64el; add 'guix-test-networking.patch'.
2013-12-11build: Bump to version 0.6.Ludovic Courtès
* configure.ac: Switch to 0.6.
2013-12-11Update 'NEWS'.Ludovic Courtès
2013-12-11build: Remove '..' from srcdir/builddir in 'pre-inst-env'.Ludovic Courtès
* pre-inst-env.in (abs_top_srcdir, abs_top_builddir): New variables. Use them instead of @abs_top_srcdir@ and @abs_top_builddir@. This fixes the "package-field-location, relative file name" test in 'make distcheck'.
2013-12-11doc: Slightly improve the "System Configuration" node.Ludovic Courtès
* doc/guix.texi (System Configuration): Add paragraph on upgrades and rollback, moved from "Using the Configuration System". (Using the Configuration System): Change variable name to 'komputilo'. Add xref to "Package Modules".