gnash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash] gnash testing


From: Jens Petersen
Subject: [Gnash] gnash testing
Date: Fri, 07 Apr 2006 18:44:07 +0900
User-agent: Thunderbird 1.5 (X11/20060313)

Hi,

I've been testing gnash personally a bit under Fedora Core 4 (FC4) and FC5 on x86_64 recently.

For me the client from current anoncvs head runs ok under FC4 but not on FC5: I noticed Fedora Extras 4 has gtkglext 1.0 whereas Extras 5 has 1.2, but I don't know if that is the cause of the crash I see under FC5 whenever I run gnash on any flash file:

% gnash --sync ~/src/gnash/Home.swf
The program 'gnash' received an X Window System error.
This probably reflects a bug in the program.
The error was 'GLXBadContext'.
  (Details: serial 234 error_code 154 request_code 143 minor_code 5)
:

I didn't manage to get a backtrace with gdb, perhaps it is crashing before there is a stack.

However on FC4 I noticed that gnash tends to grab the CPU for me even after a flash file has apparently finished running. Admittedly I don't have accelerated 3D graphics, but it looks like a bug of some kind to me.

I haven't managed to get the plugin working properly in firefox.
Currently in FC4 it just seem to display the initial flash file background, but then nothing happens. (In FC5 the plugin crashes firefox as soon as it tries to render some flash.) I haven't tried i386.

I attach the rpm .spec file and a configure hack I've been using to package and test it.

Thanks for developing gnash. :-)

Jens
%define snapdate %(date +%%Y%%m%%d)

Name:           gnash
Version:        0.7
Release:        0.%{snapdate}%{?dist}
Summary:        GNU flash player

Group:          Applications/Internet
License:        GPL
URL:            http://www.gnu.org/software/gnash/
Source0:        
http://www.gnu.org/software/gnash/releases/%{name}-%{snapdate}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires:  libxml2-devel, gtk2-devel, gtkglext-devel, SDL_mixer-devel, 
gstreamer-devel
Patch1:         gnash-configure-pkgconfig.patch
#Patch2:                gnash-plugin-gtk2.6.patch

%description
Gnash is a GNU Flash movie player based on GameSWF,
and supports many SWF v7 features.

%prep
%setup -q -n %{name}-%{snapdate}
%patch1 -p1 -b .1
#%%patch2 -p1 -b .2
./autogen.sh

%build
%configure --disable-static --enable-gtkplug 
--with-plugindir=%{_libdir}/mozilla/plugins
make %{?_smp_mflags}


%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT

rm $RPM_BUILD_ROOT%{_libdir}/lib*.la

%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%doc AUTHORS COPYING ChangeLog NEWS README
%{_bindir}/g*
%{_libdir}/lib*
%{_libdir}/mozilla/plugins/libgnashplugin.so

%changelog
* Mon Mar 20 2006 Jens Petersen <address@hidden>
- initial package for Fedora
--- gnash-20060320/configure.ac.1       2006-03-20 10:51:01.000000000 +0900
+++ gnash-20060320/configure.ac 2006-03-20 12:15:59.000000000 +0900
@@ -271,6 +271,11 @@
 plugmk="plugin/Makefile plugin/mozilla-sdk/Makefile"
 fi
 
+PKG_CHECK_MODULES(LIBXML, libxml-2.0)
+PKG_CHECK_MODULES(GTK2, gtk+-2.0)
+PKG_CHECK_MODULES(GLEXT, gtkglext-1.0, HAVE_GTK_GTKGL_H=1)
+
+
 AC_OUTPUT(Makefile
 libbase/Makefile
 libgeometry/Makefile

reply via email to

[Prev in Thread] Current Thread [Next in Thread]