<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">2014-05-11 3:48 GMT+02:00 David T. Lewis <span dir="ltr">&lt;<a href="mailto:lewis@mail.msen.com" target="_blank">lewis@mail.msen.com</a>&gt;</span>:<br>

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Sat, May 10, 2014 at 03:00:41PM -0700, tim Rowledge wrote:<br>
&gt; There?s a related issue that could do with a fix sometime - the jpeg library we used to make the jepegreadwriteplugin is out of date and Debian (at least) considers that a security risk and thus they mangle the sources to not use those file but link to the ?standard? library. Which unfortunately doesn?t actually work within our plugin!<br>


&gt;<br>
&gt; Leaving aside the sheer rudeness of throwing unapproved ?patches? into somebody?s code (without ever letting Ian know, for example) and resulting in a broken function, I imagine that if looked into we would be able to tweak our plugin code to actually work with the new jpeg library code. This would be a Good Thing. If anyone knows enough about jpeg library, Debian, blah blah blah to look into this then it might make a nice project that would benefit the Raspberry Pi Scratch using world - several tens of thousands of kids in the UK alone.<br>


&gt;<br>
<br>
This issue is tracked in Mantis 7539: &quot;Plugins should use platform libraries<br>
where possible. Gentoo removed Squeak for this reason.&quot;<br>
<br>
   <a href="http://bugs.squeak.org/view.php?id=7539" target="_blank">http://bugs.squeak.org/view.php?id=7539</a><br>
<br>
It was originally reported based on Gentoo rejecting Squeak, and it affects Debian<br>
and other Linux distributions that (quite reasonably) expect that supported<br>
applications should link to current versions of system libraries.<br>
<br>
If anyone is interested in working to improve this, please do. It would be a great<br>
way for someone to contribute a really useful update to the VM.<br>
<br>
Dave<br>
<br>
<br>
</blockquote></div><br></div><div class="gmail_extra">A general idea would be to proceed in two steps:<br></div><div class="gmail_extra">-1) upgrade the library in squeak svn repository, so as to fix the API evolutions mismatch<br>

</div><div class="gmail_extra">-2) provide a way to link to existing library (via cmake/configure in VMMaker and apt/rpm package dependency at distrib level)<br></div><div class="gmail_extra"><br></div><div class="gmail_extra">

Good plan, but what are the starting points?<br></div><div class="gmail_extra">Which library exactly should be used?<br></div><div class="gmail_extra">libjpeg - <a href="http://sourceforge.net/projects/libjpeg/" target="_blank">http://sourceforge.net/projects/libjpeg/</a> - which is the successor of the library used in squeak is licenced GPL v2, should we taint the whole VM?<br>

</div><div class="gmail_extra">There is also an opened issue (<a href="http://sourceforge.net/p/libjpeg/bugs/5/" target="_blank">http://sourceforge.net/p/libjpeg/bugs/5/</a> - 5 years old!!!) telling it does not compile on win32 (not sure which compiler though, it might be MSVC only), so this might be a hurdle for step 1).<br>

<br></div><div class="gmail_extra">So what is the plan in details?<br></div></div>