Re: [code] A hidden gem in Textadept's make-file: optional GTK3 targeting with flawless support (in my experience).

From: David Tamar <>
Date: Fri, 26 Jul 2019 15:54:05 +0000

That's great, I'm glad to hear that because I'm using Debian as well (the Testing distribution) and I thought yesterday that if someone with by-the-book .deb packaging skills will bring Textadept into Debian's official repositories separated by 3 packages: `textadept-curses`, `textadept-gtk2`, and `textadept-gtk3` for each one then it'd be just ideal. I really wish we had that.

A couple of days ago I wanted to package a Lua library that was missing on Debian, it's PUC's IUP cross-platform GUI library that uses native widgets with direct Lua bindings and can run from pure LuaJIT with GTK3 on *nix, and with extensive support for drawing plots and stuff like that.

So I went forward and attempted to build it according to the manual from IUP on Debian and place each file in its correct location since their install shell script wasn't working properly on Debian (despite that they tested in Ubuntu). And it didn't work because some dependencies were missing. So I started to think about packaging it properly in a .deb so I wouldn't have to manage the dependencies manually. I went to Debian's New Maintainer's Guide, at first I was so enthusiastic and started to read chapter by chapter, but after a few hours I was completely lost into Unix history to understand the background behind Linux's Filesystem Hierarchy Standard in depth to know how to package that chain of libraries correctly into Debian. I was quite overwhelmed.
From: Pedro Andres Aranda Gutierrez <>
Sent: Friday, July 26, 2019 18:21
To: <>
Subject: Re: [code] A hidden gem in Textadept's make-file: optional GTK3 targeting with flawless support (in my experience).

Been using GTK3=1 from the beginning for my Linux compiles. And that's a couple of years now ;-)
I have prepared the infrastructure to generate Debian packages.

Best, /PA

On Thu, 25 Jul 2019 at 18:11, dmccunney <<>> wrote:
On Thu, Jul 25, 2019 at 11:44 AM David Tamar <<>> wrote:
> Dennis, are you on Linux?

Not at the moment. Dual booted before, but the current desktop is
pure Win10 Pro. I'll get back to Linux at some point, but am
currently swimming in the Android pool.

> Before building Textadept with `make`, export the variable in the shell:
> `export GTK3=true`, and only then do `make`. If you have all the usual gtk3-dev & gcc dependencies everything should proceed smoothly and result in a gtk3-backed binary. The build process of Textadept is fully automated, it even resolves and builds 3rd party dependencies for you like Scintilla and the Lua 5.3 interpreter that it incorporates. I think the only thing you should provide is gtk3-dev & gcc.

Noted and thank you.

You are subscribed to<>.
To change subscription settings, send an e-mail to<>.
To unsubscribe, send an e-mail to<>.
Fragen sind nicht da um beantwortet zu werden,
Fragen sind da um gestellet zu werden
Georg Kreisler
You are subscribed to
To change subscription settings, send an e-mail to
To unsubscribe, send an e-mail to
Received on Fri 26 Jul 2019 - 11:54:05 EDT

This archive was generated by hypermail 2.2.0 : Sat 27 Jul 2019 - 06:43:09 EDT