Commit Graph

6832 Commits

Author SHA1 Message Date
Mark H Weaver dd4a86207e gnu: Add dosfstools.
* gnu/packages/disk.scm (dosfstools): New variable.
2015-05-07 00:54:17 -04:00
Taylan Ulrich Bayırlı/Kammer 9e006fb3de tests: Fix etc/profile test.
* tests/profiles.scm ("etc/profile"): Unset GUIX_PROFILE before sourcing
  etc/profile.  Use '.' instead of 'source' for sourcing.  Call 'echo $PATH'
  instead of using the output of 'set' to determine whether PATH is set.
2015-05-06 22:34:54 +02:00
Andreas Enge 56203284b6 gnu: Add libvisio.
* gnu/packages/libreoffice.scm (libvisio): New variable.
2015-05-06 22:25:21 +02:00
Andreas Enge f5d4a138a7 gnu: Add libpagemaker.
* gnu/packages/libreoffice.scm (libpagemaker): New variable.
2015-05-06 22:12:43 +02:00
Andreas Enge 86e278fc1a gnu: Add libmspub.
* gnu/packages/libreoffice.scm (libmspub): New variable.
2015-05-06 22:06:36 +02:00
Andreas Enge ef1c414838 gnu: Add libfreehand.
* gnu/packages/libreoffice.scm (libfreehand): New variable.
2015-05-06 21:57:42 +02:00
Andreas Enge 97aee2b6a5 gnu: Add libexttextcat.
* gnu/packages/libreoffice.scm (libexttextcat): New variable.
2015-05-06 21:51:52 +02:00
Andreas Enge 3dc67e3894 gnu: Add libetonyek.
* gnu/packages/libreoffice.scm (libetonyek): New variable.
2015-05-06 21:42:51 +02:00
Andreas Enge 9fe8a4ba4e gnu: Add libcdr.
* gnu/packages/libreoffice.scm (libcdr): New variable.
2015-05-06 21:34:49 +02:00
Andreas Enge 4cd369ed6b gnu: Add libabw.
* gnu/packages/libreoffice.scm (libabw): New variable.
2015-05-06 21:19:28 +02:00
Ricardo Wurmus e8444b26ab gnu: Add python-pyxdg.
* gnu/packages/freedesktop.scm (python-pyxdg, python2-pyxdg): New variables.
2015-05-06 20:17:57 +02:00
Ludovic Courtès d9959421a5 system: /etc/profile sources each profile's /etc/profile.
Partly fixes <http://bugs.gnu.org/20255>.
Reported by 宋文武 <iyzsong@gmail.com>.

* gnu/system.scm (etc-directory)[profile]: Source
  /run/current-system/profile/etc/profile and
  $HOME/.guix-profile/etc/profile when available.  Move definitions of
  SSL_CERT_DIR, SSL_CERT_FILE, and GIT_SSL_CAINFO before that.
2015-05-06 18:26:54 +02:00
Ludovic Courtès d664f1b431 profiles: Generate an 'etc/profile' file.
Suggested by 宋文武 <iyzsong@gmail.com>
in <http://bugs.gnu.org/20255>.

* guix/build/profiles.scm (abstract-profile,
  write-environment-variable-definition): New procedures.
  (build-profile): Add #:search-paths parameter.  Create
  OUTPUT/etc/profile.
* guix/profiles.scm (profile-derivation)[builder]: Add 'search-paths'
  variable and pass it to 'build-profile'.  Adjust #:modules argument.
* tests/profiles.scm ("etc/profile"): New test.
* doc/guix.texi (Invoking guix package): Mention etc/profile.
2015-05-06 18:26:54 +02:00
Ludovic Courtès 611adb1ee5 profiles: Move build code to (guix build profiles).
* guix/build/profiles.scm: New file.
* Makefile.am (MODULES): Add it.
* guix/profiles.scm (profile-derivation)[builder]: Call out to
  'build-profile'.
  Add (guix build profiles) to the #:modules argument.
2015-05-06 18:26:54 +02:00
Ludovic Courtès d838e70298 search-paths: Export 'string-tokenize*'.
* guix/search-paths.scm (string-tokenize*): Export.
* tests/utils.scm ("string-tokenize*"): Adjust accordingly.
2015-05-06 18:26:53 +02:00
Eric Bavier b5cd1e4f93 gnu: moe: Update to 1.7.
* gnu/packages/moe.scm (moe): Update to 1.7.
2015-05-06 11:13:47 -05:00
Eric Bavier 76071c70fc gnu: hop: Remove use of patchelf.
* gnu/packages/patches/hop-linker-flags.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/scheme.scm (source)[patches]: Use it.
  (arguments)[phases]: Remove patch-rpath phase.
  [modules, imported-modules]: Remove.
  (native-inputs): Remove field.
