Commit Graph

33698 Commits

Author SHA1 Message Date
Ludovic Courtès 147c5aa5d4
services: mcron: Add 'schedule' action.
Inspired by
<https://lists.gnu.org/archive/html/help-guix/2018-07/msg00035.html>.

* gnu/services/mcron.scm (shepherd-schedule-action): New procedure.
(mcron-shepherd-services): Add 'actions' field.
* gnu/tests/base.scm (run-mcron-test)["schedule action"]: New test.
* doc/guix.texi (Scheduled Job Execution): Mention 'herd schedule'.
2018-07-13 00:08:55 +02:00
Ludovic Courtès 701383081a
services: shepherd: Support custom actions.
* gnu/services/shepherd.scm (<shepherd-service>)[actions]: New field.
(<shepherd-action>): New record type.
(shepherd-service-file): Pass #:actions to 'make'.
* doc/guix.texi (Shepherd Services): Document custom actions.
2018-07-13 00:08:54 +02:00
Jelle Licht 814bb81668
gnu: emacs-helm-bibtex: Add emacs-ivy to inputs.
* gnu/packages/emacs.scm (emacs-helm-bibtex)[inputs]: Add emacs-ivy.
2018-07-12 21:34:25 +02:00
Jelle Licht 161fbe4a3d
gnu: emacs-biblio: Add emacs-dash to inputs.
* gnu/packages/emacs.scm (emacs-biblio)[inputs]: Add emacs-dash.
2018-07-12 21:34:13 +02:00
Danny Milosavljevic e39a44f340
import: hackage: Evaluate "-any" and "-none" version comparison operators.
* guix/import/cabal.scm (eval-cabal): Modify.
* tests/hackage.scm (test-cabal-4): New variable and test.
(test-cabal-5): New variable and test.
(test-cabal-6): New variable and test.
2018-07-12 20:35:04 +02:00
Leo Famulari fd115bee31
gnu: Syncthing: Fix a crash bug.
* gnu/packages/patches/syncthing-fix-crash.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/syncthing.scm (syncthing)[source]: Use it.
2018-07-12 14:17:07 -04:00
Arun Isaac e81c952a4d
gnu: Add quaternion.
* gnu/packages/messaging.scm (quaternion): New variable.
2018-07-12 23:20:03 +05:30
Arun Isaac 9a3da9859b
gnu: Add libqmatrixclient.
* gnu/packages/messaging.scm (libqmatrixclient): New variable.
2018-07-12 23:19:57 +05:30
Marius Bakke f42846b2ea
gnu: psmisc: Update to 23.1.
* gnu/packages/linux.scm (psmisc): Update to 23.1.
[source](uri): Use XZ-compressed tarball.
2018-07-12 17:21:17 +02:00
Marius Bakke 8801d7fc72
gnu: unbound: Update to 1.7.3.
* gnu/packages/dns.scm (unbound): Update to 1.7.3.
2018-07-12 17:21:17 +02:00
Marius Bakke d5019f9ca7
gnu: php: Build with an older oniguruma.
* gnu/packages/textutils.scm (oniguruma-5): New public variable.
* gnu/packages/php.scm (php)[inputs]: Change ONIGURUMA to ONIGURUMA-5.
2018-07-12 17:21:17 +02:00
Marius Bakke fa25b268dc
gnu: iso-codes: Update home page.
* gnu/packages/iso-codes.scm (iso-codes)[home-page]: Change to salsa.debian.org.
2018-07-12 17:21:17 +02:00
Marius Bakke 483374378b
gnu: oniguruma: Update to 6.8.2.
* gnu/packages/textutils.scm (oniguruma): Update to 6.8.2.
2018-07-12 17:21:17 +02:00
Marius Bakke 6f6f9ef0ce
gnu: lsof: Return #t from all phases.
* gnu/packages/lsof.scm (lsof)[arguments]: Return #t from phases.
2018-07-12 17:21:16 +02:00
Marius Bakke b9ffa82b96
gnu: lsof: Update to 4.91.
* gnu/packages/lsof.scm (lsof): Update to 4.91.
2018-07-12 17:21:16 +02:00
Marius Bakke 2c3434150b
gnu: xf86-input-libinput: Update to 0.28.0.
* gnu/packages/xorg.scm (xf86-input-libinput): Update to 0.28.0.
2018-07-12 17:21:16 +02:00
Marius Bakke 041f84edf3
gnu: ldb: Downgrade to 1.3.3.
LDB 1.4 and above does not support Samba < 4.9; see
<https://bugzilla.samba.org/show_bug.cgi?id=13519>.

