Commit graph

8756 commits

Author SHA1 Message Date
Ludovic Courtès
cde0402169 services: dbus: Support service activation.
* gnu/services/dbus.scm (system-service-directory): New procedure.
  (dbus-configuration-directory)[services->sxml]: Add
  /etc/dbus-1/system-services <servicedir> tag, and remove the
  per-service "/share/dbus-1/system-services" tag.
  Symlink OUTPUT/system-services.
  (dbus-setuid-programs): New procedure.
  (dbus-root-service-type): Extend SETUID-PROGRAM-SERVICE-TYPE.
  (dbus-service): Default to DBUS/ACTIVATION.
2015-10-22 00:41:09 +02:00
Ludovic Courtès
da51f5bb01 gnu: dbus: Add variant with proper helper for service activation.
* gnu/packages/patches/dbus-helper-search-path.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/glib.scm (dbus/activation): New variable.
2015-10-22 00:26:11 +02:00
Ludovic Courtès
4a663ca4e8 services: dbus: Honor the config's dbus package.
* gnu/services/dbus.scm (dbus-dmd-service): Rewrite using 'match-lambda'
  so that the config's dbus package is used.  Fixes a regression
  introduced in 64643b9.
2015-10-21 23:37:02 +02:00
Ludovic Courtès
5e3bfe9d01 gnu: inkscape: Fix build with newer GLibmm.
* gnu/packages/inkscape.scm (inkscape)[arguments]: Add #:configure-flags.
2015-10-20 22:37:26 +02:00
Efraim Flashner
938ecdfcab gnu: giflib: Update to 5.1.1.
* gnu/packages/image.scm (giflib): Update to 5.1.1.
2015-10-20 14:12:09 -04:00
Andreas Enge
8cab7580f5 gnu: curl: Update to 7.45.0.
* gnu/packages/curl.scm (curl): Update to 7.45.0.
2015-10-20 14:12:09 -04:00
Mark H Weaver
7c6fb733e9 Merge branch 'master' into dbus-update 2015-10-20 14:11:43 -04:00
Mark H Weaver
b1599b5299 Revert "gnu: giflib: Update to 5.1.1."
This reverts commit a5d06c0c53.
2015-10-20 14:08:37 -04:00
Mark H Weaver
9e84fe2cde Revert "gnu: curl: Update to 7.45.0."
This reverts commit 075c3ebd2d.
2015-10-20 14:07:34 -04:00
Efraim Flashner
a5d06c0c53 gnu: giflib: Update to 5.1.1.
* gnu/packages/image.scm (giflib): Update to 5.1.1.
2015-10-20 20:37:16 +03:00
Andreas Enge
212efe97c5 gnu: gnurl: Update to 7.45.0.
* gnu/packages/gnunet.scm (gnurl): Update to 7.45.0.
2015-10-20 18:30:40 +02:00
Andreas Enge
075c3ebd2d gnu: curl: Update to 7.45.0.
* gnu/packages/curl.scm (curl): Update to 7.45.0.
2015-10-20 17:59:51 +02:00
Alex Kost
4ab70c5ca0 emacs: devel: Add indentation rules for 'modify-phases' keywords.
* emacs/guix-devel.el: Add indentation rules for 'modify-phases' keywords.
  (guix-devel-indent-modify-phases-keyword,
  guix-devel-indent-modify-phases-keyword-1,
  guix-devel-indent-modify-phases-keyword-2): New functions.
2015-10-20 16:47:21 +03:00
Alex Kost
380566157d emacs: config: Use "emacs-config-" prefix for constants.
* emacs/guix-config.el.in (guix-emacs-interface-directory,
  guix-state-directory): Rename to ...
  (guix-config-emacs-interface-directory, guix-config-state-directory):
  ...this.
  (guix-config-guile-program): New constant.
  (guix-guile-program): Move to ...
* emacs/guix-external.el (guix-guile-program): ...here.  Make it a
  'defcustom'.
* emacs/guix-profiles.el (guix-default-profile): Use
  'guix-config-state-directory'.
* emacs/guix-backend.el (guix-load-path): Use
  'guix-config-emacs-interface-directory'.
2015-10-20 16:47:05 +03:00
Alex Kost
51805219a5 build: Set DOT_USER_PROGRAM for Emacs interface.
Suggested by Ludovic Courtès <ludo@gnu.org>.

* configure.ac: Set DOT_USER_PROGRAM variable.
* emacs/guix-config.el.in (guix-config-dot-program): New constant.
* emacs/guix-external.el (guix-dot-program): Use it.
2015-10-20 16:47:05 +03:00
Efraim Flashner
cbe9505778 gnu: units: Update to 2.12.
* gnu/packages/maths.scm (units): Update to 2.12.
2015-10-20 09:41:54 +03:00
Ludovic Courtès
d23c20f1d0 Add 'guix challenge'.
* guix/scripts/challenge.scm, tests/challenge.scm: New files.
* Makefile.am (MODULES): Add the former.
  (SCM_TESTS): Add the latter.
