unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#52490] [PATCH WIP] gnu: gitg: Fix compilation.
@ 2021-12-14 21:01 Liliana Marie Prikler
  2021-12-15 19:43 ` bug#52490: " Liliana Marie Prikler
  0 siblings, 1 reply; 2+ messages in thread
From: Liliana Marie Prikler @ 2021-12-14 21:01 UTC (permalink / raw)
  To: 52490

* gnu/packages/gnome.scm (gitg)[#:meson]: Use meson-0.59.
[#tests?] Disable.
[inputs]: Use libsoup-minimal-2.
[native-inputs]: Add xorg-server-for-tests.
---
Hi ladies,

as of the core-updates-frozen merge, gitg fails to build on master.
The package below still runs on GNOME 3 as before the merge, but tests
now fail with no clear reason as to why; I tried spawing an Xvfb, but to
no avail.  Help welcome.

Cheers

 gnu/packages/gnome.scm | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 5f46eb4d63..767d983285 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -11294,7 +11294,11 @@ (define-public gitg
                 "0npg4kqpwl992fgjd2cn3fh84aiwpdp9kd8z7rw2xaj2iazsm914"))))
     (build-system meson-build-system)
     (arguments
-     `(#:glib-or-gtk? #t
+     `(#:meson ,meson-0.59
+       #:glib-or-gtk? #t
+       ;; XXX: assertion 'GDK_IS_SCREEN (screen)' failed
+       ;; XXX: assertion 'datetime != NULL' failed
+       #:tests? #f
        #:phases
        (modify-phases %standard-phases
          (add-after 'unpack 'disable-post-install-partially
@@ -11328,7 +11332,7 @@ (define-public gitg
            libgit2-glib
            libpeas
            libsecret
-           libsoup
+           libsoup-minimal-2
            libxml2))
     (native-inputs
      `(("glib:bin" ,glib "bin")
@@ -11336,7 +11340,8 @@ (define-public gitg
        ("gobject-introspection" ,gobject-introspection)
        ("intltool" ,intltool)
        ("pkg-config" ,pkg-config)
-       ("vala" ,vala)))
+       ("vala" ,vala)
+       ("xorg-server" ,xorg-server-for-tests)))
     (synopsis "Graphical user interface for git")
     (description
      "gitg is a graphical user interface for git.  It aims at being a small,
-- 
2.34.0






^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#52490: [PATCH WIP] gnu: gitg: Fix compilation.
  2021-12-14 21:01 [bug#52490] [PATCH WIP] gnu: gitg: Fix compilation Liliana Marie Prikler
@ 2021-12-15 19:43 ` Liliana Marie Prikler
  0 siblings, 0 replies; 2+ messages in thread
From: Liliana Marie Prikler @ 2021-12-15 19:43 UTC (permalink / raw)
  To: 52490-done

Nvm, I found a solution and pushed it.





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-12-15 20:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-14 21:01 [bug#52490] [PATCH WIP] gnu: gitg: Fix compilation Liliana Marie Prikler
2021-12-15 19:43 ` bug#52490: " Liliana Marie Prikler

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).