Commit Graph

6304 Commits

Author SHA1 Message Date
宋文武
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
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
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
Tomáš Čech
a55e2b221c gnu: curl: Update to 7.41.0. Support CURLOPT_CAPATH on GnuTLS.
Fixes <http://bugs.gnu.org/20121>.

* gnu/packages/patches/curl-gss-api-fix.patch: Delete file.
* gnu/packages/patches/curl-support-capath-on-gnutls.patch,
  gnu/packages/patches/curl-support-capath-on-gnutls-conf.patch: New files.
* gnu-system.am (dist_patch_DATA): Add new patches and remove old one.
* gnu/packages/curl.scm (curl): Update to 7.41.0.  Add new patches and remove
  old one.  Disable one unit test.

Modified-By: Mark H Weaver <mhw@netris.org>
2015-04-10 01:04:22 -04:00
宋文武
7dae5ac4b1 gnu: gnome-themes-standard: Update to 3.16.0.
This is a followup to 12f7f4a.

* gnu/packages/gnome.scm (gnome-themes-standard): Update hash.
2015-04-10 10:15:51 +08:00
Mark H Weaver
7934c8cfee gnu: python-2: Restore python-libffi-mips-n32-fix.patch.
This patch was removed in 08c045091e,
but it's still needed for python-2.

* gnu/packages/patches/python-libffi-mips-n32-fix.patch: Restore it.
* gnu-system.am (dist_patch_DATA): Add it back.
2015-04-09 18:57:52 -04:00
Cyril Roelandt
08c045091e python: Update to 3.4.3
* gnu/packages/python.scm (python): Update from 3.3.5 to 3.4.3.
* gnu/packages/patches/python-fix-tests.patch: Update the required test fixes.
* gnu/packages/patches/python-libffi-mips-n32-fix.patch: Remove it...
* gnu-system.am (dist_patch_DATA): ... and do not reference it here.
2015-04-10 00:19:46 +02:00
Andy Wingo
2bfe74378c gnu: Add geocode-glib.
* gnu/packages/gnome.scm (geocode-glib): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2015-04-09 21:18:12 +02:00
Andy Wingo
12f7f4aa27 gnu: gnome-desktop: Update to 3.16.0.
* gnu/packages/gnome.scm (gnome-desktop): Update to 3.16.0.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2015-04-09 21:17:28 +02:00
Ludovic Courtès
ee5408576d Merge branch 'master' into core-updates 2015-04-09 21:10:46 +02:00
Ludovic Courtès
afd40799e4 gnu: libtasn1: Update to 4.4 [fix for CVE-2015-2806].
* gnu/packages/gnutls.scm (libtasn1): Update to 4.4.
2015-04-09 19:07:04 +02:00
Ludovic Courtès
2891974c35 gnu: nettle: Update to 3.1.
* gnu/packages/nettle.scm (nettle): Update to 3.1.  Add 'arguments'
  field.
2015-04-09 18:49:30 +02:00
Ludovic Courtès
0be199c976 gnu: nettle: Make version 3 the default.
* gnu/packages/nettle.scm (nettle): Rename to...
  (nettle-2): ... this.
  (nettle-3): Rename to...
  (nettle): ... this.
* gnu/packages/gnutls.scm (gnutls): Use NETTLE-2.
* gnu/packages/lsh.scm (lsh): Likewise.
2015-04-09 18:49:28 +02:00
Mark H Weaver
1421afa94a gnu: gcc: Do not pass -dynamic-linker to linker when !shared on arm.
Fixes <http://bugs.gnu.org/20102>.

* gnu/packages/patches/gcc-arm-link-spec-fix.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/gcc.scm (gcc-4.8, gcc-4.9): Add patch.
* gnu/packages/cross-base.scm (cross-gcc): Preserve patches from gcc-4.8.

Co-Authored-By: Ludovic Courtès <ludo@gnu.org>
2015-04-09 01:58:04 -04:00
Ludovic Courtès
0cc0095f3c http-client: Add workaround for HTTP pipelining on Guile <= 2.0.9.
Reported by Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de>.

* guix/http-client.scm (make-delimited-input-port): New procedure.
  Install it in (web response) for Guile <= 2.0.9.
2015-04-08 21:41:04 +02:00
Ludovic Courtès
9bea87a542 activation: Remove undeclared user accounts and groups.
Fixes <http://bugs.gnu.org/19795>.
Reported by David Thompson <dthompson2@worcester.edu>.

* gnu/build/activation.scm (enumerate, current-users, current-groups,
  delete-user, delete-group): New procedures.
  (activate-users+groups): Add calls to 'delete-user' and
  'delete-group'.
* doc/guix.texi (User Accounts): Add a paragraph about statelessness.
  Explain that passwords are preserved.
