From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37427) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e3p9m-0000ub-2N for guix-patches@gnu.org; Sun, 15 Oct 2017 16:05:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e3p9k-0005TK-GI for guix-patches@gnu.org; Sun, 15 Oct 2017 16:05:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:33327) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e3p9k-0005TF-Cu for guix-patches@gnu.org; Sun, 15 Oct 2017 16:05:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1e3p9k-0001ni-4y for guix-patches@gnu.org; Sun, 15 Oct 2017 16:05:04 -0400 Subject: [bug#28853] [PATCH 5/8] gnu: qemu: Add OpenGL support. Resent-Message-ID: From: Andy Patterson Date: Sun, 15 Oct 2017 16:03:25 -0400 Message-Id: <20171015200328.4830-5-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 Enables virgl support with spice 0.13+. * gnu/packages/virtualization.scm (qemu)[arguments]<#:configure-flags>: Add --enable-opengl. [inputs]: Add libdrm and libepoxy. (qemu-minimal)[inputs]: Remove libdrm and libepoxy. --- gnu/packages/virtualization.scm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/gnu/packages/virtualization.scm b/gnu/packages/virtualization.scm index 1c69c4a97..62ba7811e 100644 --- a/gnu/packages/virtualization.scm +++ b/gnu/packages/virtualization.scm @@ -86,7 +86,7 @@ '(;; Running tests in parallel can occasionally lead to failures, like: ;; boot_sector_test: assertion failed (signature == SIGNATURE): (0x00000000 == 0x0000dead) #:parallel-tests? #f - #:configure-flags '("--enable-usb-redir") + #:configure-flags '("--enable-usb-redir" "--enable-opengl") #:phases (modify-phases %standard-phases (replace 'configure @@ -144,6 +144,8 @@ ("libaio" ,libaio) ("libattr" ,attr) ("libcap" ,libcap) ; virtfs support requires libcap & libattr + ("libdrm" ,libdrm) + ("libepoxy" ,libepoxy) ("libjpeg" ,libjpeg-8) ("libpng" ,libpng) ("libusb" ,libusb) ;USB pass-through support @@ -200,7 +202,7 @@ server and embedded PowerPC, and S390 guests.") ;; Remove dependencies on optional libraries, notably GUI libraries. (inputs (fold alist-delete (package-inputs qemu) '("libusb" "mesa" "sdl" "spice" "virglrenderer" - "usbredir"))))) + "usbredir" "libdrm" "libepoxy"))))) (define-public libosinfo (package -- 2.14.2