[scribus] Scribus 1.5.0 version.
Tornoci Laszlo
torlasz at net.sote.hu
Wed Jan 20 12:04:22 CET 2010
On 01/20/2010 10:42 AM, Tornoci Laszlo wrote:
...
> Hi,
>
> John, this approach is really better than yours: it is faster, and if
> you want a clean new SVN checkout & build for any reason, just delete
> the directory specified for PREFIX!
>
> Yours: Laszlo
...
In my previous mail I didn't get the SVN branches right, sorry. Here
they are ok (+ a few lines, how to use the script):
#!/bin/bash
# A simple script to build Scribus
# 1. set the following parameters
# 2. make sure the permissions are ok
# 3. create the install dir if necessary
# 4. run the script
# Rerun the script to make a new updated build.
# To achive a clean SVN checkout & build, simply remove the dir
# specified as PREFIX before running the script.
# uncomment one of the following SVN branches, see:
# http://wiki.scribus.net/index.php/Building_SVN_versions_with_CMake
#SVN_BRANCH=scribus.info/Scribus/trunk/Scribus
SVN_BRANCH=scribus.info/Scribus/branches/Version135/Scribus
#SVN_BRANCH=scribus.info/Scribus/branches/Version133x/Scribus
PREFIX=~/src/scribus135 # main dir contatining SRC & BUILD
SRC=scribus_src # subdir containing source
BUILD=scribus_build # subdir for building
# cmake options: define install dir
# create it manually before running this script
CMAKE_OPTS="-DCMAKE_INSTALL_PREFIX:PATH=~/scribus/scribus135"
#make options e.g. -j2 for dual core
# use "" for no options
MAKE_OPTS="-j2"
##############################################
# you may have to use "sudo make install" at the end
# change into main directory
# if it doesn't exist create it
if [ ! -d $PREFIX ]
then
mkdir -p $PREFIX
fi
cd $PREFIX
# get source through svn
if [ ! -d ./$SRC ]
then # do a new, clean checkout
svn co svn://$SVN_BRANCH $SRC
else # update only
svn up $SRC
fi
# build scribus
# create dir if necessary
if [ ! -d ./$BUILD ]
then
mkdir $BUILD
fi
cd $BUILD
cmake ../$SRC $CMAKE_OPTS
make $MAKE_OPTS
make install
More information about the scribus
mailing list