tce-load -i compiletc git curl gtk1-dev giflib-dev tiff-dev openjpeg-dev jasper2-dev git clone https://github.com/wjaguar/mtPaint.git cd mtPaint patch -Np0 -i ../mtPaint_gmodule.patch CC="gcc -flto -fuse-linker-plugin -mtune=generic -Os -pipe" CXX="g++ -flto -fuse-linker-plugin -mtune=generic -Os -pipe -fno-exceptions -fno-rtti" ./configure --prefix=/usr/local gtk1 thread GIF jpeg jp2v2 jasper tiff lcms2 find . -name _conf.txt -type f -exec sed -i 's/-O2//g' {} \; edit _conf.txt add -lglib-2.0 make [0m 18.06s] sudo make install --------------------- mtPaint Configuration --------------------- ------- General ------- Version 3.49.13 System GNU/Linux Toolkit GTK+1 File Picker mtpaint Colour Picker mtpaint Animation Package Gifsicle Use FreeType YES Use CMS LittleCMS2 Icon set icons1 Internationalized NO Multithreaded YES -------- Compiler -------- Optimizations YES CFLAGS -O2 LDFLAGS -s Static libraries NONE ---------- File Types ---------- Use GIF GIF Use JPEG YES Use JPEG 2000 JasPer Use TIFF YES ------------ Installation ------------ Binary install /usr/local/bin Install man page NO