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 Sat 20 Dec 2014, 07:35
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Projects » Next Puppy Development » 5.x
upup CJK
Moderators: BarryK, Lobster
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 2 [29 Posts]   Goto page: 1, 2 Next
Author Message
shinobar


Joined: 28 May 2009
Posts: 2631
Location: Japan

PostPosted: Mon 15 Jun 2009, 07:28    Post subject:  upup CJK
Subject description: Chinese, Japanese, Korean languages readable with their Input Method open for testing
 

I am trying to support CJK on upup-476.
And now upup CJK is open for testing!
Feed back wanted.

Visit my site and find all the pet's you need for CJK enable on upup-476.
http://122.102.213.192/puppy/upup/

Last edited by shinobar on Tue 16 Jun 2009, 07:05; edited 3 times in total
Back to top
View user's profile Send private message Visit poster's website 
shinobar


Joined: 28 May 2009
Posts: 2631
Location: Japan

PostPosted: Mon 15 Jun 2009, 12:01    Post subject: utf8 mount and bugfix around locale
Subject description: enabling utf8 mount options on upup-476
 

First of all we have to fix bugs around locale on upup-476.
... /usr/sbin/chooselocale, /usr/bin/xwin
Reffer the Bugs section.

upup-476 uses '*.utf8' as the locale whereas most of current distr's use '*.UTF-8'.
Well, it is not a bug, but can be a trouble in using some X based programs.
... /usr/sbin/chooselocale, /etc/rc.country

Second: mounting vfat and iso9660 with 'utf8' option.
... /usr/sbin/pmount, /usr/local/bin/driveall, /usr/local/apps/pnethoot/func_mount

On mounting vfat, upup sees keymap and changes the codepage and iocharset options.
It is quit nonsense.

For example, 'us' keyboads never mean they speak english.
Many japanese user use 'us' keyboard with their pc and use japanese for their file names.
Don't you know we can type japanese charactors using 'us' keyboard?
if upup wants to choice codepage etc., better to look up the LANG environment instead of keymap.

But this time, i left these codes. 'utf8' option not add in case one of the next.
uk|us(default: codepage=437, iocharset=iso8859-1)
de|be|br|dk|es|fi|fr|it|no|se|pt(codepage=850,iocharset=iso8859-1)
slovene|croat|hu101|hu|cz-lat2|pl|ro_win(codepage=852,iocharset=iso8859-2)

If you use one of the above keyboard and still like to mount with utf8 option,
write 'utf8' on the file /etc/codepage.
utf8_mount-upup476-1.pet
Description  enabling utf8 mount options and bugfix around locale
Apply only to upup-476
pet

 Download 
Filename  utf8_mount-upup476-1.pet 
Filesize  22.15 KB 
Downloaded  754 Time(s) 
Back to top
View user's profile Send private message Visit poster's website 
shinobar


Joined: 28 May 2009
Posts: 2631
Location: Japan

PostPosted: Mon 15 Jun 2009, 21:59    Post subject: utf8 mounting of the boot partision
Subject description: if the boot partision is vfat or ntfs, you need another initrd
 

You still encounter the boot partision(/mnt/home) is mounted without utf8 option.
I had to rewrite init script in initial ram disk.
As for ntfs, original init ram disk uses old version of ntfs-3g that cannnot treat utf8.
I replaced the ntfs-3g to newer version of 2009.4.4 that is utf8 ready.

Visit next url of my site(temporal).
Download 'initrd-upup476_utf8-1.gz', rename to 'initrd.gz'
and replace the upup-476's original.
http://122.102.213.192/puppy/upup/

if you do not like utf8 option with this initrd, type 'pkeys=us' as the boot option.
Back to top
View user's profile Send private message Visit poster's website 
shinobar


Joined: 28 May 2009
Posts: 2631
Location: Japan

PostPosted: Mon 15 Jun 2009, 22:54    Post subject: Insalling SCIM
Subject description: how to install Smart Common Input Method on upup-476
 

Now we can install SCIM from ububtu jaunty package.
http://packages.ubuntu.com/en/jaunty/scim
You also need libscim8c2a and scim-gtk2-immodule.
scim-bridge is troublesome, so i did not use it.

I installed them and cut it down to be slim.
scim-1.4.7-0.476.0.1.pet
Description  Smart Common Input Method for upup-476.
Do not apply to puppy 4.x or older.
pet

 Download 
Filename  scim-1.4.7-0.476.0.1.pet 
Filesize  874.94 KB 
Downloaded  796 Time(s) 
Back to top
View user's profile Send private message Visit poster's website 
shinobar


Joined: 28 May 2009
Posts: 2631
Location: Japan

PostPosted: Mon 15 Jun 2009, 23:15    Post subject: To enable each language
Subject description: CJK support on upup-476
 

We can install SCIM related packages from ububtu jaunty.
scim-hangul for korean, scim-pinyin or scim-chewing for chinese.
also scim-tables* are usable.

ko_KR.UTF-8 and zh_CN.UTF-8 locale has problem beacuse some files lack in upup-476.
/usr/share/i18n/locales/tanslit_hangul
/usr/share/i18n/locales/iso14651_tl_pinyin
I brought them from ubuntu.

