diff -Nru sugar-0.88-0.88.1/debian/changelog sugar-0.88-0.88.1/debian/changelog --- sugar-0.88-0.88.1/debian/changelog 2010-06-28 03:37:19.000000000 +0100 +++ sugar-0.88-0.88.1/debian/changelog 2010-06-28 04:09:26.000000000 +0100 @@ -1,3 +1,9 @@ +sugar-0.88 (0.88.1-2ubuntu3) lucid; urgency=low + + * Freeze_DCON_FIX added (fix_freeze_DCON.patch) + + -- Dipankar Patro Mon, 28 Jun 2010 08:38:43 +0530 + sugar-0.88 (0.88.1-2ubuntu2) lucid; urgency=low * Removed the dependency on read and browse diff -Nru sugar-0.88-0.88.1/debian/patches/fix_freeze_DCON.patch sugar-0.88-0.88.1/debian/patches/fix_freeze_DCON.patch --- sugar-0.88-0.88.1/debian/patches/fix_freeze_DCON.patch 1970-01-01 01:00:00.000000000 +0100 +++ sugar-0.88-0.88.1/debian/patches/fix_freeze_DCON.patch 2010-06-28 03:52:43.000000000 +0100 @@ -0,0 +1,14 @@ +Patch to fix the power management issue (freeze DCON) +diff --git a/bin/sugar-session b/bin/sugar-session +index cc8358c..b4a68cc 100755 +--- a/bin/sugar-session ++++ b/bin/sugar-session +@@ -220,7 +220,8 @@ + + # this must be added early, so that it executes and unfreezes the screen + # even when we initially get blocked on the intro screen +- gobject.idle_add(unfreeze_dcon_cb) ++ if os.path.exists("/sys/devices/platform/dcon"): ++ gobject.idle_add(unfreeze_dcon_cb) + + intro.check_profile() diff -Nru sugar-0.88-0.88.1/debian/patches/series sugar-0.88-0.88.1/debian/patches/series --- sugar-0.88-0.88.1/debian/patches/series 2010-06-26 08:52:54.000000000 +0100 +++ sugar-0.88-0.88.1/debian/patches/series 2010-06-28 04:07:25.000000000 +0100 @@ -4,3 +4,4 @@ #danish_l10n_autotools.patch empy_from_system_autotools.patch 1544.patch +fix_freeze_DCON.patch