rpms/gnash/F-8 gnash-plugin.patch,NONE,1.1 gnash.spec,1.12,1.13
Patrice Dumas (pertusus)
fedora-extras-commits at redhat.com
Sat Oct 27 23:07:27 UTC 2007
Author: pertusus
Update of /cvs/extras/rpms/gnash/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv26197
Modified Files:
gnash.spec
Added Files:
gnash-plugin.patch
Log Message:
* Sat Oct 27 2007 Patrice Dumas <pertusus at free.fr> 0.8.1-6
- add patch from Martin Stransky to fix wrapped plugin #281061
gnash-plugin.patch:
--- NEW FILE gnash-plugin.patch ---
diff -up gnash-0.8.1/plugin/plugin.cpp.old gnash-0.8.1/plugin/plugin.cpp
--- gnash-0.8.1/plugin/plugin.cpp.old 2007-08-18 18:48:54.000000000 +0200
+++ gnash-0.8.1/plugin/plugin.cpp 2007-10-15 10:44:16.000000000 +0200
@@ -490,6 +490,14 @@ nsPluginInstance::startProc(Window win)
procname = gnash_env;
}
+ const char* pageurl = getCurrentPageURL();
+ if ( ! pageurl )
+ {
+ cout << "Could not get current page URL!" << endl;
+ //log_msg("UNIMPLEMENTED: current page url: %s", pageurl);
+ // invoke gnash with -U <current_page_url>
+ }
+
struct stat procstats;
// See if the file actually exists, otherwise we can't spawn it
@@ -558,13 +566,6 @@ nsPluginInstance::startProc(Window win)
// setup the command line
- const char* pageurl = getCurrentPageURL();
- if ( ! pageurl )
- {
- cout << "Could not get current page URL!" << endl;
- //log_msg("UNIMPLEMENTED: current page url: %s", pageurl);
- // invoke gnash with -U <current_page_url>
- }
const size_t buf_size = 30;
char xid[buf_size], width[buf_size], height[buf_size];
Index: gnash.spec
===================================================================
RCS file: /cvs/extras/rpms/gnash/F-8/gnash.spec,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- gnash.spec 20 Sep 2007 20:26:10 -0000 1.12
+++ gnash.spec 27 Oct 2007 23:06:52 -0000 1.13
@@ -1,12 +1,14 @@
Name: gnash
Version: 0.8.1
-Release: 5%{?dist}
+Release: 6%{?dist}
Summary: GNU flash movie player
Group: Applications/Multimedia
License: GPLv3+
URL: http://www.gnu.org/software/gnash/
Source0: http://ftp.gnu.org/gnu/gnash/%{version}/%{name}-%{version}.tar.gz
+# from Martin Stransky
+Patch0: gnash-plugin.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: libxml2-devel libpng-devel libjpeg-devel libogg-devel
@@ -68,8 +70,12 @@
%prep
%setup -q
+%patch0 -p1 -b .plugin
chmod a-x libgeometry/snappingrange.h backend/render*.h gui/gtk_glue_agg.{h,cpp}
+iconv -f latin1 -t utf8 < AUTHORS > AUTHORS.utf8
+touch -r AUTHORS AUTHORS.utf8
+mv AUTHORS.utf8 AUTHORS
%build
[ -n "$QTDIR" ] || . %{_sysconfdir}/profile.d/qt.sh
@@ -185,6 +191,9 @@
#%{_bindir}/cygnal
%changelog
+* Sat Oct 27 2007 Patrice Dumas <pertusus at free.fr> 0.8.1-6
+- add patch from Martin Stransky to fix wrapped plugin #281061
+
* Thu Sep 20 2007 Patrice Dumas <pertusus at free.fr> 0.8.1-5
- info files are empty, don't install them
More information about the fedora-extras-commits
mailing list