"i18n-tools": Using MoManager without having Devx loaded
"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 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
- Attachments
-
- i18n-tools-0.3.sfs.gz
- remove the fake .gz
- (192 KiB) Downloaded 570 times
-
- i18n-tools-0.3.pet
- (193.67 KiB) Downloaded 647 times
Last edited by Bert on Mon 11 Nov 2013, 20:46, edited 7 times in total.
[url=http://pupsearch.weebly.com/][img]http://pupsearch.weebly.com/uploads/7/4/6/4/7464374/125791.gif[/img][/url]
[url=https://startpage.com/do/search?q=host%3Awww.murga-linux.com%2F][img]http://i.imgur.com/XJ9Tqc7.png[/img][/url]
[url=https://startpage.com/do/search?q=host%3Awww.murga-linux.com%2F][img]http://i.imgur.com/XJ9Tqc7.png[/img][/url]
- nilsonmorales
- Posts: 972
- Joined: Fri 15 Apr 2011, 14:39
- Location: El Salvador
Nice choice
thank you Bert.
[b][url=http://nilsonmorales.blogspot.com/]My blog |[/url][/b][b][url=https://github.com/woofshahenzup]| Github[/url][/b]
[img]https://i.postimg.cc/5tz5vrrX/imag018la6.gif[/img]
[img]http://s5.postimg.org/7h2fid8pz/botones_logos3.png[/img]
[img]https://i.postimg.cc/5tz5vrrX/imag018la6.gif[/img]
[img]http://s5.postimg.org/7h2fid8pz/botones_logos3.png[/img]
You're welcomenilsonmorales wrote:thank you Bert.
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.
[url=http://pupsearch.weebly.com/][img]http://pupsearch.weebly.com/uploads/7/4/6/4/7464374/125791.gif[/img][/url]
[url=https://startpage.com/do/search?q=host%3Awww.murga-linux.com%2F][img]http://i.imgur.com/XJ9Tqc7.png[/img][/url]
[url=https://startpage.com/do/search?q=host%3Awww.murga-linux.com%2F][img]http://i.imgur.com/XJ9Tqc7.png[/img][/url]
For people who prefer a sfs instead of a pet: version 0.1 removed
Last edited by Bert on Sun 10 Nov 2013, 13:26, edited 2 times in total.
[url=http://pupsearch.weebly.com/][img]http://pupsearch.weebly.com/uploads/7/4/6/4/7464374/125791.gif[/img][/url]
[url=https://startpage.com/do/search?q=host%3Awww.murga-linux.com%2F][img]http://i.imgur.com/XJ9Tqc7.png[/img][/url]
[url=https://startpage.com/do/search?q=host%3Awww.murga-linux.com%2F][img]http://i.imgur.com/XJ9Tqc7.png[/img][/url]
You could combine it with my build_gettext pet package.
http://www.murga-linux.com/puppy/viewtopic.php?t=84133
_____________________________________________
http://www.murga-linux.com/puppy/viewtopic.php?t=84133
_____________________________________________
Thanks Don,don570 wrote:You could combine it with my build_gettext pet package.
http://www.murga-linux.com/puppy/viewtopic.php?t=84133
_____________________________________________
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
[url=http://pupsearch.weebly.com/][img]http://pupsearch.weebly.com/uploads/7/4/6/4/7464374/125791.gif[/img][/url]
[url=https://startpage.com/do/search?q=host%3Awww.murga-linux.com%2F][img]http://i.imgur.com/XJ9Tqc7.png[/img][/url]
[url=https://startpage.com/do/search?q=host%3Awww.murga-linux.com%2F][img]http://i.imgur.com/XJ9Tqc7.png[/img][/url]
- L18L
- Posts: 3479
- Joined: Sat 19 Jun 2010, 18:56
- Location: www.eussenheim.de/
Using MoManager without having Devx loaded
But not here (also using Puppy Precise 5.7.1)Bert wrote:...I forgot to mention that it works perfectly here, using Puppy Precise 5.7.1.
Why should gcc be needed at all?Bert wrote:E.g. the GCC version: is that the same in the devx of all Puppys?
... and what about msgmerge?
Code: Select all
grep msgmerge /usr/sbin/momanager
Re: Using MoManager without having Devx loaded
Good morning L18L,L18L wrote:But not here (also using Puppy Precise 5.7.1)Bert wrote:...I forgot to mention that it works perfectly here, using Puppy Precise 5.7.1.Why should gcc be needed at all?Bert wrote:E.g. the GCC version: is that the same in the devx of all Puppys?
... and what about msgmerge?to see where it is usedCode: Select all
grep msgmerge /usr/sbin/momanager
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
Back to the drawing board
EDIT: just saw that I did put msgmerge in 'my' /usr/bin, but not in the pet....
[url=http://pupsearch.weebly.com/][img]http://pupsearch.weebly.com/uploads/7/4/6/4/7464374/125791.gif[/img][/url]
[url=https://startpage.com/do/search?q=host%3Awww.murga-linux.com%2F][img]http://i.imgur.com/XJ9Tqc7.png[/img][/url]
[url=https://startpage.com/do/search?q=host%3Awww.murga-linux.com%2F][img]http://i.imgur.com/XJ9Tqc7.png[/img][/url]
- L18L
- Posts: 3479
- Joined: Sat 19 Jun 2010, 18:56
- Location: www.eussenheim.de/
Re: Using MoManager without having Devx loaded
Good afternoon,
yes, it was msmerge....
...and
This has to be deleted (my fault )
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!
yes, it was msmerge....
...and
Code: Select all
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
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!
New version (0.2) available
Last edited by Bert on Sun 10 Nov 2013, 15:35, edited 1 time in total.
[url=http://pupsearch.weebly.com/][img]http://pupsearch.weebly.com/uploads/7/4/6/4/7464374/125791.gif[/img][/url]
[url=https://startpage.com/do/search?q=host%3Awww.murga-linux.com%2F][img]http://i.imgur.com/XJ9Tqc7.png[/img][/url]
[url=https://startpage.com/do/search?q=host%3Awww.murga-linux.com%2F][img]http://i.imgur.com/XJ9Tqc7.png[/img][/url]
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
Does this mean I can remove gcc from MM-standalone?
If so, whoopie, let's bake a third version
[url=http://pupsearch.weebly.com/][img]http://pupsearch.weebly.com/uploads/7/4/6/4/7464374/125791.gif[/img][/url]
[url=https://startpage.com/do/search?q=host%3Awww.murga-linux.com%2F][img]http://i.imgur.com/XJ9Tqc7.png[/img][/url]
[url=https://startpage.com/do/search?q=host%3Awww.murga-linux.com%2F][img]http://i.imgur.com/XJ9Tqc7.png[/img][/url]
- L18L
- Posts: 3479
- Joined: Sat 19 Jun 2010, 18:56
- Location: www.eussenheim.de/
In case you're curious, this is what MM-standalone-0.2 puts into /usr/bin.
Testers more than welcome
Testers more than welcome
- Attachments
-
- image-3.png
- (32.48 KiB) Downloaded 849 times
[url=http://pupsearch.weebly.com/][img]http://pupsearch.weebly.com/uploads/7/4/6/4/7464374/125791.gif[/img][/url]
[url=https://startpage.com/do/search?q=host%3Awww.murga-linux.com%2F][img]http://i.imgur.com/XJ9Tqc7.png[/img][/url]
[url=https://startpage.com/do/search?q=host%3Awww.murga-linux.com%2F][img]http://i.imgur.com/XJ9Tqc7.png[/img][/url]
Don, if you're still following this thread: I just tested your build_gettext app without devx loaded and without MM-standalone installed.don570 wrote:You could combine it with my build_gettext pet package.
http://www.murga-linux.com/puppy/viewtopic.php?t=84133
_____________________________________________
It simply does not run 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!
[url=http://pupsearch.weebly.com/][img]http://pupsearch.weebly.com/uploads/7/4/6/4/7464374/125791.gif[/img][/url]
[url=https://startpage.com/do/search?q=host%3Awww.murga-linux.com%2F][img]http://i.imgur.com/XJ9Tqc7.png[/img][/url]
[url=https://startpage.com/do/search?q=host%3Awww.murga-linux.com%2F][img]http://i.imgur.com/XJ9Tqc7.png[/img][/url]
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.
EDIT
I used wget and got a full download.
EDIT
I used wget and got a full download.
- Attachments
-
- Screenshot_2013-11-10_23_02_04.png
- The file is meant to be 318 K, but as you can see in the download manager...
- (57.29 KiB) Downloaded 960 times
[url=http://murga-linux.com/puppy/viewtopic.php?t=76948]Puppy Linux en español[/url]
Thanks for reporting this vicmz.
When I tested this service (e-nautia), I always had good results, both uploading and downloading.
I will change to another file host immediately , if this happens to more people. For now, let's hope it was a momentary hiccup...
When I tested this service (e-nautia), I always had good results, both uploading and downloading.
I will change to another file host immediately , if this happens to more people. For now, let's hope it was a momentary hiccup...
[url=http://pupsearch.weebly.com/][img]http://pupsearch.weebly.com/uploads/7/4/6/4/7464374/125791.gif[/img][/url]
[url=https://startpage.com/do/search?q=host%3Awww.murga-linux.com%2F][img]http://i.imgur.com/XJ9Tqc7.png[/img][/url]
[url=https://startpage.com/do/search?q=host%3Awww.murga-linux.com%2F][img]http://i.imgur.com/XJ9Tqc7.png[/img][/url]
[I copied the above to this thread, as it had arrived in a wrong one.]nilsonmorales wrote:]test in puppy-es night rc
I had to add these libraries from the devx
libgettextlib-0.18.so
libgettextsrc-0.18.1.so
outdated devx maybe
everything looks good so far
Thank you for testing!
Do you know what Puppy-version puppy-es night rc is based on?
[url=http://pupsearch.weebly.com/][img]http://pupsearch.weebly.com/uploads/7/4/6/4/7464374/125791.gif[/img][/url]
[url=https://startpage.com/do/search?q=host%3Awww.murga-linux.com%2F][img]http://i.imgur.com/XJ9Tqc7.png[/img][/url]
[url=https://startpage.com/do/search?q=host%3Awww.murga-linux.com%2F][img]http://i.imgur.com/XJ9Tqc7.png[/img][/url]
Hi all,
I had to stop wagging my tail to announce an unexpected problem:
When I use i18n-tools for editing existing translations in Momanager (scripts in left column), I get the "bad news" error.
I tested i18n-tools only by making new translations and that went flawlessly. Should of course have tested editing existing translations too.
As soon as I load devx, everything is back to normal again.
So it seems something is still missing from i18n-tools.
I've searched and searched, but it is beyond my understanding.
It could also be some corruption in my copy of Puppy (Precise), as it has probably seen too many risky experiments
What would be really great is if someone(..s) would give editing existing translated scripts a quick try with i18n-tools loaded and, of course, devx unloaded.
Thank you!
I had to stop wagging my tail to announce an unexpected problem:
When I use i18n-tools for editing existing translations in Momanager (scripts in left column), I get the "bad news" error.
I tested i18n-tools only by making new translations and that went flawlessly. Should of course have tested editing existing translations too.
As soon as I load devx, everything is back to normal again.
So it seems something is still missing from i18n-tools.
I've searched and searched, but it is beyond my understanding.
It could also be some corruption in my copy of Puppy (Precise), as it has probably seen too many risky experiments
What would be really great is if someone(..s) would give editing existing translated scripts a quick try with i18n-tools loaded and, of course, devx unloaded.
Thank you!
[url=http://pupsearch.weebly.com/][img]http://pupsearch.weebly.com/uploads/7/4/6/4/7464374/125791.gif[/img][/url]
[url=https://startpage.com/do/search?q=host%3Awww.murga-linux.com%2F][img]http://i.imgur.com/XJ9Tqc7.png[/img][/url]
[url=https://startpage.com/do/search?q=host%3Awww.murga-linux.com%2F][img]http://i.imgur.com/XJ9Tqc7.png[/img][/url]
- L18L
- Posts: 3479
- Joined: Sat 19 Jun 2010, 18:56
- Location: www.eussenheim.de/
"i18n-tools": Using MoManager without having Devx loaded
Quick try in latest FFMM:Bert wrote:What would be really great is if someone(..s) would give editing existing translated scripts a quick try with i18n-tools loaded and, of course, devx unloaded.
Code: Select all
#131220 without complete devx
Code: Select all
MISSINGFILE=""
#[ "`which intltool-update`" = "" ] && MISSINGFILE="intltool-update " #131220
[ "`which xgettext`" = "" ] && MISSINGFILE="${MISSINGFILE}xgettext "
[ "`which msginit`" = "" ] && MISSINGFILE="${MISSINGFILE}msginit "
[ "`which msgfmt`" = "" ] && MISSINGFILE="${MISSINGFILE}msgfmt "
[ "`which msgunfmt`" = "" ] && MISSINGFILE="${MISSINGFILE}msgunfmt "
[ "`which msgmerge`" = "" ] && MISSINGFILE="${MISSINGFILE}msgmerge "
[ "`which urxvt`" = "" ] && MISSINGFILE="${MISSINGFILE}urxvt " #130610
/usr/bin/xgettext msginit msmerge msgfmt msgunfmt
and (the missing)
/usr/lib/libgettextsrc.so -> libgettextsrc-0.18.1.so (file and link)
and libgettextlib.so -> libgettextlib-0.18.1.so (file and link)
They need to be exactly the same as in devx (ARM and FAt64 also exist)
You could try to make a script that fetches these files from devx
for later use without devx
Note, intltool* is used no more.
- Attachments
-
- edit_mo_without_devx.png
- (64.77 KiB) Downloaded 491 times