Re: [gccsdk] Autobuilder patches
On 02/03/2015 20:58, Theo Markettos wrote: On Mon, Mar 02, 2015 at 08:37:50PM +, John Ballance wrote: Hi OK. so I can now build either 4.1.2 or 4.7.1 development systems. next test.. in build, ../autobuilder/buold -v wget -D fails with a build error in libgpg-error0 I think I have a suitable patch. How do I add relevant patches to the (my) autobuilder folder please Make a patch, ie: diff -ur libfoo-0.0_0 libfoo-0.0_0-fixed unmatched-globbing.p put the patchfile in autobuilder/libraries/libfoo make sure you don't have any existing trees lying about: cd autobuilder rm -rf libfoo-* (or move them somewhere safe) Then try to build again: ./build -d libfoo thats most helpful, thanks, ad covers where there is a patch to an existing file. However, I need to add a new file. How do i do that please? John As an aside, wget isn't one of the best autobuilder packages to learn on despite what the documentation says - of late, upstream has broken it more regularly than some packages. Something simpler like zip may be a better first example. Theo ___ GCCSDK mailing list gcc@gccsdk.riscos.info Bugzilla: http://www.riscos.info/bugzilla/index.cgi List Info: http://www.riscos.info/mailman/listinfo/gcc Main Page: http://www.riscos.info/index.php/GCCSDK -- Stop press! Just announced - Free Standard Broadband for 6 months, unlimited data, and no minimum contract For full details of see http://www.JustAskJB.co.uk http://www.justaskjb.co.uk Intrigued? Call me John Ballance C.Eng MIET - j...@macpcrepair.co.uk - 07976 295923 ___ GCCSDK mailing list gcc@gccsdk.riscos.info Bugzilla: http://www.riscos.info/bugzilla/index.cgi List Info: http://www.riscos.info/mailman/listinfo/gcc Main Page: http://www.riscos.info/index.php/GCCSDK
Re: [gccsdk] Autobuilder patches
On Mon, Mar 02, 2015 at 10:05:24PM +, John Ballance wrote: thats most helpful, thanks, ad covers where there is a patch to an existing file. However, I need to add a new file. How do i do that please? You can do two things (I think, it's been a while since I did this): Use diff --new-file (or -N) to include the new file in the patch or Add a line to the autobuilder/libraries/libfoo/setvars file that that does: cp $H/newfile.c $S/some/desti/nation/newfile.c Which is preferable rather depends - the patch will get applied automatically and can bundle up changes related to the new file, while cp is cleaner if you need a new file and nothing else. BTW, have you seen: http://www.riscos.info/index.php/Autobuilder_Development_and_Packaging which explains roughly what the autobuilder is about. Theo ___ GCCSDK mailing list gcc@gccsdk.riscos.info Bugzilla: http://www.riscos.info/bugzilla/index.cgi List Info: http://www.riscos.info/mailman/listinfo/gcc Main Page: http://www.riscos.info/index.php/GCCSDK
Re: [gccsdk] Autobuilder patches
Thanks Theo On 03/03/2015 00:01, Theo Markettos wrote: On Mon, Mar 02, 2015 at 10:05:24PM +, John Ballance wrote: thats most helpful, thanks, ad covers where there is a patch to an existing file. However, I need to add a new file. How do i do that please? You can do two things (I think, it's been a while since I did this): Use diff --new-file (or -N) to include the new file in the patch or Add a line to the autobuilder/libraries/libfoo/setvars file that that does: cp $H/newfile.c $S/some/desti/nation/newfile.c I missed this Which is preferable rather depends - the patch will get applied automatically and can bundle up changes related to the new file, while cp is cleaner if you need a new file and nothing else. BTW, have you seen: http://www.riscos.info/index.php/Autobuilder_Development_and_Packaging which explains roughly what the autobuilder is about. Yes.. sort of showed the way, but (unless I'm blind) only covered patches, not whole file replacements. John Theo ___ GCCSDK mailing list gcc@gccsdk.riscos.info Bugzilla: http://www.riscos.info/bugzilla/index.cgi List Info: http://www.riscos.info/mailman/listinfo/gcc Main Page: http://www.riscos.info/index.php/GCCSDK -- Stop press! Just announced - Free Standard Broadband for 6 months, unlimited data, and no minimum contract For full details of see http://www.JustAskJB.co.uk http://www.justaskjb.co.uk Intrigued? Call me John Ballance C.Eng MIET - j...@macpcrepair.co.uk - 07976 295923 ___ GCCSDK mailing list gcc@gccsdk.riscos.info Bugzilla: http://www.riscos.info/bugzilla/index.cgi List Info: http://www.riscos.info/mailman/listinfo/gcc Main Page: http://www.riscos.info/index.php/GCCSDK
Re: [gccsdk] Autobuilder patches
On Tue, Mar 03, 2015 at 12:01:09AM +, Theo Markettos wrote: Add a line to the autobuilder/libraries/libfoo/setvars file that that does: cp $H/newfile.c $S/some/desti/nation/newfile.c Forgot to mention a critical thing: '$H' is set to autobuilder/libraries/libfoo (ie the autobuilder home directory for this package) so you put your new file in there and setvars will copy it with that command. http://www.riscos.info/index.php/Autobuilder_Development_and_Packaging#Command_Line_Applications explains what all the $S, $H, $D, etc variables mean. Theo ___ GCCSDK mailing list gcc@gccsdk.riscos.info Bugzilla: http://www.riscos.info/bugzilla/index.cgi List Info: http://www.riscos.info/mailman/listinfo/gcc Main Page: http://www.riscos.info/index.php/GCCSDK
[gccsdk] Autobuilder patches
Hi OK. so I can now build either 4.1.2 or 4.7.1 development systems. next test.. in build, ../autobuilder/buold -v wget -D fails with a build error in libgpg-error0 I think I have a suitable patch. How do I add relevant patches to the (my) autobuilder folder please Thanks John -- Stop press! Just announced - Free Standard Broadband for 6 months, unlimited data, and no minimum contract For full details of see http://www.JustAskJB.co.uk http://www.justaskjb.co.uk Intrigued? Call me John Ballance C.Eng MIET - j...@macpcrepair.co.uk - 07976 295923 ___ GCCSDK mailing list gcc@gccsdk.riscos.info Bugzilla: http://www.riscos.info/bugzilla/index.cgi List Info: http://www.riscos.info/mailman/listinfo/gcc Main Page: http://www.riscos.info/index.php/GCCSDK
Re: [gccsdk] Autobuilder patches
On Mon, Mar 02, 2015 at 08:37:50PM +, John Ballance wrote: Hi OK. so I can now build either 4.1.2 or 4.7.1 development systems. next test.. in build, ../autobuilder/buold -v wget -D fails with a build error in libgpg-error0 I think I have a suitable patch. How do I add relevant patches to the (my) autobuilder folder please Make a patch, ie: diff -ur libfoo-0.0_0 libfoo-0.0_0-fixed unmatched-globbing.p put the patchfile in autobuilder/libraries/libfoo make sure you don't have any existing trees lying about: cd autobuilder rm -rf libfoo-* (or move them somewhere safe) Then try to build again: ./build -d libfoo As an aside, wget isn't one of the best autobuilder packages to learn on despite what the documentation says - of late, upstream has broken it more regularly than some packages. Something simpler like zip may be a better first example. Theo ___ GCCSDK mailing list gcc@gccsdk.riscos.info Bugzilla: http://www.riscos.info/bugzilla/index.cgi List Info: http://www.riscos.info/mailman/listinfo/gcc Main Page: http://www.riscos.info/index.php/GCCSDK