Trouble installing SCIM m17n in Puppy 3.01

A home for all kinds of Puppy related projects
Post Reply
Message
Author
Swarup
Posts: 219
Joined: Wed 21 May 2008, 01:28

Re: 41 languages with scim-bridge!

#81 Post by Swarup »

Irihapeti wrote:I've been experimenting further with the scim-bridge approach. I've been able to get the m17n tables working with scim-bridge...
That is fantastic news! I can't believe it. Just wonderful.

That means, using the scim-bridge installation, we m17n users will have access to use OO writer, right? Which is incredibly good news, as OO Writer at least in Ubuntu, renders all my fonts correctly.

One question: Is this only for the 2.x version of Puppy, or does it apply to 3.01 as well? Whatever version of Puppy it is for, I am ready to go with that. If it can be used in 3.01, that's great. If not, I'll just install 2.x version-- no problem.
Irihapeti wrote:I still have some experimenting/testing to do before I can write up the steps needed. That's unlikely to be this week, because I have a work task that will need a lot of my time. But watch this space...
I know you must be busy...but if you could even just put down the steps here asap in simple way, without further experimentation. (Please, please.) I personally am under strong pressure to get this working in Puppy, or else I will have to purchase a new computer. Because Ubuntu is just too slow to serve our needs on my old lappy. So Puppy is my only hope to keep this computer alive. Time is of the essence! I'll understand if you can't-- but even a few quick notes here could be enough to save a life. :)

Irihapeti

#82 Post by Irihapeti »

OK, Swarup, seeing as you insist, I shall relent a little and let you have my draft notes. All this has been done in Puppy 2.17. It may well work in 3.01, but I have no way of verifying it myself. Be warned, there is quite a bit of compiling involved here, but if a newcomer to Linux like me can do it, it can't be too hard.

Please note, I was testing things in Abiword 2.4, merely to see if characters appeared. I have absolutely zero knowledge of Indic languages and therefore I can't tell you if the correct characters appeared in response to particular keystrokes. That part of it I leave to you to determine.

Edit: attachment deleted. New version in a later post.
Last edited by Irihapeti on Fri 30 May 2008, 16:55, edited 1 time in total.

Swarup
Posts: 219
Joined: Wed 21 May 2008, 01:28

#83 Post by Swarup »

Hey, thanks, Irihapeti. That's great.
I've downloaded and read through your notes. Now, there are some lines in the instructions which I wasn't exactly sure of in terms of what I would have to do. Mainly the lines where it says, "compile such-and-such file". For example, "Compile scim-tables. This needs no special configuration to compile." When you say "compile scim-tables", are there certain command lines I would need to put into a terminal window in order to get this done? I have done a little compiling in the past, but only with line-by-line command line instructions. I guess I really wouldn't know what to type on my own.

Also, you wrote that, "It appears that scim-m17n and its libs/database can be run with scim-bridge, but not with scim-tables as well." But I was a little confused about this, because in the installation notes you've given, it sounds like both scim-tables and m17n are being installed.

I think what I will probably do is download 2.17 and install it on a separate partition to test the install. This afterall is the environment in which you developed the technique and it therefore has the greatest chance of working there. If that works, then I'll try it in 3.01. I suppose another option would be to try it in 3.01, by booting up with the pfix=ram boot option and making a new pup_save file to test it.

Irihapeti

#84 Post by Irihapeti »

Swarup:

When I say "compile <package> with no special configuration", I mean that you cd to the source code directory and type:

Code: Select all

./configure
make
make install
Some files need special ./configure lines, as I've mentioned.

As a matter of fact, I've found that one can run scim-tables and m17n at the same time. But, as I said, this is all rather experimental and I'm finding things out as I go along. If you have a separate partition for experimental stuff, you can test things for yourself. Maybe you'll soon be telling the rest of us how to do things. :)

Swarup
Posts: 219
Joined: Wed 21 May 2008, 01:28

