summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorranke <ranke@f247ebf9-aa24-0410-a698-f940e971ad2b>2008-12-30 23:12:34 +0000
committerranke <ranke@f247ebf9-aa24-0410-a698-f940e971ad2b>2008-12-30 23:12:34 +0000
commit550280a786fd0de3accc959b03860ebb185795e6 (patch)
tree627afb9721d2fdb3fa01066c6f1f610398aea3e3
parent55e13390f03388cf5c68487b6c7df94bab3da822 (diff)
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
-rw-r--r--backport_all.sh16
-rw-r--r--r-base/backport_r-base.sh4
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 <jranke@uni-bremen.de>"
-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

Contact - Imprint