Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development
GitBlocks Plugin
tomolt:
Well, yes, there WAS a build script by stahta01 for Windows, but I had to take it out because I am now using autotools, which works fine on my Arch Linux box, and also *should* work fine on Windows, but I can't test it! :(
(P.S.: Sorry for being a little bit late on this!)
decaf999:
--- Quote from: tomolt on May 26, 2015, 03:36:15 pm ---Well, yes, there WAS a build script by stahta01 for Windows, but I had to take it out because I am now using autotools, which works fine on my Arch Linux box, and also *should* work fine on Windows, but I can't test it! :(
--- End quote ---
Maybe this is not a question for you, but I see little documentation / articles about using autotools on a windows machine. Most documentation for windows is to build plug-ins using Code::Blocks itself, and many other plug-ins appeared to provide cbp files for different wxWidgets versions and architectures along with autotools files. They can co-exist, and it seems there is some kind of naming conventions of cbp files to distinguish the environment each cbp file support. I wonder what the guideline/convention is in this CB plug-in development community. And BTW setting up autotools in pure windows environment can be unpleasant process, you might need to use MSYS or cygwin. At the end, setting up cbp might be much easier, faster and maintainable. (Just that it is not for non-interactive-building.)
Anyway, I managed to get GitBlocks compiled using my own cbp file on windows, and now seeing crashes when invoking any of GitBlocks commands from top menu. (GUI operations appeared to be working, menu items show up, some dialogue box for user input shows up, but then entire C::B stops.) Haven't had a chance to narrow down the root cause yet.
stahta01:
--- Quote from: decaf999 on May 30, 2015, 02:52:50 pm ---
--- Quote from: tomolt on May 26, 2015, 03:36:15 pm ---Well, yes, there WAS a build script by stahta01 for Windows, but I had to take it out because I am now using autotools, which works fine on my Arch Linux box, and also *should* work fine on Windows, but I can't test it! :(
--- End quote ---
Maybe this is not a question for you, but I see little documentation / articles about using autotools on a windows machine. Most documentation for windows is to build plug-ins using Code::Blocks itself, and many other plug-ins appeared to provide cbp files for different wxWidgets versions and architectures along with autotools files. They can co-exist, and it seems there is some kind of naming conventions of cbp files to distinguish the environment each cbp file support. I wonder what the guideline/convention is in this CB plug-in development community. And BTW setting up autotools in pure windows environment can be unpleasant process, you might need to use MSYS or cygwin. At the end, setting up cbp might be much easier, faster and maintainable. (Just that it is not for non-interactive-building.)
Anyway, I managed to get GitBlocks compiled using my own cbp file on windows, and now seeing crashes when invoking any of GitBlocks commands from top menu. (GUI operations appeared to be working, menu items show up, some dialogue box for user input shows up, but then entire C::B stops.) Haven't had a chance to narrow down the root cause yet.
--- End quote ---
If you want I can re-create or find the cbp file for windows.
I stopped on the project because I decided I did NOT know enough about Git to know if what the programmer was doing was safe for me to test the plugin.
Since, I use Git for some of my paid work I did NOT wish to risk damage it accidentally.
I already risk that because of my low level of Git knowledge.
Edit: Right now I am trying to Linux better using Debian Jessie. So, I might try to build it for windows 32 bit under Linux.
Tim S.
decaf999:
--- Quote from: stahta01 on May 30, 2015, 03:32:12 pm ---If you want I can re-create or find the cbp file for windows.
--- End quote ---
Never mind, since tomolt mentioned that there was once a build script, I checked GitHub repo history and found it. Thanks anyway.
https://github.com/tomolt/GitBlocks/blob/5d340f8fbebb87efca66b016ea66162d27aec0c7/GitBlocks-win32.cbp
tomolt:
About the build system: autotools is pretty weird, but the best way of installing GitBlocks is just running the bootstrap shell script, then the newly generated configure script, and then make. (You need autotools and something like msys or cygwin for that)
stahta01: I'm not a real git-poweruser either, so you should really not rely on my plugin right now. But: I'm currently doing all the commits and so for GitBlocks with GitBlocks, and I never had a lot of trouble with it.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version