Your message dated Fri, 22 Apr 2022 16:55:59 +0200
with message-id <YmLB/7XdRZ4y+8qF@jcristau-z4>
and subject line Re: Bug#245065: xbase-clients: add an option to let setxkbmap 
ignore current server settings
has caused the Debian Bug report #245065,
regarding xbase-clients: [setxkbmap] implement -ignoreserver option to ignore 
current X server settings
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
245065: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=245065
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: xbase-clients
Version: 4.3.0-7
Severity: wishlist
Tags: patch

Hi Branden,

I wrote:
 One problem with latest XKB bugreports (changes in X 4.3) is that we
 do not know if xlibs has to be blamed, or if other apps are modifying
 XKB settings.  In order to reproduce the reported bugs, I slightly
 hacked setxkbmap.c to ignore current server settings.  If a -noserver
 command-line flag is added (patch attached), we could ask submitters
 to run a setxkbmap command and determine if this bug belongs to xlibs.
and you requested a bugreport in
     http://lists.debian.org/debian-x-0404/msg00796.html
I would like to read your comments before patching documentation ;)

Denis
Index: setxkbmap.c
===================================================================
RCS file: /cvs/xc/programs/setxkbmap/setxkbmap.c,v
retrieving revision 3.8
diff -u -r3.8 setxkbmap.c
--- setxkbmap.c 17 Nov 2003 22:20:50 -0000      3.8
+++ setxkbmap.c 18 Apr 2004 19:59:22 -0000
@@ -83,6 +83,7 @@
 /***====================================================================***/
 Bool                   print= False;
 Bool                   synch= False;
+Bool                   noserver= False;
 int                    verbose= 5;
 
 Display *              dpy;
@@ -210,6 +211,7 @@
     MSG("-keymap <name>      Specifies name of keymap to load\n");
     MSG("-layout <name>      Specifies layout used to choose component 
names\n");
     MSG("-model <name>       Specifies model used to choose component 
names\n");
+    MSG("-noserver           Ignores current server settings\n");
     MSG("-option <name>      Adds an option used to choose component names\n");
     MSG("-print              Print a complete xkb_keymap description and 
exit\n");
     MSG("-rules <name>       Name of rules file to use\n");
@@ -370,6 +372,8 @@
            ok= setOptString(&i,argc,argv,SYMBOLS_NDX,FROM_CMD_LINE);
        else if (streq(argv[i],"-synch"))
            synch= True;
+       else if (streq(argv[i],"-noserver"))
+           noserver= True;
        else if (streq(argv[i],"-types"))
            ok= setOptString(&i,argc,argv,TYPES_NDX,FROM_CMD_LINE);
        else if (streq(argv[i],"-verbose")||(streq(argv[i],"-v"))) {
@@ -835,9 +839,9 @@
     if ((!parseArgs(argc,argv))||(!getDisplay(argc,argv)))
        exit(-1);
     svValue[LOCALE_NDX]= setlocale(LC_ALL,svValue[LOCALE_NDX]);
-    svSrc[LOCALE_NDX]= FROM_SERVER;
+    svSrc[LOCALE_NDX]= (noserver?FROM_CMD_LINE:FROM_SERVER);
     VMSG1(7,"locale is %s\n",svValue[LOCALE_NDX]);
-    if (dpy)
+    if (dpy && !noserver)
         getServerValues();
     if (svValue[CONFIG_NDX] && (!applyConfig(svValue[CONFIG_NDX])))
        exit(-3);

--- End Message ---
--- Begin Message ---
Closing this 18 year old wishlist bug, it was wontfixed upstream a while
back.

Cheers,
Julien

On Wed, Apr 21, 2004 at 11:28:43AM +0200, Denis Barbier wrote:
> Package: xbase-clients
> Version: 4.3.0-7
> Severity: wishlist
> Tags: patch
> 
> Hi Branden,
> 
> I wrote:
>  One problem with latest XKB bugreports (changes in X 4.3) is that we
>  do not know if xlibs has to be blamed, or if other apps are modifying
>  XKB settings.  In order to reproduce the reported bugs, I slightly
>  hacked setxkbmap.c to ignore current server settings.  If a -noserver
>  command-line flag is added (patch attached), we could ask submitters
>  to run a setxkbmap command and determine if this bug belongs to xlibs.
> and you requested a bugreport in
>      http://lists.debian.org/debian-x-0404/msg00796.html
> I would like to read your comments before patching documentation ;)
> 
> Denis

> Index: setxkbmap.c
> ===================================================================
> RCS file: /cvs/xc/programs/setxkbmap/setxkbmap.c,v
> retrieving revision 3.8
> diff -u -r3.8 setxkbmap.c
> --- setxkbmap.c       17 Nov 2003 22:20:50 -0000      3.8
> +++ setxkbmap.c       18 Apr 2004 19:59:22 -0000
> @@ -83,6 +83,7 @@
>  /***====================================================================***/
>  Bool                 print= False;
>  Bool                 synch= False;
> +Bool                 noserver= False;
>  int                  verbose= 5;
>  
>  Display *            dpy;
> @@ -210,6 +211,7 @@
>      MSG("-keymap <name>      Specifies name of keymap to load\n");
>      MSG("-layout <name>      Specifies layout used to choose component 
> names\n");
>      MSG("-model <name>       Specifies model used to choose component 
> names\n");
> +    MSG("-noserver           Ignores current server settings\n");
>      MSG("-option <name>      Adds an option used to choose component 
> names\n");
>      MSG("-print              Print a complete xkb_keymap description and 
> exit\n");
>      MSG("-rules <name>       Name of rules file to use\n");
> @@ -370,6 +372,8 @@
>           ok= setOptString(&i,argc,argv,SYMBOLS_NDX,FROM_CMD_LINE);
>       else if (streq(argv[i],"-synch"))
>           synch= True;
> +     else if (streq(argv[i],"-noserver"))
> +         noserver= True;
>       else if (streq(argv[i],"-types"))
>           ok= setOptString(&i,argc,argv,TYPES_NDX,FROM_CMD_LINE);
>       else if (streq(argv[i],"-verbose")||(streq(argv[i],"-v"))) {
> @@ -835,9 +839,9 @@
>      if ((!parseArgs(argc,argv))||(!getDisplay(argc,argv)))
>       exit(-1);
>      svValue[LOCALE_NDX]= setlocale(LC_ALL,svValue[LOCALE_NDX]);
> -    svSrc[LOCALE_NDX]= FROM_SERVER;
> +    svSrc[LOCALE_NDX]= (noserver?FROM_CMD_LINE:FROM_SERVER);
>      VMSG1(7,"locale is %s\n",svValue[LOCALE_NDX]);
> -    if (dpy)
> +    if (dpy && !noserver)
>          getServerValues();
>      if (svValue[CONFIG_NDX] && (!applyConfig(svValue[CONFIG_NDX])))
>       exit(-3);

--- End Message ---

Reply via email to