Re: [oi-dev] x11 keyboard layouts

2017-04-27 Thread Alan Coopersmith

On 04/27/17 03:29 AM, Joerg Schilling wrote:

Alan Coopersmith  wrote:


Sorry - I never learned how multiple keyboard layout groups work in XKB.


Does this mean that you believe it should be possible to have more than one
keyboard layout available at the same time?


Yes - but being a simple English speaker who doesn't know how to type in any
other layouts, I don't know how, I just expect that you'd be able to do the
same in Xorg on Solaris/illumos as you can in Xorg on any other platform,
and hope the answers are found somewhere under https://www.x.org/wiki/XKB/ .

--
-Alan Coopersmith-  alan.coopersm...@oracle.com
 Oracle Solaris Engineering - http://blogs.oracle.com/alanc

___
oi-dev mailing list
oi-dev@openindiana.org
https://openindiana.org/mailman/listinfo/oi-dev


Re: [oi-dev] Wiki comments

2017-04-27 Thread WebDawg
On Fri, Mar 31, 2017 at 1:09 AM, Nikola M  wrote:

> On 02/25/17 11:45 PM, Nikola M wrote:
>
> On 02/25/17 11:14 PM, Aurélien Larcher wrote:
>
>
>
> On Sat, Feb 25, 2017 at 9:25 PM, Nikola M  wrote:
>
>> On 02/25/17 08:41 PM, Andreas Wacknitz wrote:
>>
>>> nikolam, you should check the comments. I have the impression that a lot
>>> of them can be deleted without loosing anything.
>>> You are right to preserve comments with valuable information, eg.
>>> technical discussions.
>>>
>>
>>
> Let's get back on topic, I want to preserve comments on Wiki and don't
> want just suddenly them being disabled and clearly there is someone who
> cares and want to deal with it.
> Please don't delete them and disable commenting until alternative is set
> up. Will see what I can do today myself as far as with access I have.
>
>
>
I do not think you guys are arguing really about the comments and instead I
think you are arguing about the wiki itself.  Has there been thought about
possibly moving over to mediawiki, where comments are talk and on a
separate page?
___
oi-dev mailing list
oi-dev@openindiana.org
https://openindiana.org/mailman/listinfo/oi-dev

[oi-dev] Bash 4.4

2017-04-27 Thread Aurélien Larcher
Hullo,
I saw that Dan bumped it in OmniOS so I gave it a try:

https://github.com/OpenIndiana/oi-userland/pull/3016

I imported existing 4.4 patches and removed the solaris patches which were
already applied upstream.
Happy testing.

Aurelien

-- 
---
Praise the Caffeine embeddings
___
oi-dev mailing list
oi-dev@openindiana.org
https://openindiana.org/mailman/listinfo/oi-dev

Re: [oi-dev] x11 keyboard layouts

2017-04-27 Thread Joerg Schilling
Alan Coopersmith  wrote:

> Sorry - I never learned how multiple keyboard layout groups work in XKB.

Does this mean that you believe it should be possible to have more than one 
keyboard layout available at the same time?

Jörg

-- 
 EMail:jo...@schily.net(home) Jörg Schilling D-13353 Berlin
joerg.schill...@fokus.fraunhofer.de (work) Blog: http://schily.blogspot.com/
 URL: http://cdrecord.org/private/ http://sf.net/projects/schilytools/files/'

___
oi-dev mailing list
oi-dev@openindiana.org
https://openindiana.org/mailman/listinfo/oi-dev


Re: [oi-dev] x11 keyboard layouts

2017-04-27 Thread Alan Coopersmith

On 04/26/17 06:10 AM, Alexander Pyhalov wrote:

Hello.

I'm a bit confused.
I'm trying to get keyboard layout from xscreensaver-lock and see unexpected
results.

I have a function which returns current layout (see below), which works fine
when compiled standalone. But when I compile it as part of xscreensaver-lock , I
suddenly find out that it sees two XKB groups
'English (US)' instead of 'English (US)' and 'Russian'.
So I see that we use group number 0 or 1, but their names are masked.

