FS#24516 - [freewrl] GLEW 1.6 update breaks freewrl

Attached to Project: Community Packages
Opened by Campbell Barton (ideasman42) - Tuesday, 31 May 2011, 07:21 GMT
Last edited by Sergej Pupykin (sergej) - Tuesday, 28 June 2011, 10:27 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sergej Pupykin (sergej)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

FreeWRL needs to be rebuilt against a newer GLEW.

On startup I get this error.
freewrl: error while loading shared libraries: libGLEW.so.1.5: cannot open shared object file: No such file or directory

This task depends upon

Closed by  Sergej Pupykin (sergej)
Tuesday, 28 June 2011, 10:27 GMT
Reason for closing:  Fixed
Additional comments about closing:  rebuilt without xulrunner, thanks
Comment by Sergej Pupykin (sergej) - Tuesday, 31 May 2011, 08:38 GMT
freewrl still does not support current xulrunner, so it does not work in firefox4 and can not be compiled. I'll rebuild it when upstream provides fix.
Comment by Stéphane Gaudreault (stephane) - Wednesday, 01 June 2011, 16:36 GMT
As the package is broken and nothing requires it, I think it would be better to make a db-remove (you can keep PKGBUILD in svn) and rebuild it later.
Comment by Campbell Barton (ideasman42) - Tuesday, 07 June 2011, 12:21 GMT
Why remove this?, I use freewrl standalone player to navigate VRML and X3D files and it works very well.

as a quick workaround I symlinked the glew filename to libGLEW.so.1.5 and freewrl now open, so isnt this just a matter of rebuilding against a newer glew?
Comment by Jelle van der Waa (jelly) - Sunday, 12 June 2011, 21:26 GMT
As stated by sergej, we can't recompile freewrl because of xulrunner. If it adds support for the new xulrunner version it would work
Comment by Giuseppe Borzi (gborzi) - Saturday, 25 June 2011, 16:22 GMT
I've made a PKGBUILD that applies the same workaround used by gentoo, i.e.

"All versions of FreeWRL are incompatible with xulrunner-2.0 and above.
This ebuild gets around it by removing support for browser plugins and forcing
the javascript engine to spidermonkey."

Here is the PKGBUILD http://pastebin.com/ULFcECVY

It is still possible to emulate the freewrl browser plugin through mozplugger. Just add the following lines to /etc/mozpluggerrc

x-world/x-vrml:wrl:vrml file
model/vrml:wrl:vrml file
model/x3d:x3d:vrml file
model/x3d+xml:x3d:vrml file
model/x3d+vrml:x3dv:vrml file
model/x3d+binary:x3db:vrml file
repeat noisy swallow(FreeWRL) fill stream: freewrl "$file"

Hope it helps.
Comment by Giuseppe Borzi (gborzi) - Monday, 27 June 2011, 01:09 GMT
I've noticed that when freewrl is compiled with "--with-target=motif" it crashes immediately without giving any error message on both my x86_64 platforms (one uses the catalyst driver, the other the nvidia one), but works fine on my netbook with intel graphics. Compiling with "--with-target=x11" freewrl works fine on both x86_64 platforms.

Loading...