# HG changeset patch # User Myhailo Danylenko # Date 1263540047 -7200 # Node ID 5771827a4976e39d8633a2facb80a70be80ff508 # Parent 08aba7a38618698e5162e48407dc6c05c593d37d Change mcabber headers naming convention diff -r 08aba7a38618 -r 5771827a4976 CMakeLists.txt --- a/CMakeLists.txt Sat Dec 26 02:00:19 2009 +0200 +++ b/CMakeLists.txt Fri Jan 15 09:20:47 2010 +0200 @@ -29,7 +29,7 @@ set(CPACK_PACKAGE_VERSION "0.0.1") set(CPACK_PACKAGE_VENDOR "IsBear") set(CPACK_PACKAGE_CONTACT "Myhailo Danylenko ") -set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Mcabber example modularized cmd implementation") +set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Mcabber module for sending shell commands output to others") set(CPACK_RESOURCE_FILE_LICENSE ${cmd_SOURCE_DIR}/COPYING) set(CPACK_SOURCE_GENERATOR TBZ2) set(CPACK_GENERATOR DEB CACHE TEXT "Binary package generator, eg DEB, RPM, TGZ, NSIS...") @@ -53,12 +53,12 @@ ## Compiler setup include_directories(SYSTEM ${GLIB_INCLUDE_DIRS} ${GMODULE_INCLUDE_DIRS} - ${LM_INCLUDE_DIRS}) + ${LM_INCLUDE_DIRS} + ${MCABBER_INCLUDE_DIR}) target_link_libraries(cmd ${GLIB_LIBRARIES} ${GMODULE_LIBRARIES}) include_directories(${cmd_SOURCE_DIR} - ${cmd_BINARY_DIR} - ${MCABBER_INCLUDE_DIR}) + ${cmd_BINARY_DIR}) ## Installation install(TARGETS cmd DESTINATION lib/mcabber) diff -r 08aba7a38618 -r 5771827a4976 cmd.c --- a/cmd.c Sat Dec 26 02:00:19 2009 +0200 +++ b/cmd.c Fri Jan 15 09:20:47 2010 +0200 @@ -25,13 +25,13 @@ #include #include -#include "commands.h" -#include "logprint.h" -#include "utils.h" -#include "settings.h" -#include "hbuf.h" -#include "xmpp.h" -#include "roster.h" +#include +#include +#include +#include +#include +#include +#include typedef struct { gchar *jid;