[Box Backup] Working instructions to compile Box Backup Trunk under Cygwin

Achim boxbackup@boxbackup.org
Tue, 31 Mar 2009 14:10:51 +0200


--=_1c2ad046586f159fbfcce78db78b81c8
Content-Transfer-Encoding: 8bit
Content-Type: text/plain; charset="UTF-8"

Hello Chris:

On Wed, 25 Mar 2009 19:04:31 +0100, Achim <achim+box@qustodium.net> wrote:
> On Wed, 25 Mar 2009 18:58:31 +0100 (CET), Chris Wilson <chris@qwirx.com>
> wrote:
>> By the way it would be very helpful if you could update the instructions

>> yourself and send me a patch, to save me from doing it.
> 
> I will send you an updated copy later this week.

Please find enclosed as promised the final instructions and unified diff
for building Box Backup in Cygwin from trunk for inclusion in SVN and Trac
if you like.

Best regards, Achim

--=_1c2ad046586f159fbfcce78db78b81c8
Content-Transfer-Encoding: base64
Content-Type: text/plain; charset=us-ascii; charset="UTF-8";
 name="win32_build_on_cygwin_using_mingw.txt"; 
Content-Disposition: attachment;
 filename="win32_build_on_cygwin_using_mingw.txt"; 

SG93IHRvIGJ1aWxkIEJveCBCYWNrdXAgb24gV2luMzIgdXNpbmcgQ3lnd2luIGFuZCBNaW5HVw0K
QnkgQ2hyaXMgV2lsc29uLCAyMDA5LTAzLTMxDQoNCihUbyByZWFkIHRoaXMgZG9jdW1lbnQgb25s
aW5lIHdpdGggYmV0dGVyIGZvcm1hdHRpbmcsIGJyb3dzZSB0bzogPGh0dHA6Ly93d3cuYm94YmFj
a3VwLm9yZy90cmFjL3dpa2kvQ29tcGlsZVdpdGhNaW5HVz4pDQoNClN0YXJ0IGJ5IGluc3RhbGxp
bmcgQ3lnd2luIG9uIHlvdXIgV2luZG93cyBtYWNoaW5lIGZyb20gPGh0dHA6Ly93d3cuY3lnd2lu
Lm9yZy9jeWd3aW4vPi4NCg0KTWFrZSBzdXJlIHRvIHNlbGVjdCB0aGUgZm9sbG93aW5nIHBhY2th
Z2VzIGR1cmluZyBpbnN0YWxsYXRpb246DQoNCiogRGV2ZWwvYXV0b21ha2UNCiogRGV2Z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b2JsZW1z
Lg0K
--=_1c2ad046586f159fbfcce78db78b81c8
Content-Transfer-Encoding: base64
Content-Type: text/plain; charset=us-ascii; charset="UTF-8";
 name="trunk_build_instructions.diff.txt"; 
Content-Disposition: attachment;
 filename="trunk_build_instructions.diff.txt"; 

LS0tIHdpbjMyX2J1aWxkX29uX2N5Z3dpbl91c2luZ19taW5ndy50eHQgICAgICAgMjAwOS0wMy0y
OCAxNjo1MTowNC4wMDAwMDAwMDAgKzAxMDANCisrKyBuZXcudHh0ICAgICAyMDA5LTAzLTMxIDEz
OjAwOjAzLjAwMDAwMDAwMCArMDIwMA0KQEAgLTEsMjIgKzEsMjcgQEANCiBIb3cgdG8gYnVpbGQg
Qm94IEJhY2t1cCBvbiBXaW4zMiB1c2luZyBDeWd3aW4gYW5kIE1pbkdXDQotQnkgQ2hyaXMgV2ls
c29uLCAyMDA3LTA1LTI2DQorQnkgQ2hyaXMgV2lsc29uLCAyMDA5LTAzLTMxDQoNCi0oVG8gcmVh
ZCB0aGlzIGRvY3VtZW50IG9ubGluZSB3aXRoIGJldHRlciBmb3JtYXR0aW5nLCBicm93c2UgdG86
DQotaHR0cDovL3d3dy5ib3hiYWNrdXAub3JnL3RyYWMvd2lraS9Db21waWxlV2l0aE1pbkdXKQ0K
KyhUbyByZWFkIHRoaXMgZG9jdW1lbnQgb25saW5lIHdpdGggYmV0dGVyIGZvcm1hdHRpbmcsIGJy
b3dzZSB0bzogPGh0dHA6Ly93d3cuYm94YmFja3VwLm9yZy90cmFjL3dpa2kvQ29tcGlsZVdpdGhN
aW5HVz4pDQorDQorU3RhcnQgYnkgaW5zdGFsbGluZyBDeWd3aW4gb24geW91ciBXaW5kb3dzIG1h
Y2hpbmUgZnJvbSA8aHR0cDovL3d3dy5jeWd3aW4ub3JnL2N5Z3dpbi8+Lg0KDQotU3RhcnQgYnkg
aW5zdGFsbGluZyBDeWd3aW4gb24geW91ciBXaW5kb3dzIG1hY2hpbmUgW2h0dHA6Ly93d3cuY3ln
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