Indeed, I overlooked testing it with emacs21. Sorry about that.
I'm a bit confused by your patch, though. It looks like a patch
against the old version, ant it looks similar to the diff from 0.9.12
to 0.9.13 (but I don't have the time to check precisely right now).
Could you provide a patch against the current version (in 0.9.13)?
Thanks,
Daniel
On Dec 3, 2007 10:22 PM, Aaron M. Ucko <[EMAIL PROTECTED]> wrote:
> Package: nice
> Version: 0.9.13-1
> Severity: important
> Tags: patch
>
> In modernizing nice-mode to work with newer versions of CC Mode (as
> included in Emacs 22 and XEmacs), its authors dropped support for
> Emacs 21, breaking nice's installation on systems with that version
> installed:
>
> > Setting up nice (0.9.13-1) ...
> > install/nice: Handling install for emacsen flavor emacs21
> [...]
> > While compiling toplevel forms in file
> > /usr/share/emacs21/site-lisp/nice/nice-mode.el:
> > !! File error (("Cannot open load file" "cc-fonts"))
> > Wrote /usr/share/emacs21/site-lisp/nice/nice-startup.elc
> > Done
> > emacs-package-install: /usr/lib/emacsen-common/packages/install/nice
> > emacs21 emacs21 emacs22 xemacs21 failed at
> > /usr/lib/emacsen-common/emacs-package-install line 30, <TSORT> line 1.
> > dpkg: error processing nice (--configure):
> > subprocess post-installation script returned error exit status 1
>
> Please apply the attached patch, which allows nice-mode to work with
> either version AFAICT.
>
> BTW, I would also advise enabling the commented-out FLAVORTEST /
> SITEFLAG logic, as there is no need to load other packages' Emacs
> startup files (the [...] above) prior to compiling nice's elisp code.
>
> -- System Information:
> Debian Release: lenny/sid
> APT prefers unstable
> APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
> Architecture: amd64 (x86_64)
>
> Kernel: Linux 2.6.22.10 (SMP w/2 CPU cores)
> Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
> Shell: /bin/sh linked to /bin/bash
>
> Versions of packages nice depends on:
> ii blackdown-j2sdk1.4 [java2-run 1.4.2+02 Java(TM) 2 SDK, Standard Edition,
> ii gij [java-virtual-machine] 4:4.2.1-6 The GNU Java bytecode interpreter
> ii gij-4.0 [java1-runtime] 4.0.3-2 The GNU Java bytecode interpreter
> ii gij-4.1 [java1-runtime] 4.1.2-16 The GNU Java bytecode interpreter
> ii gij-4.2 [java1-runtime] 4.2.2-3 The GNU Java bytecode interpreter
> ii jamvm [java1-runtime] 1.4.5-3+b1 virtual machine which conforms to
> ii kaffe 2:1.1.8-3 A JVM to run Java bytecode
> ii kaffe-pthreads [kaffe] 2:1.1.8-3 A POSIX threads enabled version
> of
> ii sablevm [java1-runtime] 1.13-1.1 Free implementation of Java
> Virtua
> ii sun-java5-jre [java1-runtime] 1.5.0-13-1 Sun Java(TM) Runtime Environment
> (
> ii sun-java6-jre [java1-runtime] 6-03-2 Sun Java(TM) Runtime Environment
> (
>
> nice recommends no packages.
>
> -- no debconf information
>
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]