[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 03/15] gnu: xfconf: Update to 4.12.0.
From: |
David Thompson |
Subject: |
Re: [PATCH 03/15] gnu: xfconf: Update to 4.12.0. |
Date: |
Sun, 01 Mar 2015 07:49:11 -0500 |
User-agent: |
Notmuch/0.18.2 (http://notmuchmail.org) Emacs/24.4.1 (x86_64-pc-linux-gnu) |
宋文武 <address@hidden> writes:
> * gnu/packages/xfce.scm (xfconf): Update to 4.12.0.
> [arguments]: Add #:phases. Remove #:parallel-tests? argument.
> ---
> gnu/packages/xfce.scm | 17 ++++++++++++++---
> 1 file changed, 14 insertions(+), 3 deletions(-)
>
> diff --git a/gnu/packages/xfce.scm b/gnu/packages/xfce.scm
> index 3679eb0..0e45ee4 100644
> --- a/gnu/packages/xfce.scm
> +++ b/gnu/packages/xfce.scm
> @@ -89,7 +89,7 @@ Xfce Desktop Environment.")
> (define-public xfconf
> (package
> (name "xfconf")
> - (version "4.10.0")
> + (version "4.12.0")
> (source (origin
> (method url-fetch)
> (uri (string-append "http://archive.xfce.org/xfce/"
> @@ -97,9 +97,20 @@ Xfce Desktop Environment.")
> "/src/" name "-" version ".tar.bz2"))
> (sha256
> (base32
> - "0xh520z0qh0ib0ijgnyrgii9h5d4pc53n6mx1chhyzfc86j1jlhp"))))
> + "0mmi0g30aln3x98y5p507g17pipq0dj0bwypshan8cq5hkmfl44r"))))
> (build-system gnu-build-system)
> - (arguments '(#:parallel-tests? #f)) ; parallel tests failed
> + (arguments
> + '(#:phases
> + ;; Swap check and install phases.
> + (alist-cons-after
> + 'install 'check
> + (lambda _
> + (setenv "HOME" (getenv "TMPDIR")) ; xfconfd requires a writable
> HOME
> + ;; Run test-suite under a dbus session.
> + (setenv "XDG_DATA_DIRS" ; for finding org.xfce.Xfconf.service
> + (string-append %output "/share"))
> + (zero? (system* "dbus-launch" "make" "check")))
> + (alist-delete 'check %standard-phases))))
So, tests need to be run *after* installation? Weird...
> (native-inputs
> `(("pkg-config" ,pkg-config)
> ("intltool" ,intltool)))
> --
> 2.1.2
>
>
LGTM!
--
David Thompson
Web Developer - Free Software Foundation - http://fsf.org
GPG Key: 0FF1D807
Support the FSF: https://fsf.org/donate
- [PATCH 01/15] gnu: gtk-xfce-engine: Update to 2.10.0., 宋文武, 2015/03/01
- [PATCH 02/15] gnu: libxfce4util: Update to 4.12.1., 宋文武, 2015/03/01
- [PATCH 03/15] gnu: xfconf: Update to 4.12.0., 宋文武, 2015/03/01
- [PATCH 04/15] gnu: libxfce4ui: Update to 4.12.0., 宋文武, 2015/03/01
- [PATCH 05/15] gnu: exo: Update to 0.10.3., 宋文武, 2015/03/01
- [PATCH 06/15] gnu: garcon: Update to 0.4.0., 宋文武, 2015/03/01
- [PATCH 07/15] gnu: tumbler: Update to 0.1.31., 宋文武, 2015/03/01
- [PATCH 08/15] gnu: xfce4-panel: Update to 4.12.0., 宋文武, 2015/03/01