jackhill/guix/guix.git
11 years agoAdd Mark to `AUTHORS'.
Ludovic Courtès [Sun, 17 Feb 2013 21:19:11 +0000 (22:19 +0100)]
Add Mark to `AUTHORS'.

11 years agobuild: Build guix/scripts/download.go after guix/build/download.go.
Ludovic Courtès [Sun, 17 Feb 2013 21:18:16 +0000 (22:18 +0100)]
build: Build guix/scripts/download.go after guix/build/download.go.

* Makefile.am (guix/scripts/download.go): Add dependency on
  `guix/build/download.go'.
  Reported by Nikita Karetnikov <nikita@karetnikov.org>.

11 years agoscripts: Remove hyphen in the command name shown by `--version'.
Ludovic Courtès [Sun, 17 Feb 2013 15:25:30 +0000 (16:25 +0100)]
scripts: Remove hyphen in the command name shown by `--version'.

* guix/scripts/build.scm (%options): Remove hyphen from the name passed
  to `show-version-and-exit'.
* guix/scripts/download.scm (%options): Likewise.
* guix/scripts/gc.scm (%options): Likewise.
* guix/scripts/import.scm (%options): Likewise.
* guix/scripts/package.scm (%options): Likewise.

11 years agognu: guile-reader: Rename packages to avoid version number confusion.
Mark H Weaver [Sun, 17 Feb 2013 18:25:06 +0000 (13:25 -0500)]
gnu: guile-reader: Rename packages to avoid version number confusion.

* gnu/packages/guile.scm (guile-reader): Change the character preceding the
  guile version number from '-' to '_' so that it will not be misinterpreted
  as the package version number.

11 years agoUpdate `TODO'.
Mark H Weaver [Sun, 17 Feb 2013 18:23:45 +0000 (13:23 -0500)]
Update `TODO'.

11 years agoscripts: Remove initialization now redundant with `initialize-guix'.
Ludovic Courtès [Sun, 17 Feb 2013 14:38:02 +0000 (15:38 +0100)]
scripts: Remove initialization now redundant with `initialize-guix'.

* guix/scripts/build.scm (guix-build): Remove calls to `install-locale',
  `textdomain', etc., now redundant with `initialize-guix'.
* guix/scripts/download.scm (guix-download): Likewise.
* guix/scripts/import.scm (guix-import): Likewise.
* guix/scripts/package.scm (guix-package): Likewise.
* guix/ui.scm: Remove export of `install-locale' and `initialize-guix'.
  (initialize-guix): Add docstring.

11 years agognu: texinfo: Update to 5.0.
Ludovic Courtès [Sun, 17 Feb 2013 14:01:52 +0000 (15:01 +0100)]
gnu: texinfo: Update to 5.0.

* gnu/packages/texinfo.scm (texinfo): Update to 5.0.

11 years agoReplace individual scripts with master 'guix' script.
Mark H Weaver [Thu, 14 Feb 2013 09:15:25 +0000 (04:15 -0500)]
Replace individual scripts with master 'guix' script.

* scripts/guix.in: New script.

* Makefile.am (bin_SCRIPTS): Add 'scripts/guix'.  Remove 'guix-build',
  'guix-download', 'guix-import', 'guix-package', and 'guix-gc'.

  (MODULES): Add 'guix/scripts/build.scm', 'guix/scripts/download.scm',
  'guix/scripts/import.scm', 'guix/scripts/package.scm', and
  'guix/scripts/gc.scm'.

* configure.ac (AC_CONFIG_FILES): Add 'scripts/guix'.  Remove 'guix-build',
  'guix-download', 'guix-import', 'guix-package', and 'guix-gc'.

* guix-build.in, guix-download.in, guix-gc.in, guix-import.in,
  guix-package.in: Remove shell script boilerplate.  Move to guix-COMMAND.in
  to guix/scripts/COMMAND.scm.  Rename module from (guix-COMMAND) to
  (guix scripts COMMAND).  Change "guix-COMMAND" to "guix COMMAND" in
  usage help string.

* pre-inst-env.in: Add "@abs_top_builddir@/scripts" to the front of $PATH.
  Export $GUIX_UNINSTALLED.

* tests/guix-build.sh, tests/guix-daemon.sh, tests/guix-download.sh,
  tests/guix-gc.sh, tests/guix-package.sh: Use "guix COMMAND" instead of
  "guix-COMMAND".

* doc/guix.texi: Replace all occurrences of "guix-COMMAND" with
  "guix COMMAND".

* po/POTFILES.in: Update.

11 years agoAdd (gnu system vm).
Ludovic Courtès [Sat, 16 Feb 2013 02:28:26 +0000 (03:28 +0100)]
Add (gnu system vm).

* gnu/system/vm.scm: New file.
* Makefile.am (MODULES): Add it.