* doc.am (SUBCOMMANDS): Add 'challenge'.
* doc/guix.texi (Substitutes): Add xref to 'guix challenge'.
  (Invoking guix challenge): New node.
* doc/contributing.texi (Submitting Patches): Add note about using 'guix
  challenge'.
* po/guix/POTFILES.in: Add guix/scripts/challenge.scm.
2015-10-20 00:57:36 +02:00
Ludovic Courtès
ea0c6e0507 substitute: Expose narinfo access.
* guix/scripts/substitute.scm: Export <narinfo> accessors.
  (narinfo-hash->sha256): New procedure.
  (cache-narinfo!): Ignore EACCES exceptions.
2015-10-19 23:12:34 +02:00
Ludovic Courtès
e38a71eea9 gnu: qemu: Adjust to newer GLib versions.
* gnu/packages/qemu.scm (qemu-patch): New procedure.
  (%glib-memory-vtable-patch, %glib-duplicate-test-patch): New
  variables.
2015-10-19 17:57:12 +02:00
宋文武
20848f3637 gnu: mesa: Patch the dlopen call for 'libudev.so'.
Fixes a regression introduced in d18c3c6.

* gnu/packages/gl.scm (mesa)[arguments]: Update the 'substitute*'
  call for 'libudev.so'.
2015-10-19 22:21:21 +08:00
宋文武
1cb16f1ea3 gnu: gtk+: Remove colord from inputs.
This broke building on non-intel systems.

* gnu/packages/gtk.scm (gtk+)[inputs]: Remove colord.
2015-10-19 21:39:46 +08:00
宋文武
64643b90ab services: dbus: Build '/etc/dbus-1/system-local.conf'.
* gnu/services/dbus.scm (dbus-etc-files): New procedure.
  (dbus-dmd-service): Remove the use of '--config-file'.
  (dbus-configuration-directory): Adjust accordingly.
  (dbus-root-service-type): Add extension of ETC-SERVICE-TYPE.
2015-10-19 19:25:15 +08:00
Ludovic Courtès
c6f8e9dd64 guix archive: Add '--extract'.
* guix/scripts/archive.scm (show-help, %options): Add --extract.
  (guix-archive): Honor it.
* tests/guix-archive.sh: Test it.
* doc/guix.texi (Invoking guix archive): Document it.
2015-10-19 10:10:47 +02:00
Mark H Weaver
b2aab72c14 gnu: libdrm: Fix symbol check tests on mips64el and armhf.
* gnu/packages/patches/libdrm-symbol-check.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/xdisorg.scm (libdrm)[source]: Add patch.
2015-10-19 00:37:53 -04:00
Ludovic Courtès
1d19bc1162 gnu: elogind: Provide the file name of 'halt' and 'reboot'.
* gnu/packages/freedesktop.scm (elogind)[inputs]: Add DMD.
2015-10-18 19:26:48 +02:00
Andreas Enge
8ca73fcee9 gnu: gnurl: Update to 7.44.0.
* gnu/packages/gnunet.scm (gnurl): Update to 7.44.0.
2015-10-18 12:10:03 +02:00
宋文武
a572dca848 gnu: gtk+: Add more inputs.
* gnu/packages/gtk.scm (gtk+)[propagated-inputs]: Add libxcursor.
  [inputs]: Add rest, json-glib and colord.
2015-10-18 15:06:12 +08:00
宋文武
80c7dd1a4e gnu: colord: Add input libgudev.
* gnu/packages/gnome.scm (colord)[inputs]: Add libgudev.
2015-10-18 13:46:22 +08:00
宋文武
4955ab7d65 gnu: json-glib: Update to 1.0.4, fix test.
* gnu/packages/gnome.scm (json-glib): Update to 1.0.4.
  [source]: Add snippet.
2015-10-18 13:30:18 +08:00
宋文武
7765bfc61f gnu: elogind: Fix build by explicitly link with librt.
* gnu/packages/freedesktop.scm (elogind)[arguments]: Pass
  'LDFLAGS=-lrt' to configure.
2015-10-18 09:31:55 +08:00
宋文武
6717c87964 gnu: python-dbus: Fix test.
* gnu/packages/python.scm (python-dbus)[arguments]: Run test with
  'DBUS_FATAL_WARNINGS=0'.
2015-10-18 08:43:40 +08:00
宋文武
406766c0d0 gnu: xfconf: Fix test.
* gnu/packages/xfce.scm (xfconf)[arguments]: Run test with
  'DBUS_FATAL_WARNINGS=0'.