* gnu/packages/samba.scm (ldb): Downgrade to 1.3.3.
[inputs]: Remove LMDB.
[arguments]: Remove #:tests.
2018-07-12 17:21:16 +02:00
Marius Bakke b7a2d2d9a9
gnu: tdb: Update to 1.3.16.
* gnu/packages/databases.scm (tdb): Update to 1.3.16.
2018-07-12 17:21:16 +02:00
Marius Bakke e4bdd199c0
gnu: tevent: Update to 0.9.37.
* gnu/packages/samba.scm (tevent): Update to 0.9.37.
2018-07-12 17:21:16 +02:00
Marius Bakke f9e1cdb87a
gnu: talloc: Update to 2.1.14.
* gnu/packages/samba.scm (talloc): Update to 2.1.14.
2018-07-12 17:21:16 +02:00
Marius Bakke 250276a202
gnu: python-pyyaml: Update to 3.13.
* gnu/packages/python.scm (python-pyyaml): Update to 3.13.
2018-07-12 17:21:15 +02:00
Marius Bakke 316ece170c
gnu: appstream-glib: Update to 0.7.10.
* gnu/packages/glib.scm (appstream-glib): Update to 0.7.10.
2018-07-12 17:21:15 +02:00
Marius Bakke 804863196c
gnu: libzip: Update to 1.5.1.
* gnu/packages/compression.scm (libzip): Update to 1.5.1.
[build-system]: Switch to CMAKE-BUILD-SYSTEM.
2018-07-12 17:21:15 +02:00
Marius Bakke 69b8820e7b
gnu: rng-tools: Update to 6.3.
* gnu/packages/linux.scm (rng-tools): Update to 6.3.
2018-07-12 17:21:15 +02:00
Marius Bakke 03229b36e0
gnu: openh264: Update to 1.8.0.
* gnu/packages/video.scm (openh264): Update to 1.8.0.
[source](uri): Use release tarball.
2018-07-12 17:21:15 +02:00
Marius Bakke 9b76037e2c
gnu: xapian: Update to 1.4.6 [fixes CVE-2018-0499].
* gnu/packages/search.scm (xapian, python-xapian-bindings): Update to 1.4.6.
2018-07-12 17:21:14 +02:00
Leo Famulari 6adc6b091e
gnu: GnuPG: Update to 2.2.9.
* gnu/packages/gnupg.scm (gnupg): Update to 2.2.9.
2018-07-12 11:11:10 -04:00
Danny Milosavljevic ecba50bb79
import: hackage: Support "-any" and "-none" version comparison operators.
* guix/import/cabal.scm (make-cabal-parser): Modify.
(is-any): New variable.
(is-none): New variable.
(lex-any): New procedure.
(lex-none): New procedure.
(lex-word): Modify.
(eval-cabal): Modify.
2018-07-12 09:06:48 +02:00
Danny Milosavljevic 314b63e0b4
import: hackage: Support "custom-setup" field.
Fixes <https://bugs.gnu.org/23961>.