11 years agognu: Add support for Guile in Linux initrd.
Ludovic Courtès [Sat, 16 Feb 2013 02:25:59 +0000 (03:25 +0100)]
gnu: Add support for Guile in Linux initrd.

* gnu/packages/linux-initrd.scm: New file.

11 years agognu: qemu-kvm: Add patch to have multiple SMB shares.
Ludovic Courtès [Sat, 16 Feb 2013 01:09:10 +0000 (02:09 +0100)]
gnu: qemu-kvm: Add patch to have multiple SMB shares.

* gnu/packages/qemu.scm (qemu-kvm/smb-shares): New variable.
* gnu/packages/patches/qemu-multiple-smb-shares.patch: New file.
* Makefile.am (dist_patch_DATA): Add it.

11 years agopackages: Add `package-output'.
Ludovic Courtès [Sat, 16 Feb 2013 00:37:26 +0000 (01:37 +0100)]
packages: Add `package-output'.

* guix/packages.scm (package-output): New procedure.
* tests/packages.scm ("package-output"): New test.

11 years agognu: guile-static: Change `name' field.
Ludovic Courtès [Fri, 15 Feb 2013 23:30:25 +0000 (00:30 +0100)]
gnu: guile-static: Change `name' field.

* gnu/packages/make-bootstrap.scm (%guile-static): Add `name' field with
  `-static' suffix.

11 years agognu: guile-static: Add bindings for `reboot'.
Ludovic Courtès [Fri, 15 Feb 2013 23:29:43 +0000 (00:29 +0100)]
gnu: guile-static: Add bindings for `reboot'.

* gnu/packages/patches/guile-linux-syscalls.patch: Add `scm_reboot'.

11 years agognu: qemu: Add dependency on Samba.
Ludovic Courtès [Fri, 15 Feb 2013 21:36:05 +0000 (22:36 +0100)]
gnu: qemu: Add dependency on Samba.

* gnu/packages/qemu.scm (qemu-kvm): Add dependency on Samba; pass
  `--smbd' to ./configure.

11 years agognu: samba: Augment the RUNPATH of executables to point to $out/lib.
Ludovic Courtès [Fri, 15 Feb 2013 21:04:51 +0000 (22:04 +0100)]
gnu: samba: Augment the RUNPATH of executables to point to $out/lib.

* gnu/packages/samba.scm (samba): Add `add-lib-to-runpath' phase, and
  PatchELF as an input.

11 years agognu: Add GNU Parted.
Nikita Karetnikov [Fri, 15 Feb 2013 10:46:29 +0000 (10:46 +0000)]
gnu: Add GNU Parted.

* gnu/packages/parted.scm: New file.
* Makefile.am (MODULES): Add it.

11 years agognu: guile-static: Add bindings for low-level Linux syscalls.
Ludovic Courtès [Thu, 14 Feb 2013 23:29:28 +0000 (00:29 +0100)]
gnu: guile-static: Add bindings for low-level Linux syscalls.

* gnu/packages/make-bootstrap.scm (%guile-static): Add
  `guile-linux-syscalls.patch' as an input, and use it.
* gnu/packages/patches/guile-linux-syscalls.patch: New file.
* Makefile.am (dist_patch_DATA): Add it.

11 years agognu: linux-libre: Choose a config without debugging features.
Ludovic Courtès [Thu, 14 Feb 2013 23:26:52 +0000 (00:26 +0100)]
gnu: linux-libre: Choose a config without debugging features.