2015-05-06 10:31:02 -05:00
Ricardo Wurmus 366553e447 gnu: Add elogind.
* gnu/packages/freedesktop.scm (elogind): New variable.
2015-05-06 11:52:07 +02:00
Ricardo Wurmus 32cf42c1eb gnu: Add IR.
* gnu/packages/audio.scm (ir): New variable.
2015-05-06 11:52:07 +02:00
Ricardo Wurmus d73f79099b gnu: Add zita-convolver.
* gnu/packages/audio.scm (zita-convolver): New variable.
2015-05-06 11:52:07 +02:00
Ludovic Courtès 7623848343 download: Work around Guile small-receive-buffer bug.
Previously, code using directly (guix build download) was still affected
by <http://bugs.gnu.org/15368>.  This includes source derivations, the
'guix download' command, and (guix gnu-maintenance).

'guix substitute' was unaffected since it used (guix http-client), which
already had the fix.

* guix/http-client.scm (open-socket-for-uri): Remove.
  (http-fetch): Remove #:buffered? argument to 'open-socket-for-uri';
  use 'setvbuf' instead.
* guix/scripts/substitute.scm (fetch): Likewise.
* guix/build/download.scm (open-socket-for-uri): New procedure, taken
  from guix/http-client.scm, but without the #:buffered? parameter.
2015-05-06 10:31:11 +02:00
Ludovic Courtès c822fb8e34 download: Reinstate buffering on connection sockets.
* guix/build/download.scm (open-connection-for-uri): Reinstate call to
  'setvbuf' inadvertently removed in d17551d9.
2015-05-06 09:50:15 +02:00
David Hashe 0ffcf7cc80 gnu: webkitgtk: Remove unnecessary make flag.
* gnu/packages/webkit.scm (webkitgtk): Remove make-flags.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2015-05-06 09:27:11 +02:00
Ludovic Courtès 356a62b8e6 activation: Make user copies of the skeletons writable.
* gnu/build/activation.scm (make-file-writable,
  make-skeletons-writable): New procedures.
  (copy-account-skeletons): Call 'make-file-writable' after 'copy-file'.
  (add-user): Add call to 'make-skeletons-writable'.
2015-05-05 23:46:54 +02:00
Ludovic Courtès 68267c6367 gnu: librevenge, libwpd, libwpg: Fix 'license' field.
* gnu/packages/libreoffice.scm (librevenge, libwpd, libwpg): Fix
  'license' field to be a list of <license>.
2015-05-05 22:44:31 +02:00
Ludovic Courtès fe1a39d319 services: Group desktop services in (gnu services desktop).
* gnu/services/colord.scm, gnu/services/dbus.scm,
  gnu/services/upower.scm: Remove.
* gnu/services/desktop.scm: New file, with contents taken from the above
  files.
* gnu-system.am (GNU_SYSTEM_MODULES): Adjust accordingly.
* doc/guix.texi (Desktop Services): New section.
  (Various Services): Move colord-service and upower-service from
  here to "Desktop Services".
2015-05-05 22:44:31 +02:00
Eric Bavier 8a629613d1 gnu: hop: Fix RPATHs.
* gnu/packages/scheme.scm (inputs): Move patchelf input to...
  (native-inputs): ...here.  New field.
  (arguments)[phases]: Use augment-rpath for patch-rpath phase.
2015-05-05 15:14:32 -05:00
Eric Bavier 6f428fda0a gnu: perl-json-any: Fix typo in source uri scheme.
* gnu/packages/perl.scm (perl-json-any)[source]: Fix typo.
2015-05-05 15:13:05 -05:00
David Hashe 9ca3323608 gnu: webkitgtk: Fix compilation on x86_64.
* gnu/packages/webkit.scm (webkitgtk): Move library install path from lib64 to
 lib.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2015-05-05 22:04:10 +02:00
Ludovic Courtès ef80cceddc gnu: wxwidgets-2: Add $libdir to RUNPATH.
* gnu/packages/wxwidgets.scm (wxwidgets-2)[arguments]: Add #:make-flags,
  as for WXWIDGETS.
2015-05-05 22:00:53 +02:00
Ludovic Courtès 4bfeb0ca74 gnu: mozjs: Mark as unsupported on mips64el-linux.
* gnu/packages/gnuzilla.scm (mozjs)[supported-systems]: New field.
2015-05-05 21:39:18 +02:00
Ludovic Courtès ae3bded68e gnu: gpgme: Build against GnuPG 2.0.
* gnu/packages/gnupg.scm (gpgme)[inputs]: Change to GNUPG-2.0.
2015-05-05 17:43:19 +02:00
Ludovic Courtès 8e3a3bc290 environment: Move iteration outside of 'for-each-search-path'.
* guix/search-paths.scm (search-path-definition): New procedure.
* guix/scripts/environment.scm (for-each-search-path): Rename to...
  (evaluate-input-search-paths): ... this.  Remove 'proc' and 'pure?'
  parameters, and return directly the list of search-path/value pairs.
  (create-environment): Use 'for-each' and 'evaluate-input-search-paths'
  instead of 'for-each-search-path'.
  (show-search-paths): Use 'for-each', 'search-path-definition', and
  'evaluate-search-paths' instead of 'for-each-search-path'.
2015-05-05 15:13:59 +02:00
Ludovic Courtès b9ea6c6bf4 environment: Use 'evaluate-search-paths'.
This allows 'guix environment' to correctly handle non-directory
and/or pattern search-path specifications, such as that for
'XML_CATALOG_FILES'.

