[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: maxima 'serious' bug fix missed freeze



Hi!

On Wed, Sep 08, 2010 at 12:36:41PM -0400, Camm Maguire wrote:
> Greetings!  I uploaded a fix for 591862 together with a minor upstream
> point release that just missed the freeze.  Would it be possible to
> permit the fixed version in unstable to migrate, or should a patch to
> the testing version be prepared?  In case of the latter, I cannot
> upload such to unstable due to the version number mismatch, yet
> 
> http://lists.debian.org/debian-devel-announce/2010/09/msg00000.html
> 
> seems to instruct thus.
> 
> I would greatly appreciate letting the unstable version migrate if
> possible.  This is a leaf package, and a notable bug upstream has been
> fixed as well.

While I support this request, I am afraid that the changes look to be
too many, at least to me. I tried to isolate the relevant changes, but
it has become very difficult since a lot of files (several possibly
autogenerated). I was also unable to figure out which bug was fixed,
in order to try and isolate the bug fix.

Should the latter option (t-p-u) be chosen, I have attached the
relevant patch, which might prove helpful to Camm.

Thanks!

Kumar
-- 
`When you say "I wrote a program that crashed Windows", people just stare at
you blankly and say "Hey, I got those with the system, *for free*".'
(By Linus Torvalds)
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/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: