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

Re: search-citeseer_0.1-1_i386.changes REJECTED

Peter S Galbraith wrote:

AFAIK, you need to depend on emacs itself (and not emacs-common) if you
byte-compile it.  I _think_ stuff can break if you don't, but I'm vague
on why.  Search the debian-emacsen archives.  I split off a package
because of that issue a while back, but the seperate -el package is 62KB.

Last time I read about that, if is byte compiled it should depend on virtual package 'emacsen' (provided by all emacs flavours), since otherwise emacs-package-install failed if no emacsen was installed. You can try a workaround like this (realign broken lines as appropiate, they are really long)

if [ "$1" = "configure" -a -x /usr/lib/emacsen-common/emacs-package-install ]
    [ -e /var/lib/emacsen-common/installed-flavors ] && \
 /usr/lib/emacsen-common/emacs-package-install your_package

but if Otavio's lisp file is small this is probably an overkill. And Otavio, count me as another one that thinks that having a separate package for such an small lisp file does not worth at all.


Reply to: