Package: gettext-el Version: 0.15-3 Severity: normal Tags: patch When byte-compiling files during postinst for xemacs* flavours of emacsen, the package loads other packages' site-files, generating extra ouput and slowing down configuration. This happens because the command line option to avoid loading said files differs between emacs and xemacs.
To solve this, insert a snippet like
----------------------------------------------------------------------
FLAVORTEST=`echo $FLAVOR | cut -c-6`
if [ ${FLAVORTEST} = xemacs ] ; then
SITEFLAG="-no-site-file"
else
SITEFLAG="--no-site-file"
fi
flags="-batch ${SITEFLAG} -l path.el -f batch-byte-compile"
----------------------------------------------------------------------
instead of
----------------------------------------------------------------------
flags="-batch --no-site-file -l path.el -f batch-byte-compile"
----------------------------------------------------------------------
in /usr/lib/emacsen-common/packages/install/gettext-el
Thanks.
signature.asc
Description: Digital signature

