diff -pruN gparted-0.3.3.orig/debian/changelog gparted-0.3.3/debian/changelog --- gparted-0.3.3.orig/debian/changelog 2007-09-24 23:13:45.000000000 +0300 +++ gparted-0.3.3/debian/changelog 2007-09-24 23:12:54.000000000 +0300 @@ -1,3 +1,11 @@ +gparted (0.3.3-3ubuntu1) gutsy; urgency=low + + * debian/patches/02_strip-fdi-hackery.patch: + - remove logic that prevents hal from mounting fixed drives automatically + while gparted is running; this not necessary any more (LP: #134712) + + -- Matti Lindell Mon, 24 Sep 2007 20:06:39 +0300 + gparted (0.3.3-3) unstable; urgency=low * Resynchronized with Ubuntu. diff -pruN gparted-0.3.3.orig/debian/patches/02_strip-fdi-hackery.patch gparted-0.3.3/debian/patches/02_strip-fdi-hackery.patch --- gparted-0.3.3.orig/debian/patches/02_strip-fdi-hackery.patch 1970-01-01 02:00:00.000000000 +0200 +++ gparted-0.3.3/debian/patches/02_strip-fdi-hackery.patch 2007-09-24 23:07:37.000000000 +0300 @@ -0,0 +1,35 @@ +diff -pruN gparted-0.3.3.orig/src/GParted_Core.cc gparted-0.3.3/src/GParted_Core.cc +--- gparted-0.3.3.orig/src/GParted_Core.cc 2006-12-05 21:39:31.000000000 +0200 ++++ gparted-0.3.3/src/GParted_Core.cc 2007-09-24 22:22:26.000000000 +0300 +@@ -54,21 +54,6 @@ GParted_Core::GParted_Core() + + ped_exception_set_handler( ped_exception_handler ) ; + +- //disable automount //FIXME: temporary hack, till i find a better solution... +- std::ofstream fdi_file( "/usr/share/hal/fdi/policy/gparted-disable-automount.fdi" ) ; +- if ( fdi_file ) +- { +- fdi_file << "" ; +- fdi_file << "" ; +- fdi_file << "" ; +- fdi_file << "true" ; +- fdi_file << "" ; +- fdi_file << "" ; +- fdi_file << "" ; +- +- fdi_file .close() ; +- } +- + //get valid flags ... + for ( PedPartitionFlag flag = ped_partition_flag_next( static_cast( NULL ) ) ; + flag ; +@@ -2286,9 +2271,6 @@ GParted_Core::~GParted_Core() + { + if ( p_filesystem ) + delete p_filesystem ; +- +- //remove .fdi file.. +- remove( "/usr/share/hal/fdi/policy/gparted-disable-automount.fdi" ) ; + } + + } //GParted