From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37420) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e3p9l-0000uY-Vz for guix-patches@gnu.org; Sun, 15 Oct 2017 16:05:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e3p9i-0005SN-Pt for guix-patches@gnu.org; Sun, 15 Oct 2017 16:05:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:33323) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e3p9i-0005SI-Lu for guix-patches@gnu.org; Sun, 15 Oct 2017 16:05:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1e3p9i-0001nF-4j for guix-patches@gnu.org; Sun, 15 Oct 2017 16:05:02 -0400 Subject: [bug#28853] [PATCH 1/8] gnu: virt-manager: Enable gtk schemas and glib modules support. Resent-Message-ID: From: Andy Patterson Date: Sun, 15 Oct 2017 16:03:21 -0400 Message-Id: <20171015200328.4830-1-ajpatter@uwaterloo.ca> In-Reply-To: <20171015151545.024a589f@uwaterloo.ca> References: <20171015151545.024a589f@uwaterloo.ca> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 28853@debbugs.gnu.org Fixes a crash when opening the file chooser dialog. * gnu/packages/virtualization.scm (virt-manager)[arguments] <#:imported-modules>: Add (guix build glib-or-gtk-build-system). <#:modules>: Import (guix build glib-or-gtk-build-system) as glib-or-gtk:. <#:arguments>: Add 'glib-or-gtk-compile-schemas and 'glib-or-gtk-wrap. --- gnu/packages/virtualization.scm | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/gnu/packages/virtualization.scm b/gnu/packages/virtualization.scm index 4e384e79a..5cdf6d09b 100644 --- a/gnu/packages/virtualization.scm +++ b/gnu/packages/virtualization.scm @@ -499,9 +499,12 @@ virtualization library.") ;; Some of the tests seem to require network access to install virtual ;; machines. #:tests? #f + #:imported-modules ((guix build glib-or-gtk-build-system) + ,@%python-build-system-modules) #:modules ((ice-9 match) (srfi srfi-26) (guix build python-build-system) + ((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:) (guix build utils)) #:phases (modify-phases %standard-phases @@ -528,7 +531,11 @@ virtualization library.") `("GI_TYPELIB_PATH" ":" prefix ,(filter identity paths)))) bin-files)) - #t))))) + #t)) + (add-after 'install 'glib-or-gtk-compile-schemas + (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-compile-schemas)) + (add-after 'install 'glib-or-gtk-wrap + (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap))))) (inputs `(("gtk+" ,gtk+) ("gtk-vnc" ,gtk-vnc) -- 2.14.2