<feed xmlns='http://www.w3.org/2005/Atom'>
<title>pdf-tools.git/server/autobuild.android, branch master</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='http://git.tews.dev/cgit/pdf-tools.git/'/>
<entry>
<title>Add support for Android Emacs using Termux</title>
<updated>2025-12-29T04:15:02+00:00</updated>
<author>
<name>Johan Widén</name>
<email>j.e.widen@gmail.com</email>
</author>
<published>2023-07-29T09:08:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.tews.dev/cgit/pdf-tools.git/commit/?id=d89686e4e0b35d8a0deff5d8709b81edd5cd5630'/>
<id>d89686e4e0b35d8a0deff5d8709b81edd5cd5630</id>
<content type='text'>
Notes from the original PR:

The dependencies for android in autobuild can not be installed in
pdf-tools-install, they have to be installed manually in Termux. But
the dependencies are checked when running autobuild.

pdf-tools-install successfully installs epdfinfo in Android Emacs. One
can then view pdf files.

The shebang in autobuild does not work in Termux, I therefore had to
create a separate script "autobuild.android" that in turn executes
autobuild. The problem with the shebang is that "env" in Termux is not
located at "/usr/bin/env".

pdf-tools/Makefile does currently not work in Android Emacs, but it is
not needed for running pdf-tools-install. Fixing this will have to be
done in a separate pull request, if deemed necessary. Reason: There is
yet no consensus for how to implement a command line emacs, to be run
in batch mode, in Android Emacs.

I have successfully run "make test" in Ubuntu, in the repo feature
branch. Running "make server-test" in the master branch fails, so I
have not tested this in the feature branch.

Closes: #230
Author: @johanwiden
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Notes from the original PR:

The dependencies for android in autobuild can not be installed in
pdf-tools-install, they have to be installed manually in Termux. But
the dependencies are checked when running autobuild.

pdf-tools-install successfully installs epdfinfo in Android Emacs. One
can then view pdf files.

The shebang in autobuild does not work in Termux, I therefore had to
create a separate script "autobuild.android" that in turn executes
autobuild. The problem with the shebang is that "env" in Termux is not
located at "/usr/bin/env".

pdf-tools/Makefile does currently not work in Android Emacs, but it is
not needed for running pdf-tools-install. Fixing this will have to be
done in a separate pull request, if deemed necessary. Reason: There is
yet no consensus for how to implement a command line emacs, to be run
in batch mode, in Android Emacs.

I have successfully run "make test" in Ubuntu, in the repo feature
branch. Running "make server-test" in the master branch fails, so I
have not tested this in the feature branch.

Closes: #230
Author: @johanwiden
</pre>
</div>
</content>
</entry>
</feed>
