rpms/Miro/F-13 Miro-3.0.1-mozembed-realize.patch, NONE, 1.1 Miro.spec, 1.73, 1.74
Michel Alexandre Salim
salimma at fedoraproject.org
Wed May 5 22:51:36 UTC 2010
- Previous message: rpms/Miro/F-12 Miro-3.0.1-mozembed-realize.patch, NONE, 1.1 .cvsignore, 1.22, 1.23 Miro.spec, 1.70, 1.71 sources, 1.22, 1.23
- Next message: rpms/Miro/devel Miro-3.0.1-mozembed-realize.patch, NONE, 1.1 Miro.spec, 1.74, 1.75
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: salimma
Update of /cvs/pkgs/rpms/Miro/F-13
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv24915/F-13
Modified Files:
Miro.spec
Added Files:
Miro-3.0.1-mozembed-realize.patch
Log Message:
Patch for xulrunner 1.9.2.x (and possibly later 1.9.1.x) from upstream
Miro-3.0.1-mozembed-realize.patch:
widgetset.py | 10 ++++++++++
1 file changed, 10 insertions(+)
--- NEW FILE Miro-3.0.1-mozembed-realize.patch ---
diff --git a/tv/platform/gtk-x11/plat/frontends/widgets/widgetset.py b/tv/platform/gtk-x11/plat/frontends/widgets/widgetset.py
index c69306e..2be2d6f 100644
--- a/tv/platform/gtk-x11/plat/frontends/widgets/widgetset.py
+++ b/tv/platform/gtk-x11/plat/frontends/widgets/widgetset.py
@@ -54,6 +54,16 @@ class MiroMozEmbed(gtkmozembed.MozEmbed):
# if a site is deleted, which is not too often.
pass
+ def do_realize(self):
+ if not hasattr(self, 'mozembed_realized'):
+ gtkmozembed.MozEmbed.do_realize(self)
+ self.mozembed_realized = True
+ else:
+ self.set_flags(self.flags() | gtk.REALIZED)
+
+ def do_unrealize(self):
+ self.set_flags(self.flags() & ~gtk.REALIZED)
+
gobject.type_register(MiroMozEmbed)
class Browser(Widget):
Index: Miro.spec
===================================================================
RCS file: /cvs/pkgs/rpms/Miro/F-13/Miro.spec,v
retrieving revision 1.73
retrieving revision 1.74
diff -u -p -r1.73 -r1.74
--- Miro.spec 5 May 2010 21:57:48 -0000 1.73
+++ Miro.spec 5 May 2010 22:51:36 -0000 1.74
@@ -12,11 +12,14 @@ Group: Applications/Multimedia
License: GPLv2+
URL: http://www.getmiro.com/
Source0: http://ftp.osuosl.org/pub/pculture.org/miro/src/miro-%{version}.tar.gz
+# http://bugzilla.pculture.org/show_bug.cgi?id=13312
Patch0: %{name}-2.0-videodir.patch
+# http://bugzilla.pculture.org/show_bug.cgi?id=13169
+Patch1: %{name}-3.0.1-mozembed-realize.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: python-devel Pyrex pygtk2-devel
-BuildRequires: gecko-devel-unstable >= %{gecko_ver} gettext
+BuildRequires: gecko-devel-unstable = %{gecko_ver} gettext
#if 0%{?fedora} >= 11
#BuildRequires: rb_libtorrent-devel rb_libtorrent-python
#endif
@@ -44,6 +47,7 @@ releasing bug fixes on a regular basis.
# Otherwise, the unpatched files get re-added into Miro
# (and '.' breaks Python imports)
%patch0 -p1
+%patch1 -p2
%build
- Previous message: rpms/Miro/F-12 Miro-3.0.1-mozembed-realize.patch, NONE, 1.1 .cvsignore, 1.22, 1.23 Miro.spec, 1.70, 1.71 sources, 1.22, 1.23
- Next message: rpms/Miro/devel Miro-3.0.1-mozembed-realize.patch, NONE, 1.1 Miro.spec, 1.74, 1.75
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the scm-commits
mailing list