X-Git-Url: https://git.distorted.org.uk/~mdw/termux-packages/blobdiff_plain/1461c1b4a3078df5adceaf4b54f3b78480b79fcc..543007aa11781fc250badf4f300b70651922b2e7:/packages/emacs/build.sh diff --git a/packages/emacs/build.sh b/packages/emacs/build.sh index e1ea24eb..0118cfd5 100644 --- a/packages/emacs/build.sh +++ b/packages/emacs/build.sh @@ -1,6 +1,7 @@ TERMUX_PKG_HOMEPAGE=http://www.gnu.org/software/emacs/ -TERMUX_PKG_DESCRIPTION="Extensible, customizable text editor—and more" +TERMUX_PKG_DESCRIPTION="Extensible, customizable text editor-and more" TERMUX_PKG_VERSION=24.5 +TERMUX_PKG_BUILD_REVISION=2 TERMUX_PKG_SRCURL=http://ftp.gnu.org/pub/gnu/emacs/emacs-${TERMUX_PKG_VERSION}.tar.xz TERMUX_PKG_DEPENDS="ncurses" TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--without-x --with-xpm=no --with-jpeg=no --with-png=no --with-gif=no --with-tiff=no --without-gconf --without-gsettings --without-all" @@ -15,8 +16,8 @@ TERMUX_PKG_RM_AFTER_INSTALL="share/icons share/emacs/${TERMUX_PKG_VERSION}/etc/i # The command temacs -l loadup would run temacs and direct it to load loadup.el. The loadup library loads additional Lisp libraries, # which set up the normal Emacs editing environment. After this step, the Emacs executable is no longer bare. # Because it takes some time to load the standard Lisp files, the temacs executable usually isn't run directly by users. Instead, as -# one of the last steps of building Emacs, the command ‘temacs -batch -l loadup dump’ is run. The special ‘dump’ argument causes temacs -# to dump out an executable program, called emacs, which has all the standard Lisp files preloaded. (The ‘-batch’ argument prevents +# one of the last steps of building Emacs, the command 'temacs -batch -l loadup dump' is run. The special 'dump' argument causes temacs +# to dump out an executable program, called emacs, which has all the standard Lisp files preloaded. (The '-batch' argument prevents # temacs from trying to initialize any of its data on the terminal, so that the tables of terminal information are empty in the dumped Emacs.)" ########## FROM src/Makefile: @@ -45,10 +46,6 @@ termux_step_host_build () { make } -termux_step_pre_configure () { - export CANNOT_DUMP=yes -} - termux_step_post_configure () { cp $TERMUX_PKG_HOSTBUILD_DIR/src/bootstrap-emacs $TERMUX_PKG_BUILDDIR/src/bootstrap-emacs cp $TERMUX_PKG_HOSTBUILD_DIR/lib-src/make-docfile $TERMUX_PKG_BUILDDIR/lib-src/make-docfile