Disable Net::DBus. #1015

This commit is contained in:
Alessandro Ranellucci 2013-04-29 15:57:07 +02:00
parent c2301c5796
commit dde3e6e870
2 changed files with 2 additions and 2 deletions

View file

@ -28,7 +28,6 @@ my $build = Module::Build->new(
recommends => {
'Class::XSAccessor' => '0',
'Growl::GNTP' => '0.15',
'Net::DBus' => '0',
'XML::SAX::ExpatXS' => '0',
'Wx' => '0.9901',
},

View file

@ -480,7 +480,8 @@ sub notify {
$self->{growler}->notify(Event => 'SKEIN_DONE', Title => $title, Message => $message)
if $self->{growler};
};
if (eval 'use Net::DBus; 1') {
# Net::DBus is broken in multithreaded environment
if (0 && eval 'use Net::DBus; 1') {
eval {
my $session = Net::DBus->session;
my $serv = $session->get_service('org.freedesktop.Notifications');