Ludovic Courtès
aa46a028c4
profiles: Generalize "hooks" for 'profile-derivation'.
...
* guix/profiles.scm (info-dir-file): Remove (null? (manifest-entries
manifest)) test.
(ca-certificate-bundle): Likewise.
(ghc-package-cache-file): Turn 'if' into 'and', and remove second
arm.
(%default-profile-hooks): New variable.
(profile-derivation): Remove #:info-dir?, #:ghc-package-cache?, and
#:ca-certificate-bundle?. Add #:hooks. Iterate over HOOKS. Adjust
'inputs' accordingly.
* guix/scripts/package.scm (guix-package): Adjust 'profile-derivation'
call accordingly.
* tests/packages.scm ("--search-paths with pattern"): Likewise.
* tests/profiles.scm ("profile-derivation",
"profile-derivation, inputs"): Likewise.
2015-04-15 22:44:51 +02:00
Ludovic Courtès
3158097940
gnu: qt-4: Add "doc" output; use more standard directory names.
...
* gnu/packages/qt.scm (qt-4)[outputs]: New field.
(qt-4)[arguments]: Pass '-docdir', '-demosdir', and '-examplesdir'.
2015-04-15 18:13:56 +02:00
Ludovic Courtès
d29843466a
gnu: qt-4: Do not set $LDFLAGS since that triggerred a build failure.
...
Fixes the build failure at <http://hydra.gnu.org/build/379884/log/raw >:
g++ -licui18n -Wl,-O1 [...] -o ../../../../bin/assistant [...]
ld: warning: libQtCLucene.so.4, needed by /tmp/nix-build-qt-4.8.6.drv-0/qt-everywhere-opensource-src-4.8.6/lib/libQtHelp.so, not found (try using -rpath or -rpath-link)
/tmp/nix-build-qt-4.8.6.drv-0/qt-everywhere-opensource-src-4.8.6/lib/libQtHelp.so: undefined reference to `QCLucenePhraseQuery::getTerms() const'
[...]
* gnu/packages/patches/qt4-ldflags.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/qt.scm (qt-4)[source]: Use it.
[arguments]: Remove 'setenv' call in 'configure' phase.
2015-04-15 18:13:56 +02:00
Ricardo Wurmus
e46d517f6d
gnu: icedtea6: Update to 1.13.7.
...
* gnu/packages/java.scm (icedtea6): Update to version 1.13.7.
2015-04-15 17:38:09 +02:00
宋文武
6c0dfb195c
gnu: wine: Add $libdir to the RUNPATH of binaries.
...
* gnu/packages/wine.scm (wine)[arguments]: Add #:configure-flags.
2015-04-15 19:07:55 +08:00
宋文武
d43ba6f851
gnu: wine: Update to 1.7.40.
...
* gnu/packages/wine.scm (wine): Update to 1.7.40.
2015-04-15 19:07:10 +08:00
Andreas Enge
a8bd3e5ebb
gnu: calibre: Update to 2.24.0.
...
* gnu/packages/ebook.scm (calibre): Update to 2.24.0.
2015-04-15 10:33:08 +02:00
Ludovic Courtès
cd6c6d60a8
build-system/haskell: Refer to %GNU-BUILD-SYSTEM-MODULES.
...
Fixes a regression whereby haskell-build-system was using an incomplete
module list.
* guix/build-system/haskell.scm (%haskell-build-system-modules): New
variable.
(haskell-build): Use it as the default value of #:imported-modules.
2015-04-15 10:27:19 +02:00
Ludovic Courtès
1590e8a1dd
packages: Refer to the native tools when handling sources and downloads.
...
* guix/packages.scm (patch-and-repack)[build]: Change most #$ to #+.
* guix/cvs-download.scm (cvs-fetch)[build]: Likewise.
* guix/download.scm (url-fetch)[builder]: Likewise.
* guix/git-download.scm (git-fetch)[build]: Likewise.
* guix/svn-download.scm (svn-fetch)[build]: Likewise.
2015-04-15 10:19:47 +02:00
宋文武
691cb22b1b
gnu: fltk: Add $libdir to the RUNPATH of binaries.
...
* gnu/packages/fltk.scm (fltk)[arguments]: Add
DSOFLAGS=-Wl,-rpath=$libdir to #:configure-flags.
2015-04-15 12:41:21 +08:00
宋文武
bda4ca76d4
gnu: fltk: Update to 1.3.3.
...
* gnu/packages/fltk.scm (fltk): Update to 1.3.33
2015-04-15 12:40:02 +08:00
宋文武
fee4693e42
gnu: recode: Fix tests.
...
* gnu/packages/textutils.scm (recode): Rename phase 'fix-setup-py to 'pre-check.
Set LD_LIBRARY_PATH to "$(pwd)/src/.libs" in pre-check phase.
2015-04-15 12:04:51 +08:00
Ludovic Courtès
8bc35f85b7
build: Add missing 'make-binary-tarball.scm' script.
...
This script is used by the target added in 9d3fb6c
.
* build-aux/make-binary-tarball.scm: New file.
* Makefile.am (EXTRA_DIST): Add it.
2015-04-14 23:29:26 +02:00
Ludovic Courtès
b607593533
hydra: Add jobs for the self-contained tarball.
...
* build-aux/hydra/gnu-system.scm (tarball-jobs): New procedure.
(hydra-jobs): Use it.
2015-04-14 23:26:41 +02:00
Ludovic Courtès
890024c51c
gnu: Don't use #:prefix in (gnu packages sdl).
...
* gnu/packages/sdl.scm: Remove #:prefix for (gnu packages fontutils)
import, and adjust accordingly. Add #:hide for (guix licenses)
import.
2015-04-14 23:25:37 +02:00
Ludovic Courtès
a0bcaefd08
Thank Pjotr.
2015-04-14 23:20:26 +02:00
Ludovic Courtès
9d3fb6c767
install: Add a procedure to build a self-contained binary tarball.
...
Suggested by Pjotr Prins <pjotr.public12@thebird.nl>
at <http://lists.gnu.org/archive/html/guix-devel/2015-04/msg00229.html >.
* gnu/build/install.scm (populate-single-profile-directory): New procedure.
* gnu/system/install.scm (self-contained-tarball): New procedure.
* Makefile.am (guix-binary.%.tar.xz): New target.
2015-04-14 23:20:26 +02:00
Ludovic Courtès
a84e523c4a
build: Silence warnings about 'make' portability.
...
* configure.ac: Pass -Wno-portability to AM_INIT_AUTOMAKE.
2015-04-14 23:20:18 +02:00
Andreas Enge
c3768fa49b
gnu: calibre: Update to 2.23.0.
...
* gnu/packages/ebook.scm (calibre): Update to 2.23.0.
2015-04-14 20:00:55 +02:00
宋文武
04a20db2b3
gnu: gst-libav: Use system ffmpeg instead of bundled libav.
...
* gnu/packages/gstreamer.scm (gst-libav)[arguments]: Remove #:phases.
Add #:configure-flags.
[native-inputs]: Remove yasm.
[inputs]: Add ffmpeg.
2015-04-14 23:03:05 +08:00
Mark H Weaver
d5f01e48e0
guix package: Add '--do-not-upgrade' option.
...
* guix/scripts/package.scm (%options): Add the '--do-not-upgrade' option.
(show-help): Document it.
(options->installable): Add 'do-not-upgrade-regexps' variable.
Use it in 'packages-to-upgrade'.
* doc/guix.texi (Invoking guix package): Document the '--do-not-upgrade'
option.
2015-04-14 10:44:19 -04:00
Mark H Weaver
6915912506
gnu: Add mdadm.
...
* gnu/packages/linux.scm (mdadm): New variable.
2015-04-14 10:44:19 -04:00
Andy Wingo
23a22af694
gnu: Add gnome-settings-daemon.
...
* gnu/packages/gnome.scm (gnome-settings-daemon): New variable.
Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2015-04-14 14:46:34 +02:00
Andy Wingo
6a180f6f36
gnu: Add libgweather.
...
* gnu/packages/gnome.scm (libgweather): New variable.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2015-04-14 14:09:21 +02:00
Ludovic Courtès
9349655820
gnu: qt-5: Allow the use of DT_RUNPATH for libQt5WebEngineCore.so.
...
* gnu/packages/patches/qt5-runpath.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/qt.scm (qt)[source]: Use it.
2015-04-14 13:27:38 +02:00
Ludovic Courtès
caf0c0a9e9
gnu: miniupnpc: Allow executables to find libupnp.so.
...
* gnu/packages/upnp.scm (miniupnpc)[arguments]: Pass
"LDFLAGS=-Wl,-rpath=...".
2015-04-14 10:03:24 +02:00
Ludovic Courtès
e91d1d3133
gnu: libtocc: Help the tests find libtocc.so.
...
* gnu/packages/search.scm (libtocc)[arguments] <check>: Pass
-Wl,-rpath=../src/.libs for the tests.
2015-04-14 10:03:24 +02:00
Ludovic Courtès
4836989a69
gnu: libmicrohttpd: Update to 0.9.40.
...
* gnu/packages/gnunet.scm (libmicrohttpd): Update to 0.9.40.
2015-04-14 10:03:24 +02:00
Ludovic Courtès
fb799cb72e
gnu: Disable RUNPATH validation for packages that use $ORIGIN.
...
* gnu/packages/haskell.scm (ghc)[arguments]: Add #:validate-runpath?.
* gnu/packages/julia.scm (julia)[arguments]: Likewise.
* gnu/packages/java.scm (icedtea6)[arguments]: Likewise.
2015-04-14 10:03:24 +02:00
宋文武
b2a80c785d
gnu: glib: Move html documentation to $doc/share/gtk-doc/html.
...
* gnu/packages/glib.scm (glib)[arguments]<#:configure-flags>:
Pass "--with-html-dir=$doc/share/gtk-doc/html".
2015-04-14 15:40:58 +08:00
宋文武
5d4c695721
gnu: openldap: Update to 2.4.40.
...
* gnu/packages/openldap.scm (openldap): Update to 2.4.40.
2015-04-14 15:23:23 +08:00
宋文武
0e05d01e4f
gnu: python: Use 'version-major+minor' to compute PYTHONPATH.
...
Fixes a regression introduced in 08c0450
.
* gnu/packages/python.scm (python)[native-search-paths]: Use
'version-major+minor' to compute PYTHONPATH.
2015-04-14 15:11:51 +08:00
Mark H Weaver
46a1130207
gnu: linux-libre: Remove linux-libre-vblank-fix.patch.
...
* gnu/packages/patches/linux-libre-vblank-fix.patch: Remove file.
* gnu-system.am (dist_patch_DATA): Remove it.
* gnu/packages/linux.scm (linux-libre): Remove patch.
2015-04-14 02:35:38 -04:00
David Thompson
463acb4acb
gnu: ruby: Update to 2.2.2.
...
* gnu/packages/ruby.scm (ruby): Update to 2.2.2.
2015-04-13 19:56:01 -04:00
Ludovic Courtès
1bef37ee2e
gnu: emacs: Do not keep references to the entries of the build-time $PATH.
...
This reduces the number of references of the output from 54 to 31,
removing references notably to gcc, expat, glib:bin, ld-wrapper-0,
texinfo, pkg-config, make, gawk, binutils, etc.
Reported by David Thompson.
* gnu/packages/patches/emacs-exec-path.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/emacs.scm (emacs)[source]: Use it.
2015-04-13 23:20:07 +02:00
Ricardo Wurmus
8214b7fbea
gnu: rseqc: Update hash.
...
* gnu/packages/bioinformatics.scm (rseqc): Update hash.
2015-04-13 15:39:02 +02:00
Mark H Weaver
279a587d60
gnu: gst-libav: Add missing quotes in phase names passed to 'modify-phases'.
...
This should have been done in 1ca8ff285b
.
* gnu/packages/gstreamer.scm (gst-libav): Add missing quotes in phase names
passed to 'modify-phases'.
2015-04-13 09:07:01 -04:00
Jason Self
2784a65af6
gnu: linux-libre: Update to 4.0
...
* gnu/packages/linux.scm (linux-libre): Update to version 4.0.
2015-04-13 05:57:50 -07:00
Mark H Weaver
9bbd52e536
gnu: libepoxy: Fix tests on arm.
...
* gnu/packages/gl.scm (libepoxy)[arguments]: When building for arm,
patch test/dlwrap.c to fix the tests.
2015-04-13 01:29:51 -04:00
Mark H Weaver
1ca8ff285b
Merge branch 'master' into core-updates
2015-04-13 01:25:28 -04:00
Mark H Weaver
14fe9488f4
gnu: p11-kit: Update to 0.23.1.
...
* gnu/packages/gnutls.scm (p11-kit): Update to 0.23.1.
2015-04-12 22:50:51 -04:00
Mark H Weaver
a153ff80c8
gnu: net-tools: Adapt to linux-libre-headers-3.14.x.
...
* gnu/packages/linux.scm (net-tools): Remove the HAVE_HWSTRIP and HAVE_HWTR
options from the configuration.
2015-04-12 19:46:20 -04:00
Andy Wingo
be23412848
services: Add upower.
...
* gnu-system.am (GNU_SYSTEM_MODULES): Add gnu/services/upower.scm.
* gnu/services/upower.scm: New file, defining a upower service.
* doc/guix.texi (Various Services): Mention it.
Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2015-04-13 00:02:59 +02:00
Andy Wingo
a1d5bb0ec7
gnu: Add upower.
...
* gnu/packages/gnome.scm (upower): New variable.
* gnu/packages/patches/upower-builddir.patch: New patch.
* gnu-system.am (dist_patch_DATA): Add it.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2015-04-13 00:02:59 +02:00
Ludovic Courtès
002c57c6f7
lint: Add a 'derivation' checker.
...
* guix/scripts/lint.scm (check-derivation): New procedure.
(%checkers): Add 'derivation' checker.
* tests/lint.scm ("derivation: invalid arguments"): New test.
2015-04-13 00:02:59 +02:00
Mark H Weaver
866f469edd
gnu: gnutls: Update to 3.4.0.
...
* gnu/packages/patches/gnutls-fix-duplicate-manpages.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/gnutls.scm (gnutls)[source]: Update to 3.4.0. Add patch.
[arguments]: Pass --without-p11-kit to 'configure'.
[propagated-inputs]: Use 'nettle' instead of 'nettle-2'. Add 'libidn'.
2015-04-12 17:26:39 -04:00
Mark H Weaver
7ae3e06a32
gnu: gnutls: Add debug output.
...
* gnu/packages/gnutls.scm (gnutls)[outputs]: Add debug output.
2015-04-12 17:26:35 -04:00
Mark H Weaver
8cba6fc9ee
gnu: nettle: Add debug output.
...
* gnu/packages/nettle.scm (nettle)[outputs]: Add debug output.
2015-04-12 17:26:32 -04:00
Ludovic Courtès
4c9050c63d
doc: Add example showing how to customize 'nscd-service'.
...
* doc/guix.texi (Name Service Switch): Add link to nss-mdns. Add
example show how to pass #:name-services to 'nscd-service'.
(Base Services): Add link from 'nscd-service' to the above.
* gnu/services/base.scm (nscd-service): Update docstring accordingly.
2015-04-12 22:34:47 +02:00
Ludovic Courtès
99af4996ea
gnu: man-pages: Update to 3.82.
...
* gnu/packages/man.scm (man-pages): Update to 3.82.
2015-04-12 22:19:18 +02:00