* gnu/packages/linux.scm (linux-libre): Choose "defconfig" instead of
  "allmodconfig" since the latter enables all debugging features.  Add
  `CONFIG_CIFS=m'.

11 years agognu: Add vim.
Cyril Roelandt [Wed, 13 Feb 2013 22:20:11 +0000 (23:20 +0100)]
gnu: Add vim.

* gnu/packages/vim.scm: New file.
* Makefile.am (MODULES): Add it.

11 years agoBuild newest versions unless specified, and implement upgrades.
Mark H Weaver [Tue, 12 Feb 2013 06:24:21 +0000 (01:24 -0500)]
Build newest versions unless specified, and implement upgrades.

* gnu/packages.scm (find-newest-available-packages):
  New exported procedure.

* guix-build.in (newest-available-packages, find-best-packages-by-name):
  New procedures.
  (find-package): Use find-best-packages-by-name, to guarantee that
  if a version number is not specified, only the newest versions will
  be considered.

* guix-package.in (%options): Add --upgrade/-u option.
  (newest-available-packages, find-best-packages-by-name, upgradeable?):
  New procedures.
  (find-package): Use find-best-packages-by-name, to guarantee that
  if a version number is not specified, only the newest versions will
  be considered.
  (process-actions): Implement upgrade option.

* doc/guix.texi (Invoking guix-package): In the description of --install,
  mention that if no version number is specified, the newest available
  version will be selected.

11 years agoInhibit duplicates in fold-packages.
Mark H Weaver [Wed, 13 Feb 2013 01:29:30 +0000 (20:29 -0500)]
Inhibit duplicates in fold-packages.

* gnu/packages.scm (fold2): New procedure.
  (fold-packages): Rework to suppress duplicates.

11 years agobuild-system/gnu: Make the strip behavior of `static-package' configurable.
Ludovic Courtès [Wed, 13 Feb 2013 23:14:29 +0000 (00:14 +0100)]
build-system/gnu: Make the strip behavior of `static-package' configurable.

* guix/build-system/gnu.scm (static-package): Add #:strip-all? keyword
  parameter.

11 years agognu: guile-static: Use libgc build with `USE_LIBC_PRIVATES'.
Ludovic Courtès [Wed, 13 Feb 2013 20:42:34 +0000 (21:42 +0100)]
gnu: guile-static: Use libgc build with `USE_LIBC_PRIVATES'.

* gnu/packages/make-bootstrap.scm (%guile-static): Use libgc build with
  CPPFLAGS=-DUSE_LIBC_PRIVATES.
* gnu/packages/bdw-gc.scm (libgc): Add TODO to always do it.

11 years agognu: Add missing patch for mcron.
Ludovic Courtès [Wed, 13 Feb 2013 15:09:29 +0000 (16:09 +0100)]
gnu: Add missing patch for mcron.

* gnu/packages/patches/mcron-install.patch: New file.
* Makefile.am (dist_patch_DATA): Add it.

11 years agognu: Add GNU Wdiff.
Nikita Karetnikov [Wed, 13 Feb 2013 02:18:46 +0000 (02:18 +0000)]
gnu: Add GNU Wdiff.

* gnu/packages/wdiff.scm: New file.
* Makefile.am (MODULES): Add it.

11 years agoAdd version-compare and version>? to utils.scm.
Mark H Weaver [Tue, 12 Feb 2013 17:02:15 +0000 (12:02 -0500)]
Add version-compare and version>? to utils.scm.

* guix/utils.scm (version-compare, version>?): New exported procedures,
  based on version-string>?, which was formerly in gnu-maintenance.scm.

* guix/gnu-maintenance.scm (version-string>?): Removed procedure.
  (latest-release): Use 'version>?' instead of 'version-string>?'.

11 years agognu: Add signing-party.
Andreas Enge [Tue, 12 Feb 2013 23:41:05 +0000 (00:41 +0100)]
gnu: Add signing-party.

* gnu/packages/gnupg.scm (signing-party): New variable.

11 years agognu: wget: Drop manual handling of /usr/bin/env.
Andreas Enge [Sun, 24 Feb 2013 17:06:22 +0000 (18:06 +0100)]
gnu: wget: Drop manual handling of /usr/bin/env.

* gnu/packages/wget.scm (wget): Drop patch-/usr/bin/env phase.

11 years agognu: curl: Let patch-shebang handle /usr/bin/env.
Andreas Enge [Sun, 24 Feb 2013 16:54:51 +0000 (17:54 +0100)]
gnu: curl: Let patch-shebang handle /usr/bin/env.

* gnu/packages/curl.scm (curl): Drop manual rewriting of #!/usr/bin/env.

11 years agognu: openldap: Disable tests, they fail too randomly probably due to
Andreas Enge [Sun, 24 Feb 2013 15:41:27 +0000 (16:41 +0100)]
gnu: openldap: Disable tests, they fail too randomly probably due to
   timeouts in the server.

* gnu/packages/openldap.scm (openldap): Drop all tests.

11 years agoPatch-shebang: Do not add space after interpreter without argument.
Andreas Enge [Sat, 23 Feb 2013 22:27:46 +0000 (23:27 +0100)]
Patch-shebang: Do not add space after interpreter without argument.

* guix/build/utils.scm (patch-shebang): Do not add a space after a command
  interpreter not followed by an argument; this made two tests of
  coreutils fail.

11 years agoPatch-shebang: Handle "#!/usr/bin/env command"
Andreas Enge [Fri, 22 Feb 2013 22:00:41 +0000 (23:00 +0100)]
Patch-shebang: Handle "#!/usr/bin/env command"

* guix/build/utils.scm (patch-shebang): Handle replacement of
   "#!.*/env CMD ARGS" by "#!/nix/store/path/.../to/CMD ARGS".

11 years agognu: gmp: Update to version 5.1.1.
Andreas Enge [Tue, 12 Feb 2013 21:06:47 +0000 (22:06 +0100)]
gnu: gmp: Update to version 5.1.1.

* gnu/packages/multiprecision.scm (gmp): Update to version 5.1.1.

11 years agoAdd pre-inst-env and test-env to nodist_noinst_SCRIPTS in Makefile.am.
Mark H Weaver [Tue, 12 Feb 2013 00:23:20 +0000 (19:23 -0500)]
Add pre-inst-env and test-env to nodist_noinst_SCRIPTS in Makefile.am.

* Makefile.am: Add nodist_noinst_SCRIPTS = pre-inst-env test-env.

11 years agognu: Add Samba and iniparser.
Ludovic Courtès [Tue, 12 Feb 2013 18:35:54 +0000 (19:35 +0100)]
gnu: Add Samba and iniparser.

* gnu/packages/samba.scm: New file.
* Makefile.am (MODULES): Add it.

11 years agognu: bigloo: Install Emacs modes.
Ludovic Courtès [Tue, 12 Feb 2013 11:16:45 +0000 (12:16 +0100)]
gnu: bigloo: Install Emacs modes.

* gnu/packages/scheme.scm (bigloo): Add `install-emacs-modes' phase.

