function scm_make_gsubr is depricated, that's why, xbindkeys doesn't work in Debian Etch. After replace scm_make_gsubr with scm_c_define_gsubr, programm works fine. It's diff file:

--- xbindkeys-1.7.1-old/options.c       2004-01-09 00:46:39.000000000 +0300
+++ xbindkeys-1.7.1-new/options.c       2007-01-17 06:30:50.000000000 +0300
@@ -711,10 +711,10 @@
{
 if (verbose)
   printf("initializing guile fns...\n");
-  scm_make_gsubr("set-numlock!", 1, 0, 0, set_numlock_wrapper);
-  scm_make_gsubr("set-scrolllock!", 1, 0, 0, set_scrolllock_wrapper);
-  scm_make_gsubr("set-capslock!", 1, 0, 0, set_capslock_wrapper);
-  scm_make_gsubr("xbindkey", 2, 0, 0, xbindkey_wrapper);
+  scm_c_define_gsubr("set-numlock!", 1, 0, 0, set_numlock_wrapper);
+  scm_c_define_gsubr("set-scrolllock!", 1, 0, 0, set_scrolllock_wrapper);
+  scm_c_define_gsubr("set-capslock!", 1, 0, 0, set_capslock_wrapper);
+  scm_c_define_gsubr("xbindkey", 2, 0, 0, xbindkey_wrapper);
 return 0;
}




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to