[packman] Re: [PM] last-exit 4.0 (openSUSE 10.2/x86_64)

Toni toni at links2linux.de
Thu Mar 29 19:42:20 CEST 2007


Am Donnerstag, 29. März 2007 schrieb Morgan Brassel:
> Hi,
>
> I just installed last-exit from packman repo on opensuse 10.2 (through
> smart package manager), and I fail to have it launch. I get the
>
> following error message:
> > last-exit
>
> Starting new Last Exit server
>
> Unhandled Exception: System.DllNotFoundException: libX11.so
>   at (wrapper managed-to-native) NotificationArea:XInternAtom
> (intptr,string,bool)
>   at NotificationArea.OnRealized () [0x00000]
>   at Gtk.Widget.realized_cb (IntPtr widget) [0x00000]
>   at (wrapper native-to-managed) Gtk.Widget:realized_cb (intptr)
>   at <0x00000> <unknown method>
>   at (wrapper managed-to-native) Gtk.Widget:gtk_widget_show_all (intptr)
>   at Gtk.Widget.ShowAll () [0x00000]
>   at LastExit.TrayIcon..ctor (Gtk.Window window) [0x00000]
>   at LastExit.PlayerWindow..ctor () [0x00000]
>   at LastExit.Driver.Main (System.String[] args) [0x00000]
>
> Has this already been reported? Is there a workaround?
I guess I've found the problem:

in src/SpecialKeys.cs:
       [DllImport("libX11")]
        private static extern int XKeysymToKeycode(IntPtr display, SpecialKey 
keysym);

        [DllImport("libX11")]
        private static extern void XGrabKey(IntPtr display, int keycode, 
XModMask modifiers,
            IntPtr window, bool owner_events, XGrabMode pointer_mode, 
XGrabMode keyboard_mode);

        [DllImport("libX11")]
        private static extern void XUngrabKey(IntPtr display, int keycode, 
XModMask modifiers, IntPtr window);

if those entries are changed to libX11.so.6.2.0 it should work.

add this in the spec-file:
# to avoid xorg-x11-devel as dependency ..
%__sed -i -e 's|("libX11")|("libX11.so.6.2.0")|g' \
	src/SpecialKeys.cs
so, Detlef can you add this patch and do a rebuild for a quick check ?
(have a look for the actual libname on SuSE-10.2 on 64bit)

Toni




More information about the Packman mailing list