Trouble installing SCIM m17n in Puppy 3.01

A home for all kinds of Puppy related projects
Message
Author
Irihapeti

#581 Post by Irihapeti »

Another addition to the range of input methods for SCIM:

scim-chewing-0.3.3-i486.pet and its associated library, libchewing-0.3.2-i486.pet

These are for Traditional Chinese input.

They are available from puppylinux.asia and should be available from puppylinux.ca in a day or so (Caneri has to move them to the public download area).

kjoe
Posts: 27
Joined: Wed 25 Jul 2007, 19:17
Location: Austria

Skype using SCIM? (in puppy 4.30)

#582 Post by kjoe »

Hello all,
using the SCIM packages in Puppy 4.30 according to the instructions by Irihapeti works perfectly well for most applications (Geany, OpenOffice, Mozilla,...)
I just could not get Skype to use SCIM. Ctrl + Enter does not switch the input method. I've installed:

anthy-9100h-i486
canna-3.7p3-i486
gconv4dingo
gtk+-2.12.1-xinput
libGLU-1.3
libqt4_4.4.3-1
m17n-db-1.5.5-i486
m17n-lib-1.5.5-i486
qt4-4.3.2
qt4-4.3.4-p2
scim-1.4.9-i486
scim-anthy-1.2.6-i486
scim-bridge-0.4.16-i486
scim-bridge-qt4-p4
scim-canna-1.0.1-i486
scim-m17n-0.2.3-i486
scim-pinyin-0.5.91-i486
scim-tables-0.5.9-i486
wxGTK-2.8.8-i486

Am I missing anything?
Has anyone got Skype to work with SCIM?

Any suggestions are welcome - thanks in advance.

kjoe

Irihapeti

#583 Post by Irihapeti »

There is a set of programs that fall outside of the scope of the Scim GTK and QT modules.

Java programs belong to this group, and I read just the other day that Skype does as well.

I've had no luck in getting Java programs to work with Scim in Puppy, although they do in other Linux distros.

Maybe I need to look at Puppy 4.3 to see if it's now possible.

And, of course, if anyone else knows how to get these non-GTK, non-QT programs working with scim, please let us know.

Edit: Sorry, the problem with Java is still there in Puppy 4.30

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

#584 Post by Aitch »

Hi Irihapeti
And, of course, if anyone else knows how to get these non-GTK, non-QT programs working with scim, please let us know.


Sounds like a job for ttuuxxx, maybe - he enjoys tracking inconsistencies/problems with dependencies/libs down

btw, nice avatar; what is it saying, in what language?

Aitch :)

kjoe
Posts: 27
Joined: Wed 25 Jul 2007, 19:17
Location: Austria

#585 Post by kjoe »

Hi Irihapeti,
thank you for your quick response. I always thought, that Skype was a QT-based program, because the actual Linux version requires Qt 4.2.1+.

So I tried to find a solution and at least found it. There was a missing package "scim-bridge-client-qt4". I downloaded it from debian server:

http://ftp.ie.debian.org/debian/pool/ma ... 1_i386.deb

I am really excited. Although its working in Skype now, it still does not in Java (tested using jedit).

kjoe

Irihapeti

#586 Post by Irihapeti »

@kjoe

That's interesting, that the Debian version of scim-bridge-client-qt4 works. As a rule, the QT drivers all have to come from the same source - although it may only be QT3 that is so fussy. But I have an idea also that Skype has its own versions of QT built in - again, only something I've read.

The main thing is, though, it's working for you.

@aitch

I have a vague suspicion that the java problem is related to the underlying "C locale" not supporting extended characters - that impression is gained from an error message I encountered ages ago when I was trying to compile something. Maybe some of the guys involved with the Chinese, Japanese etc distros might know more.

The avatar is the Simplifed Chinese character for "cat". I've always had a soft spot for the little furry creatures.

Irihapeti

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

#587 Post by Aitch »

Cool :D

Image


Aitch :)

Irihapeti

#588 Post by Irihapeti »

@aitch:

阿猫阿狗

(=any cat any dog)

Means roughly, any Tom, Dick or H... :)

What are you doing up at this hour of the morning, anyway?

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

#589 Post by Aitch »

mmm, now you mention it,

It's 4am UK time....& I can't sleep

I have recently learned of my mother's death due to old age, and a few days later my brother's apparent suicide...via letter from my sister which came from the Salvation army, as I'd lost touch with my family many years ago....it's sort of put me in a spin
....but please - I'm not looking for sympathy, no heartstring pulls, ...I'm a big boy, I'll get over it

we all go eventually....it's part of the deal

Aitch :)

Irihapeti

#590 Post by Irihapeti »

