gnu: gnome-boxes: Patch 'qemu-img' file name.
* gnu/packages/gnome.scm (gnome-boxes)[arguments]: Add 'set-qemu-file-name' phase. [inputs]: Add QEMU-MINIMAL. Co-authored-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
		
							parent
							
								
									4d9c9b4981
								
							
						
					
					
						commit
						ddb2b632fa
					
				
					 1 changed files with 8 additions and 1 deletions
				
			
		|  | @ -12224,7 +12224,13 @@ integrate seamlessly with the GNOME desktop.") | ||||||
|            #:phases #~(modify-phases %standard-phases |            #:phases #~(modify-phases %standard-phases | ||||||
|                         (add-after 'unpack 'disable-gtk-update-icon-cache |                         (add-after 'unpack 'disable-gtk-update-icon-cache | ||||||
|                           (lambda _ |                           (lambda _ | ||||||
|                             (setenv "DESTDIR" "/")))))) |                             (setenv "DESTDIR" "/"))) | ||||||
|  |                         (add-before 'configure 'set-qemu-file-name | ||||||
|  |                           (lambda* (#:key inputs #:allow-other-keys) | ||||||
|  |                             (substitute* "src/installed-media.vala" | ||||||
|  |                               (("qemu-img") | ||||||
|  |                                (search-input-file inputs | ||||||
|  |                                                   "/bin/qemu-img")))))))) | ||||||
|     (native-inputs |     (native-inputs | ||||||
|      (list desktop-file-utils           ;for update-desktop-database |      (list desktop-file-utils           ;for update-desktop-database | ||||||
|            gettext-minimal |            gettext-minimal | ||||||
|  | @ -12250,6 +12256,7 @@ integrate seamlessly with the GNOME desktop.") | ||||||
|            libvirt |            libvirt | ||||||
|            libvirt-glib |            libvirt-glib | ||||||
|            libxml2 |            libxml2 | ||||||
|  |            qemu-minimal                           ;for qemu-img | ||||||
|            sparql-query |            sparql-query | ||||||
|            spice-gtk |            spice-gtk | ||||||
|            tracker |            tracker | ||||||
|  |  | ||||||
		Reference in a new issue