<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:宋体;
panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:"\@宋体";
panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
text-align:justify;
text-justify:inter-ideograph;
font-size:10.5pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
pre
{mso-style-priority:99;
mso-style-link:"HTML 预设格式 Char";
margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:宋体;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.HTMLChar
{mso-style-name:"HTML 预设格式 Char";
mso-style-priority:99;
mso-style-link:"HTML 预设格式";
font-family:宋体;}
.MsoChpDefault
{mso-style-type:export-only;}
/* Page Definitions */
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="ZH-CN" link="#0563C1" vlink="#954F72" style="text-justify-trim:punctuation">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US">Hello,spice developer<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> I’m a developer from China,I want to build SPICE on Mac,and I followed the instructions on your official page:
<a href="https://www.spice-space.org/osx-client.html">https://www.spice-space.org/osx-client.html</a>.
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">I just cant walk through.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> First About Prerequisite:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> I was told to install Xcode,yes,Im using Xcode 9.4.1 and run the command :
<o:p></o:p></span></p>
<div style="mso-element:para-border-div;border:solid #CCCCCC 1.0pt;padding:7.0pt 7.0pt 7.0pt 7.0pt;background:whitesmoke">
<p class="MsoNormal" align="left" style="margin-bottom:7.5pt;text-align:left;background:whitesmoke;word-break:break-all;border:none;padding:0cm">
<span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:#333333">sudo xcode-select --switch /Applications/Xcode.app/ContentsDeveloper<o:p></o:p></span></p>
</div>
<p class="MsoNormal" align="left" style="text-align:left"><span lang="EN-US"> you see
</span><span lang="EN-US" style="font-size:12.0pt;font-family:宋体">/Applications/Xcode.app/ContentsDeveloper is no longer a valid directory now.<o:p></o:p></span></p>
<p class="MsoNormal" align="left" style="text-align:left"><span lang="EN-US" style="font-size:12.0pt;font-family:宋体">
<o:p></o:p></span></p>
<p class="MsoNormal" align="left" style="text-align:left"><span lang="EN-US" style="font-size:12.0pt;font-family:宋体"> Second About Setup:<o:p></o:p></span></p>
<p class="MsoNormal" align="left" style="text-align:left"><span lang="EN-US" style="font-size:12.0pt;font-family:宋体"> When I run the shell script
<o:p></o:p></span></p>
<div style="mso-element:para-border-div;border:solid #CCCCCC 1.0pt;padding:7.0pt 7.0pt 7.0pt 7.0pt;background:whitesmoke">
<pre style="margin-bottom:7.5pt;background:whitesmoke;word-break:break-all;border:none;padding:0cm"><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:#333333"> sh spice-osx-build-setup.sh<o:p></o:p></span></pre>
</div>
<p class="MsoNormal" align="left" style="text-align:left"><span lang="EN-US" style="font-size:12.0pt;font-family:宋体"> the content of gtk-osx-build.sh are not correct, I copy from
</span><span lang="EN-US">https://gitlab.gnome.org/GNOME/gtk-osx/raw/master/gtk-osx-build-setup.sh</span><span lang="EN-US" style="font-size:12.0pt;font-family:宋体"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">to fix.And I actually not sure if its right.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> After finish run the gtk-osx-build.sh , I add ~/.local/bin to environment varity and copy the jhbuildrc from directory spice-jhbuild to ~/.jhbuildrc-custom and then I run the command<o:p></o:p></span></p>
<div style="mso-element:para-border-div;border:solid #CCCCCC 1.0pt;padding:7.0pt 7.0pt 7.0pt 7.0pt;background:whitesmoke">
<pre style="margin-bottom:7.5pt;background:whitesmoke;word-break:break-all;border:none;padding:0cm"><span lang="EN-US"> </span><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:#333333">jhbuild bootstrap<o:p></o:p></span></pre>
<pre style="margin-bottom:7.5pt;background:whitesmoke;word-break:break-all;border:none;padding:0cm"><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:#333333"> jhbuild build<o:p></o:p></span></pre>
</div>
<p class="MsoNormal"><span lang="EN-US"> Unfortunately, many problems occurred.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> First: the autogenargs in the file jhbuildrc is autogenargs = autogenargs + --disable introspection, an error occurred when I run the command jhbuild build.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">And then I wiped autogenargs to avoid .It worked…<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> Second the modules seems not correct. Spice-gtk3 depends on openssl package , and it doesn’t mention on the website :
<a href="http://cgit.freedesktop.org/spice/spice-jhbuild/plain/modulesets/spice.xml?h=osx">
http://cgit.freedesktop.org/spice/spice-jhbuild/plain/modulesets/spice.xml?h=osx</a><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> When it comes to spice-gtk3 building it shows an erroy no package openssl found. I ./Configure --prefix /Users/mac/spice-jhbuild/inst and make && make install manually, and then copy the include bin file to
spice-jhbuild/inst it worked.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> The gstreamer which it atuomaticly installed still not found when spice-gtk3 Configureing….<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">All I want to say is Please update,and shows the right way to build spice on mac!!!<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> Hope you could understand my poor English…Thanks for your time.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">
Yours Rongyu Deng.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
</div>
</body>
</html>