summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorranke <ranke@f247ebf9-aa24-0410-a698-f940e971ad2b>2013-03-03 17:09:22 +0000
committerranke <ranke@f247ebf9-aa24-0410-a698-f940e971ad2b>2013-03-03 17:09:22 +0000
commita624cbe3a1fe20a62f87f89af1d9fc4a80cc7e0d (patch)
tree3cd339ec475bab095b4a30c4e596060071570f22
parent224f60d14fed5b6c8190e7ee30c7aecdc68741bc (diff)
- Changes needed for backporting of 2.15.3 to squeeze (change R build dep on libtiff5-dev to libtiff-dev)
- For some reason r-cran-rjags had to be downloaded manually, as apt-get source tried to get rjags which does not exist (any more) git-svn-id: svn+ssh://stiller/home/schatz/reps/r-backports@81 f247ebf9-aa24-0410-a698-f940e971ad2b
-rw-r--r--backport_others.sh8
-rw-r--r--backport_r-base.sh7
2 files changed, 10 insertions, 5 deletions
diff --git a/backport_others.sh b/backport_others.sh
index 86a762c..b0e9b8e 100644
--- a/backport_others.sh
+++ b/backport_others.sh
@@ -4,7 +4,7 @@
# sudo -E sh backport_others.sh
# Preconditions: - shell variables DIST and ARCH
-# - current R backport in /etc/apt/sources/list
+# - current R backport in /etc/apt/sources/list of pbuilder chroot
# - sid sources in /etc/apt/sources/list
# - ssed and cdbs installed (and maybe more)
# - Edit R version and the sed scripts below (don't forget
@@ -12,7 +12,7 @@
# - Set the R version
# R version against which the software is compiled
-Rversion=2.15.1
+Rversion=2.15.3
echo Distribution is $DIST
echo Architecture is $ARCH
@@ -33,8 +33,8 @@ for i in boot cluster codetools foreign kernsmooth lattice mgcv nlme r-cran-clas
version=`dpkg-parsechangelog | grep ^Version | cut -f2 -d " "`~$DIST"cran".$Rversion
dch -b -v $version --force-distribution -D $DIST-cran $text
- ssed -i -R '/^Build-Depends/s/r-base-dev \(>= 2\..*?\)/r-base-dev (>= 2.15.1-1~squeezecran.0)/' debian/control
- ssed -i -R '/^Build-Depends-Indep/s/r-base-dev \(>= 2\..*?\)/r-base-dev (>= 2.15.1-1~squeezecran.0)/' debian/control
+ ssed -i -R '/^Build-Depends/s/r-base-dev \(>= 2\..*?\)/r-base-dev (>= 2.15.3-1~squeezecran.0)/' debian/control
+ ssed -i -R '/^Build-Depends-Indep/s/r-base-dev \(>= 2\..*?\)/r-base-dev (>= 2.15.3-1~squeezecran.0)/' debian/control
dch -a "debian/control: adapt build dependencies on r-base-dev to current backport"
diff --git a/backport_r-base.sh b/backport_r-base.sh
index 61d6b87..74ed659 100644
--- a/backport_r-base.sh
+++ b/backport_r-base.sh
@@ -46,7 +46,12 @@ echo CRAN version is $cranversion
dch -v "${cranversion}" --force-distribution -D $DIST-cran -b "Backport from Debian unstable to Debian $DIST"
# Reverts for squeeze and lenny:
-# None at present
+ # 1. Starting with Debian packages for R 2.15.3 there is a build
+ # dependency on 'libtiff5-dev' which is not in squeeze. Changing to
+ # libtiff-dev, which is libtiff4-dev on squeeze.
+
+ sed -i '/^Build-Depends/s/libtiff5-dev/libtiff-dev/' debian/control
+ dch -a "debian/control: Change Build-Depends: from libtiff5-dev to libtiff-dev"
# Reverts for lenny only:
if [ $DIST = "lenny" ]

Contact - Imprint