Fixed sussen-applet crash which occured when there was no default URI handler set.
authorPeter Volkov <pva@gentoo.org>
Wed, 14 Jun 2006 14:32:33 +0000 (14:32 +0000)
committerPeter Volkov <pva@gentoo.org>
Wed, 14 Jun 2006 14:32:33 +0000 (14:32 +0000)
Package-Manager: portage-2.0.54-r2

net-analyzer/sussen/ChangeLog
net-analyzer/sussen/Manifest
net-analyzer/sussen/files/sussen-0.23-try-catch-on-results.patch [new file with mode: 0644]
net-analyzer/sussen/sussen-0.23.ebuild

index efd28454e35b9c13f8ccdfe933317d4836bc9088..b3f0881efd33c28a039ffbed16d382b082c490cf 100644 (file)
@@ -1,6 +1,11 @@
 # ChangeLog for net-analyzer/sussen
 # Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/sussen/ChangeLog,v 1.21 2006/06/14 07:16:13 pva Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/sussen/ChangeLog,v 1.22 2006/06/14 14:32:33 pva Exp $
+
+  14 Jun 2006; Peter Volkov <pva@gentoo.org>
+  +files/sussen-0.23-try-catch-on-results.patch, sussen-0.23.ebuild:
+  Fixed sussen-applet crash which occured when there was no default URI
+  handler set.
 
   14 Jun 2006; Peter Volkov <pva@gentoo.org> sussen-0.23.ebuild:
   Fixed dbus built with mono check.
index ee6372f1706f671a7ef6f3fd354af55eefea1e8b..1586e3b11914c5018fa0aa14a9fbb0d089c77fec 100644 (file)
@@ -1,4 +1,4 @@
-MD5 a6ca63adeb68f40f9ea894a76d0e0185 ChangeLog 2986
+MD5 ab838bf484350f0af1ed7ea6e4e19b72 ChangeLog 3188
 MD5 913a9112332add1b07f8e13567ef78c6 files/digest-sussen-0.10 63
 MD5 6bbd8221dae260aa294014e79587f74d files/digest-sussen-0.12 63
 MD5 034a05b578eae1d70b56349b853e5d92 files/digest-sussen-0.15 63
@@ -9,6 +9,7 @@ MD5 1aa4b5628ba6f84e2c4da720eba31a49 files/digest-sussen-0.23 63
 MD5 5dd20ca6159958efc7303bd449ea592e files/digest-sussen-0.5.3 64
 MD5 06d36be407bde33246cc4cea8ded89b9 files/sussen-0.22-applet-cancel-scan-crash.patch 752
 MD5 4a32ed3facb737fe788b06ce6301e3cd files/sussen-0.22-panel-applet-crash.patch 1116
+MD5 ba28414d13225934d3ffd42240ef28e6 files/sussen-0.23-try-catch-on-results.patch 674
 MD5 637389da071d8ee0c0292695525bc29f metadata.xml 160
 MD5 284a33f91290e58dc976067ff9438ae5 sussen-0.10.ebuild 745
 MD5 eb4b0f734206dfbff9990d9a1edb216f sussen-0.12.ebuild 745
@@ -16,5 +17,5 @@ MD5 b1481061b30678b085039bd5c9952ef8 sussen-0.15.ebuild 855
 MD5 60d350134a4ad2790feccb71a4e472a9 sussen-0.19.ebuild 1139
 MD5 7d6ed18daf3a7e934469d3cbe9d78e97 sussen-0.21.ebuild 1478
 MD5 8da09b5cd46cc334ed718acce259ac13 sussen-0.22-r2.ebuild 1588
-MD5 1dbeb67e9483fe72b4ad48ca892dd101 sussen-0.23.ebuild 1667
+MD5 9e0dd15409684e21548e4d1926cddc2b sussen-0.23.ebuild 1761
 MD5 606a391d68a2efbd6f306c20cd73fdbe sussen-0.5.3.ebuild 1118
diff --git a/net-analyzer/sussen/files/sussen-0.23-try-catch-on-results.patch b/net-analyzer/sussen/files/sussen-0.23-try-catch-on-results.patch
new file mode 100644 (file)
index 0000000..17f9ba3
--- /dev/null
@@ -0,0 +1,18 @@
+diff -Naur sussen-0.23.orig/applet/ActionDialog.cs sussen-0.23/applet/ActionDialog.cs
+--- sussen-0.23.orig/applet/ActionDialog.cs    2006-06-05 17:03:35.000000000 +0400
++++ sussen-0.23/applet/ActionDialog.cs 2006-06-14 18:20:26.000000000 +0400
+@@ -203,8 +203,12 @@
+                       if (scanResultsFilename != null) {
+                               UriBuilder ub = new UriBuilder (scanResultsFilename);
+-                              Gnome.Url.Show (ub.ToString());                         
+-//                            new SummaryDialog (scanResultsFilename);
++
++                              try {
++                                      Gnome.Url.Show (ub.ToString());
++                              } catch (Exception e) {
++                                      ShowErrorDialog ("Error displaying results", e.Message);
++                              }
+                       } else
+                               Console.WriteLine ("scanResultsFilename is null");
+                               
index eacdca8b2418301b20e4cc538f7b35044c2d8f31..c6d07e47da7e5aca09ea23cb78c4395474292493 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2006 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/sussen/sussen-0.23.ebuild,v 1.2 2006/06/14 07:16:13 pva Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/sussen/sussen-0.23.ebuild,v 1.3 2006/06/14 14:32:33 pva Exp $
 
 inherit eutils gnome2 mono autotools
 
@@ -34,6 +34,14 @@ pkg_setup() {
        fi
 }
 
+src_unpack() {
+       unpack ${A}
+       cd ${S}
+
+       epatch ${FILESDIR}/${P}-try-catch-on-results.patch
+}
+
+
 src_compile () {
        econf ${myconf} \
        $(use_enable dbus) || die "./configure failed"