Fresh build of jhbuild and gnucash on OSX

John Ralls jralls at ceridwen.us
Fri Apr 22 16:56:22 EDT 2011


On Apr 22, 2011, at 1:06 PM, Brad Grupczynski wrote:

> 
> On Apr 22, 2011, at 1:05 PM, John Ralls wrote:
> 
>> 
>> On Apr 22, 2011, at 10:41 AM, Brad Grupczynski wrote:
>> 
>>> This process has felt like a rite of passage.
>>> 
>>> I'm wondering if I did everything in a way that I have a good build.
>>> 
>>> I was going to work on the OFX/aqbanking parser. Importing from a file and importing online data parses differently. I have been importing from a file and have switched to online and don't 
>>> want the change. Plus it's just wrong that there are two parsers.
>>> 
>>> I have been trying to build consistently for the past week. Trying different things and basically "tuning" my brain.
>>> 
>>> I have been successful in making some changes in the code, building (in Eclipse) and copying the dylibs to the correct spot in my existing installed location (not the one that make install generates). But this was just to play around. Now I want to do this for real.
>>> 
>>> (So sorry that this email is a little large but I like to provide a lot of detail. If this is not acceptable, let me know how to break it down. I didn't want to break it into an email for every failure but I could do that. I've joined the mailing list and registered in bugzilla. Anything else I should do to be a good contributor?)
>>> 
>> 
>> The build instructions need some updating, it seems.
>> 
>> For where you are now, you need to run "gnucash-launcher" instead of gnucash.
>> 
>> I usually build a release build all the way through and then go back and "buildone --force --clean" glib, gobject, gtk+, gwenhywfar, aqbanking, and gnucash. (You have to do them one at a time, unfortunately).
>> 
>> I also usually build with the Leopard SDK, since that's what I'm targetting for distribution. That difference is probably why you had trouble with guile and gnutls.
>> 
>> If you want to contribute, please use gnucash-svn and update it frequently so that your patches will match the current trunk.
>> 
>> You'll need to work closely with Christian Stimming on ditching libofx; he's the only one here who really understands aqbanking and gwenhywfar.
>> 
>> Thanks for the feedback, and I'm looking forward to losing yet another dependency!
>> 
>> Regards,
>> John Ralls
>> 
>> 
> 
> Thanks John,
> 
> Oh, and "Hi" to everyone.  I totally forgot to introduce myself.
> 
> "gnucash-launcher" worked great.
> 
> If I'm just modifying aqbanking I could just do:
> jhbuild buildone --force --clean aqbanking
> jhbuild buildone --force --clean gnucash
> correct?
> 
> "gnucash-svn" is a mailing list or a place (repo)? I think you mean the repo. I was first going to make the changes on 2.4.5-stable and then get the trunk and merge them over. Fixing anything that broke.
> 
> Which creates the question. I built using the scripts out of the box (as much as I could). Would I just change the rev to the 2.4.5 rev in "gnucash.modules" (from 20418 to 20528) and "jhbuild build"?

Yes, that's right, though when I'm working on something, I'll just start a jhbuild shell and cd to the working directory, where I can work normally. (i.e, svn up, ./autogen.sh, ./configure, make, make install, etc.).

NB: AQbanking and its companion Gwehywfar are dependencies, not part of Gnucash. If you want to work on them you should contact Martin Preuß (who does hang out on this list).

Gnucash-svn is a module, so instead of "jhbuild build gnucash", you would do "jhbuild build gnucash-svn". It builds the current development trunk.

I just committed and pushed a revised gnucash.mondules which loads revision="2.4", so it will always be the latest on the branch. But the changes you're proposing aren't going on the release branch, they'll be for the next version -- which is why you should be working with the latest svn trunk.

Regards,
John Ralls



More information about the gnucash-devel mailing list