guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#66823] [PATCH gnome-team v4 6/6] gnu: Add calls.


From: Maxim Cournoyer
Subject: [bug#66823] [PATCH gnome-team v4 6/6] gnu: Add calls.
Date: Tue, 31 Oct 2023 23:15:10 -0400
User-agent: Gnus/5.13 (Gnus v5.13)

Hi Vivien,

Vivien Kraus <vivien@planete-kraus.eu> writes:

> * gnu/packages/gnome.scm (libcallaudio): New variable.
> * gnu/packages/patches/calls-disable-application-test.patch: New file.
> * gnu/packages/patches/calls-disable-sip-test.patch: New file.

[...]

> +(define-public calls
> +  (package
> +    (name "calls")
> +    (version "45.0")
> +    (source (origin
> +              (method url-fetch)
> +              (uri (string-append "mirror://gnome/sources/" name "/"
> +                                  (version-major version) "/"
> +                                  name "-" version ".tar.xz"))
> +              (sha256
> +               (base32
> +                "1mvnrm5wbl69xbcjg8nxd6l6nj2fd3whbyh70axlm75c7l7d5j5r"))
> +              (patches
> +               (search-patches "calls-disable-application-test.patch"
> +                               "calls-disable-sip-test.patch"))))
> +    (build-system meson-build-system)
> +    (arguments
> +     (list
> +      #:glib-or-gtk? #t
> +      #:configure-flags #~'("-Dgtk_doc=true")
> +      #:phases
> +      #~(modify-phases %standard-phases
> +          (add-before 'check 'pre-check
> +            (lambda _
> +              (setenv "HOME" (getcwd))
> +              ;; Tests require a running X server.
> +              (system "Xvfb :1 &")
> +              (setenv "DISPLAY" ":1"))))))

Did you try wrapping the test execution in a dbus_run_session call?
Maybe that's what is missing in the build environment?  See for example
libsecret, which has such a setup.

-- 
Thanks,
Maxim





reply via email to

[Prev in Thread] Current Thread [Next in Thread]