rpms/grig/devel grig-0.7.2-lcd-click.patch, NONE, 1.1 grig.spec, 1.8, 1.9
Lucian Langa
lucilanga at fedoraproject.org
Thu Jul 8 08:24:12 UTC 2010
Author: lucilanga
Update of /cvs/pkgs/rpms/grig/devel
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv27094
Modified Files:
grig.spec
Added Files:
grig-0.7.2-lcd-click.patch
Log Message:
fix for lcd click crash (#611947)
grig-0.7.2-lcd-click.patch:
rig-gui-lcd.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- NEW FILE grig-0.7.2-lcd-click.patch ---
diff -Naur grig-0.7.2/src/rig-gui-lcd.c grig-0.7.2-mod/src/rig-gui-lcd.c
--- grig-0.7.2/src/rig-gui-lcd.c 2006-03-16 21:29:36.000000000 +0200
+++ grig-0.7.2-mod/src/rig-gui-lcd.c 2010-07-08 11:15:53.000000000 +0300
@@ -810,7 +810,7 @@
rig_gui_lcd_get_event_object (GdkEvent *event)
{
guint x,y; /* coordinates */
- guint i;
+ gint i;
x = (guint) ((GdkEventButton*)event)->x;
y = (guint) ((GdkEventButton*)event)->y;
@@ -914,7 +914,7 @@
for (i=0; i<6; i++)
lcd.digits[i].y = (lcd.height - lcd.dlh)/2;
- for (i=6; i<13; i++)
+ for (i=6; i<12; i++)
lcd.digits[i].y = lcd.digits[1].y + (lcd.dlh-lcd.dsh)-1;
lcd.others[0].x = lcd.digits[2].x + lcd.dlw;
Index: grig.spec
===================================================================
RCS file: /cvs/pkgs/rpms/grig/devel/grig.spec,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -p -r1.8 -r1.9
--- grig.spec 27 Nov 2009 15:25:18 -0000 1.8
+++ grig.spec 8 Jul 2010 08:24:12 -0000 1.9
@@ -1,7 +1,7 @@
Name: grig
Version: 0.7.2
-Release: 8%{?dist}
+Release: 9%{?dist}
Summary: A Ham Radio Control graphical user interface
Group: Applications/Communications
@@ -10,6 +10,7 @@ URL: http://groundstation.sou
Source0: http://prdownloads.sourceforge.net/groundstation/%{name}-%{version}.tar.gz
Source1: grig.desktop
Patch0: grig-0.7.2-tooltip.patch
+Patch1: grig-0.7.2-lcd-click.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: hamlib-devel >= 1.2.5
@@ -30,6 +31,7 @@ user to the same interface regardless of
%prep
%setup -q
%patch0 -p1 -b .tooltip
+%patch1 -p1 -b .lcd-click
%build
@@ -69,6 +71,9 @@ update-desktop-database > /dev/null 2>&1
%changelog
+* Thu Jul 08 2010 Lucian Langa <cooly at gnome.eu.org> - 0.7.2-9
+- fix crash on clicking on lcd (#611947)
+
* Fri Nov 27 2009 Lucian Langa <cooly at gnome.eu.org> - 0.7.2-8
- improve desktop file (#530822)
More information about the scm-commits
mailing list