diff --git a/.cvsignore b/.cvsignore index f4712df..286c3ca 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -easystroke-0.4.4.tar.gz +easystroke-0.4.5.tar.gz diff --git a/easystroke-0.4.5-gcc.patch b/easystroke-0.4.5-gcc.patch new file mode 100644 index 0000000..a4f6aba --- /dev/null +++ b/easystroke-0.4.5-gcc.patch @@ -0,0 +1,11 @@ +--- easystroke-0.4.5/stroke.c.debug 2009-05-12 23:24:45.000000000 +0900 ++++ easystroke-0.4.5/stroke.c 2009-06-03 21:35:15.000000000 +0900 +@@ -156,7 +156,7 @@ + int max_y = y; + int k = 0; + +- inline void step(int x2, int y2) { ++ void step(int x2, int y2) { + double dtx = a->p[x2].t - tx; + double dty = b->p[y2].t - ty; + if (dtx >= dty * 2.2 || dty >= dtx * 2.2 || dtx < EPS || dty < EPS) diff --git a/easystroke.spec b/easystroke.spec index d36e0b9..2285441 100644 --- a/easystroke.spec +++ b/easystroke.spec @@ -1,12 +1,14 @@ Name: easystroke -Version: 0.4.4 -Release: 3%{?dist} +Version: 0.4.5 +Release: 1%{?dist} Summary: Gesture-recognition application for X11 Group: User Interface/X Hardware Support License: ISC URL: http://easystroke.sourceforge.net/ Source0: http://downloads.sourceforge.net/easystroke/%{name}-%{version}.tar.gz +#Patch to compile with gcc 4.3.0 +Patch0: easystroke-0.4.5-gcc.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: gtkmm24-devel @@ -26,13 +28,14 @@ execute shell commands, hold down modifiers and emulate a scroll wheel. %prep %setup -q +%patch0 -p1 -b .gcc # Resolve debuginfo sed -i 's|install -Ds|install -D|' Makefile # Preserve timestamps: sed -i 's|install |install -p |' Makefile %build -make %{?_smp_mflags} DFLAGS="%{optflags}" +make %{?_smp_mflags} CXX="g++ %{optflags}" CC="gcc -std=c99 %{optflags}" %install @@ -72,7 +75,11 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %changelog -* Fri Jun 01 2009 Zarko Pintar - 0.4.4-3 +* Wed Jun 03 2009 Zarko Pintar - 0.4.5-1 +- new version +- added gcc4.3.0 patch and resolve optflags + +* Mon Jun 01 2009 Zarko Pintar - 0.4.4-3 - spec cleaning * Fri May 29 2009 Zarko Pintar - 0.4.4-2 diff --git a/import.log b/import.log index 366911c..a120044 100644 --- a/import.log +++ b/import.log @@ -1 +1,2 @@ easystroke-0_4_4-3_fc11:F-9:easystroke-0.4.4-3.fc11.src.rpm:1243924084 +easystroke-0_4_5-1_fc10:F-9:easystroke-0.4.5-1.fc10.src.rpm:1244061314 diff --git a/sources b/sources index 989a49f..7c9c3f1 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -82b359e2703740bf86c2402a269bb320 easystroke-0.4.4.tar.gz +b08baf1f51d969d9ce55519977b3c466 easystroke-0.4.5.tar.gz