Commit Graph

7396 Commits

Author SHA1 Message Date
Ludovic Courtès 5e25ebe2fa services: Explicitly refer to Shadow when requiring the 'nologin' shell.
* gnu/services/avahi.scm (avahi-service): Change 'shell' to a gexp
  referring to "nologin" in the SHADOW package.
* gnu/services/dbus.scm (dbus-service): Likewise.
* gnu/services/networking.scm (ntp-service, tor-service): Likewise.
2015-04-17 13:53:16 +02:00
Ludovic Courtès 8e974b9b98 system: Populate /etc/shells with the list of all the shells in use.
Reported by Andy Wingo <wingo@pobox.com>.

* gnu/system.scm (user-shells, shells-file): New procedures.
  (etc-directory): Add #:shell parameter.  Use 'shells-file' instead of
  'text-file'.
  (operating-system-etc-directory): Call 'user-shells' and pass #:shells
  to 'etc-directory'.
2015-04-17 13:53:16 +02:00
David Hashe 3c9e35cce7 gnu: Add libsrtp.
* gnu/packages/telephony.scm (libsrtp): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2015-04-17 13:53:16 +02:00
Mark H Weaver 9128e323c0 gnu: icecat: Use system sqlite.
* gnu/packages/gnuzilla.scm (icecat)[inputs]: Add sqlite.
  [arguments]: Pass "--enable-system-sqlite" to configure.
2015-04-17 03:12:48 -04:00
Mark H Weaver 9e12bc3493 gnu: gnome-vfs: Expect 'test-async-cancel' failure, and clean up.
* gnu/packages/gnome.scm (gnome-vfs)[arguments]: Add
  "XFAIL_TESTS=test-async-cancel" to make flags.  Remove ignored and
  undocumented 'DISABLE_DEPRECATED_CFLAGS' configure flag.  Simplify
  'ignore-deprecations' phase and return #t.  Reformat to fit within
  80 columns.
2015-04-17 03:11:52 -04:00
Jason Self 007aa90b21 gnu: linux-libre: Set CONFIG_DEVMEM=y
* gnu/packages/linux.scm (linux-libre): Set CONFIG_DEVMEM=y.

Signed-off-by: Jason Self <j@jxself.org>
2015-04-17 02:05:11 -04:00
Ludovic Courtès 4b9b3cbbc4 refresh: Allow users to refer to specific package versions.
* guix/scripts/refresh.scm (guix-refresh): Use 'specification->package'
  instead of 'find-packages-by-name'.  This allows users to specify
  things like "qt-4.8.6".
* doc/guix.texi (Invoking guix refresh): Add an example.
2015-04-16 23:15:06 +02:00
Ludovic Courtès 77db91addc gnu: Add second ld-wrapper to work around readlink dereferencing bug.
Suggested by Mark H Weaver.

* gnu/packages/ld-wrapper2.in: New file.
* gnu-system.am (MISC_DISTRO_FILES): Add it.
* gnu/packages/commencement.scm (fixed-ld-wrapper): New procedure.
2015-04-16 23:15:06 +02:00
Ludovic Courtès f0ad3c7697 gnu: bigloo: Add RUNPATH to the libraries.
* gnu/packages/scheme.scm (bigloo)[arguments]: Pass --ldflags
  'configure' flag.
2015-04-16 23:15:06 +02:00
Manolis Ragkousis d67513fa05 gnu: mig: Update to 1.5
* gnu/packages/hurd.scm (mig): Update to version 1.5.
2015-04-16 14:13:23 +03:00
Manolis Ragkousis 41d9c5d39a gnu: hurd-headers: Update to 0.6
* gnu/packages/hurd.scm (hurd-headers): Update to version 0.6.
2015-04-16 14:13:17 +03:00
Manolis Ragkousis 78dc44908e gnu: gnumach-headers: Update to 1.5
* gnu/packages/hurd.scm (gnumach-headers): Update to version 1.5.
2015-04-16 14:13:11 +03:00
Andreas Enge 1a189da0e7 gnu: vlc: Update to 2.2.0.
* gnu/packages/video.scm (vlc): Update to 2.2.0.
  [inputs]: Switch from ffmpeg-2.2 to latest one.
2015-04-16 13:11:24 +02:00
Ludovic Courtès 457e528eb9 gnu: ffmpeg: Allow tests to run from the build tree.
* gnu/packages/video.scm (ffmpeg)[arguments]: Add 'set-ld-library-path'
  phase.
2015-04-16 10:54:07 +02:00
Ludovic Courtès f2feb0ce7c gnu: ffmpeg: Use 'modify-phases'.
* gnu/packages/video.scm (ffmpeg)[arguments]: Use 'modify-phases'
  instead of 'alist-cons-after' et al.
2015-04-16 10:35:33 +02:00
Ricardo Wurmus 2127cedb23 gnu: Add FASTX Toolkit.
* gnu/packages/bioinformatics.scm (fastx-toolkit): New variable.
2015-04-16 10:28:37 +02:00
Ricardo Wurmus f571e1c346 gnu: Add libgtextutils.
* gnu/packages/textutils.scm (libgtextutils): New variable.
2015-04-16 10:28:30 +02:00
Ricardo Wurmus 4f2bde4433 gnu: tbb: Set library rpath.
* gnu/packages/tbb.scm (tbb)[arguments]: Add the rpath for lib directory of
  output to LDFLAGS.
2015-04-16 10:23:03 +02:00
Ludovic Courtès e1600f6996 hydra: Increase size of USB image.
* build-aux/hydra/gnu-system.scm (qemu-jobs) <usb-image>: Increase from
  800 MiB to 850 MiB.
2015-04-16 10:05:36 +02:00
Ludovic Courtès 73b1b4eba9 gnu: icecat: Disable RUNPATH validation.
* gnu/packages/gnuzilla.scm (icecat)[arguments]: Pass
  #:validate-runpath? #f.
2015-04-16 09:56:10 +02:00
Paul van der Walt 945e9c0cef gnu: mu: Update to 0.9.12.
* gnu/packages/mail.scm (mu): Update to version 0.9.12.
2015-04-16 09:55:22 +02:00
Ludovic Courtès b7615c56a7 build-system/haskell: Adjust to new 'modify-phases' syntax.
* guix/build/haskell-build-system.scm (%standard-phases): Add missing
  quotes, as needed since commit f8503e2.
2015-04-16 09:51:38 +02:00
Ludovic Courtès 9fd6c2ba94 build: Build and install (guix build haskell-build-system).
* Makefile.am (MODULES): Add guix/build/haskell-build-system.scm.
2015-04-16 09:49:52 +02:00
Ludovic Courtès 09722b11e5 doc: Add section on installation from a binary tarball.
* doc/guix.texi (Binary Installation): New section.
2015-04-15 23:25:04 +02:00
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