Gnash plugin packages

John (J5) Palmieri johnp at redhat.com
Tue Mar 6 18:23:37 EST 2007


On Tue, 2007-03-06 at 16:06 -0700, Rob Savoye wrote:
> John (J5) Palmieri wrote:
> 
> > Gnash now works in our builds, all be it very slowly.  Great work.  You
> > can get my src.rpm which has our spec file in it at
> > http://download.fedora.redhat.com/pub/fedora/projects/olpc/development/source/SRPMS/.
> 
>   I don't see a spec file in the src rpm. 

you need to rpm -i the src rpm but I have attached the spec to this
mail.

> You'll want to use the AGG
> backend, instead of OpenGL, as libMesa is pretty slow on the OLPC...

Actually we don't even have OpenGL compiled into X.  We are using AGG.

> We're working on tweaking the performance. For web page navigation there
> isn't a noticeable speed issue, but some Flash animations just crawl...
> A few run out of memory and won't load. Gnash is still a work in
> progress, but at least we're making steady progress every day. :-)

It is all pretty nice from what I have seen.

-- 
John (J5) Palmieri <johnp at redhat.com>
-------------- next part --------------
%define snapshot 20070306

Name:           gnash
Version:        0.7.2.cvs20070306
Release:        1%{?dist}
Summary:        GNU flash movie player

Group:          Applications/Multimedia
License:        GPL
URL:            http://www.gnu.org/software/gnash/
Source0:        %{name}-%{snapshot}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:  libxml2-devel libpng-devel libjpeg-devel libogg-devel
BuildRequires:  boost-devel curl-devel 
BuildRequires:  agg-devel 
BuildRequires:  gstreamer-devel >= 0.10
BuildRequires:  gtk2-devel
BuildRequires:  libXt-devel

Requires(post): /sbin/ldconfig
Requires(postun): /sbin/ldconfig

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

%package plugin
Summary:   Web-client flash movie player plugin 
Requires:  %{name} = %{version}-%{release}
# this doesn't prevent wrong dependencies, in case a package
# provides %%{_libdir}/mozilla/plugins (like kdebase for konqueror)
# and another unrelated webbrowser is installed, like w3m-el.
# Moreover konqueror could provide webclient some day
Requires:  xulrunner 
Group:     Applications/Internet

%description plugin
The gnash flash movie player plugin for firefox or mozilla.

%prep
%setup -q -n %{name}-%{snapshot}

%build
%configure --disable-static --with-plugindir=%{_libdir}/mozilla/plugins \
  --enable-sound=GST --enable-renderer=agg \
  --disable-dependency-tracking --disable-rpath \
  --enable-extensions --with-plugindir=%{_libdir}/mozilla/plugins
 
make %{?_smp_mflags} CXXFLAGS="-g" dumpconfig all


%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT/%{_libdir}/ -name *.la | xargs rm -f
rm -rf $RPM_BUILD_ROOT/%{_localstatedir}/scrollkeeper
rm -f $RPM_BUILD_ROOT%{_infodir}/dir
rm -rf $RPM_BUILD_ROOT%{_datadir}/man
%clean
rm -rf $RPM_BUILD_ROOT


%post 
/sbin/ldconfig

%preun

%postun
/sbin/ldconfig

%files
%defattr(-,root,root,-)
%doc README AUTHORS COPYING NEWS 
%doc doc/C/gnash.html 
%doc doc/C/images
%{_bindir}/gnash
%{_bindir}/gparser
%{_bindir}/gprocessor
%{_bindir}/cygnal
%{_libdir}/*.so*
%dir %{_libdir}/gnash
%dir %{_libdir}/gnash/plugins
%{_libdir}/gnash/plugins/*.so
%{_datadir}/gnash/
# I think this needs to be put in noinst
%{_includedir}/ltdl.h

%files plugin
%defattr(-,root,root,-)
%{_libdir}/mozilla/plugins/libgnashplugin.so

%changelog
* Tue Mar 06 2007 John (J5) Palmieri <johnp at redhat.com> 0.7.2.cvs20070306-1
- update to new snapshot

* Thu Feb 28 2007 John (J5) Palmieri <johnp at redhat.com> 0.7.2.cvs20070226-3
- require xulrunner instead of webclient

* Wed Feb 28 2007 John (J5) Palmieri <johnp at redhat.com> 0.7.2.cvs20070226-2
- don't delete requires .so files

* Mon Feb 26 2007 John (J5) Palmieri <johnp at redhat.com> 0.7.2.cvs20070226-1
- cvs snapshot built for olpc

* Sat Nov  6 2006 Patrice Dumas <pertusus at free.fr> 0.7.2-1
- update for 0.7.2 release.

* Thu Oct 05 2006 Christian Iseli <Christian.Iseli at licr.org> 0.7.1-9
 - rebuilt for unwind info generation, broken in gcc-4.1.1-21

* Sun Sep 24 2006 Patrice Dumas <pertusus at free.fr> 0.7.1-8
- plugin requires %%{_libdir}/mozilla/plugins. Fix (incompletly and 
  temporarily, but there is no better solution yet) #207613

* Sun Aug 27 2006 Patrice Dumas <pertusus at free.fr> - 0.7.1-7
- add defattr for klash
- add warnings in the description about stability

* Mon Aug 21 2006 Patrice Dumas <pertusus at free.fr> - 0.7.1-6
- remove superfluous buildrequires autoconf
- rename last patch to gnash-plugin-tempfile-dir.patch
- add README.fedora to plugin to explain tmpdirs

* Wed Aug 16 2006 Jens Petersen <petersen at redhat.com> - 0.7.1-5
- source qt.sh and configure --with-qtdir (Dominik Mierzejewski)
- add plugin-tempfile-dir.patch for plugin to use a safe tempdir

* Fri Jul 28 2006 Jens Petersen <petersen at redhat.com> - 0.7.1-4
- buildrequire autotools (Michael Knox)

* Fri Jun  2 2006 Patrice Dumas <pertusus at free.fr> - 0.7.1-3
- add gnash-continue_on_info_install_error.patch to avoid
- buildrequire libXmu-devel

* Wed May 17 2006 Jens Petersen <petersen at redhat.com> - 0.7.1-2
- configure with --disable-rpath
- buildrequire docbook2X
- remove devel files

* Sun May  7 2006 Jens Petersen <petersen at redhat.com> - 0.7.1-1
- update to 0.7.1 alpha release

* Sat Apr  22 2006 Rob Savoye <rob at welcomehome.org> - 0.7-1
- install the info file. Various tweaks for my system based on
Patrice's latest patch,

* Fri Feb  3 2006 Patrice Dumas <dumas at centre-cired.fr> - 0.7-1
- initial packaging


More information about the Devel mailing list