Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
mtpaint ( solucionado )
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Spanish
View previous topic :: View next topic  
Author Message
ppkombo61
n00b
n00b


Joined: 14 Feb 2012
Posts: 45

PostPosted: Thu May 17, 2012 8:19 pm    Post subject: mtpaint ( solucionado ) Reply with quote

Hola:
He compilado el programa mtpaint ( no lo he encontrado en los repositorios de Gentoo ).
El unico problema es que esta en ingles.
La traduccion al español viene en la carpeta po como es.po y es.mo.
El archivo configure contiene lo siguiente:

http://pastebin.com/LnsynCi7

Segun el readme tengo que tener instalado gettex para compilar el ididoma ( si no me equivoco).

In order to compile mtPaint on a GNU/Linux system you will need to have the libraries and headers for GTK+1 and/or GTK+2, libpng and zlib. If you want to load or save GIF, JPEG and TIFF files you will also need libungif, libjpeg and libtiff. If you want to compile the international version you will need to have the gettext system and headers installed. You may then adjust the Makefile/sources to cater for your needs and then:

emerge -s gettexx

sys-devel/gettext
Latest version available: 0.18.1.1-r1
Latest version installed: 0.18.1.1-r1
Size of files: 14,784 kB
Homepage: http://www.gnu.org/software/gettext/
Description: GNU locale utilities
License: GPL-3 LGPL-2

El caso es que despues de varios intentos no consigo traducirlo.

¿Tengo que cambiar algo en el archivo configure?

El archivo makefile contiene:



include _conf.txt

all: $(subdirs)

.PHONY: $(subdirs)

$(subdirs):
$(MAKE) -C $@

install:
for dir in $(subdirs); do $(MAKE) -C $$dir install; done

uninstall:
for dir in $(subdirs); do $(MAKE) -C $$dir uninstall; done

clean:
for dir in $(subdirs); do $(MAKE) -C $$dir clean; done


Gracias de antemano


Last edited by ppkombo61 on Sat May 19, 2012 2:03 pm; edited 2 times in total
Back to top
View user's profile Send private message
quilosaq
l33t
l33t


Joined: 22 Dec 2009
Posts: 760

PostPosted: Thu May 17, 2012 10:04 pm    Post subject: Reply with quote

Code:
./configure intl
make
# make install
Back to top
View user's profile Send private message
ppkombo61
n00b
n00b


Joined: 14 Feb 2012
Posts: 45

PostPosted: Thu May 17, 2012 10:42 pm    Post subject: Reply with quote

Perfecto.
Muchas gracias.
Podrias explicarme porque y asi me sacas de mi ignorancia.
Un saludo.
Back to top
View user's profile Send private message
quilosaq
l33t
l33t


Joined: 22 Dec 2009
Posts: 760

PostPosted: Thu May 17, 2012 11:04 pm    Post subject: Reply with quote

Si lees la ayuda del programa configure (con el comando ./configure --help) verás que entre las opciones que ofrece está:
Quote:
intl ............. Use internationalized po files

Así de fácil.

Si quieres investigar un poco más puedes ver dónde se utiliza el parámetro intl en el programa configure:
Code:
grep -C3 intl configure
Back to top
View user's profile Send private message
ppkombo61
n00b
n00b


Joined: 14 Feb 2012
Posts: 45

PostPosted: Thu May 17, 2012 11:38 pm    Post subject: Reply with quote

Muchas gracias.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Spanish All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum