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


Author: Frank S. Thomas <fr...@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




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to