News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

Build for Mac OS X - offer to help and request for help

Started by federix, February 05, 2016, 04:19:20 PM

Previous topic - Next topic

frankofrank

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

frankofrank

#16
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

Xaviou

Hi

I've downloaded your builds, but they both failed to be launched :
QuoteLSOpenURLsWithRole() 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'
My wxWidgets's stuff : [url="https://wxstuff.xaviou.fr/"]https://wxstuff.xaviou.fr/[/url]

frankofrank

#18
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

Xaviou

Quote from: frankofrank 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.
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)
Quote from: frankofrank on November 18, 2016, 10:30:03 PM
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'
My wxWidgets's stuff : [url="https://wxstuff.xaviou.fr/"]https://wxstuff.xaviou.fr/[/url]