Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Fri 01 Aug 2014, 00:09
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Projects » Localization Project
"i18n-tools": Using MoManager without having Devx loaded
Moderators: Lobster, MU, raffy
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 2 [26 Posts]   Goto page: 1, 2 Next
Author Message
Bert


Joined: 30 Jun 2006
Posts: 915

PostPosted: Sat 09 Nov 2013, 09:51    Post subject:  "i18n-tools": Using MoManager without having Devx loaded  

UPDATE: 20131111: new version and new name:

* i18n-tools replaces "MM-standalone" as the name.

* a short info file is now installed in /root, for newcomers mainly.

* the gcc executable, needed for versions of Momanager older than 20131110, is now replaced by a fake script. This saves 300K installed!

* pet and sfs are now small enough to post directly here on the forum.
Please see bottom of this message for downloading.

Happy translating!

*********************************************




UPDATE: 20131110: new version:

* MM-standalone-0.2.pet --> better use the package at bottom of this message

* MM-standalone-0.2.sfs--> better use the package at bottom of this message

Tested OK in Puppy Precise 5.7.1
Tested OK in Slacko 5.6
Tested OK in Upup Raring 3.9.9.2
Tested OK in LxPup 13.10

*********************************


Hi all,

I always had the feeling having to download and install devx to enable momanager is not really ideal.

So I tried to get the i18n stuff out of devx and into Puppy.
It was simpler than I had imagined!

Here's my "MM-standalone" pet for testing.

All it does is put the following in /usr/bin:



The pet is 292K
The folder before petting it up: 776K

The pet is just a little too big for the forum (max. attachment= 256K)
So I'll upload it... okay, just click momanager:

Version 0.1 removed
i18n-tools-0.3.sfs.gz
Description  remove the fake .gz
gz

 Download 
Filename  i18n-tools-0.3.sfs.gz 
Filesize  192 KB 
Downloaded  181 Time(s) 
i18n-tools-0.3.pet
Description 
pet

 Download 
Filename  i18n-tools-0.3.pet 
Filesize  193.67 KB 
Downloaded  270 Time(s) 

_________________



Last edited by Bert on Mon 11 Nov 2013, 16:46; edited 7 times in total
Back to top
View user's profile Send private message 
nilsonmorales


Joined: 15 Apr 2011
Posts: 467
Location: El salvador

PostPosted: Sat 09 Nov 2013, 10:23    Post subject: Nice choice  

thank you Bert.
_________________
My blog


Back to top
View user's profile Send private message MSN Messenger 
Bert


Joined: 30 Jun 2006
Posts: 915

PostPosted: Sat 09 Nov 2013, 11:38    Post subject:  

nilsonmorales wrote:
thank you Bert.


You're welcome Wink

I forgot to mention that it works perfectly here, using Puppy Precise 5.7.1.

Maybe some adjustments will be needed for other Puppys?

E.g. the GCC version: is that the same in the devx of all Puppys?

Anyhow, if needed this pet can be improved. I'm quite happy with this first step. Anyone can do some translating now, without the need to download the ever-growing Devx. Cool

_________________


Back to top
View user's profile Send private message 
Bert


Joined: 30 Jun 2006
Posts: 915

PostPosted: Sat 09 Nov 2013, 17:06    Post subject:  

For people who prefer a sfs instead of a pet: version 0.1 removed
_________________



Last edited by Bert on Sun 10 Nov 2013, 09:26; edited 2 times in total
Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 3221
Location: Ontario

PostPosted: Sat 09 Nov 2013, 17:12    Post subject:  

You could combine it with my build_gettext pet package.
http://www.murga-linux.com/puppy/viewtopic.php?t=84133
_____________________________________________
Back to top
View user's profile Send private message 
Bert


Joined: 30 Jun 2006
Posts: 915

PostPosted: Sat 09 Nov 2013, 17:17    Post subject:  

don570 wrote:
You could combine it with my build_gettext pet package.
http://www.murga-linux.com/puppy/viewtopic.php?t=84133
_____________________________________________


Thanks Don,

Yes, I was thinking about your build_gettext.pet too. It runs okay without devx being loaded now. But didn't it already? I'm a little confused Embarassed

_________________


Back to top
View user's profile Send private message 
L18L

Joined: 19 Jun 2010
Posts: 2505
Location: Burghaslach, Germany somewhere also known as "Hosla"

PostPosted: Sun 10 Nov 2013, 06:05    Post subject: Using MoManager without having Devx loaded
Subject description: tested in Puppy Precise 5.7.1 without devx
 

Bert wrote:
...I forgot to mention that it works perfectly here, using Puppy Precise 5.7.1.
But not here (also using Puppy Precise 5.7.1) Wink
Bert wrote:
E.g. the GCC version: is that the same in the devx of all Puppys?
Why should gcc be needed at all?

... and what about msgmerge?
Code:
grep msgmerge /usr/sbin/momanager

to see where it is used
Back to top
View user's profile Send private message 
Bert


Joined: 30 Jun 2006
Posts: 915

PostPosted: Sun 10 Nov 2013, 07:04    Post subject: Re: Using MoManager without having Devx loaded
Subject description: tested in Puppy Precise 5.7.1 without devx
 

