Message ID | 20210914232437.53386-1-bauermann@kolabnow.com |
---|---|
State | Accepted |
Headers | show |
Series | [bug#50593,core-updates-frozen] gnu: gtk+: Fix testsuite failure on non-x86_64 platforms | expand |
Context | Check | Description |
---|---|---|
cbaines/applying patch | fail | View Laminar job |
cbaines/issue | success | View issue |
Hello Thiago, > And together with the one in issue 50521, it allows gtk+ to build on > powerpc64le-linux. In fact, I can even build GTK+ apps such as Emacs and > Transmission! Unfortunately, GNOME apps need SVG support because of the > icon theme. And rust doesn’t build on powerpc64le-linux (mrustc errors out > with “Unknown target name ''”). Nice one, pushed as b452fe87e0c6e7634a2cb44274fa46832c763b40. Thanks, Mathieu
Hello Mathieu, Em domingo, 19 de setembro de 2021, às 15:18:28 -03, Mathieu Othacehe escreveu: > Hello Thiago, > > > And together with the one in issue 50521, it allows gtk+ to build on > > powerpc64le-linux. In fact, I can even build GTK+ apps such as Emacs > > and > > Transmission! Unfortunately, GNOME apps need SVG support because of the > > icon theme. And rust doesn’t build on powerpc64le-linux (mrustc errors > > out with “Unknown target name ''”). > > Nice one, pushed as b452fe87e0c6e7634a2cb44274fa46832c763b40. Great! Thank you!
diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm index 24c24d56530f..876071235ef4 100644 --- a/gnu/packages/gtk.scm +++ b/gnu/packages/gtk.scm @@ -958,8 +958,7 @@ application suites.") ("freetype" ,freetype) ;; SVG support is optional and requires librsvg, which pulls in rust. ;; Rust is not supported well on every architecture yet. - ("gdk-pixbuf" ,(if (string-prefix? "x86_64" (or (%current-target-system) - (%current-system))) + ("gdk-pixbuf" ,(if (target-x86-64?) gdk-pixbuf+svg gdk-pixbuf)) ("glib" ,glib) @@ -1028,7 +1027,12 @@ application suites.") (("notify no-gtk-init object objects-finalize papersize rbtree") "no-gtk-init papersize rbtree") (("stylecontext templates textbuffer textiter treemodel treepath") - "stylecontext textbuffer textiter treemodel treepath")) + "stylecontext textbuffer textiter treemodel treepath") + ;; The ‘icontheme’ test needs SVG support. + ,@(if (not (target-x86-64?)) + '((("floating focus gestures grid gtkmenu icontheme keyhash listbox") + "floating focus gestures grid gtkmenu keyhash listbox")) + '())) (substitute* "testsuite/a11y/Makefile.in" (("accessibility-dump tree-performance text children derive") "tree-performance text children derive"))