Aitch wrote:we all go eventually....it's part of the deal

Aitch :)
Yes, we do. And it's still difficult for us when others go before us. That is also part of the deal.

All right, I won't give you any sympathy. I can still very much empathise with you, though. That's who I am, so you get that regardless.

Very best wishes

Irihapeti

User avatar
ttuuxxx
Posts: 11171
Joined: Sat 05 May 2007, 10:00
Location: Ontario Canada,Sydney Australia
Contact:

#591 Post by ttuuxxx »

Sorry to read about that Aitch, We've all been there and its never easy, but life always finds a way of moving forward, and just like most memories they fade in time. Things that were like the end of world for me when I was younger, feel like hardly nothing today, we live and learn and move on. To happier future Aitch.
ttuuxxx
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)

User avatar
ttuuxxx
Posts: 11171
Joined: Sat 05 May 2007, 10:00
Location: Ontario Canada,Sydney Australia
Contact:

#592 Post by ttuuxxx »

Oh ya theres a 4 series version of puppy with SCIM already built in http://www.murga-linux.com/puppy/viewtopic.php?t=44341
ttuuxxx
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)

Irihapeti

Another input method to play with

#593 Post by Irihapeti »

I've been investigating the issue of Scim not working with java, and in the process played with another input method. I decided to upload the files so that the adventurous or curious among you could have a look. http://www.puppylinux.ca/members/Irihapeti/

It is uim, focused on East Asian languages, especially Japanese. It is said that many Japanese users prefer it to Scim.

I've compiled a version using the uim defaults. That is, it includes anthy as the only external option. To install it, you'll need:
  • * intltool-0.37.0-i486.pet
    * anthy-9100h-i486.pet
    * gconv4dingo.pet if you are using a Puppy 4 version.
It adds some stuff to the .xinitrc file on installation so that the program starts up when you restart the xserver.

I included the QT4 driver because it was easy to do. If you haven't got QT4 installed, it will complain, but no harm seems to be done.

It's possible to compile in support for canna and m17n, but unlike Scim, uim isn't modular. If I compile it to include everything, you must then have all the external libraries, whether you need those methods or not.

Also uploaded is the TTF version of the wenquanyi font for East Asian languages, wqy-zenhei-0.8.38.tar.gz

I'll start a separate thread on the Scim/java issue rather than clutter this one up.

Irihapeti

Edit: new Java post is here: http://murga-linux.com/puppy/viewtopic. ... 660#346660

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

#594 Post by Swarup »

Hello there Irihapeti,
Could you remind me-- is there a critical factor that determines whether SCIM will be able to be used in any particular application or not? Is it that the application must support QT4?

For example, there is a nice transcription application made by NCH called Express Scribe, which NCH has created a linux version of. The application runs well-- so long as one is typing using latin characters. But if one activates SCIM, then one cannot type in the text window. What is the reason?

Do you know, are there any transcription programs that will support SCIM? By "transcription program", I mean an application which will allow the user to control playback of a sound file, and which also has a text window for typing in. Such transcription programs are useful for those who need to type what is being said in a sound file. It is important that both tools-- playback control, and text typing window-- be contained in a single program so that the user can both type and control playback (pause, rewind, play etc.) without having to waste time in juggling multiple applications.

Hope you're well,
Regards,
Swarup

Irihapeti

#595 Post by Irihapeti »

Hello Swarup

It's a long time since we've heard from you. Good to see you are still active.

As for Scim working, in theory, any GTK program will work if the GTK immodule is installed. For QT3, you need the QT3 immodule (which means a patched version of QT3) and for QT4 you need the QT4 immodule.

On other Linux distributions, it's possible to use Scim in Java, the terminal and some other programs through the original XIM engine which I understand is built into Xlib. It doesn't work on Puppy.

Anyway, that's the theory. In practice, some things don't work. One reason may be that they have their own versions of the GTK or QT libraries bundled with them, and these versions don't have all the necesary bits for Scim to work.

I don't know anything about transcription programs, I'm sorry. I've just downloaded the one you linked to and I'll have a look to satisfy my curiosity.

I'm keeping reasonably well. I hope you are, too.

Irihapeti

Irihapeti

Re: Another input method to play with

#596 Post by Irihapeti »

Irihapeti wrote:I've been investigating the issue of Scim not working with java, and in the process played with another input method.

It is uim, focused on East Asian languages, especially Japanese.

Warning: X server crashes while using uim


If you installed the version described in the message quoted, please remove it.

I've had the X server crash several times, on Puppy 2.17 and 4.30. I've found reports of similar things happening on other distros.

The big problem with the X server crash is that you get no warning at all. Suddenly the screen goes black, and all open programs quit immediately. That means losing all unsaved changes.