11 years agognu: gnupg: Add optional inputs curl and openldap.
Andreas Enge [Tue, 12 Feb 2013 14:15:18 +0000 (15:15 +0100)]
gnu: gnupg: Add optional inputs curl and openldap.

* gnu/packages/gnupg.scm (gnupg): Add inputs.

11 years agognu: gnupg: Patch out /bin/sh in generated file.
Andreas Enge [Mon, 11 Feb 2013 22:17:07 +0000 (23:17 +0100)]
gnu: gnupg: Patch out /bin/sh in generated file.

* gnu/packages/gnupg.scm (gnupg): Modify configure phase.

11 years agognu: Rename module 'freetype' to the more general 'fontutils'.
Andreas Enge [Tue, 12 Feb 2013 12:19:26 +0000 (13:19 +0100)]
gnu: Rename module 'freetype' to the more general 'fontutils'.

* gnu/packages/freetype.scm: Rename file to...
* gnu/packages/fontutils.scm: ...this.
* Makefile.am (MODULES): Rename module.
* gnu/packages/{ghostscript,grub,pdf,texlive}.scm: Rename dependency.

11 years agodoc: Add the commit policy to HACKING.
Ludovic Courtès [Mon, 11 Feb 2013 23:14:20 +0000 (00:14 +0100)]
doc: Add the commit policy to HACKING.

* HACKING (Commit Access): New section.

11 years agobuild: Export `NIX_ROOT_FINDER' and `NIX_SETUID_HELPER' from `pre-inst-env'.
Ludovic Courtès [Mon, 11 Feb 2013 22:26:00 +0000 (23:26 +0100)]
build: Export `NIX_ROOT_FINDER' and `NIX_SETUID_HELPER' from `pre-inst-env'.

* pre-inst-env.in (NIX_ROOT_FINDER, NIX_SETUID_HELPER): New variables.
  Reported by Cyril Roelandt <tipecaml@gmail.com>.

11 years agognu: Add popt.
Ludovic Courtès [Mon, 11 Feb 2013 22:04:18 +0000 (23:04 +0100)]
gnu: Add popt.

* gnu/packages/popt.scm (popt): New file.
* Makefile.am (MODULES): Add it.

11 years agognu: Add Linux-Libre.
Ludovic Courtès [Mon, 11 Feb 2013 22:02:26 +0000 (23:02 +0100)]
gnu: Add Linux-Libre.

* gnu/packages/linux.scm (linux-libre): New variable.

11 years agognu: Add libunwind.
Ludovic Courtès [Mon, 11 Feb 2013 21:44:42 +0000 (22:44 +0100)]
gnu: Add libunwind.

* gnu/packages/libunwind.scm: New file.
* Makefile.am (MODULES): Add it.

11 years agognu: Add Linux module-init-tools.
Ludovic Courtès [Mon, 11 Feb 2013 10:39:57 +0000 (11:39 +0100)]
gnu: Add Linux module-init-tools.

* gnu/packages/linux.scm (module-init-tools): New variable.

11 years agognu: Add pius.
Andreas Enge [Mon, 11 Feb 2013 22:55:18 +0000 (23:55 +0100)]
gnu: Add pius.

* gnu/packages/gnupg.scm (pius): New variable.

11 years agognu: Add tmux. licenses: add ISC.
Cyril Roelandt [Mon, 11 Feb 2013 02:32:51 +0000 (03:32 +0100)]
gnu: Add tmux.  licenses: add ISC.

* gnu/packages/tmux.scm: New file.
* Makefile.am (MODULES): Use it.
* guix/licenses.scm: add ISC.

11 years agognu: texlive: Add input (t)csh.
Andreas Enge [Mon, 11 Feb 2013 10:07:02 +0000 (11:07 +0100)]
gnu: texlive: Add input (t)csh.

