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

Bug#481724: [kdebase-workspace] Still BROKEN: krunner/startupid.cpp: undefined reference to `XcursorGetDefaultSize'



Hi,

the above given patch [1] is NOT fixing the problem.
Maybe, it's interesting to know how I wanted to solve the problem.

My history of build-instructions...

$ DL_MIRROR="http://svn.mandriva.com/svn/packages/cooker/kdebase4-workspace/current/SOURCES";
$ SVN_MIRROR="svn://svn.debian.org/svn/pkg-kde"

$ wget $DL_MIRROR/kdebase-workspace-4.0.74.tar.bz2
$ tar --bzip2 -xf kdebase-workspace-4.0.74.tar.bz2
$ cd kdebase-workspace-4.0.74
$ svn co $SVN_MIRROR/tags/packages/kdebase-workspace/kdebase-workspace-4.0.74-1/debian/

INFO:
I also tried trunk from <anonsvn.kde.org>, but the Debian-patches did not fit.
Ergo, the TGZ-archive [2] seems to be suitable for my reasons.

$ svn co svn://anonsvn.kde.org/home/kde/trunk/KDE/kdebase/workspace

Unfortunately, the problem rest the same...

$ grep XcursorGetDefaultSize BROKEN_3_kdebase-workspace_4.0.74-1_i386.build

OUTPUT:
/home/sd/src/kdebase-workspace_4.0.74-1_debianway/kdebase-workspace-4.0.74/krunner/startupid.cpp:325:
undefined reference to `XcursorGetDefaultSize'

After my investigations (see below) my head is empty.

FINAL:
The last and satisfying was to live with v4.0.72-1 of
kdebase-workspace [3, 4] and do the first steps with kde4. v4.0.74-1
is in pipe [5].

$ sudo apt-get -t experimental install kde4-minimal

Kind Regards,
Sedat


----- Investigations reloaded -----

First, I took a look into the trouble-making file.

[krunner/startupid.cpp]
...
#ifdef HAVE_XCURSOR
#include <X11/Xcursor/Xcursor.h>
#endif
...
#ifdef HAVE_XCURSOR
    cursor_size = XcursorGetDefaultSize( QX11Info::display());
#endif
...

Afterwards, I searched for all files containing "HAVE_XCURSOR".

$ find ./ -type f | xargs grep HAVE_XCURSOR

OUTPUT:
./kcontrol/input/main.cpp:#ifdef HAVE_XCURSOR
./kcontrol/input/main.cpp:#ifdef HAVE_XCURSOR
./kcontrol/input/kapplymousetheme.cpp:#ifdef HAVE_XCURSOR
./kcontrol/input/kapplymousetheme.cpp:#ifdef HAVE_XCURSOR
./config-X11.h.cmake:#cmakedefine HAVE_XCURSOR 1
./ConfigureChecks.cmake:macro_bool_to_01(X11_Xcursor_FOUND
HAVE_XCURSOR) # many uses
./krunner/startupid.cpp:#ifdef HAVE_XCURSOR
./krunner/startupid.cpp:#ifdef HAVE_XCURSOR

"HAVE_XCURSOR" seems to have a value (define).

[config-X11.h.cmake]
...
#cmakedefine HAVE_XCURSOR 1
...

Is the include-file <X11/Xcursor/Xcursor.h> (package libxcursor-dev
[6]) installed and to which package does it belong?

$ sudo dpkg -S /usr/include/X11/Xcursor/Xcursor.h

OUTPUT:
libxcursor-dev: /usr/include/X11/Xcursor/Xcursor.h

Build-dependencies OK?

$ sudo env LANGUAGE=en apt-get build-dep kdebase-workspace
$ sudo env LANGUAGE=en apt-get build-dep libxcursor-dev

OUTPUT:
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 8 not upgraded.

INFO: 8 packages are on "hold".

WEB-LINKS:
-----------------

[1] http://bugs.debian.org/481724
[2] http://cia.vc/stats/author/fwang/.message/3c8333
[3] http://packages.debian.org/experimental/kde4-minimal
[4] http://ftp.de.debian.org/debian/pool/main/k/kdebase-workspace/?C=M;O=D
[5] http://ftp-master.debian.org/new/kdebase-workspace_4:4.0.74-1.html
[6] http://packages.debian.org/libxcursor-dev



Reply to: