Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 141612 - New package: media-gfx/mtpaint
Summary: New package: media-gfx/mtpaint
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement with 2 votes (vote)
Assignee: Default Assignee for New Packages
URL: http://mtpaint.sourceforge.net/
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2006-07-24 11:19 UTC by Michal Kurgan (RETIRED)
Modified: 2010-08-26 08:07 UTC (History)
6 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
mtpaint-3.01.ebuild (mtpaint-3.01.ebuild,2.41 KB, text/plain)
2006-07-24 11:22 UTC, Michal Kurgan (RETIRED)
Details
mtpaint-3.11.ebuild (mtpaint-3.11.ebuild,1.63 KB, text/plain)
2007-12-16 23:54 UTC, Michal Kurgan (RETIRED)
Details
mtpaint-3.11.ebuild (mtpaint-3.11.ebuild,1.64 KB, text/plain)
2007-12-19 20:55 UTC, Michal Kurgan (RETIRED)
Details
mtpaint-3.20.ebuild (mtpaint-3.20.ebuild,1.69 KB, text/plain)
2008-02-12 19:49 UTC, Michal Kurgan (RETIRED)
Details
updated to latest version (mtpaint-3.31.ebuild,1.36 KB, text/plain)
2009-05-28 15:03 UTC, Dmitri Bogomolov
Details
libpng14 patch (libpng14.patch,841 bytes, patch)
2010-08-26 08:07 UTC, Dmitry A. Bakshaev
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michal Kurgan (RETIRED) gentoo-dev 2006-07-24 11:19:01 UTC
mtPaint is a 
Comment 1 Michal Kurgan (RETIRED) gentoo-dev 2006-07-24 11:19:01 UTC
mtPaint is a simple painting program, alternative to gimp for less demanding users. It uses only gtk+ gui interface (both 1.0 and 2.0).
I can maintain this package, but for now i am only member of documentation project (GWN translation), so first i probably need mentoring as a full-fledged ebuild developer.
Comment 2 Michal Kurgan (RETIRED) gentoo-dev 2006-07-24 11:22:00 UTC
Created attachment 92626 [details]
mtpaint-3.01.ebuild

ebuild for media-gfx/mtpaint (also on my dev-space)
It has few fixes for weird configure method of package (also DESTDIR workarounds, one commented out) to make it compile succesfully in sandbox)
Comment 3 Henrique Rodrigues 2007-12-11 10:29:10 UTC
mtpaint 3.11 is the latest version. 
Comment 4 Michal Kurgan (RETIRED) gentoo-dev 2007-12-16 23:54:49 UTC
Created attachment 138666 [details]
mtpaint-3.11.ebuild

Updated cleaned ebuild for newest stable mtPaint with desktop entry.

Please ping bug if new version is available
Comment 5 Henrique Rodrigues 2007-12-19 20:20:06 UTC
I've tested your ebuild under PPC and it worked fine.
Comment 6 Michal Kurgan (RETIRED) gentoo-dev 2007-12-19 20:55:18 UTC
Created attachment 138909 [details]
mtpaint-3.11.ebuild

Added ~ppc keyword.
Comment 7 Todd Partridge 2008-02-12 07:52:12 UTC
Thanks for the ebuild, works nice.
Comment 8 Michal Kurgan (RETIRED) gentoo-dev 2008-02-12 19:49:56 UTC
Created attachment 143354 [details]
mtpaint-3.20.ebuild

 * changed license from GPL-2 to GPL-3
 * there is experimental jpeg2k support, but i didn't add it to ebuild
 * add asneeded configure option for linker optimizations
Comment 9 Dmitri Bogomolov 2009-05-28 15:03:04 UTC
Created attachment 192719 [details]
updated to latest version

I wonder if somebody still wants gtk+1.2?
Comment 10 Michal Kurgan 2009-05-31 22:09:56 UTC
(In reply to comment #9)
> Created an attachment (id=192719) [edit]
> updated to latest version
> 

Thanks for update :)

> I wonder if somebody still wants gtk+1.2?
> 

Probably not, but who know? It is still in the tree.
Comment 11 Pablo R 2010-02-09 02:04:22 UTC
hi,
Haven't tried ebuild (sorry I'm new to gen2 bugzilla list), but before I found it, just installed mtpaint-3.31 to my local user account (non-root to preserve my system in case something went wrong). Works perfect (so far  ;p ) Also from reading some linux blogs around the net sounds like most ppl think it's a grreat ms-paint clone. Just wondering why it isn't in the x86 tree (and ppc?). Pls let me know if there is any task I can take on (try the ebuild?). Been using gen2 for about 5 yrs now, develop c/c++, vaguely familiar with ebuilds, etc,....

My  emerge --info output:

Portage 2.1.7.16 (default/linux/x86/10.0, gcc-4.3.4, glibc-2.9_p20081201-r2, 2.6.30-gentoo-r8 i686)
=================================================================
System uname: Linux-2.6.30-gentoo-r8-i686-Intel-R-_Core-TM-2_CPU_T7200_@_2.00GHz-with-gentoo-1.12.11.1
Timestamp of tree: Sun, 07 Feb 2010 07:45:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p28
dev-java/java-config: 2.1.9-r1
dev-lang/python:     2.6.2-r1
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.4_p6, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc:       4.3.4
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests ccache distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://gentoo.mirrors.tds.net/gentoo ftp://mirror.iawnet.sandia.gov/pub/gentoo/ ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://mirror.usu.edu/mirrors/gentoo/ http://chi-10g-1-mirror.fastsoft.net/pub/linux/gentoo/gentoo-distfiles/ http://gentoo.osuosl.org/ http://gentoo.mirrors.hoobly.com/ ftp://mirror.its.uidaho.edu/gentoo/ ftp://gentoo.llarian.net/pub/gentoo http://mirror.datapipe.net/gentoo http://gentoo.mirrors.tds.net/gentoo http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://gentoo.llarian.net/ ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ ftp://mirror.mcs.anl.gov/pub/gentoo/ ftp://chi-10g-1-mirror.fastsoft.net/pub/linux/gentoo/gentoo-distfiles/ "
LDFLAGS="-Wl,-O1"
LINGUAS="en_US en es"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X acl avahi berkdb bzip2 cli cracklib crypt cups cxx dbus dri fortran gdbm gif gnome gpm gtk2 hal iconv ipv6 jpeg modules mudflap ncurses nls nptl nptlonly nsplugin openmp pam pcre perl php png pppd python readline reflection session spell spl sqlite ssl sysfs tcpd truetype unicode x86 xinerama xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="synaptics keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_US en es" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

Comment 12 Denilson Sá Maia 2010-03-02 02:33:34 UTC
The ebuild works, thanks! But it shows:

 * QA Notice: Pre-stripped files found:
 * /usr/bin/mtpaint


Also, as another improvement, we should add a 'doc', which would download and install the handbook. (and auto-set its path at the preferences)
Comment 13 Denilson Sá Maia 2010-06-30 21:05:42 UTC
It seems this ebuild/software requires libpng-1.2, as it fails with libpng-1.4.

gcc -Wall -Wno-pointer-sign main.o mainwindow.o inifile.o png.o memory.o canvas.o otherwindow.o mygtk.o viewer.o polygon.o layer.o info.o wu.o prefs.o ani.o mtlib.o toolbar.o channels.o csel.o shifter.o spawn.o font.o fpick.o icons.o cpick.o -o mtpaint -Wl,--as-needed -lgif -ljpeg -lopenjpeg -ltiff -lpng -lz -lfreetype -lfreetype -lz -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lglib-2.0   -s 
png.o: In function `load_png':
png.c:(.text+0x997b): undefined reference to `png_set_gray_1_2_4_to_8'
png.c:(.text+0x9d62): undefined reference to `png_set_gray_1_2_4_to_8'
collect2: ld returned 1 exit status
make[1]: *** [mtpaint] Error 1
Comment 14 David 2010-07-09 06:18:34 UTC
Perhaps mtPaint could be placed in the "Sunrise" overlay for the moment?
Comment 15 Dmitry A. Bakshaev 2010-08-26 08:07:16 UTC
Created attachment 244633 [details, diff]
libpng14 patch