Commit Graph

8797 Commits

Author SHA1 Message Date
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
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
宋文武 1b922590d7 gnu: Add gst-libav.
* gnu/packages/gstreamer.scm (gst-libav): New variable.
2015-04-10 21:02:19 +08:00
Ricardo Wurmus 5854f6858b gnu: Add GRIT.
* gnu/packages/bioinformatics.scm (grit): New variable.
2015-04-10 14:35:48 +02:00
Ludovic Courtès 3a4de6b2d2 gnu: Add missing quotes in phase names passed to 'modify-phases'.
This is a followup to f8503e2.

* gnu/packages/gnome.scm (glib-networking): Add missing quotes before
  phase names passed to 'modify-phases'.
  (libsoup): Likewise.
  (gnome-terminal): Likewise.
  (colord): Likewise.
  (geoclue): Likewise.
* gnu/packages/gtk.scm (at-spi2-core, at-spi2-atk): Likewise.
* gnu/packages/haskell.scm (ghc-network): Likewise.
* gnu/packages/imagemagick.scm (perl-image-magick): Likewise.
* gnu/packages/video.scm (aalib): Likewise.
* gnu/packages/web.scm (nginx): Likewise.
2015-04-10 11:35:50 +02:00
Ludovic Courtès caaf1933a4 gnu: Fix incorrect references to %GNU-BUILD-SYSTEM-MODULES.
Fixes a regression introduced in 8ff3df5.

* gnu/packages/emacs.scm (emacs-w3m)[arguments]: Use quasiquote, not
  quote.
  (emacs-wget)[arguments]: Likewise, and use unquote-splicing for
  %GNU-BUILD-SYSTEM-MODULES.
  (emms): Likewise.
* gnu/packages/haskell.scm (ghc): Likewise.
* gnu/packages/samba.scm (samba): Likewise.
2015-04-10 10:34:04 +02:00
Ludovic Courtès b210b35d61 lint: Report patches that cannot be found.
* guix/scripts/lint.scm (check-patch-file-names): Wrap body in 'guard'.
* tests/lint.scm ("patches: not found"): New test.
2015-04-10 10:27:46 +02:00
Ludovic Courtès 56b1b74c90 lint: Rename 'check-patches' to 'check-patch-file-names'.
* guix/scripts/lint.scm (check-patches): Rename to...
  (check-patch-file-names): ... this.  Rename 'filename' to 'file'.
  (%checkers): Adjust accordingly.
* tests/lint.scm ("patches: file names"): Likewise.
2015-04-10 10:11:59 +02:00