Developer forums (C::B DEVELOPMENT STRICTLY!) > Contributions to C::B

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

<< < (4/4)

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:

--- Quote ---You can submit patches, and the C::B devs have rights to apply your patches to our SVN.  :)

--- End quote ---

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

Regards
frankofrank

Xaviou:
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
--- End quote ---

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

Regards
Xav'

frankofrank:
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.

--- End quote ---
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

--- End quote ---
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'

Navigation

[0] Message Index

[*] Previous page

Go to full version