From 550280a786fd0de3accc959b03860ebb185795e6 Mon Sep 17 00:00:00 2001 From: ranke Date: Tue, 30 Dec 2008 23:12:34 +0000 Subject: Had to tweak build dependencies a bit for nlme and rpart - somehow some things were missing... git-svn-id: svn+ssh://stiller/home/schatz/reps/r-backports@48 f247ebf9-aa24-0410-a698-f940e971ad2b --- backport_all.sh | 16 ++++++++++++++-- r-base/backport_r-base.sh | 4 ++-- 2 files changed, 16 insertions(+), 4 deletions(-) diff --git a/backport_all.sh b/backport_all.sh index 8d75eab..41ab51a 100644 --- a/backport_all.sh +++ b/backport_all.sh @@ -10,8 +10,8 @@ export DEBFULLNAME="Johannes Ranke" text="Recompiled on etch for CRAN" -#for i in rpy; do -for i in boot cluster codetools foreign kernsmooth lattice mgcv nlme rodbc rpart survival vr littler rpy; do +for i in nlme; do +#for i in boot cluster codetools foreign kernsmooth lattice mgcv nlme rodbc rpart survival vr littler rpy; do cd $i rm -rf $i* rm *.deb @@ -29,6 +29,18 @@ for i in boot cluster codetools foreign kernsmooth lattice mgcv nlme rodbc rpart sed -i '/^Build-Depends/s/.*/&, lapack3-dev, python-minimal, python-central, python-dev, tetex-bin, texinfo/' debian/control dch -a "debian/control: add build dependencies on lapack3-dev, python-minimal, python-central, tetex-bin and texinfo" fi + + if [ ${i} == "nlme" ] + then + sed -i '/^Build-Depends/s/.*/&, r-cran-lattice, cdbs/' debian/control + dch -a "debian/control: add build dependency on r-cran-lattice and cdbs" + fi + + if [ ${i} == "rpart" ] + then + sed -i '/^Build-Depends/s/.*/&, cdbs/' debian/control + dch -a "debian/control: add build dependency on cdbs" + fi fakeroot dpkg-buildpackage -sa cd ../.. diff --git a/r-base/backport_r-base.sh b/r-base/backport_r-base.sh index beace88..dc89282 100644 --- a/r-base/backport_r-base.sh +++ b/r-base/backport_r-base.sh @@ -10,7 +10,7 @@ export DEBEMAIL="Johannes Ranke " -rm -rf r-base* r-base-core* r-mathlib* +#rm -rf r-base* r-base-core* r-mathlib* apt-get update apt-get source -t unstable r-base @@ -76,7 +76,7 @@ dch -a "debian/control: revert build dependence for tcl/tk to 8.4" # 7. Openjdk is not in etch -sed -i '/^Build-Depends/s/, openjdk-6-jdk [!arm !hppa]//' debian/control +sed -i '/^Build-Depends/s/, openjdk-6-jdk \[!arm !hppa\]//' debian/control dch -a "debian/control: Remove build dependence on openjdk" # Build package showing all messages and separating output to build and error logs -- cgit v1.2.1