Bug 14595 - Adding New layout for Punjabi (Indic) and update existing one
Summary: Adding New layout for Punjabi (Indic) and update existing one
Status: RESOLVED FIXED
Alias: None
Product: xkeyboard-config
Classification: Unclassified
Component: General (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: xkb
QA Contact:
URL:
Whiteboard:
Keywords: NEEDINFO
Depends on:
Blocks:
 
Reported: 2008-02-20 22:04 UTC by A S Alam
Modified: 2008-02-28 05:28 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Update and added keymap (8.19 KB, patch)
2008-02-20 22:04 UTC, A S Alam
Details | Splinter Review
Patch for base.xml.in (409 bytes, patch)
2008-02-22 16:40 UTC, A S Alam
Details | Splinter Review
complete 'in' file (44.56 KB, text/plain)
2008-02-24 05:48 UTC, A S Alam
Details
Updated Unicode values for 'in' (Plain Text) (41.64 KB, text/plain)
2008-02-25 19:23 UTC, A S Alam
Details
updated File with Unicode + New Layout Included (45.13 KB, text/plain)
2008-02-26 17:30 UTC, A S Alam
Details
updated File with Unicode + New Layout Included (45.12 KB, text/plain)
2008-02-26 20:55 UTC, A S Alam
Details

Description A S Alam 2008-02-20 22:04:34 UTC
Created attachment 14469 [details] [review]
Update and added keymap

I have updated the file and attaching here.
(patch with Update keys and New layout)

UPDATE: all 0x00 ->U
and some key

New Layout: Jhelum layout added for Punjabi

http://www.satluj.org/Jhelum.html

only problem is that I failed to found
--------
(http://www.freedesktop.org/wiki/Software/XKeyboardConfig/Creating)
here are 2 files you need to update:

    * $xkbdir$/rules/xorg.lst
    * $xkbdir$/rules/xorg.xml
--------

Please help me how can I do that!
Comment 1 Sergey V. Udaltsov 2008-02-21 13:55:49 UTC
> Created an attachment (id=14469) [details]
> Update and added keymap
Great!

> Please help me how can I do that!
That document is totally wrong! Could you please have a look at:

http://www.freedesktop.org/wiki/Software/XKeyboardConfig/Rules

Looking forward to updated patches.
Comment 2 A S Alam 2008-02-21 17:17:10 UTC
thanks for your link,
it seems language is present already in mention places.

so given patch is ok.
can you please check this if any change required more.

thanks
Comment 3 Sergey V. Udaltsov 2008-02-22 05:37:15 UTC
Could you please provide the patch for base.xml.in as well? Thanks.
Comment 4 A S Alam 2008-02-22 16:40:13 UTC
Created attachment 14511 [details] [review]
Patch for base.xml.in

patch for base.xml.in attached.
please check and update if further changes required

thanks
Comment 5 Sergey V. Udaltsov 2008-02-22 17:02:06 UTC
Tried to apply your patch. There are some symbols which cause problems: guj_rra, guj_nnna, guj_llla

Could you please let me know what I should use instead of them?
Comment 6 A S Alam 2008-02-24 01:45:03 UTC
(In reply to comment #5)
> Tried to apply your patch. There are some symbols which cause problems:
> guj_rra, guj_nnna, guj_llla
> 
> Could you please let me know what I should use instead of them?
> 
not very sure why make problem as those are not Punjabi language, but Gujarati.
those should not make any problem at all.

I will search and update what actually those are for Gujarati.
Comment 7 Sergey V. Udaltsov 2008-02-24 02:12:45 UTC
> not very sure why make problem as those are not Punjabi language, but Gujarati.
> those should not make any problem at all.
my xorg does not know these symbols, so it cannot compile the layout.

May be, unicode codes should be used instead.
Comment 8 A S Alam 2008-02-24 05:06:48 UTC
(In reply to comment #5)
> Tried to apply your patch. There are some symbols which cause problems:
> guj_rra, guj_nnna, guj_llla
ok, I found something with using 'guj' keymap:
guj_rra =0AB0
guj_nnna=0AA8
guj_llla=0AB5
yes, it is just same as without Shift (Duplicate of normal key).
Is there any idea to keep those duplicate?

would you like to convert those non-unicode (0x100 and these type of character
to U0XXXX format)?
I would like to help regarding this for Indic (in) keymaps
Comment 9 Sergey V. Udaltsov 2008-02-24 05:09:25 UTC
 
> would you like to convert those non-unicode (0x100 and these type of character
> to U0XXXX format)?
Yes please convert them to unicode.


Comment 10 A S Alam 2008-02-24 05:48:27 UTC
Created attachment 14538 [details]
complete 'in' file

it is not patch, but plan text file. you can skip patch 14469.
please let me know if you need patch 'only'.
Comment 11 Sergey V. Udaltsov 2008-02-24 16:08:19 UTC
First of all, the trivial errors:
pipe -> bar,
backlash -> backslash.

After that:

expected keysym, got U0082: line 803 of in
last scanned symbol is: U0082
expected keysym, got U0083: line 804 of in
last scanned symbol is: U0083
expected keysym, got U0088: line 804 of in
last scanned symbol is: U0088
expected keysym, got U0084: line 805 of in
last scanned symbol is: U0084
expected keysym, got U0089: line 805 of in
last scanned symbol is: U0089
expected keysym, got U0085: line 806 of in
last scanned symbol is: U0085
expected keysym, got U008a: line 806 of in
last scanned symbol is: U008a
expected keysym, got U0086: line 807 of in
last scanned symbol is: U0086
expected keysym, got U008b: line 807 of in
last scanned symbol is: U008b
expected keysym, got U0087: line 808 of in
last scanned symbol is: U0087
expected keysym, got U008c: line 808 of in
last scanned symbol is: U008c
expected keysym, got U009a: line 811 of in
last scanned symbol is: U009a
expected keysym, got U0099: line 834 of in
last scanned symbol is: U0099
syntax error: line 986 of in
last scanned symbol is: U0A71

Did you actually try to use your layout file?
Comment 12 A S Alam 2008-02-24 20:05:04 UTC
(In reply to comment #11)
> First of all, the trivial errors:
> pipe -> bar,
> backlash -> backslash.
> 
ok, these can be fixed and is.

> After that:
> 
> expected keysym, got U0082: line 803 of in
> last scanned symbol is: U0082
> expected keysym, got U0083: line 804 of in
> last scanned symbol is: U0083
> expected keysym, got U0088: line 804 of in
> last scanned symbol is: U0088
> expected keysym, got U0084: line 805 of in
> last scanned symbol is: U0084
> expected keysym, got U0089: line 805 of in
> last scanned symbol is: U0089
> expected keysym, got U0085: line 806 of in
> last scanned symbol is: U0085
> expected keysym, got U008a: line 806 of in
> last scanned symbol is: U008a

these symbols (characters) are not Unicode for selected language (Tamil) (0B80-0BFF)
Wonder how to test those?

but with this, I am able to compile program on my machine
(opensuse 10.3) . 
Can you please suggest how I can test those.
Comment 13 Sergey V. Udaltsov 2008-02-25 06:39:45 UTC
> these symbols (characters) are not Unicode for selected language (Tamil)
> (0B80-0BFF)
> Wonder how to test those?
I do not really know. May be, they should be replaced with 1000... codes?

> but with this, I am able to compile program on my machine
> (opensuse 10.3) . 
What do you compile here??

> Can you please suggest how I can test those.
Just put your file into /usr/share/X11/xkb/symbols and use various setxkbmap commands (-layout in -variant ...)
Comment 14 A S Alam 2008-02-25 19:23:45 UTC
Created attachment 14569 [details]
Updated Unicode values for 'in' (Plain Text)

Update New file for 'in'. 
Tested for all layouts, working fine.
Skip Non-Standard Unicode characters for Tamil/Kannada (where is ASCII).
please check.

Sorry, but New layout (Jhelum) showing Error (during copy to /usr/share/X11/xkb/symbols/in, so not include in this file.
need help regarding that.  Is that due to some new name or layout Jhelum in
this file (while I had not modified any other file regarding this).
Comment 15 Sergey V. Udaltsov 2008-02-26 13:28:38 UTC
I am not sure I understand what kind of help you need.
Comment 16 A S Alam 2008-02-26 17:30:59 UTC
Created attachment 14605 [details]
updated File with Unicode + New Layout Included

updated File with Unicode + New Layout Included after testing.
Comment 17 A S Alam 2008-02-26 20:55:17 UTC
Created attachment 14608 [details]
 updated File with Unicode + New Layout Included
Comment 18 Sergey V. Udaltsov 2008-02-28 05:28:30 UTC
Great! Committed! Thanks for your help. I hope noone gets angry because of your changes to existing in variants;)


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.