Opened 7 months ago

Closed 4 months ago

Last modified 4 months ago

#68594 closed request (fixed)

Please add Tilde text editor to MacPorts

Reported by: programmingkidx Owned by: herbygillot (Herby Gillot)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: tilde

Description

Tilde is a really cool GUI text editor that runs in the terminal. This text editor beats vi, emacs, pico, and pretty much any other editor in terms of user friendliness and usefulness. It would make a great edition to Mac OS software. Right now it appears to be a Linux application, but I read here (https://stackoverflow.com/questions/41455294/compiling-tilde-text-editor-on-macos) that porting it has been done.

Official repo: https://github.com/gphalkes/tilde

Change History (6)

comment:1 Changed 7 months ago by ryandesign (Ryan Carsten Schmidt)

Keywords: text editor tilde removed
Port: tilde added
Version: 2.8.1

comment:2 Changed 7 months ago by kencu (Ken)

I just took a look in Linux and I agree, looks nice.

comment:3 in reply to:  2 Changed 7 months ago by programmingkidx

Replying to kencu:

I just took a look in Linux and I agree, looks nice.

👍

comment:4 Changed 6 months ago by programmingkidx

I just finished my work on porting Tilde to Mac OS. Now I need help with porting Tilde to MacPorts. Here is an outline of what needs to be done in order to make it work. I will work with anyone who can help.

Operations to perform:

pkg-config version < 0.2.0 (pkg-config --version)

  • run sudo port install pkg-config

glibtool -> sudo port install libtool

libunistring -> sudo port install libunistring

libtranscript

  • download: https://os.ghalkes.nl/dist/libtranscript-0.3.3.tar.bz2
  • patch libtranscript/config.pkg add "#include <stdio.h>" to line under "#include <dirent.h>".
  • configure: LIBTOOL=/opt/local/bin/glibtool ./configure --without-gettext
  • build: make all && sudo make install _pkgconfigdir=$PKG_CONFIG_PATH

libt3window

  • download: https://os.ghalkes.nl/dist/libt3window-0.4.1.tar.bz2
  • configure: LIBTOOL=/opt/local/bin/glibtool CFLAGS=-I/opt/local/include/ LDFLAGS=-L/opt/local/lib/ LDLIBS=-lunistring ./configure --without-gettext
  • build: make all && sudo make install _pkgconfigdir=$PKG_CONFIG_PATH

libt3config

  • download: https://os.ghalkes.nl/dist/libt3config-1.0.0.tar.bz2
  • configure: LIBTOOL=/opt/local/bin/glibtool CXXFLAGS=-I/opt/local/include/ LDFLAGS=-L/opt/local/lib/ LDLIBS=-lunistring CFLAGS=-I/opt/local/include/ ./configure --without-gettext
  • build: make all && sudo make install _pkgconfigdir=$PKG_CONFIG_PATH

libt3key

  • download: https://os.ghalkes.nl/dist/libt3key-0.2.10.tar.bz2
  • patch: config.pkg add "#include <term.h>" right under "#include <curses.h>"
  • configure: LIBTOOL=/opt/local/bin/glibtool CXXFLAGS=-I/opt/local/include/ LDFLAGS=-L/opt/local/lib/ LDLIBS=-lunistring CFLAGS=-I/opt/local/include/ ./configure --without-gettext
  • build: make all && sudo make install _pkgconfigdir=$PKG_CONFIG_PATH

libt3widget

  • download: https://os.ghalkes.nl/dist/libt3widget-1.2.2.tar.bz2
  • patch: remove "#include <ext/alloc_traits.h>" from menu.cc
  • configure: LIBTOOL=/opt/local/bin/glibtool CXXFLAGS=-I/opt/local/include/ LDFLAGS=-L/opt/local/lib/ LDLIBS=-lunistring CFLAGS=-I/opt/local/include/ ./configure --without-gettext
  • build: make all && sudo make install _pkgconfigdir=$PKG_CONFIG_PATH
  • note: Might have to run this command: glibtool --finish /usr/local/lib

libt3highlight

  • download: https://os.ghalkes.nl/dist/libt3highlight-0.5.0.tar.bz2
  • configure: LIBTOOL=/opt/local/bin/glibtool CXXFLAGS="-I/opt/local/include/" LDFLAGS=-L/opt/local/lib/ LDLIBS=-lunistring CFLAGS=-I/opt/local/include/ ./configure --without-gettext
  • build: make all && sudo make install _pkgconfigdir=$PKG_CONFIG_PATH

tilde

  • download: https://os.ghalkes.nl/dist/tilde-1.1.3.tar.bz2
  • configure: LIBTOOL=/opt/local/bin/glibtool CXXFLAGS="-I/opt/local/include/" LDFLAGS=-L/opt/local/lib/ LDLIBS=-lunistring CFLAGS=-I/opt/local/include/ ./configure --without-gettext
  • build: make all
  • note: might have to delete src/tilde before building

comment:5 Changed 4 months ago by herbygillot (Herby Gillot)

Owner: set to herbygillot
Resolution: fixed
Status: newclosed

In 32f0e7f240a75677c8c8c8d69ef5df3428cf85cc/macports-ports (master):

tilde: new port (version 1.1.3)

Closes: #68594

comment:6 Changed 4 months ago by herbygillot (Herby Gillot)

Thanks for this very informative writeup, programmingkidx. tilde has now been added to MacPorts via this PR: https://github.com/macports/macports-ports/pull/22355

Note: See TracTickets for help on using tickets.