On 4/27/2013 7:48 PM, Stefan Bruda wrote:
> Hi,
>
> Recently mplayer ceased to run properly (Mac OS 10.8.3, Xcode tools
> 4.6.0.0.1.1365, Fink 0.34.7, Fink tree synced a couple of minutes
> ago). Instead of the usual functionality running it results in the
> following:
>
> < godel:~ > mplayer
> /* This file was automatically generated by t1_generate_luts.c */
>
> static char lut_ctxno_zc[1024] = {
> 0, 1, 1, 2, 1, 2, 2, 2, 1, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3,
> 3, 3, 3, 3, 3, 3, 3, 3, 3,
> 5, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 7, 7, 7, 7, 7, 7, 7,
> 7, 7, 7, 7, 7, 7, 7, 7, 7,
>
> ... and so on ...
>
> Googling for this results in the following hit:
> <http://code.google.com/p/openjpeg/issues/detail?id=152>. The culprit
> thus appears to be openjpeg, though I am not sure. The issue appeared
> quite recently (likely less than a week). I am not sure what other
> information to provide, so should anything else be needed please let
> me know.
A quick test shows that the fix in openjpeg from the link does cure the
mplayer failure.
Adding the following to openjpeg1's .info (and running autoreconf) fixes
things:
perl -ni -e 'print unless /t1_generate_luts.c \\/'
libopenjpeg/Makefile.am libopenjpeg/jpwl/Makefile.am
This still necessitates rebuilding mplayer afterwards due to a now
removed _main symbol.
Stefan, if you want to test, copy
/sw/fink/dists/stable/main/finkinfo/libopenjpeg1-shlibs.info to
/sw/fink/dists/local/main/finkinfo and add the above perl line to the
PatchScript. Then add
autoreconf -vfi as the first line to the CompileScript. Rebuild
openjpeg1-shlibs followed by mplayer.
dmacks: there's probably a way to patch out the relevant Makefile.in
files w/out calling in autoconf/automake.
Hanspeter
------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
_______________________________________________
Fink-users mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users