2015-10-18 08:43:14 +08:00
Mark H Weaver
ccb522324b Merge branch 'master' into dbus-update 2015-10-17 19:08:53 -04:00
Andreas Enge
9e2592a346 gnu: calibre: Update to 2.41.0.
* gnu/packages/ebook.scm (calibre): Update to 2.41.0.
2015-10-17 23:13:03 +02:00
Efraim Flashner
6f35d39647 gnu: youtube-dl: Update to 2015.10.16.
* gnu/packages/video.scm (youtube-dl): Update to 2015.10.16.
2015-10-18 00:01:41 +03:00
Andreas Enge
ab29be81c5 gnu: ngs-sdk: Correct typo.
* gnu/packages/bioinformatics.scm (ngs-sdk): Correct typo.
2015-10-17 22:51:12 +02:00
Andreas Enge
a0dadf0cb1 gnu: ngs-sdk: Remove unsupported systems.
* gnu/packages/bioinformatics.scm (ngs-sdk)[supported-systems]: Keep only x86
  based systems.
2015-10-17 22:43:14 +02:00
Efraim Flashner
830d170e97 gnu: chess: Update to 6.2.2.
* gnu/packages/games.scm (chess): Update to 6.2.2.
2015-10-17 22:46:42 +03:00
Ricardo Wurmus
e591a4d6e5 gnu: non-sequencer: Disable SSE when not building on x86_64.
* gnu/packages/music.scm (non-sequencer)[arguments]: Add "--disable-sse"
  flag when not building on x86_64.
2015-10-17 19:38:46 +02:00
Federico Beffa
3dac53be01 gnu: fastcap: Remove non-free file.
* gnu/packages/engineering.scm (fastcap): Do it.
2015-10-17 18:41:22 +02:00
Federico Beffa
1f7ffd6ff7 gnu: fastcap: Fix 'fix-doc phase.
* gnu/packages/engineering.scm (fastcap): Adapt documentation generation to
  change in TeXLive 2015.
2015-10-17 18:15:42 +02:00
Alex Kost
5d86684ddf emacs: devel: Highlight Guix keywords.
* emacs/guix-devel.el (guix-devel-keywords): New constant.
  (guix-devel-font-lock-keywords): Use it.
2015-10-17 18:57:30 +03:00
Alex Kost
5e2b761e6a doc: emacs: Document "View graph" popup action.
* doc/emacs.texi (Emacs Popup Interface): Document "View graph" action.
2015-10-17 18:57:09 +03:00
Alex Kost
7c0b02f5ae emacs: Improve file names of generated graphs.
Suggested by Ludovic Courtès <ludo@gnu.org>.

* emacs/guix-external.el (guix-png-file-name): Change prefix of a file
  name to "guix-emacs-graph-" to avoid possible conflicts.
2015-10-17 18:56:50 +03:00
Ludovic Courtès
2134228a7d gnu-maintenance: Fix file descriptor leak.
* guix/gnu-maintenance.scm (official-gnu-packages): Close the port
  returned by FETCH.
2015-10-17 14:42:07 +02:00
Ludovic Courtès
9aec35d265 gnu-maintenance: Use 'http-fetch/cached' by default.
This speeds up operations like 'guix lint -c gnu-description'.

* guix/gnu-maintenance.scm (official-gnu-packages): Add 'fetch'
  parameter and honor it.  Default to 'http-fetch/cached'.
2015-10-17 14:42:07 +02:00
Ludovic Courtès
739ab68bac http-client: Add 'http-fetch/cached'.
* guix/utils.scm (cache-directory): New procedure.
* guix/http-client.scm (%http-cache-ttl): New variable.
  (http-fetch/cached): New procedure.
2015-10-17 14:42:01 +02:00
Ludovic Courtès
34a7bfb049 install: Set the mtime in the binary tarball to 1.
Reported by anthk_ on #guix in Sept. 2015.

* gnu/system/install.scm (self-contained-tarball): Use --mtime=@1
  instead of --mtime=@0.
2015-10-17 12:20:39 +02:00
Ludovic Courtès
4375dcf36c gnu: complexity: Update to 1.3.
* gnu/packages/code.scm (complexity): Update to 1.3.
2015-10-17 12:17:02 +02:00
Ludovic Courtès
78981bb9bd file-systems: Do not truncate mount points that already exist.
Reported by David Thompson <dthompson2@worcester.edu>
at <https://lists.gnu.org/archive/html/guix-devel/2015-10/msg00284.html>.

* gnu/build/file-systems.scm (mount-file-system): When SOURCE matches
  'regular-file?', do not create MOUNT-POINT if it already exists.  This
  fixes a bug whereby we would be truncating MOUNT-POINT if it already
  existed.
2015-10-17 11:57:38 +02:00