libjpeg : what to do ?

IRIX/Nekoware development, porting and related topics.
Forum rules
Any posts concerning pirated software or offering to buy/sell/trade commercial software are subject to removal.
hamei
Posts: 10202
Joined: Tue Feb 24, 2004 4:10 pm
Location: over the rainbow

libjpeg : what to do ?

Unread postby hamei » Sat Feb 04, 2012 8:23 pm

The libjpeg in nekoware is version 6b. The newest one available is version 8d..Normally this is not a problem, one just updates the library ... and if the libraries are incompatible, then they install both, with different names e.g. gtk and gtk2, lcms and lcms2, etc etc.

However ....

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=638543

happens here, too. Everything I tried breaks. However, some programs are (eventually) going to insist upon the latest greatest ... what is the best way to deal with this situation ?

User avatar
vishnu
Posts: 2331
Joined: Sun Mar 18, 2007 3:25 pm
Location: Minneapolis, Minnesota USA

Re: libjpeg : what to do ?

Unread postby vishnu » Sat Feb 04, 2012 10:18 pm

My Octane is currently down for upgrades (DMediaPro2 w/ a VBOB, Dual Channel Display and upping main memory to 8 gigs :shock:), but I will take a look at this in the next few days. Also, still working on Dillo... :P
Project:
Temporarily lost at sea...
Plan:
World domination! Or something...

hamei
Posts: 10202
Joined: Tue Feb 24, 2004 4:10 pm
Location: over the rainbow

Re: libjpeg : what to do ?

Unread postby hamei » Sat Feb 04, 2012 11:45 pm

vishnu wrote:My Octane is currently down for upgrades (DMediaPro2 w/ a VBOB, Dual Channel Display and upping main memory to 8 gigs :shock:) :P

Your Octane has more memory than my entire family :)

I'm starting to get an idea what to do ... seems that this stupidity also blew up Open Office, some digital camera app, Google Chrome, and a whole bunch of other apps. My preferred solution at this point is a 45 caliber bullet equidistant between Mr Tom Lane's eyes. WTF do these people use for brains ?

http://code.google.com/p/chromium/issue ... l?id=31427

User avatar
canavan
Posts: 754
Joined: Mon Jul 21, 2003 6:19 am

Re: libjpeg : what to do ?

Unread postby canavan » Sun Feb 05, 2012 1:19 pm

I think the right thing to do is to switch to libjpeg-turbo http://libjpeg-turbo.virtualgl.org/, and compile that with JPEG_LIB_VERSION 62. It's noticeably faster than the bog standard libjpeg (even without the fancy x86/sse/mmx ASM), and 100% compatible (creates bit for bit identical output compared to the old, standard libjpeg in all my tests). I'm using it on IRIX since last October without any negative effects. I seem to have neglected to make a nekoware package, I'll try to rectify that soon (when version 1.2 is released).

There are some programs that require the newer 8.x API, but so far the only one I've encountered is ioquake3, and that brings its own libjpeg source and can be linked statically against that.

User avatar
vishnu
Posts: 2331
Joined: Sun Mar 18, 2007 3:25 pm
Location: Minneapolis, Minnesota USA

Re: libjpeg : what to do ?

Unread postby vishnu » Mon Feb 06, 2012 3:12 pm

According to Tom Lane's wikipedia page:

Libjpeg has recently been superseded by turbo-jpeg since libjpeg broke compatibility with the older libraries at version 7, putting Open Office, Google Chrome, Image Magick and other base applications in the awkward position of requiring upgrades to all the software on a computer. http://code.google.com/p/chromium/issues/detail?id=31427
Project:
Temporarily lost at sea...
Plan:
World domination! Or something...

User avatar
nekonoko
Site Admin
Site Admin
Posts: 8043
Joined: Thu Jan 23, 2003 1:31 am
Location: Pleasanton, California
Contact:

Re: libjpeg : what to do ?

Unread postby nekonoko » Mon Feb 06, 2012 7:28 pm

vishnu wrote:According to Tom Lane's wikipedia page:


Wikipedia's libjpeg page goes a step further and adds the following:

Libjpeg-turbo doesn't suffer from this incompatibility, hence it was easier to change libraries rather than deal with the Independent JPEG Group's arrogance.


Ouch!
Twitter: @neko_no_ko
IRIX Release 4.0.5 IP12 Version 06151813 System V
Copyright 1987-1992 Silicon Graphics, Inc.
All Rights Reserved.


Return to “SGI: Development”

Who is online

Users browsing this forum: No registered users and 1 guest