Re: Add Africa-Togo Keyboard Layout in the Linux Distribution

2016-05-21 Thread Mats Blakstad
Seems like Ubuntu uses out-dated KXB-data and Xlib - so those libraries
should be updated somehow.

On 21 May 2016 at 13:37, Rodrigo Embeita  wrote:

> Hi Developers,
> Recently my team develop the Keyboard Layout of Togo-Africa and I want to
> share it with the community and include in the Ubuntu Distribution.
> Here is the Link with the keyboard and the fixes needed.
>
>
> https://cgit.freedesktop.org/xkeyboard-config/diff/symbols/tg?id=53452c901fcab08a43705c9aa79a5ec5642cca08
>
>
> https://cgit.freedesktop.org/xorg/lib/libX11/commit/?id=3129c757f9da8586ab8b8654a56c8f687cc9ef5c
>
> Which steps I must follow to achieve this?
>
>
> Thanks for the help.
>
-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: Add Africa-Togo Keyboard Layout in the Linux Distribution

2016-05-22 Thread Mats Blakstad
Hi Gunnar

Thanks for help! Will work to update to latest debain version!

We also added new composers to libX11:
https://cgit.freedesktop.org/xorg/lib/libX11/commit/?id=3129c757f9da8586ab8b8654a56c8f687cc9ef5c
As they keyboard uses symbols from African reference alphabet that do not
have composers in Ubuntu now.
Should libX11 ale be updated directly on launchpad or do we need to fix it
at gnome first?
I found this instruction for how to update the pack at gnome, seem more
more complicated as it seem like the composers are generated from different
sources:
https://git.gnome.org/browse/gtk+/tree/gtk/gtkimcontextsimpleseqs.h#n18

Mats

On 22 May 2016 at 01:47, Gunnar Hjalmarsson  wrote:

> On 2016-05-21 13:37, Rodrigo Embeita wrote:
> > Hi Developers,
> > Recently my team develop the Keyboard Layout of Togo-Africa and I want
> > to share it with the community and include in the Ubuntu Distribution.
> > Here is the Link with the keyboard and the fixes needed.
> >
> >
> https://cgit.freedesktop.org/xkeyboard-config/diff/symbols/tg?id=53452c901fcab08a43705c9aa79a5ec5642cca08
> >
> >
> https://cgit.freedesktop.org/xorg/lib/libX11/commit/?id=3129c757f9da8586ab8b8654a56c8f687cc9ef5c
> >
> > Which steps I must follow to achieve this?
>
> Merging with latest Debian version of xkeyboard-config should do it.
> Changed the title of  accordingly.
> So preparing that merge upload would be a helpful next step.
>
> --
> Gunnar Hjalmarsson
> https://launchpad.net/~gunnarhj
>
-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: Add Africa-Togo Keyboard Layout in the Linux Distribution

2016-05-22 Thread Mats Blakstad
I tried to make a ptach to update xkeyboard-config package to new version:
https://bugs.launchpad.net/ubuntu/+source/xkeyboard-config/+bug/1584314

For Xlib it seems like last release was march 2015:
https://cgit.freedesktop.org/xorg/lib/libX11/log/
Maybe we can just commit the whole pack as it is now?

I agree that to put it inside 'en_US' doesn't make much sense - but that is
what I was asked to do by Xorg people:
https://bugs.freedesktop.org/show_bug.cgi?id=92344#c3
To me it seems like they want different countries to share compose
sequences, and they simply put it inside that file.
Not sure how this will work with Ubuntu?

And once these packs are updated, will they only get available for newest
version, or updated on all ubuntu versions using XKB?

Mats

On 22 May 2016 at 19:57, Gunnar Hjalmarsson  wrote:

