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
宋文武
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
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
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
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
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
Ludovic Courtès
b158f1d751
system: Allow users to PTRACE_ATTACH to their own processes.
...
* gnu/build/activation.scm (activate-ptrace-attach): New procedure.
* gnu/system.scm (operating-system-activation-script): Use it.
2015-04-12 15:33:42 +02:00
Ludovic Courtès
ce6fc7d6a5
build: Build and install (guix build-system haskell).
...
* Makefile.am (MODULES): Add guix/build-system/haskell.scm.
2015-04-12 15:16:48 +02:00
Ludovic Courtès
260b07a7d0
gnu: gtk+: Pass --with-html-dir=$doc.
...
Fixes a regression introduced in 6b1f238
.
* gnu/packages/gtk.scm (gtk+)[arguments]: Add #:configure-flags.
2015-04-12 14:45:08 +02:00
Ludovic Courtès
13cc689ae8
gnu: elfutils: Add $libdir to the RUNPATH of binaries.
...
* gnu/packages/elf.scm (elfutils)[arguments]: New field.
2015-04-11 17:08:27 +02:00
Ludovic Courtès
cc1e1b38c9
gnu: elfutils: Work around PTRACE_ATTACH-induced test failures.
...
* gnu/packages/patches/elfutils-tests-ptrace.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/elf.scm (elfutils)[source]: Use it.
2015-04-11 17:02:30 +02:00
Ludovic Courtès
9bf3ced06c
packages: 'package-transitive-supported-systems' accounts for implicit inputs.
...
Reported by Federico Beffa.
* guix/packages.scm (package-transitive-supported-systems): Use
bag-direct-inputs + package->bag rather than package-direct-inputs.
* tests/packages.scm ("package-transitive-supported-systems"): Add
explicit 'build-system' field to each 'dummy-package' form.
("package-transitive-supported-systems, implicit inputs"): New test.
2015-04-11 13:06:23 +02:00
Ludovic Courtès
cceab87536
packages: Add 'bag-direct-inputs'.
...
* guix/packages.scm (bag-direct-inputs): New procedure.
(bag-transitive-inputs): Use it.
2015-04-11 13:06:23 +02:00
Ludovic Courtès
8550894bfe
gnu: nspr: Add $libdir to the RUNPATH of binaries.
...
* gnu/packages/gnuzilla.scm (nspr)[arguments]: Add
LDFLAGS=-Wl,-rpath=$libdir to #:configure-flags.
2015-04-11 13:06:23 +02:00
Ludovic Courtès
713e0aa4b3
gnu: netpbm: Remove non-FSDG-compliant code in 'snippet'.
...
* gnu/packages/netpbm.scm (netpbm)[source]: Add 'file-name', 'modules',
and 'snippet'.
[arguments]: Remove 'substitute*' uses that removed non-FSDG-compliant
code since this is now done in 'snippet'.
2015-04-11 13:06:22 +02:00
宋文武
50c26d9e44
gnu: iptables: Add $libdir to the RUNPATH of executables.
...
* gnu/packages/linux.scm (iptables)[arguments]: Add #:configure-flags.
2015-04-11 18:23:27 +08:00
宋文武
6d889daf2a
gnu: libcap: Add $libdir to the RUNPATH of executables.
...
* gnu/packages/linux.scm (libcap)[arguments]: Set LDFLAGS to
'-Wl,-rpath=...' in Make.Rules.
2015-04-11 13:59:54 +08:00
宋文武
d1f9e45e5d
gnu: cdparanoia: Don't use patchelf.
...
* gnu/packages/cdrom.scm (cdparanoia): Remove 'patchelf' from inputs.
[arguments]: Remove #:modules, #:imported-modules and #:phases. Pass
'LDFLAGS=-Wl,-rpath=...' as #:configure-flags.
[origin]: Add 'snippet'.
2015-04-11 13:30:58 +08:00
宋文武
be84118181
gnu: netpbm: Add $libdir to the RUNPATH of binaries.
...
* gnu/packages/netpbm.scm (netpbm)[arguments]: Add 'LDFLAGS += -Wl,-rpath=...'
to config.mk in the configure phase.
2015-04-11 12:47:22 +08:00
宋文武
6b206853a0
gnu: subversion: Add $libdir to the RUNPATH of Perl bindings.
...
Fixes <http://bugs.gnu.org/20052 >.
* gnu/packages/version-control.scm (subversion)[arguments]:
Pass '-Wl,-rpath=...' as OTHERLDFLAGS in install-perl-bindings phase.
2015-04-11 12:14:52 +08:00
Ludovic Courtès
53a53be91b
gnu: boost: Add $libdir to the RUNPATH of libraries.
...
* gnu/packages/boost.scm (boost)[arguments]: Add -Wl,-rpath=... to
BUILD-FLAGS. Remove 'check' phase and use #:tests? #f instead.
2015-04-10 23:37:36 +02:00
Mark H Weaver
4c2a38c25f
gnu: emacs: Update to 24.5.
...
* gnu/packages/emacs.scm (emacs): Update to 24.5.
2015-04-10 15:20:22 -04:00
Ludovic Courtès
3314f8a7b6
gnu: libtool: Leave out the test suite workarounds.
...
They are no longer needed since the latest ld-wrapper changes (commit
51d0cd9.)
* gnu/packages/patches/libtool-skip-tests2.patch: New file.
* gnu/packages/autotools.scm (libtool)[source]: Use it.
* gnu-system.am (dist_patch_DATA): Add it.
2015-04-10 18:09:46 +02:00
宋文武
b3455870e1
gnu: libvpx: Augment rpath.
...
Fixes <http://bugs.gnu.org/20055 >.
* gnu/packages/video.scm (libvpx)[arguments]: Set LDFLAGS to
'-Wl,-rpath=$out/lib' in configure phase.
2015-04-10 22:26:44 +08:00
Mark H Weaver
5e738ac224
system: Clean /tmp and /var/run during early boot.
...
* gnu/system.scm (operating-system-boot-script): Clean out /tmp and
/var/run before activating the system.
2015-04-10 09:22:49 -04:00