#85 Post by Swarup »

Irihapeti:

Thank you for the education and reminder about how to compile. As I say, I have done it once or twice before, but always as a cookbook recipe follow-the-dotted-line sort of thing. And so didn't realize there was a standard set of commands like that which together are know as "compiling". Very good to remember though, for the future.

--I'll try doing the install tomorrow, and see how it goes.

Rameshji: I was able to do the download of Firefox tonite; but could not do the install because I didn't have enough room in the partition. In the morning I'll run gparted, created some more space, then install Firefox and see how that renders the fonts.

I've also tested Abiword 2.6.3 in Ubuntu 8.04 tonite, and found that it has the very same font rendering errors as 2.6.2 in Puppy has. So this is clearly an issue with Abiword. This way of thinking has a positive side though, because in the very same way, if OOo Writer was working in Ubuntu for rendering, then by extension it should also work in Puppy if I can get Irihapeti's bridge installation to work. The only issue that would then remain is to see whether OOo Writer runs significantly faster for me in Puppy than in Ubuntu. OOo is itself pretty resource-demanding; I'm just hoping that Puppy is so much more efficient than Ubuntu, that OOo can run well in Puppy on my box. Optomistic thinking. :)

wangji
Posts: 9
Joined: Fri 23 May 2008, 11:33

m17n and scim table

#86 Post by wangji »

I am not hindi user at all -vietnamese instead !

just to add

scim connects to scim-table thru scim-module-table (table.so )

scim connects to m17n thru scim-m17n (m17n.so )

so they are not interdependent and one can put them either in scim or scim-bridge ! to activate both -using one at a time of course !

in vietnamese abiword runs ok with scim but has lots of problems with the 2 other typing pkg : unikey as well as xvnkb

to compile table ,use make-scim-table

User avatar
Aitch
Posts: 6518
Joined: Wed 04 Apr 2007, 15:57
Location: Chatham, Kent, UK

#87 Post by Aitch »

Hi all

I keep getting this thread pop up & am very interested in how it's going

Puppy's globalisation is very important, I believe

This maybe of interest, especially to Swarupji, who seems to 'have the bit between his teeth' if I may put it that way, without being offensive :wink:
--- ---- ---- ----

From Barry's developer news archive; NOTE 2005!!

http://puppylinux.com/news/news2005a.htm

29July05
When you compile, with this general method:

# ./configure
# make
# make install &> loginstall.txt

Be sure to append that "&> loginstall.txt" so that you know where files get installed, as it must be remembered that Puppy running from live-CD only has persistence of storage for files written to /root, /etc and /usr -- if necessary, "configure" options can be used to control destination paths.

The PC that you test this on must have a Linux swap partition, or failing that heaps of RAM, as the C/C++ compiler needs a lot of space for transient storage.
As I "threw together" the contents of usr_devx.sfs, there are files in it that are not needed -- in some cases I didn't know what a file in Vector/Mandrake was for, or was uncertain, so copied it to usr_dvex.sfs just in case -- you can help here if you have experience in what packages are needed for compiling, by identifying files that are not needed. I think that there are some header files and support files for some application and library packages that don't need to be there.
At bootup, if Puppy finds /mnt/home/usr_devx.sfs exists (same place as the pupxxx file), it gets mounted on /.usr (invisible directory) and by unionfs gets mounted on /usr. So, you can see exactly what is in usr_devx.sfs by looking in /.usr (read only). You could also copy it elsewhere to experiment with modifying it and then create another usr_devx.sfs file. Say that you have copied /.usr to /mnt/home/tmp/.usr, and edited it, then you can turn that into a squashfs file like this:

