Re: [osol-discuss] Anyone succeded in porting xine to Nevada?

2005-11-13 Thread Erast Benson
In Nexenta we have it:

% apt-cache search xine
libxine1c2 - the xine video/media player library, binary files
xdmx - Distributed Multi-head X server
libxinerama-dev - X11 Xinerama extension library (development headers)
libxinerama1-dbg - X11 Xinerama extension library (debug package)
libxinerama1 - X11 Xinerama extension library
libxine-dev - the xine video player library, development packages
totem-xine - A simple media player for the Gnome desktop based on xine
totem-gstreamer - A simple media player for the Gnome desktop based on
gstreamer
x11proto-panoramix-dev - X11 panoramiX extension wire protocol
x11proto-xinerama-dev - X11 Xinerama extension wire protocol
totem - A simple media player for the Gnome desktop (dummy package)

though, it is not tested well...

Erast

On Sun, 2005-11-13 at 17:39 -0300, Alfredo Peña wrote:
 I'm trying to run xine-ui in Nevada b25 (Solaris Express build 25) 
 without success.
 Here is what I have right now:
 - xinelib should be compiled with gcc and linked with gld, Solaris 
 native ld doesn't work (lots of relocation problems)
 - there are several glibc functions used by xinelib and xine-ui that 
 doesn't have an implementation in Solaris libc and the xine 
 configuration step doesn't check for. These are strsep, strndup and 
 getline. I replaced them with implementations I found in the web.
 - gxine cannot be built with the gnome version shipped, as it requires 
 gnome 2.10, so I tried xine-ui
 
 xine-ui dumps core after initialising the xshm extension, this is the 
 stack trace:
 
 #0  0xce3ff4f8 in resolve_object () from /usr/lib/libX11.so.4
 #1  0xce3ff854 in _XsunOsDynamicLoad () from /usr/lib/libX11.so.4
 #2  0xce3a2763 in _XOpenLC () from /usr/lib/libX11.so.4
 #3  0xce3b5cf7 in _XlcCurrentLC () from /usr/lib/libX11.so.4
 #4  0xce3ed917 in _XkbGetCharset () from /usr/lib/libX11.so.4
 #5  0xce3eb879 in _XkbLoadDpy () from /usr/lib/libX11.so.4
 #6  0xce3b77b8 in XKeysymToKeycode () from /usr/lib/libX11.so.4
 #7  0x080c2d7f in xitk_init ()
 
 Can anybody give me a tip on what is wrong?
 Thanks, Alf
 ___
 opensolaris-discuss mailing list
 opensolaris-discuss@opensolaris.org

___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] Anyone succeded in porting xine to Nevada?

2005-11-13 Thread Stefan Teleman
On 11/13/05, Alfredo Peña [EMAIL PROTECTED] wrote:
 I'm trying to run xine-ui in Nevada b25 (Solaris Express build 25)
 without success.
 Here is what I have right now:
 - xinelib should be compiled with gcc and linked with gld, Solaris
 native ld doesn't work (lots of relocation problems)
 - there are several glibc functions used by xinelib and xine-ui that
 doesn't have an implementation in Solaris libc and the xine
 configuration step doesn't check for. These are strsep, strndup and
 getline. I replaced them with implementations I found in the web.
 - gxine cannot be built with the gnome version shipped, as it requires
 gnome 2.10, so I tried xine-ui

 xine-ui dumps core after initialising the xshm extension, this is the
 stack trace:

 #0  0xce3ff4f8 in resolve_object () from /usr/lib/libX11.so.4
 #1  0xce3ff854 in _XsunOsDynamicLoad () from /usr/lib/libX11.so.4
 #2  0xce3a2763 in _XOpenLC () from /usr/lib/libX11.so.4
 #3  0xce3b5cf7 in _XlcCurrentLC () from /usr/lib/libX11.so.4
 #4  0xce3ed917 in _XkbGetCharset () from /usr/lib/libX11.so.4
 #5  0xce3eb879 in _XkbLoadDpy () from /usr/lib/libX11.so.4
 #6  0xce3b77b8 in XKeysymToKeycode () from /usr/lib/libX11.so.4
 #7  0x080c2d7f in xitk_init ()

 Can anybody give me a tip on what is wrong?
 Thanks, Alf

xine builds and runs fine on S10 FCS with SunStudio 10 and
/usr/ccs/bin/ld and very aggressive optimizations, on both UltraSPARC
and X86. on SPARC it runs with no problems at all, no dropped frames,
with the xshm extension. on X86 it runs equally well with the xv
extension and Xorg. both SPARC and X86 run with no problems in
fullscreen mode (definition of no problems: watching a 2hr 15min DVD
movie with no problems to report).

screenshots of running xine with libxine-1.1.0 and xine-ui 0.99.4:
http://www.flickr.com/photos/skipjackdes/

strsep and strndup are provided by libxine and can be found in libxineutil.a.
getline is part of GNU libgettext. ./configure checks for these
functions and flags their presence or absence in libxine's config.h.

the SEGV above is caused by calls to libintl_bindtextdomain().

--Stefan
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org