Author Topic: Build for Mac OS X - offer to help and request for help  (Read 25002 times)

Offline frankofrank

  • Multiple posting newcomer
  • *
  • Posts: 10
Re: Build for Mac OS X - offer to help and request for help
« Reply #15 on: November 13, 2016, 12:53:03 am »
Ok,
for compatibility with version 13.12 where plugins are stored in
CodeBlocks.app/Contents/Resources/share/codeblocks/plugins

I suggest:

svn diff
Index: sdk/configmanager.cpp
===================================================================
--- sdk/configmanager.cpp   (revision 10921)
+++ sdk/configmanager.cpp   (working copy)
@@ -1503,19 +1503,23 @@
 #ifdef CB_AUTOCONF
     if (plugin_path_global.IsEmpty())
     {
-        if (platform::windows || platform::macosx)
+        if (platform::windows)
             ConfigManager::plugin_path_global = data_path_global;
+        else if (platform::macosx)
+            ConfigManager::plugin_path_global = data_path_global + _T("/plugins");
         else
         {


Regards,
frankofrank

Offline frankofrank

  • Multiple posting newcomer
  • *
  • Posts: 10
Re: Build for Mac OS X - offer to help and request for help
« Reply #16 on: November 16, 2016, 12:42:12 pm »
Quote
You can submit patches, and the C::B devs have rights to apply your patches to our SVN.  :)

Ok, check my patches for tickets: #275 #425

Regards
frankofrank
« Last Edit: November 16, 2016, 01:07:53 pm by frankofrank »

Online Xaviou

  • Regular
  • ***
  • Posts: 402
    • X@v's wxStuff
Re: Build for Mac OS X - offer to help and request for help
« Reply #17 on: November 18, 2016, 05:19:27 pm »
Hi

I've downloaded your builds, but they both failed to be launched :
Quote
LSOpenURLsWithRole() failed with error -10810 for the file /Applications/CodeBlocks.app

Tested on a MacBook Pro with OS X El Capitan (10.11.6)

Regards
Xav'
« Last Edit: November 18, 2016, 05:21:57 pm by Xaviou »
The french wxWidgets site : http://www.wxdev.fr
My wxWidgets's stuff : https://wxstuff.xaviou.fr/

Offline frankofrank

  • Multiple posting newcomer
  • *
  • Posts: 10
Re: Build for Mac OS X - offer to help and request for help
« Reply #18 on: November 18, 2016, 10:30:03 pm »
Are You using Safari? Try with Firefox, because You must first save .zip file,
and then extract CodeBlocks.app directory.

You can try my build rev10921: goo.gl/o7zjR8

Regards
frankofrank
« Last Edit: November 18, 2016, 10:41:41 pm by frankofrank »

Online Xaviou

  • Regular
  • ***
  • Posts: 402
    • X@v's wxStuff
Re: Build for Mac OS X - offer to help and request for help
« Reply #19 on: November 18, 2016, 11:15:50 pm »
Are You using Safari? Try with Firefox, because You must first save .zip file,
and then extract CodeBlocks.app directory.
Chrome.
And this is exactly what I've done with the 2 builds :
  • Downloaded the zip file
  • Extracted the CodeBlocks.app dir it contains
  • Moved this CodeBlocks.app dir to the Applications dir
  • Right click => Open (because it does not come from the Mac app store)
You can try my build rev10921: goo.gl/o7zjR8
This one seems to work. I'll make further test, to be sure, but I can open it.
Many thanks for your work.

What about making a dmg file instead of a zip archive?
It would be more "OS X Friendly"  ;)

Again : thank you very much.

Regards
Xav'
The french wxWidgets site : http://www.wxdev.fr
My wxWidgets's stuff : https://wxstuff.xaviou.fr/