# cd /mnt/home/tmp
# cp -a /.usr ./.usr
...modify .usr...
# mksquashfs .usr usr_devx.sfs
# mv -f usr_devx.sfs ../
28July05
Some very exciting news. So far, applications for Puppy have been compiled on another host distro, most recently Vector Linux 5.0STD, before that Mandrake 9.2.
Some of the regular Forum contributors, especially Peter Siag, Jesse Liley and Bladehunter, have investigated various means of compiling from within Puppy.
There has been a great deal of interest in this.

A couple of days ago I discovered that I can mount more than one squashfs file onto /usr ...well, that is interesting! Bladehunter had created a development squashfs file that he mounted on /opt/tools, but now I realised that we could put all the development files directly onto /usr, which is where they normally are expected to be.
Just to try it out, I grabbed any files out of Vector Linux that looked like they might be required for compiling a package, also grabbed some files out of Mandrake -- mix-and-match, although there is risk in this. I ended up with a 38M file named "usr_devx.sfs", and I modified Puppy so that if usr_devx.sfs is in the same location as the pup001 file (in /mnt/home) then it will get mounted automatically on /usr.
Note, this is designed to work also on Option-2 (full) hard drive installed Puppy, in which case place usr_devx.sfs at the top level, "/", in the Puppy partition.
As far as I can tell this is still relevant, so you may find it useful

Note also, OpenOffice full with language support, was used in ChubbyPuppy wayback, but I don't know if it's updated, it's probably a pet now

Aitch :)

RR Koothady
Posts: 249
Joined: Sat 22 Jul 2006, 20:19
Location: Coimbatore, India

#88 Post by RR Koothady »

Hey Irihapeti, wangji,Aitch,Swarup !

This is becoming more and more interesting. Wonderful!

Ramesh

User avatar
Aitch
Posts: 6518
Joined: Wed 04 Apr 2007, 15:57
Location: Chatham, Kent, UK

#89 Post by Aitch »

Hey Irihapeti, wangji,Aitch,Swarup !

This is becoming more and more interesting. Wonderful!
Ah, yes, Rameshji,

However I have to reveal an ulterior motive

I believe it is important for potential use in global disaster situations, as an ingredient in a Rescue CD version of Puppy' for implementation to disaster-hit areas, like International Rescue, yes?

There is a thread here

http://www.murga-linux.com/puppy/viewtopic.php?t=4185

I am also promoting this elsewhere as I am a bit of an environmental & human rights activist & see this as important work to help restore the global balance

If you see my other posts you will see I not only post these sorts of threads, but also humour

Image

Aitch
Edited name

Swarup
Posts: 219
Joined: Wed 21 May 2008, 01:28

#90 Post by Swarup »

Thanks for the info on compiling, Aitch. It will definitely come in handy. :)

User avatar
Aitch
Posts: 6518
Joined: Wed 04 Apr 2007, 15:57
Location: Chatham, Kent, UK

#91 Post by Aitch »

Swarupji

A word of warning, though, (re 2005 post)

Barry has changed to T2 on later puppy versions in 2006/7 [2.16>?] so this may have been amended

Aitch

Swarup
Posts: 219
Joined: Wed 21 May 2008, 01:28

#92 Post by Swarup »

Rameshji had mentioned that the font rendering was proper in Firefox 3 Beta5. Well, I've downloaded and installed Firefox, but I can't find its text editor! With Seamonkey, under Menu -> Documents there is an option for "Seamonkey composer html editor". But with Firefox, under Menu -> Documents there is no such option. And in the Firefox web browser, I don't find any such option under any of the toolbar dropdown menus, for opening a text editor. So where is the option to open such a Firefox text window where I can test the Hindi font rendering?

User avatar
Aitch
Posts: 6518
Joined: Wed 04 Apr 2007, 15:57
Location: Chatham, Kent, UK

#93 Post by Aitch »

So where is the option to open such a Firefox text window
Taskbar/view/Page Source

Control U also, I think

Aitch

Swarup
Posts: 219
Joined: Wed 21 May 2008, 01:28

#94 Post by Swarup »

