Nikita Karetnikov
f9bbf2a819
gnu-maintenance: Improve 'official-gnu-packages'; add related procedures.
...
* guix/gnu-maintenance.scm (http-fetch): Return an input port.
(<gnu-package-descriptor>): Add it.
(official-gnu-packages): Use <gnu-package-descriptor>.
(find-packages): Add it.
(gnu-package?): Adjust accordingly.
2013-03-28 22:00:10 +00:00
Cyril Roelandt
c6bded8a29
Add (guix build-system cmake).
...
* guix/build/cmake-build-system.scm, guix/build-system/cmake.scm: New files.
* Makefile.am (MODULES): Add them.
2013-03-28 21:04:54 +01:00
Ludovic Courtès
bb90ad83b1
build: Set `%fresh-auto-compile' in `hydra.scm'.
...
* hydra.scm: Set `%fresh-auto-compile' to #t.
2013-03-28 00:14:38 +01:00
Ludovic Courtès
c415f14538
gnu: make-bootstrap: Import (gnu packages gcc).
...
* gnu/packages/make-bootstrap.scm: Import (gnu packages gcc).
2013-03-27 23:47:54 +01:00
Ludovic Courtès
c9f94132ca
download: Remove unreliable GNU mirror.
...
* guix/download.scm (%mirrors)[gnu]: Remove ftp.chg.ru.
2013-03-27 15:50:18 +01:00
Ludovic Courtès
5c126b645e
gnu: Add libelf.
...
* gnu/packages/gcc.scm (libelf): New variable.
2013-03-27 15:47:48 +01:00
Ludovic Courtès
832abc7687
gnu: Add ISL and CLooG.
...
* gnu/packages/gcc.scm (%gcc-infrastructure, isl, cloog): New variables.
2013-03-27 15:37:27 +01:00
Ludovic Courtès
e9c0b9446b
gnu: Move GCC to its own module.
...
* gnu/packages/base.scm (gcc-4.7): Move to...
* gnu/packages/gcc.scm: ... here. New file.
* Makefile.am (MODULES): Add it.
2013-03-27 15:13:25 +01:00
Ludovic Courtès
785db4d877
glib: Patch around prlimit(2) failure.
...
* gnu/packages/glib.scm (glib)[source]: Switch to mirror://gnome.
[inputs]: Add `patch/tests-prlimit'.
[arguments]: Add it.
* gnu/packages/patches/glib-tests-prlimit.patch: New file.
* Makefile.am (dist_patch_DATA): Add it.
2013-03-27 15:01:30 +01:00
Ludovic Courtès
0b5aa854a0
build: `hydra.scm' changes %load-path to refer to itself.
...
* hydra.scm: Add `eval-when' clause.
2013-03-27 00:24:54 +01:00
Ludovic Courtès
da0a26d2a7
Update `TODO'.
2013-03-27 00:11:57 +01:00
Ludovic Courtès
7bf569186c
gnu: Add GNU cflow.
...
* gnu/packages/cflow.scm: New file.
* Makefile.am (MODULES): Add it.
2013-03-26 22:43:41 +01:00
Ludovic Courtès
47a9cb950a
gnu: Add GNU cppi.
...
* gnu/packages/cppi.scm: New file.
* Makefile.am (MODULES): Add it.
2013-03-26 22:32:18 +01:00
Cyril Roelandt
a25fe6d620
gnu: add dependencies to poppler.
...
Add libpng and zlib to the inputs.
2013-03-24 20:23:15 +01:00
Ludovic Courtès
128663e4c8
store: Really disable file name canonicalization for derivation inputs.
...
* guix/store.scm (write-contents)[call-with-binary-input-file]: Set
%FILE-PORT-NAME-CANONICALIZATION to #f.
* gnu/packages.scm (search-patch, search-bootstrap-binary): Leave
%FILE-PORT-NAME-CANONICALIZATION unchanged. This reverts 9776ebb
.
2013-03-22 23:15:34 +01:00
Ludovic Courtès
238f739777
store: Use `sendfile' when available.
...
* guix/store.scm (write-contents)[call-with-binary-input-file]: New
procedure.
Use `sendfile' instead of `dump' when available. Add `size'
parameter.
(write-file): Update caller.
2013-03-22 23:15:34 +01:00
Andreas Enge
14a3a67364
gnu: Update mpfr to 3.1.2.
...
* gnu/packages/multiprecision.scm (mpfr): Update to 3.1.2.
2013-03-22 13:04:41 +01:00
Cyril Roelandt
b6a64843c6
gnu: Add cmake.
...
* gnu/packages/cmake.scm: New file.
* gnu/packages/patches/cmake-fix-tests.patch: New file.
* Makefile.am: Add them.
2013-03-21 19:53:29 +01:00
Ludovic Courtès
9776ebb2a5
gnu: Disable file name canonicalization in `search-*'.
...
* gnu/packages.scm (search-patch, search-bootstrap-binary): Make sure no
canonicalization occurs. This reduces the number of 'stat' system
calls.
2013-03-21 00:32:26 +01:00
Cyril Roelandt
712e6e684c
gnu: Add lua.
...
* gnu/packages/lua.scm: New file.
* Makefile.am: add it.
2013-03-19 23:27:04 +01:00
Ludovic Courtès
84a3e3b776
gnu: libgcrypt: Upgrade to 1.5.1.
...
* gnu/packages/gnupg.scm (libgcrypt): Upgrade to 1.5.1.
2013-03-19 17:54:00 +01:00
Ludovic Courtès
881a4cf13a
Work around < http://bugs.gnu.org/13095 > in build-aux/download.scm.
...
* build-aux/download.scm: Annihilate `shutdown' in (web client).
Reported by Aljosha Papsch.
2013-03-19 16:57:46 +01:00
Ludovic Courtès
ce41a4629c
release.nix: Hack to unchroot more stuff.
...
* release.nix (unchrootedNixpkgs): New function.
(jobs)[tarball, build, build_disable_daemon, distro): Use it.
Should fix <http://hydra.gnu.org:3000/build/7279 >.
2013-03-18 23:17:28 +01:00
Ludovic Courtès
9c3ac1b641
release.nix: Adjust to current Nixpkgs.
...
* release.nix: s/buildNativeInputs/nativeBuildInputs/.
2013-03-18 23:09:35 +01:00
Ludovic Courtès
a4f08f9258
guix package: Report packages to be removed/installed.
...
* guix/scripts/package.scm (guix-package)[process-actions](show-what-to-remove/install):
New procedure.
Call it before `show-what-to-build'.
2013-03-18 23:04:07 +01:00
Andreas Enge
d539646af4
gnu: xorg: Enable xdriinfo.
...
* gnu/packages/xorg.scm (xdriinfo): Enable input mesa.
2013-03-17 19:02:56 +01:00
Andreas Enge
b04ac5a1e2
gnu: xorg: Arrange more inputs for x server related packages.
...
* gnu/packages/xorg.scm (xf86-input-evdev): Add input xorg-server.
* gnu/packages/xorg.scm (xorg-server): Propagate inputs and add normal and
propagated inputs.
2013-03-17 18:59:21 +01:00
Andreas Enge
c0589f7591
gnu: Add X.org as input to Texlive.
...
* gnu/packages/texlive.scm (texlive): Add x.org inputs.
2013-03-17 00:57:02 +01:00
Andreas Enge
71f4b81aa5
gnu: Add openconnect.
...
* gnu/packages/vpn.scm (openconnect): New variable.
2013-03-16 22:36:13 +01:00
Ludovic Courtès
0bb1aa9e05
derivations: Optimize `build-expression->derivation'.
...
This reduces the execution time of
"guix build -e '(@ (gnu packages emacs) emacs)' -d" by 6%, from
1.15s to 1.08s.
* guix/derivations.scm (build-expression->derivation): Write the builder
as UTF-8.
2013-03-16 17:23:17 +01:00
Ludovic Courtès
d80855999a
derivations: Optimize `write-derivation'.
...
This reduces the execution time of
"guix build -e '(@ (gnu packages emacs) emacs)' -d" by 25%, from
1.54 s. to 1.15s.
* guix/derivations.scm (write-sequence, write-list, write-tuple): New
procedures.
(write-derivation)[list->string, write-list]: Remove.
[write-string-list, write-output, write-input, write-env-var]: New helpers.
Rewrite in terms of these new helpers.
2013-03-16 16:48:22 +01:00
Ludovic Courtès
993fb66dd2
guix package: Gracefully handle `official-gnu-packages' failure.
...
* guix/gnu-maintenance.scm (http-fetch): Error out when DATA is #f.
* guix/scripts/package.scm (check-package-freshness): Wrap
`gnu-package?' call in `false-if-exception'.
Reported by Cyril Roelandt <tipecaml@gmail.com>.
2013-03-16 00:59:19 +01:00
Andreas Enge
5ee12e217c
gnu: xorg: Change download location for xcb related packages.
...
* gnu/packages/xorg.sm (libpthread-stubs, libxcb, xcb-proto): Replace broken
xorg mirrors by url of the xcb project.
2013-03-15 20:52:48 +01:00
Ludovic Courtès
847e7725e9
gnu: coreutils, sed: Update.
...
* gnu/packages/base.scm (sed): Update to 4.2.2.
(coreutils): Update to 8.21.
2013-03-15 18:38:47 +01:00
Ludovic Courtès
444c64b04e
gnu: binutils: Update to 2.23.1.
...
* gnu/packages/base.scm (binutils): Update to 2.23.1. Add
`--disable-werror'.
(binutils-boot0): Augment BINUTILS's configure flags.
2013-03-15 18:38:34 +01:00
Ludovic Courtès
3be9f724f5
gnu: emacs: Update to 24.3.
...
* gnu/packages/emacs.scm (emacs): Update to 24.3. Use the .xz tarball.
* gnu/packages/patches/emacs-configure-sh.patch: Adjust.
2013-03-14 17:47:26 +01:00
Ludovic Courtès
b5c56e628f
gnu: texinfo: Update to 5.1.
...
* gnu/packages/texinfo.scm (texinfo): Update to 5.1.
2013-03-14 17:32:25 +01:00
Andreas Enge
e45a608245
gnu: xorg: Add xeyes (for testing purposes).
...
* gnu/packages/xorg.scm (xeyes): New variable.
2013-03-10 13:42:40 +01:00
Andreas Enge
08dccdfd12
gnu: xorg: Make xorg-server compilable (tests still fail).
...
* gnu/packages/xorg.scm (mesa): Propagate inputs libdrm and libxdamage.
* gnu/packages/xorg.scm (xorg-server): Add input videoproto.
2013-03-10 13:31:03 +01:00
Andreas Enge
42ed9985b1
gnu: xorg: Make xkeyboard-config compile.
...
* gnu/packages/xorg.scm (xkeyboard-config): Add inputs gettext, intltool,
perl-xml-parser.
2013-03-10 13:00:57 +01:00
Andreas Enge
2b8c5f547a
gnu: Add intltool.
...
* gnu/packages/xml.scm (intltool): New variable.
* gnu/packages/xml.scm (perl-xml-parser): Fix download location.
2013-03-10 12:57:32 +01:00
Andreas Enge
68a3d0e8cd
gnu: xorg: Add old versions of mesa and libdrm.
...
* gnu/packages/xorg.scm (mesa): New variable, only version 8.0.5 compiles.
* gnu/packages/xorg.scm (libdrm-2.4.33): New variable, required by mesa 8.0.5.
2013-03-09 22:29:49 +01:00
Andreas Enge
6f52fb63ae
gnu: xorg: Propagate input.
...
* gnu/packages/xorg.scm (libxdamage): Propagate input damageproto.
2013-03-09 00:18:34 +01:00
Andreas Enge
11e3f10788
gnu: libxslt: Add zlib and libxml2 python module to inputs.
...
* gnu/packages/xml.scm (libxslt): Add input zlib and add libxml2 to PYTHONPATH.
2013-03-08 23:03:07 +01:00
Andreas Enge
322cbda7c5
gnu: libxml2: Add python support.
...
* gnu/packages/xml.scm (libxml2): Compile and install python module.
2013-03-08 22:47:01 +01:00
Ludovic Courtès
ef86c39f27
ui: Gracefully report failures to connect to the daemon.
...
* guix/store.scm (&nix-connection-error): New condition type.
(open-connection): Translate `system-error' during the `connect' call
into `&nix-connection-error'.
* guix/ui.scm (call-with-error-handling): Add case for `nix-connection-error?'.
* guix/scripts/package.scm (guix-package): Move `open-connection' call
within `with-error-handling'.
* guix/scripts/pull.scm (guix-pull): Likewise.
* guix/scripts/download.scm (guix-download): Move body within
`with-error-handling'.
2013-03-07 19:44:14 +01:00
Nikita Karetnikov
30db6af1de
utils: Add 'wrap-program'.
...
* guix/build/utils.scm (wrap-program): New procedure.
2013-03-07 00:46:23 +01:00
Ludovic Courtès
1fb78cb2c3
packages: Remove the default value for `license'.
...
* guix/packages.scm (<package>): Remove the default value for `license'.
* gnu/packages/bootstrap.scm (package-from-tarball,
%bootstrap-glibc, %bootstrap-gcc): Initialize `license'.
* tests/packages.scm (dummy-package): Likewise.
2013-03-07 00:42:18 +01:00
Ludovic Courtès
6ba9dd813d
Revert "utils: Add 'wrap-program'."
...
This reverts commit 02065130de
.
2013-03-07 00:36:14 +01:00
Andreas Enge
f8d3c99ba1
gnu: xorg: Add libdrm.
...
* gnu/packages/xorg.scm (libdrm): New variable.
2013-03-06 23:20:34 +01:00