lmi
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi] Patching our local wx tree [Was: Urgent wx-related production prob


From: Greg Chicares
Subject: [lmi] Patching our local wx tree [Was: Urgent wx-related production problem]
Date: Thu, 06 Mar 2008 04:15:16 +0000
User-agent: Thunderbird 2.0.0.12 (Windows/20080213)

[If your first name begins with 'V', then there's no need for you
to read this message--but thanks for all the URLs corresponding
to little backported wx patches: they're very easy to work with.]

On 2008-02-05 03:17Z, Greg Chicares wrote:
> 
> [2] I used these shell commands for wx-2.8.7, and a trivial variant
> of them for wx-2.8.6:

Probably I should automate this process soon. Preserving copies
of actual shell sessions will facilitate that....

Here's how I made the changes described in the 20080306T0319Z
'ChangeLog' entry. I ignored wx-2.8.6 because we're already
using wx-2.8.7 in production. I've inserted blank lines for
readability, due to the archive's habit of wrapping long lines.

[begin literal commands]

prior_patch=/lmi/src/lmi/wx-2.8.7.patch
branch='http://svn.wxwidgets.org/viewvc/wx/wxWidgets/branches/WX_2_8_BRANCH'

cd /tmp
mkdir original
mkdir modified
pushd original; tar -xjf ../lmi_cache/wxWidgets-2.8.7.tar.bz2; popd

pushd modified; tar -xjf ../lmi_cache/wxWidgets-2.8.7.tar.bz2; popd

wget --output-document=raw_patch0 
$branch/'src/common/wincmn.cpp?view=patch&r1=52272&r2=52271'

wget --output-document=raw_patch1 
$branch/'src/common/wincmn.cpp?view=patch&r1=52095&r2=52200'

wget --output-document=raw_patch2 
$branch/'src/msw/spinctrl.cpp?view=patch&r1=52143&r2=52142'

wget --output-document=raw_patch3 
$branch/'src/common/cshelp.cpp?view=patch&r1=52329&r2=52328'

pushd modified; patch        --dry-run                                          
        --strip=1 < $prior_patch; popd

pushd modified; patch        --dry-run        
--directory=/tmp/modified/wxWidgets-2.8.7 --strip=3 < ../raw_patch0; popd

pushd modified; patch        --dry-run        
--directory=/tmp/modified/wxWidgets-2.8.7 --strip=3 < ../raw_patch1; popd

pushd modified; patch        --dry-run        
--directory=/tmp/modified/wxWidgets-2.8.7 --strip=3 < ../raw_patch2; popd

pushd modified; patch        --dry-run        
--directory=/tmp/modified/wxWidgets-2.8.7 --strip=3 < ../raw_patch3; popd

pushd modified; patch --no-backup-if-mismatch                                   
        --strip=1 < $prior_patch; popd

pushd modified; patch --no-backup-if-mismatch 
--directory=/tmp/modified/wxWidgets-2.8.7 --strip=3 < ../raw_patch0; popd

pushd modified; patch --no-backup-if-mismatch 
--directory=/tmp/modified/wxWidgets-2.8.7 --strip=3 < ../raw_patch1; popd

pushd modified; patch --no-backup-if-mismatch 
--directory=/tmp/modified/wxWidgets-2.8.7 --strip=3 < ../raw_patch2; popd

pushd modified; patch --no-backup-if-mismatch 
--directory=/tmp/modified/wxWidgets-2.8.7 --strip=3 < ../raw_patch3; popd

diff --recursive --unified=3 original modified >wx-2.8.7.patch

patch --strip=1 --dry-run --directory=original <wx-2.8.7.patch

[end literal commands]

Then copy the new 'wx-2.8.7.patch' to the lmi source directory,
and run 'make -f install_wx.make' there.

Here are mailing-list references for each patch:

http://lists.nongnu.org/archive/html/lmi/2008-03/msg00004.html
On 2008-03-05 13:21Z, Vadim Zeitlin wrote:
[improve tooltip placement]
http://svn.wxwidgets.org/viewvc/wx/wxWidgets/branches/WX_2_8_BRANCH/src/common/cshelp.cpp?r1=52329&r2=52328

http://lists.nongnu.org/archive/html/lmi/2008-03/msg00000.html
On 2008-03-03 02:08Z, Vadim Zeitlin wrote:
[improve tooltip placement]
http://svn.wxwidgets.org/viewvc/wx/wxWidgets/branches/WX_2_8_BRANCH/src/common/wincmn.cpp?r1=52272&r2=52271

http://lists.nongnu.org/archive/html/lmi/2008-02/msg00070.html
On 2008-02-29 20:19Z, Vaclav Slavik wrote:
[purge associated help text when a window is destroyed]
http://svn.wxwidgets.org/viewvc/wx/wxWidgets/branches/WX_2_8_BRANCH/src/common/wincmn.cpp?r1=52095&r2=52200

http://lists.nongnu.org/archive/html/lmi/2008-02/msg00059.html
On 2008-02-27 15:11Z, Vadim Zeitlin wrote:
[support contextual help for wxSpinCtrl]
http://svn.wxwidgets.org/viewvc/wx/wxWidgets/branches/WX_2_8_BRANCH/src/msw/spinctrl.cpp?r1=52143&r2=52142




reply via email to

[Prev in Thread] Current Thread [Next in Thread]