I've removed the .pet file from the servers.

If you know of anyone else who has a copy of that .pet file and who isn't likely to see this post, please let them know.

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

#597 Post by Swarup »

Hi Irihapeti,
I had actually been trying to use the NCH Express Scribe in Ubuntu, and it didn't work with SCIM there. So I'm guessing it may not play well with SCIM in Puppy, either. Are you able to tell by looking at the application, whether it is GTK, QT3, or QT4? I suppose one would need the program's code to know, right.

There is another transcription program I tried, something in the Ubuntu repositories called "Transcriber". It gets a little further than Express Scribe, as, when one activates SCIM and starts typing, the simple Hindi characters actually do appear in the application's text window. But only simple single characters appear. The ligatures don't work. I'm sure there must be a reason for its only partial functionality.

Glad to hear you're doing well :)
Swarup

Irihapeti

nch Express Scribe

#598 Post by Irihapeti »

Hi Swarup

I actually have played with Express Scribe in both Ubuntu (8.04) and Puppy (4.30). In both cases I can input Chinese characters into the "notes" area. Unfortunately, though, the program otherwise behaves rather poorly on both systems, tending to lock up and/or crash.

It's a GTK-based program (mentioned on their website), so I was rather expecting it to work with Scim.

I know absolutely nothing about Indic ligature characters, so I can't help you there, I'm sorry.

Irihapeti

P.S. So it's you I see under the same name on the Ubuntu forums?

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

#599 Post by Aitch »

Hello Swarupji

Long time no hear from you :D

Glad you are still around, and have returned inquisitively to Puppy, even if only briefly..... :wink:

I had a quick looksee but came up with links to your *buntu posts

I also found these, however

http://113street.wordpress.com/2008/01/ ... ntu-linux/

https://help.ubuntu.com/community/SCIM

https://help.ubuntu.com/community/SCIM#NonCJKSession

And I realise this is different, but maybe, a clue?

http://www.xdai.org/blog/index.php?/arc ... linux.html

Good Luck

If you want me to keep looking, or need anything more specific, I don't mind...

PS: Just in case http://www.gnu.org/software/freefont/index.html

http://www.wazu.jp/gallery/views/View_FreeSans.html

Edit: added

http://www.openi18n.org/modules.php?op= ... =30&page=1

more:

http://www.ihear.com/FreeCLAS/wiki/Shva

http://michel.jacobson.free.fr/soundIndex/index.html

http://emu.sourceforge.net/

http://www.lat-mpi.eu/tools/elan/elan-s ... image_view

http://www.lat-mpi.eu/tools/elan/

any use?

Aitch :)

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

#600 Post by Swarup »

Hi Irihapeti,
Yep, that's me on the Ubuntu forums.

@ Aitch: Hello there! Nice to hear from you. Thanks for the links, I'll check them out.

Irihapeti: Did you install the native Linux version of Express Scribe, or the Wine version ? I use the Wine version, and it works very well. I never could get the native linux version to work well.

When I returned from India in March, my laptop-- which had been stored safely in my bedroom desk while I was away, mysteriously refused to power up. I took it around to various places, but all said the same-- the laptop is old (1999), and the motherboard which contains the power supply, needs to be replaced and is not available. Get a new laptop. I know that in India it could be fixed (they don't throw anything away there), but in the US it just won't be possible or worth the extensive effort. So I got a new laptop. After extensive research, testing, purchases and returns, I decided to go for an Apple MBP. I am very pleased with it, even for running Linux. The keyboard is fantastic, which is very important to me. And the workmanship and attention to detail is not to be compared with any other. Anyway, to make a long story short, I now have a very fast computer, and the main reason for my interest in Puppy-- runs well on a slow cpu-- became suddenly finished. I definitely like Puppy, but for my needs these days Ubuntu is more suitable. I need a full-bodied OS that can support the work I do. With Ubuntu I usually can get what I need to get done easily, without having to compile and configure. All my Hindi work goes like a snap in Ubuntu. I have my text editor with SCIM and Hindi Spellchecker, Database (Kexi) in Hindi, etc. Everything is great. Puppy has huge utility for those with older machines or smaller hard drives. And it has a great deal of charm as well. I do like it a lot. But my main OS these days is Ubuntu. If anyone could convince me though, I'd be perfectly happy to return to Puppy :) .

Anyhow, if any of you come across a transcription appication that works with SCIM, please let me know! Irihapeti, I don't know why ES would work with Chinese characters and not Indian ones. I tried ES in Windows as well, and no characters would appear when typing with Baraha. Just question marks-- literally "?" would appear no matter what I typed.

Post Reply