commit 2544b51aee56841af736036e636861076dd9ef45 Author: Thiago Mendes Date: Mon Jul 3 18:20:58 2017 -0500 Adding ArchLinux python2 configuration support diff --git a/jhbuildrc b/jhbuildrc index 8b15ef6..aad1ccf 100644 --- a/jhbuildrc +++ b/jhbuildrc @@ -18,6 +18,14 @@ checkoutroot = os.path.join(os.environ['HOME'], 'spice') # All module binaries will be in $HOME/spice-usr/ after the checkout prefix = os.path.join(os.environ['HOME'], 'spice-usr') +#libxml2 and qemu will need Python2 and ArchLinux comes with Python3 +#To solve this we will need to edit our jhbuild configuration file located +#at $HOME/.config/jhbuildrc +#All we need to do is add the next 2 lines to our configuration file: + +#module_autogenargs['qemu', 'libxml2' ] = 'PYTHON=/usr/bin/python2' +#os.environ['PYTHON'] = '/usr/bin/python2' + # Look in /usr/share for icons, D-BUS service files, etc addpath('XDG_DATA_DIRS', '/usr/share') # Look in /etc/xdg for system-global autostart files