[SCM] BOINC packaging branch, master, updated. upstream/7.0.44+dfsg-626-ga31230e

Gianfranco Costamagna costamagnagianfranco at yahoo.it
Tue Jan 22 10:42:17 UTC 2013


The following commit has been merged in the master branch:
commit a31230ee663c017a64b9f842b8c6da4467eac377
Author: Gianfranco Costamagna <costamagnagianfranco at yahoo.it>
Date:   Tue Jan 22 11:41:43 2013 +0100

    Disabled file executable check, for some reasons doesn't work

diff --git a/debian/patches/fix-add-exclusive-app.patch b/debian/patches/fix-add-exclusive-app.patch
index 18d0cf2..47a18cf 100644
--- a/debian/patches/fix-add-exclusive-app.patch
+++ b/debian/patches/fix-add-exclusive-app.patch
@@ -2,6 +2,9 @@ Author: Gianfranco Costamagna <costamagnagianfranco at yahoo.it>
 Forwarded: yes (mail to boinc_alpha)
 Reviewed-By: <costamagnagianfranco at yahoo.it>
 Last-Update: <2013-01-21>
+quoting from man
+"bool wxFileName::IsFileExecutable() 	
+Returns true if a file with this name exists and if this process has execute permissions on it."
 
 --- a/clientgui/DlgAdvPreferences.cpp
 +++ b/clientgui/DlgAdvPreferences.cpp
@@ -14,3 +17,12 @@ Last-Update: <2013-01-21>
                              wxFD_OPEN|wxFD_FILE_MUST_EXIST|wxFD_CHANGE_DIR|wxFD_MULTIPLE|wxFD_CHANGE_DIR);
  #endif
          if (picker.ShowModal() != wxID_OK) return;
+@@ -816,7 +816,7 @@ void CDlgAdvPreferences::OnAddExclusiveA
+ #endif
+             wxString directory = picker.GetDirectory();
+             wxFileName fn(directory, appNames[i]);
+-            if (!fn.IsOk() || !fn.IsFileExecutable()) {
++            if (!fn.IsOk() /*|| !fn.IsFileExecutable()*/) {
+                 errmsg.Printf(_("'%s' is not an executable application."), appNames[i].c_str());
+                 wxGetApp().SafeMessageBox(errmsg, _("Add Exclusive App"),
+                             wxOK | wxICON_EXCLAMATION, this);

-- 
BOINC packaging



More information about the pkg-boinc-commits mailing list