* gnu/packages/texlive.scm (texlive): Add input tcsh.

11 years agognu: Add tcsh.
Cyril Roelandt [Thu, 7 Feb 2013 00:06:37 +0000 (01:06 +0100)]
gnu: Add tcsh.

* gnu/packages/tcsh.scm: New file.
* gnu/packages/patches/tcsh-fix-autotest.patch: New file
* Makefile.am: Add them.

11 years agognu: Add e2fsprogs.
Ludovic Courtès [Sun, 10 Feb 2013 22:48:41 +0000 (23:48 +0100)]
gnu: Add e2fsprogs.

* gnu/packages/linux.scm (e2fsprogs): New variable.

11 years agognu: Add GNU GRUB.
Ludovic Courtès [Sun, 10 Feb 2013 17:48:23 +0000 (18:48 +0100)]
gnu: Add GNU GRUB.

* gnu/packages/grub.scm,
  gnu/packages/patches/grub-gets-undeclared.patch: New files.
* Makefile.am (MODULES): Add grub.scm.
  (dist_patch_DATA): Add grub-gets-undeclared.patch.

11 years agognu: Add QEMU.
Ludovic Courtès [Sun, 10 Feb 2013 17:28:00 +0000 (18:28 +0100)]
gnu: Add QEMU.

* gnu/packages/autotools.scm (autoconf-wrapper): Make public.
* gnu/packages/qemu.scm (qemu): New variable.

11 years agoRe-export `%current-system' from (guix packages).
Ludovic Courtès [Sun, 10 Feb 2013 16:23:48 +0000 (17:23 +0100)]
Re-export `%current-system' from (guix packages).

* guix/packages.scm: Re-export `%current-system'.
* gnu/packages/bdw-gc.scm, gnu/packages/gawk.scm,
  gnu/packages/gperf.scm, gnu/packages/libffi.scm,
  gnu/packages/libsigsegv.scm, gnu/packages/libunistring.scm,
  gnu/packages/lout.scm, gnu/packages/m4.scm,
  gnu/packages/multiprecision.scm, gnu/packages/ncurses.scm,
  gnu/packages/perl.scm, gnu/packages/pkg-config.scm,
  gnu/packages/readline.scm, gnu/packages/recutils.scm,
  gnu/packages/scheme.scm: Remove (guix utils) import.

11 years agognu: Add description and license for QEMU-KVM.
Ludovic Courtès [Sun, 10 Feb 2013 16:01:47 +0000 (17:01 +0100)]
gnu: Add description and license for QEMU-KVM.

* gnu/packages/qemu.scm (qemu-kvm): Add description and license.

11 years agognu: Add libcddb, GNU libcdio, and GNU xorriso.
Ludovic Courtès [Sun, 10 Feb 2013 15:51:46 +0000 (16:51 +0100)]
gnu: Add libcddb, GNU libcdio, and GNU xorriso.

* gnu/packages/cdrom.scm: New file.
* Makefile.am (MODULES): Add it.

11 years agognu: Add QEMU-KVM.
Ludovic Courtès [Sat, 9 Feb 2013 18:09:35 +0000 (19:09 +0100)]
gnu: Add QEMU-KVM.

* gnu/packages/qemu.scm: New file.
* Makefile.am (MODULES): Add it.

11 years agobuild: Run `guild compile' under the C locale.
Ludovic Courtès [Fri, 8 Feb 2013 23:05:24 +0000 (00:05 +0100)]
build: Run `guild compile' under the C locale.

* Makefile.am (.scm.go): Set LC_ALL=C.

11 years agognu: Add GNU Smalltalk.
Nikita Karetnikov [Thu, 7 Feb 2013 09:07:27 +0000 (09:07 +0000)]
gnu: Add GNU Smalltalk.

* gnu/packages/smalltalk.scm: New file.
* Makefile.am (MODULES): Add it.

11 years agobuild-system/gnu: Clarify docstring of `package-with-extra-configure-variable'.
Ludovic Courtès [Fri, 8 Feb 2013 17:03:36 +0000 (18:03 +0100)]
build-system/gnu: Clarify docstring of `package-with-extra-configure-variable'.

* guix/build-system/gnu.scm (package-with-extra-configure-variable): Add
  "recursively" in the docstring.

11 years agognu: hop: Add `patch-rpath' phase.
Ludovic Courtès [Fri, 8 Feb 2013 16:38:57 +0000 (17:38 +0100)]
gnu: hop: Add `patch-rpath' phase.

* gnu/packages/scheme.scm (hop): Add `patch-rpath' phase.

11 years agognu: Add PatchELF.
Ludovic Courtès [Fri, 8 Feb 2013 14:44:24 +0000 (15:44 +0100)]
gnu: Add PatchELF.

