[slic3r/f17] Added patch for previous commit

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit 531b7b7e4817a201e727b4c724dd4c76e5f3992a
Author: Miro Hrončok <miro@xxxxxxxxxx>
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;
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel





[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux