Your message dated Tue, 18 Apr 2006 15:17:07 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#363147: fixed in libxklavier 2.2-3
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: libxklavier10
Version: 2.2-2
Severity: grave
Justification: renders package unusable
Tags: patch

 This fixes a bug that has been bothering a rather large ammount of
 people.  AFAICS libxklavier can't do zilch without this fix.

 The patch:

--- libxklavier-2.2.orig/libxklavier/xklavier_config_xkb.c
+++ libxklavier-2.2/libxklavier/xklavier_config_xkb.c
@@ -22,9 +22,9 @@
 #endif
 
 /* For "bad" X servers we hold our own copy */
-#define XML_CFG_FALLBACK_PATH ( DATA_DIR "/xfree86.xml" )
+#define XML_CFG_FALLBACK_PATH ( DATA_DIR "/xorg.xml" )
 
-#define XKBCOMP ( XKB_BIN_BASE "/xkbcomp" )
+#define XKBCOMP "xkbcomp"
 
 #define XK_XKB_KEYS
 #include <X11/keysymdef.h>

 ignores this code in the library (libxklavier/xklavier_config_xkb.c):

        case 0:
          /* child */
          XklDebug( 160, "Executing %s\n", XKBCOMP );
          XklDebug( 160, "%s %s %s %s %s %s %s\n",
            XKBCOMP, XKBCOMP, "-I", "-I" XKB_BASE, "-xkm", xkbFN, xkmFN );
          execl( XKBCOMP, XKBCOMP, "-I", "-I" XKB_BASE, "-xkm", xkbFN, xkmFN, 
NULL );
          XklDebug( 0, "Could not exec %s: %d\n", XKBCOMP, errno );
          exit( 1 );

 by "fixing" the program not to use a hardcoded path you have broken it,
 since execl(3) will not search the user's path for the executable
 (please read the manpage).  Replace execl(3) by execlp(3).

 I'm really amazed that noone has spotted this since 2.2-2 was uploaded
 and I'm even more amazed by the fact that neither the patch author nor
 the package maintainer noticed this, since the library tests (in the
 tests directory) fail with a rather clear error message.

 The problem was introduced by the fact that xkb-data does not ship that
 /usr/share/X11/xkb/xkbcomp -> /usr/bin/xkbcomp symlink anymore.  This
 was removed more than a month ago... are you guys using current sid to
 build and test your packages?

 Cat the attached patch to the current one and that should do the trick.

 Marcelo
diff -Nur libxklavier-2.2/libxklavier/xklavier_config_xkb.c 
libxklavier-2.2.new/libxklavier/xklavier_config_xkb.c
--- libxklavier-2.2/libxklavier/xklavier_config_xkb.c   2006-04-17 
14:42:37.000000000 -0600
+++ libxklavier-2.2.new/libxklavier/xklavier_config_xkb.c       2006-04-17 
14:43:22.000000000 -0600
@@ -220,7 +220,7 @@
           XklDebug( 160, "Executing %s\n", XKBCOMP );
           XklDebug( 160, "%s %s %s %s %s %s %s\n",
             XKBCOMP, XKBCOMP, "-I", "-I" XKB_BASE, "-xkm", xkbFN, xkmFN );
-          execl( XKBCOMP, XKBCOMP, "-I", "-I" XKB_BASE, "-xkm", xkbFN, xkmFN, 
NULL );
+          execlp( XKBCOMP, XKBCOMP, "-I", "-I" XKB_BASE, "-xkm", xkbFN, xkmFN, 
NULL );
           XklDebug( 0, "Could not exec %s: %d\n", XKBCOMP, errno );
           exit( 1 );
         default:

--- End Message ---
--- Begin Message ---
Source: libxklavier
Source-Version: 2.2-3

We believe that the bug you reported is fixed in the latest version of
libxklavier, which is due to be installed in the Debian FTP archive:

libxklavier-dev_2.2-3_i386.deb
  to pool/main/libx/libxklavier/libxklavier-dev_2.2-3_i386.deb
libxklavier10_2.2-3_i386.deb
  to pool/main/libx/libxklavier/libxklavier10_2.2-3_i386.deb
libxklavier_2.2-3.diff.gz
  to pool/main/libx/libxklavier/libxklavier_2.2-3.diff.gz
libxklavier_2.2-3.dsc
  to pool/main/libx/libxklavier/libxklavier_2.2-3.dsc



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Jordi Mallach <[EMAIL PROTECTED]> (supplier of updated libxklavier package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Tue, 18 Apr 2006 23:45:24 +0200
Source: libxklavier
Binary: libxklavier10 libxklavier-dev
Architecture: source i386
Version: 2.2-3
Distribution: unstable
Urgency: medium
Maintainer: Filip Van Raemdonck <[EMAIL PROTECTED]>
Changed-By: Jordi Mallach <[EMAIL PROTECTED]>
Description: 
 libxklavier-dev - Development files for libxklavier
 libxklavier10 - X Keyboard Extension high-level API
Closes: 363147
Changes: 
 libxklavier (2.2-3) unstable; urgency=medium
 .
   * debian/patches/01_xorg_xkb_path.patch: add fix by Marcelo Magallon
     which fixes the inability of xklavier to find xkbcomp due to the
     previous removal of its path and further changes to Xorg 7.0 since
     the bug was filed (closes: #363147).
Files: 
 0764dac9a193fe383741d667f554c080 707 libs optional libxklavier_2.2-3.dsc
 2bd5beb30ca12dc50c0e95a05b1783dd 3027 libs optional libxklavier_2.2-3.diff.gz
 3e57339bb7564187410c133b2789d7e0 70038 libs optional 
libxklavier10_2.2-3_i386.deb
 b428035f43f4e99ab3816234399f728b 83946 libdevel optional 
libxklavier-dev_2.2-3_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)

iD8DBQFERV+kJYSUupF6Il4RAiwFAJ9goUW5rOuL//a3Ag8AXFB2aa6vbQCbBXia
y0OH+R+8DSvsERA/pkXro5s=
=tRKP
-----END PGP SIGNATURE-----


--- End Message ---

Reply via email to