[slic3r/f17] Added patch for previous commit

Miro Hrončok churchyard at fedoraproject.org
Tue Apr 23 21:16:48 UTC 2013


commit 531b7b7e4817a201e727b4c724dd4c76e5f3992a
Author: Miro Hrončok <miro at hroncok.cz>
Date:   Tue Apr 23 23:16:26 2013 +0200

    Added patch for previous commit

 slic3r-remove-net-dbus.patch |   32 ++++++++++++++++++++++++++++++++
 1 files changed, 32 insertions(+), 0 deletions(-)
---
diff --git a/slic3r-remove-net-dbus.patch b/slic3r-remove-net-dbus.patch
new file mode 100644
index 0000000..61b8e7c
--- /dev/null
+++ b/slic3r-remove-net-dbus.patch
@@ -0,0 +1,32 @@
+diff --git a/Build.PL b/Build.PL
+index 361e1be..fa4094f 100644
+--- a/Build.PL
++++ b/Build.PL
+@@ -25,7 +25,6 @@ my $build = Module::Build->new(
+     },
+     recommends     => {
+         'Growl::GNTP' => '0.15',
+-        'Net::DBus'   => '0',
+         'XML::SAX::ExpatXS' => '0',
+         'Wx'          => '0.9901',
+     },
+diff --git a/lib/Slic3r/GUI.pm b/lib/Slic3r/GUI.pm
+index 7372049..484a1e9 100644
+--- a/lib/Slic3r/GUI.pm
++++ b/lib/Slic3r/GUI.pm
+@@ -406,15 +406,6 @@ sub notify {
+         $self->{growler}->notify(Event => 'SKEIN_DONE', Title => $title, Message => $message)
+             if $self->{growler};
+     };
+-    if (eval 'use Net::DBus; 1') {
+-        eval {
+-            my $session = Net::DBus->session;
+-            my $serv = $session->get_service('org.freedesktop.Notifications');
+-            my $notifier = $serv->get_object('/org/freedesktop/Notifications',
+-                                             'org.freedesktop.Notifications');
+-            $notifier->Notify('Slic3r', 0, $self->{icon}, $title, $message, [], {}, -1);
+-        }
+-    };
+ }
+ 
+ 1;


More information about the scm-commits mailing list