Bug#537695: Patch uses "sensible-browser"

Daniel Hahler debian-bugs at thequod.de
Sun Mar 28 21:00:24 UTC 2010


Here's the contents of debian/patches/003_use_sensible-browser.patch -
it appears to be using sensible-browser.


Author: Frank S. Thomas <frank at thomas-alfeld.de>

Description: use sensible-browser only, because upstream's attempt to
start a browser fails miserably.
Disclaimer: This patch is Debian-specific. Don't use it for non Debian
packages.
The program "sensible-browser" is part of the essential package debianutils.

--- boinc.orig/clientgui/hyperlink.cpp
+++ boinc/clientgui/hyperlink.cpp
@@ -171,7 +171,8 @@
 }

 void wxHyperLink::ExecuteLink (const wxString &strLink) {
-    if (!wxLaunchDefaultBrowser(strLink)) {
+    wxString cmd = wxT("sensible-browser ") + strLink;
+    if (!::wxExecute(cmd, wxEXEC_ASYNC)) {
         wxString strDialogTitle = wxEmptyString;
         wxString strDialogMessage = wxEmptyString;

A similar bug has been submitted to Launchpad at:
https://bugs.launchpad.net/ubuntu/+source/boinc/+bug/353372






More information about the pkg-boinc-devel mailing list