ffalarms: bump SRCREV, remove patch applied upstream
authorŁukasz Pankowski <lukpank@o2.pl>
Fri, 15 Oct 2010 19:43:14 +0000 (21:43 +0200)
committerMartin Jansa <Martin.Jansa@gmail.com>
Sat, 16 Oct 2010 11:24:19 +0000 (13:24 +0200)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
recipes/ffalarms/ffalarms/ical.timezone.patch [deleted file]
recipes/ffalarms/ffalarms_git.bb

diff --git a/recipes/ffalarms/ffalarms/ical.timezone.patch b/recipes/ffalarms/ffalarms/ical.timezone.patch
deleted file mode 100644 (file)
index e19ebc9..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-diff -uNr git.orig//ffalarms.vala git/ffalarms.vala
---- git.orig//ffalarms.vala    2010-09-26 16:15:04.000000000 +0200
-+++ git/ffalarms.vala  2010-10-13 21:31:15.000000000 +0200
-@@ -139,7 +139,7 @@
- }
--unowned TimeZone local_tz()
-+unowned ICal.TimeZone local_tz()
- {
-     string s = Environment.get_variable("TZ");
-     try {
-@@ -149,15 +149,15 @@
-     } catch (FileError e) {
-       s = "UTC";
-     }
--    return TimeZone.get_builtin_timezone(s.strip());
-+    return ICal.TimeZone.get_builtin_timezone(s.strip());
- }
- // XXX may return time_t
- ICal.Time next_alarm_as_utc(Component c)
- {
--    unowned TimeZone tz = local_tz();
--    unowned TimeZone utc = TimeZone.get_utc_timezone();
-+    unowned ICal.TimeZone tz = local_tz();
-+    unowned ICal.TimeZone utc = ICal.TimeZone.get_utc_timezone();
-     var t = time_t();
-     var utc_now = ICal.Time.from_timet_with_zone(t, false, utc);
-     ICal.Time tz_now = ICal.Time.from_timet_with_zone(t, false, tz);
-@@ -173,7 +173,7 @@
-     }
-     if (!next.is_utc() && next.zone == null)
-       ICal.Time.set_timezone(ref next, tz);
--    TimeZone.convert_time(ref next, tz, utc);
-+    ICal.TimeZone.convert_time(ref next, tz, utc);
-     next.set_timezone(ref next, utc);
-     return (next.compare (utc_now) >= 0) ? next : ICal.Time.null_time();
- }
index d904859..ec7fe72 100644 (file)
@@ -10,10 +10,9 @@ RSUGGESTS_${PN} = "mplayer alsa-utils-aplay frameworkd"
 PV = "0.4+gitr${SRCPV}"
 PR = "r7"
 
-SRC_URI = "git://git.shr-project.org/repo/ffalarms.git;protocol=http;branch=master \
-           file://ical.timezone.patch"
+SRC_URI = "git://git.shr-project.org/repo/ffalarms.git;protocol=http;branch=master"
 
-SRCREV = "4ff7daa50ca4f7093d4c331d0274d95f3171c4c6"
+SRCREV = "7dfb98bff1da11131a1eae9018f5b9916b298104"
 S = "${WORKDIR}/git"
 
 inherit vala