Do you have any suggestions where xscreensaver-lock can manage to do it? :)


Sorry - I never learned how multiple keyboard layout groups work in XKB.

--
-Alan Coopersmith-  alan.coopersm...@oracle.com
 Oracle Solaris Engineering - http://blogs.oracle.com/alanc

___
oi-dev mailing list
oi-dev@openindiana.org
https://openindiana.org/mailman/listinfo/oi-dev


Re: [oi-dev] GCC 6 builds of oi-userland, missing dependencies and help for merging

2017-04-27 Thread Aurélien Larcher
I started doing build of oi-userland with GCC 6 in fresh zones to fix:
> 1) missing build dependencies
> 2) compilation issues
>
> I push things there:
>
> https://github.com/alarcher/oi-userland/commits/gcc6
>

Looking at my build zone after running overnight, 2100 packages are now
built and published with gcc 6.3.



>
>
> Considering the fairly long list of packages to fix, I would like to ask
> for help but with a different approach.
>
> 1) I push fixes to the gcc6 branch during the rebuild in my GCC 6
> environment.
> 2) one or more persons cherry-pick the commits as they come, make publish
> in a normal environment and open the PR.
> 3) I rebase on oi/hipster as PRs are merged.
>
> (Call it OI Taylorism)
> So far most changes do not affect the end-product but build systems
> (dependencies, autotools).
>
> If we want to move forward it is crucial to progress on this.
> Even helping with a few PRs would be very much appreciated!
> Kind regards
>
> Aurelien
>
> --
> ---
> Praise the Caffeine embeddings
>



-- 
---
Praise the Caffeine embeddings
___
oi-dev mailing list
oi-dev@openindiana.org
https://openindiana.org/mailman/listinfo/oi-dev

Re: [oi-dev] x11 keyboard layouts

2017-04-27 Thread Alexander Pyhalov

On 04/26/17 07:08 PM, Alan Coopersmith wrote:

On 04/26/17 06:10 AM, Alexander Pyhalov wrote:

Hello.

I'm a bit confused.
I'm trying to get keyboard layout from xscreensaver-lock and see
unexpected
results.

I have a function which returns current layout (see below), which
works fine
when compiled standalone. But when I compile it as part of
xscreensaver-lock , I
suddenly find out that it sees two XKB groups
'English (US)' instead of 'English (US)' and 'Russian'.
So I see that we use group number 0 or 1, but their names are masked.

Do you have any suggestions where xscreensaver-lock can manage to do
it? :)


Sorry - I never learned how multiple keyboard layout groups work in XKB.



It seems I've got something working... 
https://github.com/OpenIndiana/oi-userland/pull/3017/files


--
Best regards,
Alexander Pyhalov,
system administrator of Southern Federal University IT department

___
oi-dev mailing list
oi-dev@openindiana.org
https://openindiana.org/mailman/listinfo/oi-dev


[oi-dev] x11 keyboard layouts

2017-04-27 Thread Alexander Pyhalov

Hello.

I'm a bit confused.
I'm trying to get keyboard layout from xscreensaver-lock and see 
unexpected results.


I have a function which returns current layout (see below), which works 
fine when compiled standalone. But when I compile it as part of 
xscreensaver-lock , I suddenly find out that it sees two XKB groups

'English (US)' instead of 'English (US)' and 'Russian'.
So I see that we use group number 0 or 1, but their names are masked.

Do you have any suggestions where xscreensaver-lock can manage to do it? :)

