Commit 6fa31613 authored by Dirk Eddelbuettel's avatar Dirk Eddelbuettel

Import Debian changes 2.2.1-5

r-base (2.2.1-5) unstable; urgency=medium

  * debian/build-help.pl: Empty stanza to just print warning when called.
  * debian/rules: Install that quasi-empty file debian/build-help.pl as 
    /usr/lib/R/share/perl/build-help.pl  so that the not-yet-updated 
    r-cran-* et al add-on packages for R do not fail now that the upstream
    build-help.pl is install in /usr/share/R/share/perl/.  The softlink
    solution introduced in 2.2.1-4 fails for upgrades on testing where
    /usr/lib/R/share/ already exists as a directory.
  
  * Urgency set up to medium so that testing users get the fix quickly. 
    No other changes than creation of the two-liner build-help.pl 
parent 78726ffa
#!/usr/bin/perl -w
#
# Under Debian, R add-on packages (i.e. any of the r-cran-* packages)
# used to call 'build-help.pl' in postinst and postrm:
# /usr/bin/R CMD perl /usr/lib/R/share/perl/build-help.pl --htmllists
#
# However, R changed upstream and html help indices are created on the fly
# when the user calls help.start() from within R. With that, the call above
# is no longer needed and has been phased out in most but not yet all of
# the postinst and postrm scripts.
#
# Moreover, starting with R 2.2.1-3, architecture-independent files are placed
# below /usr/share/R/ --- breaking the call above. 2.2.1-4 introduced a
# symbolic link from /usr/share/R/share to /usr/lib/R/share which works
# on fresh installs but fails on upgrades from older versions of the R
# package as dpkg cannot replace an existing directory with a softlink.
#
# Hence the need for this empty script to provide a place holder until
# all r-cran-*, r-omegahat-*, r-other-*, ... packages have been updated.
#
# Dirk Eddelbuettel <edd@debian.org> 06 Feb 2005
#
use strict;
print STDERR "Ignoring deprecated call to build-help.pl from postinst or postrm script.\n";
exit 0;
r-base (2.2.1-5) unstable; urgency=medium
* debian/build-help.pl: Empty stanza to just print warning when called.
* debian/rules: Install that quasi-empty file debian/build-help.pl as
/usr/lib/R/share/perl/build-help.pl so that the not-yet-updated
r-cran-* et al add-on packages for R do not fail now that the upstream
build-help.pl is install in /usr/share/R/share/perl/. The softlink
solution introduced in 2.2.1-4 fails for upgrades on testing where
/usr/lib/R/share/ already exists as a directory.
* Urgency set up to medium so that testing users get the fix quickly.
No other changes than creation of the two-liner build-help.pl
-- Dirk Eddelbuettel <edd@debian.org> Mon, 6 Feb 2006 09:23:14 -0600
r-base (2.2.1-4) unstable; urgency=low
* debian/rules: Until the postinst and postrm calls in all r-cran-*
......
......@@ -433,7 +433,11 @@ install-arch-stamp:
cat $(debbase)/build-help.pl.patch | patch --verbose )
# edd 24 Jan 2006 deal with old postinst/postrm scripts
# calling the old /usr/lib/R/share/perl path
(cd $(debtmp)/usr/lib/R && ln -s ../../share/R/share . )
#(cd $(debtmp)/usr/lib/R && ln -s ../../share/R/share . )
# edd 06 Feb 2006 softlink fails with upgrades from older versions
dh_installdirs -p$(corepackage) usr/lib/R/share/perl
install -m 0644 debian/build-help.pl \
debian/$(corepackage)/usr/lib/R/share/perl
# add tab completion by Deepayan
install -m 0644 debian/R.bash_completion \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment