[Pkg-squeak-devel] Bug#763494: squeak-vm: Please change build dependency to libjpeg-dev (libjpeg-turbo transition)
Niels Möller
nisse at lysator.liu.se
Tue Oct 21 08:21:26 UTC 2014
Ondřej Surý <ondrej at debian.org> writes:
> I have no idea if it fixes the #744289, but if the bundled library is
> the original libjpeg6b then it might.
I've now tested (after upgrading squeak-vm to version
"1:4.10.2.2614-1.1+b1"). jpeg files still don't work in scratch, and I
get no error messages.
To reproduce (with an English locale):
Start scratch. For me, this displays a message
Executing: /usr/lib/squeak/4.10.2-2614/squeakvm -encoding UTF-8 -vm-display-x11 -plugins /usr/lib/scratch/plugins/:/usr/lib/squeak/4.10.2-2614/ /usr/share/scratch/Scratch.image
and then the scratch window appears.
Click "Stage" on the right. In the middle, we get three tabs,
including a "Backgrounds" tab.
Select the "Backgrounds" tab.
Click the "Import" button. A file selector appears.
Select the "Indoors" folder and the file "party-room" (in the file
system, that's
/usr/share/scratch/Media/Backgrounds/Indoors/party-room.jpg), and
click "Ok". We get a new entry in the list of backgrounds, but the
thumbnail is an empty image.
Interestingly, I do get a correct thumbnail for the party-room image
in the file selector, but I guess the thumbnails are stored separately
in scratchthumbs.db.
For contrast, click the "Import" button again, and select
Indoors/bedroom1 (corresponding to the file "bedroom1.gif"). We get a
new entry in the list, with a correct thumbnail image, and since it is
selected, we also get a larger version on the right as the stage
background.
So something is still broken with jpg support in squeak-vm and/or
scratch. And I think backgrounds are a quite important feature in
scratch.
Maybe someone more familiar with smalltalk and squeak can cook up a
simpler jpeg test case.
Regards,
/Niels
--
Niels Möller. PGP-encrypted email is preferred. Keyid C0B98E26.
Internet email is subject to wholesale government surveillance.
More information about the Pkg-squeak-devel
mailing list