* gnu/packages/patchelf.scm: New file.
* Makefile.am (MODULES): Add it.

11 years agognu: Add Hop.
Ludovic Courtès [Fri, 8 Feb 2013 13:39:58 +0000 (14:39 +0100)]
gnu: Add Hop.

* gnu/packages/scheme.scm (hop): New variable.

11 years agognu: bigloo: Propagate GMP.
Ludovic Courtès [Fri, 8 Feb 2013 13:39:28 +0000 (14:39 +0100)]
gnu: bigloo: Propagate GMP.

* gnu/packages/scheme.scm (bigloo): Propagate GMP.

11 years agognu: Add GNU mcron.
Ludovic Courtès [Thu, 7 Feb 2013 23:15:48 +0000 (00:15 +0100)]
gnu: Add GNU mcron.

* gnu/packages/guile.scm (mcron): New variable.

11 years agognu: guile-1.8: Patch `ice-9/popen.scm'.
Ludovic Courtès [Thu, 7 Feb 2013 23:15:26 +0000 (00:15 +0100)]
gnu: guile-1.8: Patch `ice-9/popen.scm'.

* gnu/packages/guile.scm (guile-1.8): Rename `patch-loader-search-path'
  to `patch-stuff'; patch `ice-9/popen.scm'.

11 years agodoc: Document installation of propagated inputs.
Ludovic Courtès [Thu, 7 Feb 2013 22:55:16 +0000 (23:55 +0100)]
doc: Document installation of propagated inputs.

* doc/guix.texi (Invoking guix-package): Document installation behavior
  with propagated inputs.

11 years agognu: ed: Update to 1.6.
Ludovic Courtès [Thu, 7 Feb 2013 22:47:32 +0000 (23:47 +0100)]
gnu: ed: Update to 1.6.

* gnu/packages/ed.scm (ed): Update to 1.6.

11 years agognu: ed: Patch /bin/sh in the test suite.
Ludovic Courtès [Thu, 7 Feb 2013 22:46:23 +0000 (23:46 +0100)]
gnu: ed: Patch /bin/sh in the test suite.

* gnu/packages/ed.scm (ed): Add `patch-test-suite' phase.

11 years agoguix-package: Install propagated inputs.
Ludovic Courtès [Wed, 6 Feb 2013 22:01:04 +0000 (23:01 +0100)]
guix-package: Install propagated inputs.

* guix-package.in (profile-manifest): Return "version 1" manifests.
  (manifest-packages): Likewise.  When MANIFEST is "version 0", add
  '() as the list of "propagated inputs" of each package.
  (profile-derivation): Produce "version 1" manifests.  Pass each
  PACKAGES item's propagated inputs as an input for BUILDER.
  (input->name+path): New procedure.
  (guix-package)[find-package]: Add the transitive propagated inputs of
  each selected package as the last item of the tuple.
  [canonicalize-deps]: New procedure.
  [process-actions]: Adjust to support propagated inputs as the last item.
  [process-query]: Likewise.

11 years agounion: Don't warn when colliding leaves point to the same file.
Ludovic Courtès [Wed, 6 Feb 2013 21:52:50 +0000 (22:52 +0100)]
union: Don't warn when colliding leaves point to the same file.

* guix/build/union.scm (union-build)[resolve-collision]: Pass LEAVES
  through `delete-duplicates'; warn iff the result contains more than
  one item.

11 years agounion: Delete duplicates when passed the same input several times.
Ludovic Courtès [Wed, 6 Feb 2013 21:51:24 +0000 (22:51 +0100)]
union: Delete duplicates when passed the same input several times.

* guix/build/union.scm (union-build): Prepend "." to the result of
  `union-tree', to match the expectations of `delete-duplicate-leaves'.
  Don't do mkdir when SUBDIR is ".".
* tests/union.scm ("union-build"): Keep duplicates in %BOOTSTRAP-INPUTS.

11 years agoguix-package: Test installation of packages by name.
Ludovic Courtès [Wed, 6 Feb 2013 15:31:39 +0000 (16:31 +0100)]
guix-package: Test installation of packages by name.

* tests/guix-package.sh: Remove `boot_guile'.  Replace occurrences of
  $boot_guile by the `guile-bootstrap' package name.

11 years agobuild: `chmod +x' scripts as they are generated.
Ludovic Courtès [Wed, 6 Feb 2013 15:30:15 +0000 (16:30 +0100)]
build: `chmod +x' scripts as they are generated.

* configure.ac: Add the `chmod +x' as a second argument to
  `AC_CONFIG_FILES'.  Remove `AC_CONFIG_COMMANDS' invocation.

11 years agognu: Add libmp3splt and mp3splt.
Andreas Enge [Wed, 6 Feb 2013 21:47:58 +0000 (22:47 +0100)]
gnu: Add libmp3splt and mp3splt.

