[kdebase/klipper] added Xfixes support, klipper do not crashing anymore

git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1223270 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
v3.5.13-sru
samelian 13 years ago
parent 0c7d4bb71f
commit 25accf1923

@ -49,6 +49,7 @@ option( WITH_SAMBA "Enable SAMBA support" OFF )
option( WITH_OPENEXR "Enable openexr support" OFF )
option( WITH_XCOMPOSITE "Enable xcomposite support" OFF )
option( WITH_XCURSOR "Enable xcursor support" OFF )
option( WITH_XFIXES "Enable xfixes support" OFF )
option( WITH_XRANDR "Enable xrandr support" OFF )
option( WITH_LIBUSB "Enable control of some mouse models through libusb" OFF )
option( WITH_LIBRAW1394 "Enable visualization of ieee1394 devices through libraw1394" OFF )

@ -54,7 +54,6 @@ endif( )
# xcursor (kioslave, kcontrol)
if( WITH_XCURSOR )
pkg_search_module( XCURSOR xcursor )
if( XCURSOR_FOUND )
@ -65,6 +64,17 @@ if( WITH_XCURSOR )
endif( )
# xfixes (klipper)
if( WITH_XFIXES )
pkg_search_module( XFIXES xfixes )
if( XFIXES_FOUND )
set( HAVE_XFIXES 1 CACHE INTERNAL "" FORCE )
else( )
tde_message_fatal( "xfixes are requested, but not found on your system" )
endif( )
endif( )
# GL
if( BUILD_KDESKTOP OR BUILD_KCONTROL OR BUILD_KSCREENSAVER )
check_library_exists( GL glXChooseVisual "" HAVE_GLXCHOOSEVISUAL )

@ -6,6 +6,9 @@
// kdesktop, konsole, kcontrol, kicker
#cmakedefine HAVE_XRENDER 1
// taskmanager, klipper
#cmakedefine HAVE_XFIXES 1
// kdesktop, kcontrol, ksplashml
#cmakedefine HAVE_XCURSOR 1
@ -43,7 +46,6 @@
// taskmanager
#cmakedefine HAVE_XCOMPOSITE
#cmakedefine HAVE_XFIXES
// kcontrol/fonts
#cmakedefine HAVE_FONTCONFIG 1

@ -59,5 +59,5 @@ tde_add_library( klipper_common STATIC_PIC AUTOMOC
toplevel.skel clipboardpoll.cpp history.cpp historyitem.cpp
historystringitem.cpp klipperpopup.cpp popupproxy.cpp
historyimageitem.cpp historyurlitem.cpp
LINK kio-shared
LINK kio-shared ${XFIXES_LIBRARIES}
)

Loading…
Cancel
Save