static gchar*
getGroup()
{
  XkbStateRec state;
  Display *dpy;
  XkbDescRec desc[1];
  char *names[XkbNumKbdGroups];
  int i;
  gchar *s1 = NULL;

  dpy = gdk_x11_get_default_xdisplay();
  memset(desc, 0, sizeof(desc));
  desc->device_spec = XkbUseCoreKbd;
  if (XkbGetControls(dpy, XkbGroupsWrapMask, desc) == Success) {
if (XkbGetNames(dpy, XkbGroupNamesMask, desc) == Success) {
  if (XkbGetState(dpy, XkbUseCoreKbd, ) == Success) {
XGetAtomNames(dpy, desc->names->groups, 
desc->ctrls->num_groups, names);

for(i=0; i< desc->ctrls->num_groups; i++){
  fprintf(stderr, names[i]);
}
if (names[state.group]) {
  if(strlen(names[state.group]) > 2) {
 names[state.group][2]='\0';
  }

  s1 = g_ascii_strdown (names[state.group], -1);
  fprintf(stderr, "Got group %d %s\n", state.group, s1);
  fflush(stderr);
}
  }
  XkbFreeNames(desc, XkbGroupNamesMask, True);
}
XkbFreeControls(desc, XkbGroupsWrapMask, True);
  }
  return s1;
}


--
Best regards,
Alexander Pyhalov,
system administrator of Southern Federal University IT department

___
oi-dev mailing list
oi-dev@openindiana.org
https://openindiana.org/mailman/listinfo/oi-dev


[oi-dev] [CFT] Layout indication in xscreensaver

2017-04-27 Thread Alexander Pyhalov

Hi, desktop OI Hipster users.

I'd like you to test

pkg://userland/desktop/xscreensaver@5.35-2017.0.0.0:20170427T084323Z

from http://buildzone.oi-build.r61.net:1000

(if you want to review code/build yourself, it's this PR - 
https://github.com/OpenIndiana/oi-userland/pull/3017).


It adds xkb layout indication to xscreensaver unlock dialog.
--
Best regards,
Alexander Pyhalov,
system administrator of Southern Federal University IT department

___
oi-dev mailing list
oi-dev@openindiana.org
https://openindiana.org/mailman/listinfo/oi-dev


Re: [oi-dev] [CFT] Xorg 1.18.4 update repository

2017-04-27 Thread Adam Števko
Hey,

great job aurelien and gordon!

Cheers,
Adam

> On Apr 25, 2017, at 6:01 PM, Alexander Pyhalov  wrote:
> 
> Hi, all.
> 
> In recent weeks we have fixed several issues with Intel drm driver and Xorg 
> server 1.18. So we are ready for second round of testing.
> Kudos go to Aurélien and Gordon for their hard work and, of course,
> to Alan for his help and consulting.
> 
> Lower is original Aurélien's message.
> Please, test packages from updated http://pkg.openindiana.org/xorg-testing/ 
> repository.
> Instructions available here 
> https://www.openindiana.org/2016/10/04/call-for-testing-repository-with-xorg-1-18-4-now-available/
>  are still relevant.
> 
> 
> On 10/ 4/16 11:11 PM, Aurélien Larcher wrote:
>> Hi,
>> I am happy to announce that we have prepared a repository with updated X11 
>> bits:
>> 
>> http://pkg.openindiana.org/xorg-testing/
>> 
>> On the menu:
>> 
>> ... a handful of libraries and apps updated,
>> ... Xorg 1.18.4, TurboVNC refreshed with Xorg 1.18,
>> ... some drivers bumps,
>> ... and CVEs picked fresh from the market today.
>> 
>> Find below a short article about the repository and instructions to
>> install the packages:
>> 
>> https://www.openindiana.org/2016/10/04/call-for-testing-repository-with-xorg-1-18-4-now-available/
>> 
>> Many thanks to Martin for his hard work on drm/i915, of course to
>> Alexander, Ken, Adam, and also to Alan and the Solaris team with whom
>> I have been playing catch up in the past months in order to
>> migrate/update the X11 gate in oi-userland.
>> 
>> Thank you in advance for your feedback.
>> Kind regards
>> 
>> Aurélien
>> 
> 
> 
> --
> Best regards,
> Alexander Pyhalov,
> system administrator of Southern Federal University IT department
> 
> ___
> oi-dev mailing list
> oi-dev@openindiana.org
> https://openindiana.org/mailman/listinfo/oi-dev



signature.asc
Description: Message signed with OpenPGP
___
oi-dev mailing list
oi-dev@openindiana.org
https://openindiana.org/mailman/listinfo/oi-dev