* gnu/packages/mp3.scm (libmp3split, mp3splt): New variables.

11 years agognu: make-bootstrap: Fix `%binutils-static-stripped'.
Ludovic Courtès [Wed, 6 Feb 2013 14:25:08 +0000 (15:25 +0100)]
gnu: make-bootstrap: Fix `%binutils-static-stripped'.

* gnu/packages/make-bootstrap.scm (%binutils-static-stripped): Add
  distinguishing `name' field.  Add `output' field to have a single
  "out" output (followup to 4873f8e).  Reported by Nikita.

11 years agognu: Add TeXLive.
Andreas Enge [Tue, 5 Feb 2013 23:01:44 +0000 (00:01 +0100)]
gnu: Add TeXLive.

* gnu/packages/texlive.scm: New file.
* Makefile.am (MODULES): Add it.

11 years agolicenses: Add new meta-license fsf-free.
Andreas Enge [Tue, 5 Feb 2013 22:01:14 +0000 (23:01 +0100)]
licenses: Add new meta-license fsf-free.

* guix/licenses.scm (fsf-free): New record with constructor.

11 years agognu: Have MPFR and MPC propagate their input.
Ludovic Courtès [Tue, 5 Feb 2013 21:36:48 +0000 (22:36 +0100)]
gnu: Have MPFR and MPC propagate their input.

* gnu/packages/multiprecision.scm (mpfr): Change GMP to a propagated input.
  (mpc): Likewise for GMP and MPFR.
  Reported by Andreas Enge <andreas@enge.fr>.

11 years agognu: Add PCRE (Perl Compatible Regular Expression).
Andreas Enge [Tue, 5 Feb 2013 22:41:38 +0000 (23:41 +0100)]
gnu: Add PCRE (Perl Compatible Regular Expression).

* gnu/packages/pcre.scm: New file.
* Makefile.am (MODULES): Add it.

11 years agoThank Lluís and Daniel.
Ludovic Courtès [Mon, 4 Feb 2013 22:10:48 +0000 (23:10 +0100)]
Thank Lluís and Daniel.

11 years agognu: Add GNU Guile-Ncurses.
Ludovic Courtès [Mon, 4 Feb 2013 13:00:46 +0000 (14:00 +0100)]
gnu: Add GNU Guile-Ncurses.

* gnu/packages/guile.scm (guile-ncurses): New variable.

11 years agognu: Add libid3tag.
Andreas Enge [Fri, 1 Feb 2013 23:13:08 +0000 (00:13 +0100)]
gnu: Add libid3tag.

* gnu/packages/mp3 (libid3tag): New variable.

11 years agognu: Add libmad.
Andreas Enge [Fri, 1 Feb 2013 23:03:37 +0000 (00:03 +0100)]
gnu: Add libmad.

* gnu/packages/mp3.scm: New file.
* Makefile.am (MODULES): Add it.

11 years agostore: Add substitute-related procedures.
Ludovic Courtès [Sun, 3 Feb 2013 22:24:25 +0000 (23:24 +0100)]
store: Add substitute-related procedures.

* guix/store.scm (has-substitutes?, substitutable-paths,
  read-substitutable-path-list, substitutable-path-info): New
  procedures.
  (<substitutable>): New record type.
  (read-arg): Add `substitutable-path-info'.  Change `hash' pattern
  variable to `base16' literal.
* tests/store.scm ("no substitutes"): New test.

11 years agostore: Update to protocol 1.12.
Ludovic Courtès [Sun, 3 Feb 2013 22:02:14 +0000 (23:02 +0100)]
store: Update to protocol 1.12.

* guix/store.scm (%protocol-version): Bump.
  (operation-id): Comment out `query-substitutable-path-info'.
  Rename `query-valid-paths' to `query-all-valid-paths'.  Add
  `query-path-from-hash-part', `query-substitutable-path-infos',
  `query-valid-paths', and `query-substitutable-paths'.
  (set-build-options): Add `binary-caches' keyword parameter.  When
  using a server >= 1.12, send the list of binary caches.
  (query-path-hash): Use the `store-path' type, for clarity.

11 years agoSRFI-64: Make the log file's port line-buffered.
Ludovic Courtès [Sun, 3 Feb 2013 22:25:01 +0000 (23:25 +0100)]
SRFI-64: Make the log file's port line-buffered.

* srfi/srfi-64.upstream.scm (test-on-group-begin-simple): Make LOG-FILE
  line-buffered.

11 years agotests: Fix thinko in `derivation' test.
Ludovic Courtès [Sun, 3 Feb 2013 22:23:29 +0000 (23:23 +0100)]
tests: Fix thinko in `derivation' test.

* tests/derivations.scm ("derivation with local file as input"): Return
  a Boolean instead of a bytevector.  Don't attempt to compare the
  content of the result with that of the input.

