Mplayer plugin on Solaris/SPARC

[email protected]
Newsgroups gmane.comp.mozilla.mplayerplug-in
Message-ID <[email protected]>

First, I have a tiny issue to configure/compile on Solaris Nevada.

Solaris make does not understand -C and the makefile also does not
allow you to substitute gmake because it is hard coded to use make.

At the end, please find a patch to correct this issue and make it
confure and build with more makes or with make specified in the environment.


Secondly, I have a problem with solely manifests itself on SPARC.
When I install the GTK based plugins, the plugin will start but the
mplayer window will have size 0; audio will be played but no image
is display.  When I resize the window with a small command line tool
(it cannot be grabbed using a window manager so I needed to write
a small tool to resize a window by ID) the message start being display.
In some cases, it start to display when switching back and forth between
full-screen and normal mode; but that is not a given.

On Solaris/x86 the code works "just fine".  The only difference
that I can think of is a difference between a Solaris Xorg on x86 and
Solaris Xsun on SPARC.

But that cannot be the complete explanation as the GTK plugins
display correctly when shown remotely from Solaris/x86 to Solaris/SPARC
Xsun and incorrectly when displayed from Solaris/SPARC to Solaris/x86.
So this clearly looks like a client side thing (endian issue?) and not
an X server issue.  (Same version of mplayer and 3.45 plugin on both)

Anyway, here's the patch:

--- ./Makefile.in.org	Fri Jan 19 20:17:53 2007
+++ ./Makefile.in	Thu Aug 16 15:36:02 2007
@@ -135,7 +135,7 @@
 
 clean:
 	$(RM) $(OBJ) $(OBJ_WMP) $(OBJ_QT) $(OBJ_RM) $(OBJ_GMP) $(OBJ_DVX) $(SHAREDTARGET)*.so $(SHAREDTARGET)*.xpt
-	make -C po clean
+	cd po; $(MAKE) clean
 
 distclean: clean
 	$(RM) install.sh uninstall.sh po/Makefile
@@ -145,7 +145,7 @@
 	./install.sh $(DESTDIR)
 
 languages:
-	make -C po
+	cd po; $(MAKE)
 
 uninstall:
 	./uninstall.sh

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.