Permission to upload maxima to testing-proposed-updates for fixing #591862
Dear Release Team,
Maxima has an RC bug in squeeze (#591862). Unfortunately, the fix for
that bug was made along with a new upstream release. I have just made
a request to the maintainer to handle this issue[1]. However, in the
mean while, I was wondering if there would be any objections if I
proposed a DELAYED/7 upload to testing-proposed-updates to fix this
bug, since this is an RC bug which has been open for quite a while.
I attach a proposed patch. Should you be comfortable with this, I
shall build the package in a squeeze chroot and uplod it to
testing-proposed-updates after seven days.
Thank you.
Kumar
[1]: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=586563#25
--
<netgod> And once Diziet/CQ make the formal announcment that LSA
sucks, we can even reduce the Crisis Level rating and move
on to linuxfoundation.org.
-- #Debian
diff -u maxima-5.21.1/debian/control maxima-5.21.1/debian/control
--- maxima-5.21.1/debian/control
+++ maxima-5.21.1/debian/control
@@ -3,7 +3,7 @@
Priority: optional
Maintainer: Camm Maguire <camm@debian.org>
Build-Depends: gcl ( >= 2.6.7-53 ) , texinfo, libgmp3-dev, libreadline-dev, locales, automake1.9, debhelper ( >=5 ) , libncurses5-dev, autoconf2.13, gawk | awk, texlive-latex-recommended, sharutils, libxmu-dev, libxaw7-dev
-Standards-Version: 3.8.4
+Standards-Version: 3.9.1
Package: maxima
Architecture: any
diff -u maxima-5.21.1/debian/maxima-emacs.emacsen-startup maxima-5.21.1/debian/maxima-emacs.emacsen-startup
--- maxima-5.21.1/debian/maxima-emacs.emacsen-startup
+++ maxima-5.21.1/debian/maxima-emacs.emacsen-startup
@@ -25,11 +25,6 @@
(autoload 'maxima "maxima" "" t)
-
-; For emaxima.lisp to be found and tex update mode to be enabled.
-;
-(debian-pkg-add-load-path-item "/usr/share/emacs/site-lisp/maxima")
-;
(autoload 'emaxima-mode "emaxima" "" t)
(autoload 'imaxima "imaxima" "" t)
diff -u maxima-5.21.1/debian/changelog maxima-5.21.1/debian/changelog
--- maxima-5.21.1/debian/changelog
+++ maxima-5.21.1/debian/changelog
@@ -1,3 +1,13 @@
+maxima (5.21.1-2+squeeze0.1) testing; urgency=low
+
+ * Non-maintainer upload.
+ * Backport maxima-emacs fixes which purges all files during
+ package purge, as well as reduces the number of warnings
+ emitted during byte-compilation. (Closes: #591862)
+ * Standards version is now 3.9.1. (No changes required)
+
+ -- Kumar Appaiah <akumar@debian.org> Tue, 07 Sep 2010 21:10:25 -0500
+
maxima (5.21.1-2) unstable; urgency=low
* Bug fix: "autoload imath is missing in
diff -u maxima-5.21.1/debian/maxima-emacs.emacsen-install maxima-5.21.1/debian/maxima-emacs.emacsen-install
--- maxima-5.21.1/debian/maxima-emacs.emacsen-install
+++ maxima-5.21.1/debian/maxima-emacs.emacsen-install
@@ -12,12 +12,9 @@
echo install/${PACKAGE}: Handling install for emacsen flavor ${FLAVOR}
-#FLAVORTEST=`echo $FLAVOR | cut -c-6`
-#if [ ${FLAVORTEST} = xemacs ] ; then
-# SITEFLAG="-no-site-file"
-#else
-# SITEFLAG="--no-site-file"
-#fi
+# Do not load startup files when byte-compiling.
+SITEFLAG="-no-site-file"
+
FLAGS="${SITEFLAG} -q -batch -l path.el -f batch-byte-compile"
ELDIR=/usr/share/emacs/site-lisp/${PACKAGE}
@@ -34,12 +31,12 @@
cd ${ELDIR}
FILES=`echo *.el`
-cp ${FILES} ${ELCDIR}
cd ${ELCDIR}
+ln -sf ${ELDIR}/*.el ${ELDIR}/*.lisp .
cat << EOF > path.el
(setq load-path (cons "." load-path) byte-compile-warnings nil)
EOF
${FLAVOR} ${FLAGS} ${FILES}
-rm -f *.el path.el
+rm -f path.el
exit 0
only in patch2:
unchanged:
--- maxima-5.21.1.orig/interfaces/emacs/emaxima/maxima.el
+++ maxima-5.21.1/interfaces/emacs/emaxima/maxima.el
@@ -2494,7 +2494,7 @@
(define-key map "\C-c\)" 'maxima-check-parens)
(define-key map [(control c) (control \))] 'maxima-check-form-parens)
; (define-key map "\C-cC-\)" 'maxima-check-form-parens)
- (define-key map "\177" 'backward-delete-char-untabify)
+; (define-key map "\177" 'backward-delete-char-untabify)
(setq maxima-mode-map map)))
;;;; Menu
@@ -3321,7 +3321,7 @@
(define-key inferior-maxima-mode-map [(meta control tab)]
'inferior-maxima-input-complete)
(define-key inferior-maxima-mode-map "\e\t" 'inferior-maxima-complete)
-(define-key inferior-maxima-mode-map "\177" 'backward-delete-char-untabify)
+;(define-key inferior-maxima-mode-map "\177" 'backward-delete-char-untabify)
(define-key inferior-maxima-mode-map "\C-c\C-k" 'maxima-stop)
(define-key inferior-maxima-mode-map "\C-c\C-d" maxima-help-map)
Reply to: