Re: Gnome2::Wnck 0.05



Torsten Schoenfeld <kaffeetisch gmx de> writes:

Gnome2::Wnck allows you to use the Window Navigator Construction Kit
library (libwnck for short) from Perl to create things like desktop
switchers and taskbars.

The package is available from:

http://sourceforge.net/project/showfiles.php?group_id=64773&package_id=97490&release_id=252136

Overview of changes in Gnome2-Wnck 0.05
=======================================

* Improve compatibility with older versions of libwnck.
* Make sure we work with libwnck 2.6.3, which introduces an incompatible
  API change -- in a stable release.

some checks are done against version 2.6.3 vs 2.6.2.
however, the build will fail with libwnck-2.6.2.1.

i'd to apply the following patch in order to successfully build this package:
--- ./xs/WnckWindow.xs.tv       2004-07-19 17:00:55.394155736 +0200
+++ ./xs/WnckWindow.xs  2004-07-19 17:00:57.092173749 +0200
@@ -141,7 +141,7 @@
        WnckWindow *window
        gboolean skip
 
-#if WNCK_CHECK_VERSION (2, 6, 3)
+#if WNCK_CHECK_VERSION (2, 6, 2)
 
 ##  void wnck_window_close (WnckWindow *window, guint32 timestamp) 
 void

gcc -c  -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/usr/include/libwnck-1.0 -I/usr/include/gtk-2.0 
-I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 
-I/usr/include/freetype2 -I/usr/include/freetype2/freetype2 -I/usr/include/freetype2/freetype2/config 
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DWNCK_I_KNOW_THIS_IS_UNSTABLE 
-I/usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/Glib/Install -pthread -I. 
-I/usr/lib/perl5/vendor_perl/5.8.4/i386-linux-thread-multi/Gtk2/Install -I./build -D_REENTRANT -D_GNU_SOURCE 
-DTHREADS_HAVE_PIDS -DPERL_DISABLE_PMC -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE 
-D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -fomit-frame-pointer -pipe -march=i586 -mtune=pentiumpro   
-DVERSION=\"0.05\" -DXS_VERSION=\"0.05\" -o xs/WnckWindow.o -fPIC 
"-I/usr/lib/perl5/5.8.5/i386-linux-thread-multi/CORE"   xs/WnckWindow.c
WnckWindow.c: In function `XS_Gnome2__Wnck__Window_close':
WnckWindow.c:424: error: too few arguments to function `wnck_window_close'
make: *** [xs/WnckWindow.o] Error 1



btw, i also see some warnings, even with DISPLAY unset:

_XSERVTransSocketINETCreateListener: ...SocketCreateListener() failed
_XSERVTransMakeAllCOTSServerListeners: server already running

Fatal server error:
Cannot establish any listening sockets - Make sure an X server isn't already running


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]