L18L wrote:
Bert wrote:
...I forgot to mention that it works perfectly here, using Puppy Precise 5.7.1.
But not here (also using Puppy Precise 5.7.1) Wink
Bert wrote:
E.g. the GCC version: is that the same in the devx of all Puppys?
Why should gcc be needed at all?

... and what about msgmerge?
Code:
grep msgmerge /usr/sbin/momanager

to see where it is used


Good morning L18L,

Thank you very much for testing!

I'm surprised it doesn't work in your Precise....when I say it works perfectly here, it means:

* MM starts up without asking for the devx to be loaded
* MM presents the files correctly
* I am able to make a translation+save it+mo created, all as it should be.

What happened in your test?

I made the pet with trial and error, just looking at the code trying to understand what it does. So when I saw "which gcc" (line 143 in your latest MM), I understood that as a condition needed by MM to start up.

msgmerge: oops, forgot one Embarassed

Back to the drawing board Smile

EDIT: just saw that I did put msgmerge in 'my' /usr/bin, but not in the pet....

_________________


Back to top
View user's profile Send private message 
L18L

Joined: 19 Jun 2010
Posts: 2505
Location: Burghaslach, Germany somewhere also known as "Hosla"

PostPosted: Sun 10 Nov 2013, 09:01    Post subject: Re: Using MoManager without having Devx loaded
Subject description: tested in Puppy Precise 5.7.1 without devx
 

Good afternoon,

yes, it was msmerge....

...and
Code:
if [ "`which gcc`" = "" ];then
 pupdialog --title "MoManager: abort" --background pink --colors --msgbox "Sorry, you must have the \Zbdevx\ZB SFS loaded. Aborting." 0 0
 exit 1
fi

This has to be deleted (my fault Embarassed )
It was just a test on loaded devx.
no other gcc is found in momanager.

I will re-upload momanager-2013110.pet soon

edit
...done!
Back to top
View user's profile Send private message 
Bert


Joined: 30 Jun 2006
Posts: 915

PostPosted: Sun 10 Nov 2013, 09:27    Post subject: New version (0.2) available  

New version available: see first post.

Thanks for your patience guys Wink

_________________



Last edited by Bert on Sun 10 Nov 2013, 11:35; edited 1 time in total
Back to top
View user's profile Send private message 
Bert


Joined: 30 Jun 2006
Posts: 915

PostPosted: Sun 10 Nov 2013, 09:34    Post subject:  

L18L, saw your post only after posting the new version 0.2.

Does this mean I can remove gcc from MM-standalone?

If so, whoopie, let's bake a third version Laughing

_________________


Back to top
View user's profile Send private message 
L18L

Joined: 19 Jun 2010
Posts: 2505
Location: Burghaslach, Germany somewhere also known as "Hosla"

PostPosted: Sun 10 Nov 2013, 11:36    Post subject:  

Bert wrote:
L18L, saw your post only after posting the new version 0.2.

Does this mean I can remove gcc from MM-standalone?

If so, whoopie, let's bake a third version Laughing


It is safer to let it inside for now

because every version of momanager before 2013110 is checking existance of gcc
Back to top
View user's profile Send private message 
Bert


Joined: 30 Jun 2006
Posts: 915

PostPosted: Sun 10 Nov 2013, 13:06    Post subject:  

In case you're curious, this is what MM-standalone-0.2 puts into /usr/bin.

Testers more than welcome Cool
image-3.png
 Description   
 Filesize   32.48 KB
 Viewed   380 Time(s)

image-3.png


_________________


Back to top
View user's profile Send private message 
Bert


Joined: 30 Jun 2006
Posts: 915

PostPosted: Sun 10 Nov 2013, 17:43    Post subject:  

don570 wrote:
You could combine it with my build_gettext pet package.
http://www.murga-linux.com/puppy/viewtopic.php?t=84133
_____________________________________________


Don, if you're still following this thread: I just tested your build_gettext app without devx loaded and without MM-standalone installed.
It simply does not run Wink As soon as I installed MM-standalone, your pet worked flawlessly again.

I thought I remembered your build_gettext could be used without devx being loaded. Not true....

So...it's great to see that my little pet/sfs enables your very handy build_gettext too!

_________________


Back to top
View user's profile Send private message 
vicmz


Joined: 15 Jan 2012
Posts: 1087

PostPosted: Sun 10 Nov 2013, 21:55    Post subject:  

I'm getting incomplete downloads from your link. I'm sorry to say it's not my ISP -- I can browse and download from other sites as usual. I think it's incredible for such a tiny package. Shocked

EDIT
I used wget and got a full download.
Screenshot_2013-11-10_23_02_04.png
 Description   The file is meant to be 318 K, but as you can see in the download manager...
 Filesize   57.29 KB
 Viewed   342 Time(s)

Screenshot_2013-11-10_23_02_04.png


_________________
OB Precise 14.07.26 Woof-CE|Puppy Linux en español
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 2 [26 Posts]   Goto page: 1, 2 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Puppy Projects » Localization Project
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
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0934s ][ Queries: 12 (0.0047s) ][ GZIP on ]