11 years agostore: Write string length as a 32-bit integer.
Ludovic Courtès [Sun, 3 Feb 2013 21:57:58 +0000 (22:57 +0100)]
store: Write string length as a 32-bit integer.

* guix/store.scm (write-string): Write L as a 32-bit integer.  Bug
  introduced in 82c38fe64c84fc3febcc5c5aa7fe86454ccaf456 ("store:
  Micro-optimize `write-string'.")

11 years agognu: Add GNU Prolog.
Nikita Karetnikov [Fri, 1 Feb 2013 16:11:29 +0000 (16:11 +0000)]
gnu: Add GNU Prolog.

* gnu/packages/gprolog.scm: New file.
* Makefile.am (MODULES): Add it.

11 years agognu: Add libxslt.
Andreas Enge [Fri, 1 Feb 2013 22:23:08 +0000 (23:23 +0100)]
gnu: Add libxslt.

* gnu/packages/xml.scm (libxslt): New variable.

11 years agognu: Fix invalid `license' fields.
Ludovic Courtès [Fri, 1 Feb 2013 11:57:06 +0000 (12:57 +0100)]
gnu: Fix invalid `license' fields.

* gnu/packages/acl.scm (acl): Change `license' field to refer to the
  `license' objects.
* gnu/packages/attr.scm (attr): Likewise.
* gnu/packages/compression.scm (xz): Likewise.
* gnu/packages/global.scm (global): Likewise.
* gnu/packages/linux.scm (linux-libre-headers): Likewise.

11 years agoguix-package: Make `--search' queries case-insensitive.
Ludovic Courtès [Fri, 1 Feb 2013 11:52:35 +0000 (12:52 +0100)]
guix-package: Make `--search' queries case-insensitive.

* guix-package.in (guix-package)[process-query]: Use `regexp/icase' for
  the `search' regexp.

11 years agoAugment `.dir-locals.el'.
Ludovic Courtès [Fri, 1 Feb 2013 11:48:02 +0000 (12:48 +0100)]
Augment `.dir-locals.el'.

* .dir-locals.el: Add more Scheme settings.
* guix-build.in, tests/base32.scm, tests/build-utils.scm,
  tests/builders.scm, tests/derivations.scm, tests/packages.scm,
  tests/snix.scm, tests/store.scm, tests/union.scm, tests/utils.scm:
  Remove redundant Emacs local variable settings.

11 years agoguix-package: Report `--search' matches in recutils format.
Ludovic Courtès [Fri, 1 Feb 2013 12:16:27 +0000 (13:16 +0100)]
guix-package: Report `--search' matches in recutils format.

* guix/ui.scm (fill-paragraph, string->recutils, package->recutils): New
  procedures.
* guix-package.in (guix-package)[process-query]: Use `package->recutils'
  to display package meta-data.
* tests/guix-package.sh: Adjust test.
* tests/ui.scm: New file.
* Makefile.am (TESTS): Add it.
* doc/guix.texi (Invoking guix-package): Adjust `--search'
  documentation, and give an example.

11 years agoguix-package: Gracefully report non-existing outputs.
Ludovic Courtès [Fri, 1 Feb 2013 08:17:35 +0000 (09:17 +0100)]
guix-package: Gracefully report non-existing outputs.

* guix-package.in (guix-package)[find-package](ensure-output): New
  procedure. Use it to validate SUB-DRV.

11 years agoguix-package: Reduce start-up time for queries.
Ludovic Courtès [Thu, 31 Jan 2013 22:24:10 +0000 (23:24 +0100)]
guix-package: Reduce start-up time for queries.

* guix-package.in (guix-package): Call `open-connection' and
  `package-derivation' only after `process-query' has returned.

11 years agognu: Add libkate.
Andreas Enge [Thu, 31 Jan 2013 21:47:25 +0000 (22:47 +0100)]
gnu: Add libkate.

* gnu/packages/oggvorbis.scm (libkate): New variable.
* gnu/packages/oggvorbis.scm (vorbis-tools): Add input libkate.

11 years agognu: Add flac.
Andreas Enge [Thu, 31 Jan 2013 21:18:47 +0000 (22:18 +0100)]
gnu: Add flac.

* gnu/packages/oggvorbis.scm (flac): New variable.
* gnu/packages/oggvorbis.scm (vorbis-tools): Add flac input.
* gnu/packages/patches/flac-fix-memcmp-not-declared.patch: New file.

11 years agognu: bigloo: Update tarball's hash.
Ludovic Courtès [Thu, 31 Jan 2013 16:49:44 +0000 (17:49 +0100)]
gnu: bigloo: Update tarball's hash.

* gnu/packages/scheme.scm (bigloo): Change hash.  The tarball was
  recently modified in-place (!).