site blocked

Edscott Wilson García edscott at imp.mx
Fri May 3 16:22:59 CEST 2002


On Vie 03 May 2002 08:45, Mike Bressem wrote:
> On Fri, 3 May 2002, Edscott Wilson García wrote:
>
> hi edscott,
>
> oh, the old story ... microsoft and internet worms :)
>
> i can provide the images in the meantime if you want.

It would be nice. The easy way (IMO) to generate the images is to run the 
following scripts from crontab. (I do it 3 times a day) The perl script calls 
the two shell scripts. Before it will work you have to do an anonymous 
checkout.

perl script:
#!/usr/bin/perl
$rootdir="/raid/ftp/cvs-tmp";
open LOG,">$rootdir/compile_log.txt";
print LOG `date`;
close LOG;
chdir "$rootdir/xfce-stable";
$_=`$rootdir/bin/update.sh`;
chdir "$rootdir";
$_=`tar -czf xfce-stable.tar.gz xfce-stable`;
$_=`rm -rf xfce-compile`;
$_=`cp -r xfce-stable xfce-compile`;
chdir "$rootdir/xfce-compile";
$_=`$rootdir/bin/compile.sh`;
----------------------------------------
compile.sh:
#!/bin/sh
./autogen.sh >> ../compile_log.txt 2>>../compile_log.txt
./configure --prefix=/usr  >> ../compile_log.txt 2>>../compile_log.txt
make rpm >> ../compile_log.txt 2>>../compile_log.txt
----------------------------------------
update.sh
#!/bin/sh
# on initial run, a CVS co must be done. On all following runs, a 
# CVS update does the trick.
#cvs -z3 -d:pserver:anonymous at cvs.xfce.sourceforge.net:/cvsroot/xfce co 
xfce-stable
#cvs -z3 -d:pserver:anonymous at cvs.xfce.sourceforge.net:/cvsroot/xfce co 
xfce-devel
cvs -z3 update 1>> ../compile_log.txt 2>>../compile_log.txt
-----------------------------------------

Edscott





More information about the Xfce-dev mailing list