[code] [textadept] Building from Hg

From: Chris Emerson <c-ta.att.mail.nosreme.org>
Date: Tue, 16 Apr 2013 22:37:17 +0100

Hi,

In case it's of any use, I've converted the instructions from
http://foicica.com/wiki/building-textadept-from-hg into bash script form -
see attached.

I had to add -DNCURSES to get it to build - the Scintilla source still looks at
NCURSES, and otherwise ends up assuming Windows and adding __stdcall
everywhere.

--- a/src/Makefile Mon Apr 15 19:26:43 2013 -0400
+++ b/src/Makefile Tue Apr 16 22:25:45 2013 +0100
@@ -97,7 +97,7 @@
       gtk_libs = $(shell pkg-config --libs gtk+-$(gtk_version))
       install_targets = ../textadept ../textadeptjit
     else
- plat_flag = -DCURSES
+ plat_flag = -DCURSES -DNCURSES
       curses_libs = -lncursesw
       install_targets = ../textadept-curses ../textadeptjit-curses
     endif

Regards,

Chris

-- 
You are subscribed to code.att.foicica.com.
To change subscription settings, send an e-mail to code+help.att.foicica.com.
To unsubscribe, send an e-mail to code+unsubscribe.att.foicica.com.
Received on Tue 16 Apr 2013 - 17:37:17 EDT

This archive was generated by hypermail 2.2.0 : Wed 17 Apr 2013 - 06:49:16 EDT