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

2016-05-24 Thread Gunnar Hjalmarsson
On 2016-05-24 02:16, Mats Blakstad wrote:
> On 23 May 2016 at 20:45, Gunnar Hjalmarsson  > wrote:
>> 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?

Yes, indeed it does. I figured out an explanation and solution
(workaround); please see . I'd
suggest that we continue the diskussion at that bug report.

-- 
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-24 Thread Daniel Holbach
Hey hey,

On 24.05.2016 03:06, Gunnar Hjalmarsson wrote:
> You should edit that file, and replace xenial with yakkety so the line
> looks like this:
> 
> deb http://ppa.launchpad.net/gunnarhj/togo-kblayout/ubuntu yakkety main

It should be in yakkety proper very soon.

Have a great day,
 Daniel

-- 
Get involved with Snappy Ubuntu Core! developer.ubuntu.com/snappy/
Follow @ubuntudev on twitter.com/facebook.com/G+

-- 
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 Gunnar Hjalmarsson
Hi Mats,

On 2016-05-24 02:16, Mats Blakstad wrote:
> On 23 May 2016 at 20:45, Gunnar Hjalmarsson  > wrote:
>> 
>> I made an attempt both with xkeyboard-config and libx11 via this PPA:
>> 
>> https://launchpad.net/~gunnarhj/+archive/ubuntu/togo-kblayout
>> ...
>> @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 xenial Release'
> does not have a Release file./

Aha, I uploaded to the yakkety pocket. You probably have this file:

/etc/apt/sources.list.d/gunnarhj-ubuntu-togo-kblayout-xenial.list

with this one line:

deb http://ppa.launchpad.net/gunnarhj/togo-kblayout/ubuntu xenial main

You should edit that file, and replace xenial with yakkety so the line
looks like this:

deb http://ppa.launchpad.net/gunnarhj/togo-kblayout/ubuntu yakkety main


Passing your other questions for now.

-- 
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 Daniel Llewellyn
  

On May 24 2016, at 1:16 am, Mats Blakstad mats.gbproj...@gmail.com
wrote:  

> I tried to add it now, however, after i add the PPA and update then I simply
get this:  
_W: The repository '
xenial Release' does not have a Release file._  

  

You need to follow the directions on the launchpad site, namely:

  

`sudo add-apt-repository ppa:gunnarhj/togo-kblayout`

  

The warning you received indicates that you are trying to access the "Release"
repository of the "xenial" distribution of the url indicated. This is twice a
problem as the ppa only has yakety available, and even then the repository is
named "main" and NOT "Release".

-- 
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
 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


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

2016-05-23 Thread Gunnar Hjalmarsson
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...

@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.

>> 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 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

-- 
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 Timo Aaltonen
On 23.05.2016 03: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
> 
> 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.

-- 
t

-- 
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-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 Gunnar Hjalmarsson
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-22 Thread Gunnar Hjalmarsson
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.

-- 
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-21 Thread Gunnar Hjalmarsson
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-21 Thread Daniel Llewellyn
Really send to the right address this time. Sorry to whomever I sent
multiple emails to, I suck.

On Saturday, 21 May 2016, 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.
>

AFAICT, the usual procedure is to get the code included into Debian at
which time it will then come across to whatever the ten next edition of
ubuntu happens to be. While I can't speak to policy, I doubt that an SRU
would be accepted for already live versions.  You can still try to SRU the
code, by following the details at
https://wiki.ubuntu.com/StableReleaseUpdate



-- 
Daniel Llewellyn
Bowl Hat
-- 
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-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