2015-04-08 21:41:04 +02:00
Federico Beffa
a231ef7eec gnu: Add ghc-http.
* gnu/packages/haskell.scm (ghc-http): New variable.
2015-04-08 17:31:13 +02:00
Federico Beffa
9ce031c57f gnu: Add ghc-network-uri.
* gnu/packages/haskell.scm (ghc-network-uri): New variable.
2015-04-08 17:31:13 +02:00
Federico Beffa
abfed253e6 gnu: Add ghc-network.
* gnu/packages/haskell.scm (ghc-network): New variable.
2015-04-08 17:31:13 +02:00
Federico Beffa
f50fc13815 gnu: Add ghc-vector.
* gnu/packages/haskell.scm (ghc-vector): New variable.
2015-04-08 17:31:13 +02:00
Federico Beffa
fa468e879f gnu: Add ghc-parsec.
* gnu/packages/haskell.scm (ghc-parsec): New variable.
2015-04-08 17:31:13 +02:00
Federico Beffa
d692228e8b gnu: Add ghc-split.
* gnu/packages/haskell.scm (ghc-split): New variable.
2015-04-08 17:31:13 +02:00
Federico Beffa
01a687da09 gnu: Add ghc-unordered-containers.
* gnu/packages/haskell.scm (ghc-unordered-containers): New variable.
2015-04-08 17:31:13 +02:00
Federico Beffa
c5043f4aac gnu: Add ghc-fgl.
* gnu/packages/haskell.scm (ghc-fgl): New variable.
2015-04-08 17:31:13 +02:00
Federico Beffa
61c02099a3 gnu: Add ghc-containers.
* gnu/packages/haskell.scm (ghc-containers): New variable.
2015-04-08 17:31:12 +02:00
Federico Beffa
eaa3088e2c gnu: Add ghc-syb.
* gnu/packages/haskell.scm (ghc-syb): New variable.
2015-04-08 17:31:12 +02:00
Federico Beffa
7a1e8c74a3 gnu: Add ghc-case-insensitive.
* gnu/packages/haskell.scm (ghc-case-insensitive): New variable.
2015-04-08 17:31:12 +02:00
Federico Beffa
dc0ae39a8f gnu: Add ghc-quickcheck.
* gnu/packages/haskell.scm (ghc-quickcheck): New variable.
2015-04-08 17:31:12 +02:00
Federico Beffa
c272160ab0 gnu: Add ghc-tf-random.
* gnu/packages/haskell.scm (ghc-tf-random): New variable.
2015-04-08 17:31:12 +02:00
Federico Beffa
4af803a7c0 gnu: Add ghc-primitive.
* gnu/packages/haskell.scm (ghc-primitive): New variable.
2015-04-08 17:31:12 +02:00
Federico Beffa
df596b948d gnu: Add ghc-random.
* gnu/packages/haskell.scm (ghc-random): New variable.
2015-04-08 17:31:12 +02:00
Federico Beffa
c3b90c0edb gnu: Add ghc-hunit
* gnu/packages/haskell.scm (ghc-hunit): New variable.
2015-04-08 17:31:12 +02:00
Federico Beffa
775be802a3 gnu: Add ghc-hashable.
* gnu/packages/haskell.scm (ghc-hashable): New variable.
2015-04-08 17:31:12 +02:00
Federico Beffa
deb36de072 gnu: Add ghc-text.
* gnu/packages/haskell.scm (ghc-text): New variable.
2015-04-08 17:31:12 +02:00
Federico Beffa
e916e21102 gnu: Add ghc-parallel.
* gnu/packages/haskell.scm (ghc-parallel): New variable.
2015-04-08 17:31:12 +02:00
Federico Beffa
a39f3936a9 gnu: Add ghc-stm.
* gnu/packages/haskell.scm (ghc-stm): New variable.
2015-04-08 17:31:12 +02:00
Federico Beffa
3d3613d55d gnu: Add ghc-zlib.
* gnu/packages/haskell.scm (ghc-zlib): New variable.
2015-04-08 17:31:12 +02:00
Federico Beffa
0939da6e4d gnu: Add ghc-paths.
* gnu/packages/haskell.scm: (ghc-paths): New variable.
2015-04-08 17:31:12 +02:00
Federico Beffa
7d5baa300d gnu: Add ghc-mtl.
* gnu/packages/haskell.scm: (ghc-mtl): New variable.
2015-04-08 17:31:12 +02:00
Federico Beffa
042bc828fc profiles: Generate GHC's package database cache.
* guix/profiles.scm (ghc-package-cache-file): New procedure.
  (profile-derivation): Add 'ghc-package-cache?' keyword argument.  If true
  (the default), add the result of 'ghc-package-cache-file' to 'inputs'.
* guix/scripts/package.scm (guix-package)[process-actions]: Pass
  #:ghc-package-cache? to 'profile-generation'.
* tests/packages.scm ("--search-paths with pattern"): Likewise.
* tests/profiles.scm ("profile-derivation"): Likewise.
2015-04-08 17:31:12 +02:00
Federico Beffa
283cce508a build-system/haskell: Update configure flags, 'haddock' and %standard-phases.
* guix/build/haskell-build-system.scm (%standard-phases): move 'haddock phase
  before 'install phase.
* guix/build/haskell-build-system.scm (haddock): Simplify it as the 'install
  phase takes care of copying files.
* guix/build/haskell-build-system.scm (configure): Add '--libsubdir' flag.
  Fix use of '--extra-include-dirs' and '--extra-lib-dirs' flags.  Use 'doc',
  'bin' and 'lib' outputs if they are defined.
* guix/build/haskell-build-system.scm (make-ghc-package-database, register):
  Aligh location of 'package.conf.d' directory with '--libsubdir' flag.
2015-04-08 17:31:11 +02:00
Federico Beffa
b29455cfe7 import: Add hackage importer.
* guix/import/hackage.scm: New file.
* tests/hackage.scm: New file.
2015-04-08 17:31:11 +02:00
Federico Beffa
863af4e121 import: Add hackage importer.
* guix/scripts/import.scm (importers): Add hackage.
* guix/scripts/import/hackage.scm: New file.
* po/guix/POTFILES.in: Add guix/scripts/import.scm.
* doc/guix.texi: Add section on 'hackage' importer.
2015-04-08 17:31:11 +02:00