* guix/import/cabal.scm (make-cabal-parser): Modify.
(is-custom-setup): New variable.
(lex-custom-setup): New procedure.
(is-id): Modify.
(lex-version): Modify.
(<cabal-custom-setup>): New record type.
(eval-cabal): Modify.
(dependencies): Add parameter.
2018-07-12 09:06:48 +02:00
Jan Nieuwenhuizen e8e1f295f1
gexp: Allow bytevector as content of `plain-file'.
This allows for using a package source directly from git, doing something like

    (define (command->bytevector command)
      (let ((port (apply open-pipe* OPEN_READ command)))
        (let ((output (get-bytevector-all port)))
          (close-port port)
          output)))

    (define-public hello-git
      (package
        (name "hello")
        (version "git")
        (source (let* ((commit "stable-2.0")
                       (content (command->bytevector
                                 `("git" "archive" "--format" "tar" "--prefix"
                                   ,(string-append commit "/") ,commit)))
                       (file-name (string-append "hello-" commit)))
                  (plain-file file-name content)))
        ...
        ))

* guix/gexp.scm (<plain-file>): Also allow bytevector content.
(plain-file-compiler): Handle bytevector content.
* doc/guix.texi (G-Expressions): Describe plain-file now also taking
bytevectors.
2018-07-12 06:22:04 +02:00
Jan Nieuwenhuizen f3a422511f
store: Add `binary-file'.
* guix/store.scm (binary-file): New function.
* doc/guix.texi (The Store Monad): Describe binary-file.
2018-07-12 06:22:04 +02:00
Danny Milosavljevic 66413378e8
gnu: Add ghc-xdg-basedir.
* gnu/packages/haskell.scm (ghc-xdg-basedir): New variable.
2018-07-11 22:24:33 +02:00
Danny Milosavljevic e73ed2a1ec
gnu: Add ghc-regex-tdfa-text.
* gnu/packages/haskell.scm (ghc-regex-tdfa-text): New variable.
2018-07-11 22:24:09 +02:00
Danny Milosavljevic 9e84a4d6a5
gnu: u-boot-tools: Simplify build.
* gnu/packages/bootloaders.scm (u-boot-tools)[arguments]<#:phases>[build]:
Modify.
2018-07-11 22:23:26 +02:00
Danny Milosavljevic 10186ee2d3
gnu: u-boot-tools: Install "sunxi-spl-image-builder".
* gnu/packages/bootloaders.scm (u-boot-tools)[arguments]<#:phases>[build]:
Build sunxi-spl-image-builder.
(u-boot-tools)[arguments]<#:phases>[install]: Install sunxi-spl-image-builder.
2018-07-11 22:23:22 +02:00
Danny Milosavljevic d1af9a8c22
gnu: make-u-boot-package: Return #t from "install" phase.
* gnu/packages/bootloaders.scm (make-u-boot-package)[arguments]<#:phases>
[install]: Return #t.
2018-07-11 22:23:04 +02:00
Efraim Flashner 1a80f1a9e3
gnu: msmtp: Update to 1.6.8.
* gnu/packages/mail.scm (msmtp): Update to 1.6.8.
[source]: Update to new source location.
[home-page]: Update to new home-page.
2018-07-11 22:08:55 +03:00
Efraim Flashner fc83ca2b2f
gnu: btrfs-progs: Update home-page.
* gnu/packages/linux.scm (btrfs-progs)[home-page]: Update to redirected
home-page.
2018-07-11 22:04:12 +03:00
Ludovic Courtès d1f90b9bfb
gnu: Add emacs-fold-dwim.
* gnu/packages/emacs.scm (emacs-fold-dwim): New variable.
2018-07-11 16:07:05 +02:00
Ludovic Courtès 36adbc4310
gnu: Add emacs-recent-addresses.
* gnu/packages/emacs.scm (emacs-recent-addresses): New variable.
2018-07-11 16:07:05 +02:00
Ludovic Courtès daf76c7cd5
gnu-maintenance: Get GNU metadata from rec files.
Suggested by Mike Gerwitz <mtg@gnu.org>.

* guix/gnu-maintenance.scm (%package-list-url): Use the .rec file.
(%package-description-url): Likewise.
(official-gnu-packages)[read-records]: Skip record descriptors.
Rename fields to use underscores instead of hyphens.
2018-07-11 16:07:04 +02:00
Julian Graham cd6ae1cee9
gnu: gzochi: Update to 0.12.
* gnu/packages/game-development.scm (gzochi): Update to 0.12.
2018-07-11 13:39:50 +03:00
Efraim Flashner 8911d85b9c
gnu: qsintilla: Update to 2.10.7.
* gnu/packages/qt.scm (qscintilla): Update to 2.10.7.
2018-07-11 11:08:48 +03:00
Efraim Flashner a01a3763fc
gnu: python-pyqt: Update to 5.11.2.
* gnu/packages/qt.scm (python-pyqt): Update to 5.11.2.
[arguments]: Substitute INVOKE for SYSTEM*.
(python2-pyqt)[inputs]: Add python2-enum34.
2018-07-11 11:08:48 +03:00
Efraim Flashner e3232b2627
gnu: python-sip: Update to 4.19.11.
* gnu/packages/qt.scm (python-sip): Update to 4.19.11.
[arguments]: Substitute INVOKE for SYSTEM*. Add flag to build private
sip module PyQt5.sip.
2018-07-11 11:08:48 +03:00
Efraim Flashner f79c7e9747
gnu: qt: Update to 5.11.1.
* gnu/packages/qt.scm (qt): Update to 5.11.1.
[source]: Update snippet.
[inputs]: Remove sqlite.
[arguments]: Don't use system sqlite.
2018-07-11 11:08:48 +03:00
Efraim Flashner 64a64fa72a
gnu: python-pyqt: Remove qt-5.11 compat phase.
* gnu/packages/qt.scm (python-pyqt)[arguments]: Remove custom phase to
fix compatibility with qt-5.11.
2018-07-11 11:08:47 +03:00
Efraim Flashner b6476ecc8b
gnu: qt: Update to 5.11.1.
* gnu/packages/qt.scm (qtbase, qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtdeclarative, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtwayland, qtserialport, qtserialbus, qtwebchannel,
qtwebglplugin, qtwebview, qtlocation, qttools, qtscript,
qtquickcontrols, qtquickcontrols2, qtgrapgicaleffects, qtgamepad,
qtscxml, qtpurchasing, qtcanvas3d, qtcharts, qtdatavis3d, qtnetworkauth,
qtremoteobjects, qtspeech): Update to 5.11.1.
(qtwebglplugin)[arguments]: Add custom phase to disable network tests.
[inputs]: Add qtdeclarative.
(qtremoteobjects)[arguments]: Add another test to the skip list.
(qtspeech)[arguments]: Disable tests.
2018-07-11 11:08:47 +03:00
Efraim Flashner e718ce1460
gnu: owncloud-client: Update to 2.4.1.
* gnu/packages/sync.scm (owncloud-client): Update to 2.4.1.
[phases]: Remove custom 'change-rpath-dirs phase.
[arguments]: Disable building with qtwebkit.
[inputs]: Remove inotify-tools, openssl, qtwebkit.
2018-07-11 11:08:43 +03:00
Oleg Pykhalov 88388766f7
import: gem: Add recursive import.
* doc/guix.texi (Invoking guix import): Document gem recursive import.
* guix/import/gem.scm (gem->guix-package): Return package and dependencies
values.
(gem-recursive-import): New procedure.
* guix/scripts/import/gem.scm (show-help, %options): Add recursive option.
(guix-import-gem): Use 'gem-recursive-import'.
* tests/gem.scm (test-json): Rename to 'test-foo-json'.
("gem->guix-package"): Use 'test-foo-json'.
(test-bar-json, test-bundler-json): New variables.
("gem-recursive-import"): New test.
2018-07-11 07:08:54 +03:00