Aitch wrote:
So where is the option to open such a Firefox text window
Taskbar/view/Page Source

Control U also, I think
Thanks--I just went to that window, but it seems to be a text replication of the browser window, rather than a users window. That is, as far as I can tell, one can't type in it. How does one open a window one can actually type in?

User avatar
Aitch
Posts: 6518
Joined: Wed 04 Apr 2007, 15:57
Location: Chatham, Kent, UK

#95 Post by Aitch »

Swarupji

I can't remember as I'm on my windoze box now

but if you edit/select all/copy, then paste into an editor

I believe puppy has an html editor installed or as a pet, Komposer;

if it's not an option in OO

Maybe

http://www.wellminded.com/puppy/pupsearch.html

You'll have to search, sorry

BTW this page is useful if you're doing HTML/web page stuff

http://www.w3.org/TR/html4/loose.dtd

This may be useful, also

http://www.linguistlist.org/sp/Fonts.html

If ever you work in windoze there's always Barry's original Eve;

http://www.goosee.com/

Aitch :)

RR Koothady
Posts: 249
Joined: Sat 22 Jul 2006, 20:19
Location: Coimbatore, India

FF

#96 Post by RR Koothady »

Dear Swarupji

Firefox does not include a html editor like sae monkey. What I had meant was: you will be able to type in Indic Languages in applications like Yahoo Mail or GMail or Google Docs etc.

I was searching for an Indic friendly word processor this evening - but yet to find one. In the mean time, you can use Geany text editor, then copy and paste the contents in Abi 2.6.2 and format later.

In Geany - go to - View - Change Font - and in the panel that appears after you click this tab - choose a larger font size. Geany remembers this choice next time when you open it.

Your problem was increasing the font size. You will be able to do them in Geany. Please see the screen shot. So for the next few days - till we find an Indic compatible WP - please pull on with this roundabout method.

Hope that settles your problem for the time being.

Ramesh
Attachments
Geany.jpg
(54.48 KiB) Downloaded 500 times

Swarup
Posts: 219
Joined: Wed 21 May 2008, 01:28

#97 Post by Swarup »

Dear Rameshji,
You've got it! I've just started testing Geany now as per your direction, and it works. I missed the "font" option in the "view" drop-down menu when I checked it yesterday. This is incredible news. The font size can be increased as much as I need, and the font rendering is perfect. Everything is perfect. And it is far, far better than running OOo Writer in Ubuntu as I've been doing in the past.

If we do find an Indic compatible WP for Puppy, then that'll be great. But believe me, until that time I won't be suffering now that you've got me set up with Geany. Many thanks. :)
Last edited by Swarup on Tue 27 May 2008, 20:33, edited 1 time in total.

Swarup
Posts: 219
Joined: Wed 21 May 2008, 01:28

#98 Post by Swarup »

post got sent twice by mistake.
Last edited by Swarup on Tue 27 May 2008, 20:34, edited 2 times in total.

Swarup
Posts: 219
Joined: Wed 21 May 2008, 01:28

#99 Post by Swarup »

In the mean time, I had downloaded and set up a frugal install of Puppy 2.17 on another partition, just for the purpose of trying Irihapeti's method for compiling scim-bridge with m17n. That is all ready to go, and in the spirit of this thread I will do the install to see how it all goes and report back here.

Now that the Geany arrangement is working so well in 3.01, I probably won't need to use the OOo in Puppy 2.17-- but let's see how it works!
Last edited by Swarup on Tue 27 May 2008, 20:31, edited 1 time in total.

User avatar
Aitch
Posts: 6518
Joined: Wed 04 Apr 2007, 15:57
Location: Chatham, Kent, UK

#100 Post by Aitch »

hello all

I don't know if you know of this:-

Indic supportWIKI
and
http://translate.gelatocms.com/help.php

and have you considered this;

http://www.linux.com/feature/133837

Aitch

Post Reply