Package: alarm-clock
Version: 1.2.5-1
Severity: wishlist
Justification: fails-to-build-from-source
Tags: patch

hello dear maintainer,

regarding the above subject your package ftbfs on ubuntu with gcc 4.5
(alarm redeclared as a different type error)

which comes with reference to the buildlogs seen here:

http://people.ubuntuwire.org/~lucas/ubuntu-nbs/32/alarm-clock_1.2.5-1_lubuntu32.buildlog

http://people.ubuntuwire.org/~lucas/ubuntu-nbs/64/alarm-clock_1.2.5-1_lubuntu64.buildlog

and secondly alarm-clock always associates itself with text files as
seen from this bug

https://bugs.edge.launchpad.net/ubuntu/+source/alarm-clock/+bug/502871

the attached patch takes care of the same

regards

-- 

Bhavani Shankar.R
https://launchpad.net/~bhavi, a proud ubuntu community  member.
What matters in life is application of mind!,
It makes great sense to have some common sense..!
only in patch2:
unchanged:
--- alarm-clock-1.2.5.orig/alarm-clock.desktop
+++ alarm-clock-1.2.5/alarm-clock.desktop
@@ -18,5 +18,5 @@
 Categories=GNOME;GTK;Utility;
 Icon=alarm-clock
 StartupNotify=false
-MimeType=text/plain;
+MimeType=application/octet-stream;
 OnlyShowIn=GNOME;
only in patch2:
unchanged:
--- alarm-clock-1.2.5.orig/src/alarm_runner.h
+++ alarm-clock-1.2.5/src/alarm_runner.h
@@ -28,6 +28,6 @@
 gboolean running_snooze;
 
 void
-run_alarm(gchar *name);
+run_alarm_struct(gchar *name);
 
-GKeyFile *alarm;
+GKeyFile *alarm_struct;

Reply via email to