rpms/gwibber/F-12 gwibber-2.30.0.1-non-int-font-size-fix.patch, NONE, 1.1 gwibber.spec, 1.36, 1.37

Tom Callaway spot at fedoraproject.org
Tue Apr 20 21:46:38 UTC 2010


Author: spot

Update of /cvs/pkgs/rpms/gwibber/F-12
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv17905/F-12

Modified Files:
	gwibber.spec 
Added Files:
	gwibber-2.30.0.1-non-int-font-size-fix.patch 
Log Message:
fix non-int font size bug, 546392

gwibber-2.30.0.1-non-int-font-size-fix.patch:
 gwui.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- NEW FILE gwibber-2.30.0.1-non-int-font-size-fix.patch ---
diff -up gwibber-2.30.0.1/gwibber/gwui.py.BAD gwibber-2.30.0.1/gwibber/gwui.py
--- gwibber-2.30.0.1/gwibber/gwui.py.BAD	2010-04-20 11:10:11.955363447 -0400
+++ gwibber-2.30.0.1/gwibber/gwui.py	2010-04-20 11:10:17.489488951 -0400
@@ -264,7 +264,7 @@ class WebUi(webkit.WebView):
     default_font = self.gc.get_string("/desktop/gnome/interface/font_name")
     font_name, font_size = default_font.rsplit(None, 1)
     self.web_settings.set_property("sans-serif-font-family", font_name)
-    self.web_settings.set_property("default-font-size", int(font_size))
+    self.web_settings.set_property("default-font-size", int(float(font_size)))
 
     if not resources.theme_exists(theme):
       theme = "default"


Index: gwibber.spec
===================================================================
RCS file: /cvs/pkgs/rpms/gwibber/F-12/gwibber.spec,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -p -r1.36 -r1.37
--- gwibber.spec	15 Apr 2010 19:14:25 -0000	1.36
+++ gwibber.spec	20 Apr 2010 21:46:38 -0000	1.37
@@ -4,7 +4,7 @@
 
 Name:           gwibber
 Version:        %{basever}.1
-Release:        1%{?dist}
+Release:        2%{?dist}
 Epoch:          1
 Summary:        An open source microblogging client for GNOME developed with Python and GTK
 Group:          Applications/Internet
@@ -17,6 +17,9 @@ URL:            https://launchpad.net/gw
 Source0:        http://launchpad.net/gwibber/trunk/%{basever}/+download/gwibber-%{version}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
+# Fix for https://bugs.launchpad.net/gwibber/+bug/546392
+Patch0:		gwibber-2.30.0.1-non-int-font-size-fix.patch
+
 Requires:	libsoup, python-pycurl, PyXML
 Requires:	python 
 Requires:	dbus-python >= 0.80.2
@@ -44,8 +47,7 @@ and GTK. It supports Twitter, Jaiku, Ide
 
 %prep
 %setup -q
-# %patch0 -p1 -b .nosupport
-# %patch1 -p1 -b .POTFILES-fix
+%patch0 -p1 -b .non-int-font-size-fix
 sed -i -e '/^#! \?\//, 1d' $(find %{name} | grep "\.py$")
 
 %build
@@ -88,6 +90,9 @@ rm -rf %{buildroot}
 %{_datadir}/indicators/messages/applications/gwibber
 
 %changelog
+* Tue Apr 20 2010 Tom "spot" Callaway <tcallawa at redhat.com> - 1:2.30.0.1-2
+- add fix for https://bugs.launchpad.net/gwibber/+bug/546392
+
 * Thu Apr 15 2010 Tom "spot" Callaway <tcallawa at redhat.com> - 1:2.30.0.1-1
 - update to 2.30.0.1
 



More information about the scm-commits mailing list