Building Textadept From Hg

For Linux and BSD, the process is very straightforward. Basically, from within Textadept's src/ directory, run make deps first to fetch Textadept's dependencies, and then run make to build Textadept itself. For more detailed instructions and build requirements, please see the chapter on compiling in the manual.

Building on Windows directly is unsupported. Textadept's Windows binaries are cross-compiled from Linux with MinGW.

Building on OSX 10.8 (thanks to John Benediktsson):

Warning: as stated on the compiling page linked to above, this process can easily take 30 minutes and consume nearly 1GB of disk space.

After following the above steps:

  1. Install jhbuild: wget
  2. Setup jhbuild: sh
  3. Check that your ~/.jhbuildrc-custom sets 'i386' in setup_sdk.
  4. Bootstrap build: jhbuild bootstrap
  5. Build GTK-OSX bootstrap: jhbuild build meta-gtk-osx-bootstrap
  6. Build GTK-OSX core: jhbuild build meta-gtk-osx-core
  7. Build GTK-OSX themes: jhbuild build meta-gtk-osx-themes
  8. Uncomment the darwin section in src/Makefile, change -mmacosx-version-min to 10.8, and change -isysroot to /Developer/SDKs/MacOSX10.8.sdk.
  9. Link GTK-OSX into Textadept source tree: ln -sf ~/gtk/inst /path/to/ta/src/gtkosx
  10. ln -sf /Developer

Now you can run make inside src/

Added the file “ta-osx.patch”.
Deleted the file “ta-osx.patch”.

Edited on Friday, October 21st 2016 at 4:26 PM.