Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

How I updated mtpaint to v 3.50, hope it helps others

Programming languages, Coding, Executables, Package Creation, and Scripting.
Post Reply
Message
Author
greg9
Posts: 34
Joined: 2021-09-14 06:29
Has thanked: 6 times

How I updated mtpaint to v 3.50, hope it helps others

#1 Post by greg9 »

mtpaint currently in stable and testing v 3.40
version bumped to git 3.50.09......at time of post
tested on branch=testing

If you would like to update click on the select all code boxes and paste into a terminal.
Try at own risk

[edit] if you need svg format support add librsvg2-dev to list of dev packages below please
As root execute

Code: Select all

apt update
apt dist-upgrade # or your preferred update command
apt install git build-essential libgtk2.0-dev libgif-dev libjpeg62-turbo-dev libopenjp2-7-dev liblcms2-dev libwebp-dev libjpeg-dev libtiff-dev
as local user I will download source to Downloads dir

Code: Select all

cd Downloads
git clone https://github.com/wjaguar/mtPaint.git
cd mtPaint
./configure --prefix=/usr/local
LZ=/usr/lib/x86_64-linux-gnu
LIBS=LDFLAGS=-L${LZ} make -j5
Note I am English only and prefer online manpages
If you need locale, add to your configure line "intl" (without the quotes)
as root install gettext for locales

If you need manpages add to your configure line "man --mandir=/usr/share/man" (without the quotes)
See ./configure --help with any other options you wish to disable or enable please.

The output for my preferences ....scroll up in terminal to see yours. (I have truncated empty space )
Version 3.50.09
System GNU/Linux
Toolkit GTK+2
Lists GTK+2
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 -fcommon
LDFLAGS -s
Static libraries NONE
----------
File Types
----------
Use JPEG YES
Use JPEG 2000 OpenJPEG2
Use TIFF YES
Use WebP YES
------------
Installation
------------
Binary install /usr/local/bin
Install man page NO

as root

Code: Select all

make install
Supported image formats are: (showing in image link but its not click bait) :D
bmp, gif, j2k, jpeg2000, jpeg, lbm, pam, pcx, png, ppm, tga, tiff, webp and xpm


If you have repo version installed, run full pathway to test out.

Code: Select all

/usr/local/bin/mtpaint
If it works for you remove repo version.

almost full screenshot to show mtpaint version, kernel version and debian branch
https://imgur.com/SHkhmXh
Last edited by greg9 on 2021-09-17 00:40, edited 1 time in total.

User avatar
sunrat
Administrator
Administrator
Posts: 6412
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 116 times
Been thanked: 462 times

Re: How I updated mtpaint to v 3.50, hope it helps others

#2 Post by sunrat »

What features of v3.50 make it worthy of building when 3.40 is available in the repo?
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

greg9
Posts: 34
Joined: 2021-09-14 06:29
Has thanked: 6 times

Re: How I updated mtpaint to v 3.50, hope it helps others

#3 Post by greg9 »

@sunrat

1 link details changelog from 3.40 to 3.50
http://mtpaint.sourceforge.net/news.html
The list is long but for existing users they might like to know
Improved support for BMP, SVG, TIFF and XPM image formats
but I did not install librsvg2-dev so offer no svg format and our repo version does not support svg.
I have editted OP to mention that fact

2 Looking again at that link, notice we have 3.40 release date 30 Dec 2011
while I have a product no older than 31 Dec 2020

3 But what do we get in the repo that differs from mine?
Above I posted what my config will give you for image formats.
If members click on a png in v 3.40 and click on "save as" they will see the formats:
bmp, jpeg, pam,pcx,png,ppm,tga,tiff and xpm

Meaning that I give members the extras of:
gif, j2k,jpeg2000, lbm, webp plus the changelog stuff.

No-one is forcing us to use old software. There are alternatives I am sure to mtpaint if members do not want to update.
mtpaint is easy to learn, easy to use especially when compared to the Gimp

4 If members think they can wait for someone better looking than me to give them v 3.50 :D
they are in for a long wait as per (to save clicking its still v 3.40)
https://packages.debian.org/sid/mtpaint

Post Reply