* guix/scripts/environment.scm (for-each-search-path): Use
  'evaluate-search-paths' instead of 'search-path-as-list' & co.
2015-05-05 15:13:59 +02:00
Ludovic Courtès fdfa753c69 search-paths: Define the 'PATH' environment variable.
* guix/search-paths.scm ($PATH): New variable.
* guix/scripts/environment.scm (for-each-search-path): Use it.
2015-05-05 15:13:58 +02:00
Ludovic Courtès 369149995c search-paths: 'evaluate-search-paths' can be passed a list of directories.
* guix/search-paths.scm (evaluate-search-paths): Change 'directory' to
  'directories', and adjust 'search-path-as-list' accordingly.
* guix/scripts/package.scm (search-path-environment-variables): Adjust
  call accordingly.
2015-05-05 15:13:58 +02:00
Ludovic Courtès c4e8d513f2 gnu-maintenance: 'gnu-package?' returns #t for R and for GNOME packages.
Reported by John Darrington.

* guix/gnu-maintenance.scm (gnu-package?)[mirror-type]: Add "gnome" to
  the list of GNU mirrors.  Return #f for "cran".
2015-05-05 15:13:57 +02:00
Ludovic Courtès 099a2c7055 environment: Use (guix search-paths).
* guix/scripts/environment.scm: Use (guix search-paths).  Fixes a
  regression introduced in e89431b.
2015-05-05 11:01:08 +02:00
Ricardo Wurmus 7c3958e15a gnu: vcftools: Remove "-m64" from CFLAGS.
* gnu/packages/bioinformatics.scm (vcftools): Explicitly set CFLAGS to
  remove "-m64" flag.
2015-05-05 10:20:21 +02:00
Eric Bavier 401f9a8b15 gnu: fltk: Fix undefined symbol errors for shared libraries.
* gnu/packages/patches/fltk-shared-lib-defines.patch: New patch.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/fltk.scm (source)[patches]: New field.
2015-05-05 00:52:53 -05:00
Ricardo Wurmus 21481a284a gnu: ardour: Add library dirs to RUNPATH.
* gnu/packages/audio.scm (ardour)[arguments]: Add a build phase to add all
  library output directories to the rpath using linker flags.
2015-05-05 06:28:37 +02:00
David Thompson eb7c43c387 gnu: Add bluez.
* gnu/packages/linux.scm (bluez): New variable.
2015-05-04 22:15:58 -04:00
David Thompson e5326da4f4 gnu: Add libical.
* gnu/packages/calendar.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
2015-05-04 22:15:50 -04:00
David Thompson 2b226af1bc gnu: Add soil.
* gnu/packages/gl.scm (soil): New variable.
2015-05-04 22:15:41 -04:00
Ludovic Courtès 954cea3ae6 records: Make 'make-syntactic-constructor' available at load/eval/expand.
* guix/records.scm (make-syntactic-constructor): Wrap in 'eval-when'.
2015-05-04 23:30:52 +02:00
Ludovic Courtès 88aab8e349 profiles: Use a &message error condition instead of 'error'.
* guix/profiles.scm (sexp->manifest): Use 'raise' instead of 'error'.
2015-05-04 23:30:52 +02:00
Ludovic Courtès 441cfb420a search-paths: 'evaluate-search-paths' now returns spec/value pairs.
* guix/search-paths.scm (evaluate-search-paths): Return
  specification/value pairs instead of variable/value pairs.
* guix/scripts/package.scm (search-path-environment-variables): Adjust
  accordingly.  Pass #:separator to 'environment-variable-definition'.
2015-05-04 23:30:52 +02:00
Ludovic Courtès b07901c0cc search-paths: Add 'environment-variable-definition'.
* guix/search-paths.scm (environment-variable-definition): New variable.
* guix/scripts/package.scm (search-path-environment-variables): Use it.
2015-05-04 23:30:52 +02:00
Ludovic Courtès 6568d2bd6e search-paths: Add 'evaluate-search-paths', from (guix scripts package).
* guix/scripts/package.scm (with-null-error-port,
  evaluate-search-paths): Move to...
* guix/search-paths.scm: ... here.
* guix/utils.scm (string-tokenize*): Move to...
* guix/search-paths.scm: ... here.
* tests/utils.scm ("string-tokenize*"): Adjust accordingly.
2015-05-04 23:30:51 +02:00
Ludovic Courtès e89431bf01 Move search path specifications to (guix search-paths).
* guix/packages.scm (<search-path-specification>,
  search-path-specification->sexp, sexp->search-path-specification):
  Move to...
* guix/search-paths.scm: ... here.  New file.
* Makefile.am (MODULES): Add it.
* guix/build-system/cmake.scm, guix/build-system/glib-or-gtk.scm,
  guix/build-system/gnu.scm, guix/build-system/haskell.scm,
  guix/build-system/perl.scm, guix/build-system/python.scm,
  guix/build-system/ruby.scm, guix/build-system/waf.scm,
  guix/profiles.scm, guix/scripts/package.scm: Use it.
2015-05-04 23:30:51 +02:00