> On 2016-05-22 19:39, Gunnar Hjalmarsson wrote:
> > On 2016-05-22 18:40, Mats Blakstad wrote:
> >> We also added new composers to libX11:
> >>
> https://cgit.freedesktop.org/xorg/lib/libX11/commit/?id=3129c757f9da8586ab8b8654a56c8f687cc9ef5c
> >> As they keyboard uses symbols from African reference alphabet that do
> >> not have composers in Ubuntu now.
> >> Should libX11 ale be updated directly on launchpad or do we need to fix
> >> it at gnome first?
> >
> > Not sure about "should" or "need", but I can mention that the latest
> > change to libx11 in Ubuntu is a compose file patch which I added...
> >
> > https://launchpad.net/ubuntu/+source/libx11/2:1.6.3-1ubuntu2
> >
> > I noticed that libx11 doesn't seem to be updated so often in Ubuntu, and
> > I didn't want to wait. ;)
> >
> > There may be some plan which I'm not aware about, but considering that
> > the commit you linked to is the latest item in the upstream git,
> > patching it in Ubuntu is probably a good idea.
>
> Just a thought about those composers... You added them to en_US.UTF-8.
> Doesn't it mean that the behavior is changed for all en_US.UTF-8 users?
> How can that be justified?
>
> --
> Gunnar Hjalmarsson
> https://launchpad.net/~gunnarhj
>
-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: Add Africa-Togo Keyboard Layout in the Linux Distribution

2016-05-23 Thread Mats Blakstad
On 23 May 2016 at 20:45, Gunnar Hjalmarsson  wrote:

> On 2016-05-23 07:18, Timo Aaltonen wrote:
> > On 2016-05-23 02:22, Mats Blakstad wrote:
> >> I tried to make a ptach to update xkeyboard-config package to new
> version:
> >> https://bugs.launchpad.net/ubuntu/+source/xkeyboard-config/+bug/1584314
>
> It's not in an uploadable state, I'm afraid.
>
> I made an attempt both with xkeyboard-config and libx11 via this PPA:
>
> https://launchpad.net/~gunnarhj/+archive/ubuntu/togo-kblayout
>
> The keyboard layout seems to work, but I couldn't enable the Togo
> compose keys. Maybe I simply just don't know how...
>

I've really been struggling to test those compose keys myself, but I've
been told that this is the file where I need to put them, and the patch has
been reviewed and approved.

Does Ubuntu uses the libX11?

GTK has its own key compose file made from different sources:
https://git.gnome.org/browse/gtk+/tree/gtk/gtkimcontextsimpleseqs.h#n18
Is Ubuntu doing anything similar, or simply using libX11 compose keys?


> @Rodrigo / @Mats:
> It would be great if you could enable the PPA, and try it out. Possibly
> there is more into it before it will work as desired.
>

I tried to add it now, however, after i add the PPA and update then I
simply get this:
*W: The repository 'http://ppa.launchpad.net/gunnarhj/togo-kblayout/ubuntu
<http://ppa.launchpad.net/gunnarhj/togo-kblayout/ubuntu> xenial Release'
does not have a Release file.*

>
> >> For Xlib it seems like last release was march 2015:
> >> https://cgit.freedesktop.org/xorg/lib/libX11/log/
> >> Maybe we can just commit the whole pack as it is now?
> >
> > no, just ping upstream to cut a release.
>
> In the PPA I just added a patch, but what you suggest is probably a
> better long-term approach. ;)
>
> I've asked now:
https://bugs.freedesktop.org/show_bug.cgi?id=95584


> >> I agree that to put it inside 'en_US' doesn't make much sense - but that
> >> is what I was asked to do by Xorg people:
> >> https://bugs.freedesktop.org/show_bug.cgi?id=92344#c3
> >> To me it seems like they want different countries to share compose
> >> sequences, and they simply put it inside that file.
> >> Not sure how this will work with Ubuntu?
>
> Me neither (see above).
>
> >> And once these packs are updated, will they only get available for
> >> newest version, or updated on all ubuntu versions using XKB?
>
> They will be available in Ubuntu 16.10, but already released versions
> won't be automatically updated. There are procedures in place for
> "stable release updates", but I'm not sure if this change qualifies.
>
> https://wiki.ubuntu.com/StableReleaseUpdates


Okay, thanks for info!

>
>
> --
> Gunnar Hjalmarsson
> https://launchpad.net/~gunnarhj
>
-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss