Code::Blocks Forums

User forums => Help => Topic started by: ir0nk0ala on March 02, 2007, 02:55:35 am

Title: raw patches?
Post by: ir0nk0ala on March 02, 2007, 02:55:35 am
I'm trying to compile CB under wx2.8, but the patches I read were essential are in raw form. How would I go about installing these? Thanks.
Title: Re: raw patches?
Post by: stahta01 on March 02, 2007, 06:17:09 am
I'm trying to compile CB under wx2.8, but the patches I read were essential are in raw form. How would I go about installing these? Thanks.

What OS? Windows? Linux? XP?

Which wxWidgets 2.8? (2.8.0, 2.8.2rc1, CVS Branch, CVS Head)

Do you use wxSmith?
The plugin wxSmith is almost everything that is known to need patched for wxWidgets 2.8.

Skill Level Questions Below.
Can you compile wxWidgets on your own?
Have you compiled Code::Blocks from SVN source already?

Tim S
Title: Re: raw patches?
Post by: jpaterso on March 02, 2007, 10:26:21 am
Basically you need a utility called 'patch', which comes with Unix. A version is also available for windows, check out http://gnuwin32.sourceforge.net/

Joseph.
Title: Re: raw patches?
Post by: stahta01 on March 02, 2007, 12:17:18 pm
Basically you need a utility called 'patch', which comes with Unix. A version is also available for windows, check out http://gnuwin32.sourceforge.net/

Joseph.

FYI: I have had issues with the gnuwin32 patch command using unified diffs to patch wxWidgets.

I use the MinGW msysCORE patch or the UnxUtils patch both sites on sf.net.

Quote
Note: I am using the "patch" command from UnxUtils from
http://sourceforge.net/projects/unxutils

Note: I am using the "unix2dos" command from MinGW
http://sourceforge.net/projects/mingw/
http://sourceforge.net/project/showfiles.php?group_id=2435&package_id=82721&release_id=158859
(mingw-utils-0.3)

Tim S

Title: Re: raw patches?
Post by: ir0nk0ala on March 03, 2007, 02:12:35 am
I'm trying to compile CB under wx2.8, but the patches I read were essential are in raw form. How would I go about installing these? Thanks.

What OS? Windows? Linux? XP?

Which wxWidgets 2.8? (2.8.0, 2.8.2rc1, CVS Branch, CVS Head)

Do you use wxSmith?
The plugin wxSmith is almost everything that is known to need patched for wxWidgets 2.8.

Skill Level Questions Below.
Can you compile wxWidgets on your own?
Have you compiled Code::Blocks from SVN source already?

Tim S
Sorry for the lack of details:
Ubuntu 6.10, wx2.8.0
I didn't plan on using wxSmith (I just got DialogBlocks with the official wxWidgets reference book).
As for my skill level, I've compiled CB from SVN source every night for a while now, but I've always had trouble with compiling wx. I should be able to get it in working order tonight though, and I'll add the CB patches with the utility you mentioned (just in case I decide to use wxSmith later). Thanks guys  :).