Re: subversion

Steve Cookson <[email protected]>
Newsgroups gmane.comp.lang.perl.wxperl
Message-ID <[email protected]>
Hi James,
On 06/10/14 21:27, James Lynes wrote:
> Steve:
>
> Another script question.....never ending....
>
> What would be the two commands to use to pull the subversion versions 
> of wxWidgets and wxPerl? Probably should put optional lines in for 
> those in case someone doesn't want to use your repositories.
>
> James
>
Oh fantastic, I've just checked the svn repo and Mark has updated it 
with the 3.0.1 wxWidgets release.  In fact nearly three weeks ago, all 
the time we have been having this conversation!  Sorry to have messed 
you around.

Really you should use that, it's much safer, plus it has the Windows 
components, which mine didn't.  The commands are as follows:

cd ~
rm -rf Alien-wxWidgets
svn co https://svn.code.sf.net/p/wxperl/code/Alien-wxWidgets/trunk 
Alien-wxWidgets
cd ~/Alien-wxWidgets

cd ~
rm -rf wxPerl
svn co https://svn.code.sf.net/p/wxperl/code/wxPerl/trunk wxPerl
cd ~/wxPerl
perl Makefile.PL
make
make install
cd ~

This is also a good opportunity to test that cleardown routine:

cd ~
find /usr | grep -i wx | grep -v -i python | grep -v -i soffice > 
rm_wx.sh      # collect all wx files except wxpython and office files 
(you might want to check that there are not others that you use here)
sed -i -e 's/\/usr\//rm -rf \/usr\//g' 
rm_wx.sh                                 # Add remove recursive to each 
line (rm -rf )
sh rm_wx.sh # Remove them !
cd ~

Just make sure that there are no other installations you want first for 
this line "grep -v -i python | grep -v -i soffice" which for me avoids 
python and soffice directories.  If you had something else like Glade or 
Flamerobin you might want to change it.

Good luck.

Regards

Steve
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.