Disable Net::DBus. #1015
This commit is contained in:
parent
c2301c5796
commit
dde3e6e870
2 changed files with 2 additions and 2 deletions
1
Build.PL
1
Build.PL
|
@ -28,7 +28,6 @@ my $build = Module::Build->new(
|
||||||
recommends => {
|
recommends => {
|
||||||
'Class::XSAccessor' => '0',
|
'Class::XSAccessor' => '0',
|
||||||
'Growl::GNTP' => '0.15',
|
'Growl::GNTP' => '0.15',
|
||||||
'Net::DBus' => '0',
|
|
||||||
'XML::SAX::ExpatXS' => '0',
|
'XML::SAX::ExpatXS' => '0',
|
||||||
'Wx' => '0.9901',
|
'Wx' => '0.9901',
|
||||||
},
|
},
|
||||||
|
|
|
@ -480,7 +480,8 @@ sub notify {
|
||||||
$self->{growler}->notify(Event => 'SKEIN_DONE', Title => $title, Message => $message)
|
$self->{growler}->notify(Event => 'SKEIN_DONE', Title => $title, Message => $message)
|
||||||
if $self->{growler};
|
if $self->{growler};
|
||||||
};
|
};
|
||||||
if (eval 'use Net::DBus; 1') {
|
# Net::DBus is broken in multithreaded environment
|
||||||
|
if (0 && eval 'use Net::DBus; 1') {
|
||||||
eval {
|
eval {
|
||||||
my $session = Net::DBus->session;
|
my $session = Net::DBus->session;
|
||||||
my $serv = $session->get_service('org.freedesktop.Notifications');
|
my $serv = $session->get_service('org.freedesktop.Notifications');
|
||||||
|
|
Loading…
Add table
Reference in a new issue