# HG changeset patch # User Myhailo Danylenko # Date 1481246097 -7200 # Node ID d59df8a9413d01f4325e6ddc21a70ac364aa5321 # Parent 66f7e2aa040c77d477dd7e02e874610091a69dcc [cmake] Fix ESCDELAY detection diff -r 66f7e2aa040c -r d59df8a9413d add-cmake.diff --- a/add-cmake.diff Fri Dec 09 02:12:34 2016 +0200 +++ b/add-cmake.diff Fri Dec 09 03:14:57 2016 +0200 @@ -1,6 +1,6 @@ # HG changeset patch # Parent 386f3b8646a61ba6af61609ff67f2da2cc70251e -# Parent 04c97ffb0b5a75641bb2e6c1fc762f0383bc265e +# Parent 926a4c065b3a767aa58b37a952327954e3bad98a Add possibility to build with CMake diff --git a/.hgignore b/.hgignore @@ -16,7 +16,7 @@ new file mode 100644 --- /dev/null +++ b/mcabber/CMakeLists.txt -@@ -0,0 +1,308 @@ +@@ -0,0 +1,309 @@ +## Copyright 2010-2012 Myhailo Danylenko +# This file is part of mcabber. +# @@ -118,9 +118,10 @@ + # XXX just fail? + endif () +endif () -+set ( CMAKE_REQUIRED_INCLUDES ${CURSES_INCLUDE_DIRS} ) -+set ( CMAKE_REQUIRED_LIBRARIES ${CURSES_LIBRARIES} ) -+set ( CMAKE_REQUIRED_FLAGS "${CURSES_LDFLAGS} ${CURSES_CFLAGS}" ) ++set ( CMAKE_REQUIRED_INCLUDES ${CURSES_INCLUDE_DIRS} ) ++set ( CMAKE_REQUIRED_LIBRARIES ${CURSES_LIBRARIES} ) ++set ( CMAKE_REQUIRED_DEFINITIONS ${CURSES_CFLAGS_OTHER} ) ++set ( CMAKE_REQUIRED_FLAGS ${CURSES_LDFLAGS} ) +check_symbol_exists ( ESCDELAY "curses.h" HAVE_ESCDELAY ) + +# Gpgme diff -r 66f7e2aa040c -r d59df8a9413d series --- a/series Fri Dec 09 02:12:34 2016 +0200 +++ b/series Fri Dec 09 03:14:57 2016 +0200 @@ -1,10 +1,10 @@ fix-compile-warning-xmpp_c.diff switch-to-experimental.diff +add-cmake.diff separate-extcmd.diff modularize-extcmd.diff add-offline-message.diff roster-state-colors.diff -add-cmake.diff use-gslice.diff fix-date-fill.diff timeformat.diff