As for japanese, needs scim-anthy. But anthy package of ubuntu did not work.
I installed anthy-9100h.patch13Bptn23.2009527.alt-depgraph-090525-i686.pet
himajin made.
http://nami4.dyndns.org/p_blog/

Japanese fonts are available from IPA.
http://ossipedia.ipa.go.jp/ipafont/
Or, see the topic:
http://www.murga-linux.com/puppy/viewtopic.php?t=43400

I installed them and cut them down to be slim.
Visit my site and find all the pet's you need for CJK enable on upup-476.
http://122.102.213.192/puppy/upup/

Last edited by shinobar on Sun 28 Jun 2009, 16:12; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website 
shinobar


Joined: 28 May 2009
Posts: 2631
Location: Japan

PostPosted: Tue 16 Jun 2009, 00:33    Post subject: Setting up
Subject description: How to set up your locale on upup CJK
 

  1. Install upup-476
  2. Optionally replace initrd.gz to 'initrd-upup476_utf8-1.gz'(rename to 'initrd.gz').
  3. bootup upup-476
    You may need to edit xorg.conf, 'Option "XkbModel" "pc102"' to be proper for your keyboard.
  4. Install CJK support pet's
    • utf8_mount-upup476-1.pet
    • scim-1.4.7-0.476.0.1.pet
    • lang_support_??-upup476-0.1.pet ... you can install all 3

  5. Menu > Desktop > Chooselocale
    Once select 'en_US' as dummy
  6. Restart X
  7. Again, Menu > Desktop > Chooselocale
    Now select your locale ex. 'ko_KR'
    ensure 'UTF-8' encoding checked on
  8. Restart X
  9. Start up 'browse' or 'edit'
  10. Press [Ctrl] + [Space], then SCIM shall be usable.

Last edited by shinobar on Tue 16 Jun 2009, 01:21; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website 
puppyiso


Joined: 12 Jan 2009
Posts: 595

PostPosted: Tue 16 Jun 2009, 00:50    Post subject:  

This is the most exciting post I hae ever seen in this entire forum.

I am Korean living in China and chatting with Japanese friends all the time.

I must try this after work.

Great work!!! Thank you.

John S
Back to top
View user's profile Send private message 
shinobar


Joined: 28 May 2009
Posts: 2631
Location: Japan

PostPosted: Tue 16 Jun 2009, 01:25    Post subject:  

Thanks for reply, puppyiso.
Hangul font is thanks to your information.
You must be the best tester. Waiting for your report...
Back to top
View user's profile Send private message Visit poster's website 
himajin


Joined: 08 Jul 2008
Posts: 54
Location: JAPAN

PostPosted: Tue 16 Jun 2009, 03:24    Post subject:  

Hi shinobar.
i did not made anthy. Pack it for puppy.that is only I did.

でも、421ベースの方が良くない? 476はまだダメダメだと感じてるんですが。
Back to top
View user's profile Send private message Visit poster's website 
shinobar


Joined: 28 May 2009
Posts: 2631
Location: Japan

PostPosted: Tue 16 Jun 2009, 07:12    Post subject: Thanks to you  

Hi, himajin!
Most of the basis is from your work. Thanks!
Back to top
View user's profile Send private message Visit poster's website 
puppyiso


Joined: 12 Jan 2009
Posts: 595

PostPosted: Sun 21 Jun 2009, 10:17    Post subject:  

It is very strange.

None of the downloaded pets can be installed.

What should I do?

John
why.png
Description 
png

 Download 
Filename  why.png 
Filesize  107.44 KB 
Downloaded  767 Time(s) 
Back to top
View user's profile Send private message 
shinobar


Joined: 28 May 2009
Posts: 2631
Location: Japan

PostPosted: Sun 21 Jun 2009, 10:38    Post subject:  

hi, puppyiso

Try to change the directory name not use blanks.
'/inux/Upup cjk' --> '/linux/Upup_cjk'
Back to top
View user's profile Send private message Visit poster's website 
puppyiso


Joined: 12 Jan 2009
Posts: 595

PostPosted: Sun 21 Jun 2009, 11:28    Post subject:  

By changing the folder name works but the Krean typig is very wrong.
It is not 2 sets but something else.

See the image.

I checked the SCIM setup. However, I do't see any change.
why 2.png
Description 
png

 Download 
Filename  why 2.png 
Filesize  71.81 KB 
Downloaded  771 Time(s) 
Back to top
View user's profile Send private message 
shinobar


Joined: 28 May 2009
Posts: 2631
Location: Japan

PostPosted: Sun 21 Jun 2009, 12:59    Post subject:  

puppyiso wrote:
By changing the folder name works but the Krean typig is very wrong.
It is not 2 sets but something else.

Left-click the scim panel then you can choice one of the 3 ways of korean input method.
hangul.png
 Description   
 Filesize   58.88 KB
 Viewed   2138 Time(s)

hangul.png

Back to top
View user's profile Send private message Visit poster's website 
linus1972

Joined: 17 Jun 2009
Posts: 91

PostPosted: Sun 21 Jun 2009, 13:16    Post subject:  

Hello, just wondering 'cause I didn't read whole post, is your puppy
avail in english too?
I hope so....
Thanks
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 1 of 2 [29 Posts]   Goto page: 1, 2 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Puppy Projects » Next Puppy Development » 5.x
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.0841s ][ Queries: 13 (0.0125s) ][ GZIP on ]