Timothy Pearson 10 years ago
commit e1eaf5a901

@ -679,6 +679,12 @@ if( WITH_XCOMPOSITE )
else( WITH_XCOMPOSITE ) else( WITH_XCOMPOSITE )
tde_message_fatal( "xcomposite support was requested, but xcomposite was not found on your system" ) tde_message_fatal( "xcomposite support was requested, but xcomposite was not found on your system" )
endif( XCOMPOSITE_FOUND ) endif( XCOMPOSITE_FOUND )
# xext (tderandr, tdestyles/keramik, tdeui)
pkg_search_module( XEXT xext )
if( NOT XEXT_FOUND )
tde_message_fatal( "xext is required for xcomposite support, but was not found on your system" )
endif( )
endif( WITH_XCOMPOSITE ) endif( WITH_XCOMPOSITE )

@ -717,7 +717,11 @@ bool DCOPClient::isSuspended() const
// Check whether the remote end is owned by the same user. // Check whether the remote end is owned by the same user.
static bool peerIsUs(int sockfd) static bool peerIsUs(int sockfd)
{ {
#if defined(__OpenBSD__)
struct sockpeercred cred;
#else
struct ucred cred; struct ucred cred;
#endif
socklen_t siz = sizeof(cred); socklen_t siz = sizeof(cred);
if (getsockopt(sockfd, SOL_SOCKET, SO_PEERCRED, &cred, &siz) != 0) if (getsockopt(sockfd, SOL_SOCKET, SO_PEERCRED, &cred, &siz) != 0)
return false; return false;

@ -43,6 +43,6 @@ set( ${target}_SRCS
tde_add_library( ${target} SHARED AUTOMOC tde_add_library( ${target} SHARED AUTOMOC
SOURCES ${${target}_SRCS} SOURCES ${${target}_SRCS}
VERSION 0.0.95 VERSION 0.0.95
LINK tdeui-shared ${XRANDR_LIBRARIES} Xext LINK tdeui-shared ${XRANDR_LIBRARIES} ${XEXT_LIBRARIES}
DESTINATION ${LIB_INSTALL_DIR} DESTINATION ${LIB_INSTALL_DIR}
) )

@ -65,6 +65,6 @@ set_source_files_properties( pixmaploader.cpp PROPERTIES OBJECT_DEPENDS ${CMAKE_
tde_add_kpart( ${target} AUTOMOC tde_add_kpart( ${target} AUTOMOC
SOURCES ${${target}_SRCS} SOURCES ${${target}_SRCS}
LINK tdefx-shared Xext LINK tdefx-shared ${XEXT_LIBRARIES}
DESTINATION ${PLUGIN_INSTALL_DIR}/plugins/styles DESTINATION ${PLUGIN_INSTALL_DIR}/plugins/styles
) )

@ -148,7 +148,7 @@ set( ${target}_SRCS
tde_add_library( ${target} SHARED AUTOMOC tde_add_library( ${target} SHARED AUTOMOC
SOURCES ${${target}_SRCS} SOURCES ${${target}_SRCS}
VERSION 14.0.0 VERSION 14.0.0
LINK tdecore-shared ${FREETYPE_LIBRARIES} ${FONTCONFIG_LIBRARIES} LINK tdecore-shared ${FREETYPE_LIBRARIES} ${FONTCONFIG_LIBRARIES} ${XEXT_LIBRARIES}
DEPENDENCIES dcopidl DEPENDENCIES dcopidl
DESTINATION ${LIB_INSTALL_DIR} DESTINATION ${LIB_INSTALL_DIR}
) )

Loading…
Cancel
Save