Changeset - 4abce367d6f4
[Not reviewed]
2.0.4
0 2 0
Vitaly Takmazov - 8 years ago 2017-08-03 19:45:44
vitalyster@gmail.com
2.0.4
2 files changed with 5 insertions and 5 deletions:
0 comments (0 inline, 0 general)
CMakeLists.txt
Show inline comments
 
@@ -204,100 +204,100 @@ endif()
 

	
 
set(event_DIR "${CMAKE_SOURCE_DIR}/cmake_modules")
 
find_package(event)
 

	
 

	
 
####### Miscallanous ######
 

	
 
if(ENABLE_DOCS)
 
	find_package(Doxygen)
 
endif()
 

	
 
# if(ENABLE_LOG)
 
	if(LOG4CXX_INCLUDE_DIR AND LOG4CXX_LIBRARY)
 
		set(LOG4CXX_LIBRARIES ${LOG4CXX_LIBRARY})
 
		set(LOG4CXX_FOUND 1)
 
		message(STATUS "Using log4cxx: ${CPPUNIT_INCLUDE_DIR} ${LOG4CXX_INCLUDE_DIR}")
 
	else()
 
		set(log4cxx_DIR "${CMAKE_SOURCE_DIR}/cmake_modules")
 
		find_package(log4cxx)
 
	endif()
 
# endif()
 

	
 
# FIND CPPUNIT
 
if(ENABLE_TESTS)
 
	set(cppunit_DIR "${CMAKE_SOURCE_DIR}/cmake_modules")
 
	find_package(cppunit)
 

	
 
	if(NOT CPPUNIT_FOUND AND CPPUNIT_INCLUDE_DIR AND CPPUNIT_LIBRARY)
 
		set(CCPUNIT_LIBRARIES ${CPPUNIT_LIBRARY})
 
		set(CPPUNIT_FOUND 1)
 
		message(STATUS "Using cppunit: ${CPPUNIT_INCLUDE_DIR} ${CPPUNIT_LIBRARIES}")
 
	endif()
 
endif()
 

	
 
message("  Supported features")
 
message("-----------------------")
 

	
 
if (SPECTRUM_VERSION)
 
	ADD_DEFINITIONS(-DSPECTRUM_VERSION="${SPECTRUM_VERSION}")
 
else (SPECTRUM_VERSION)
 
	if (EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/.git)
 
		if (NOT GIT_EXECUTABLE)
 
		set (GIT_EXECUTABLE git)
 
		endif()
 
		execute_process(COMMAND ${GIT_EXECUTABLE} "--git-dir=${CMAKE_CURRENT_SOURCE_DIR}/.git" rev-parse --short HEAD
 
						OUTPUT_VARIABLE GIT_REVISION
 
						OUTPUT_STRIP_TRAILING_WHITESPACE
 
		)
 
		set(SPECTRUM_VERSION 2.0.3-git-${GIT_REVISION})
 
		set(SPECTRUM_VERSION 2.0.4-git-${GIT_REVISION})
 
		ADD_DEFINITIONS(-DSPECTRUM_VERSION="${SPECTRUM_VERSION}")
 
	else (EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/.git)
 
		set(SPECTRUM_VERSION 2.0.3)
 
		set(SPECTRUM_VERSION 2.0.4)
 
		ADD_DEFINITIONS(-DSPECTRUM_VERSION="${SPECTRUM_VERSION}")
 
	endif (EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/.git)
 
endif (SPECTRUM_VERSION)
 

	
 
message("Version           : " ${SPECTRUM_VERSION})
 

	
 
if (SQLITE3_FOUND)
 
	ADD_DEFINITIONS(-DWITH_SQLITE)
 
if (WIN32)
 
	include_directories("${CMAKE_SOURCE_DIR}/msvc-deps/sqlite3")
 
	message("SQLite3           : bundled")
 
else (WIN32)
 
	include_directories(${SQLITE3_INCLUDE_DIR})
 
	message("SQLite3           : yes")
 
endif (WIN32)
 
else (SQLITE3_FOUND)
 
	set(SQLITE3_LIBRARIES "")
 
	if(ENABLE_SQLITE3)
 
		message("SQLite3           : no (install sqlite3)")
 
	else(ENABLE_SQLITE3)
 
		message("SQLite3           : no (user disabled)")
 
	endif()
 
endif (SQLITE3_FOUND)
 

	
 
if (MYSQL_FOUND)
 
	ADD_DEFINITIONS(-DWITH_MYSQL)
 
	include_directories(${MYSQL_INCLUDE_DIR})
 
	message("MySQL             : yes")
 
else (MYSQL_FOUND)
 
	set(MYSQL_LIBRARIES "")
 
	if(ENABLE_MYSQL)
 
		message("MySQL             : no (install mysql-devel)")
 
	else(ENABLE_MYSQL)
 
		message("MySQL             : no (user disabled)")
 
	endif()
 
endif (MYSQL_FOUND)
 

	
 
if (PQXX_FOUND)
 
	ADD_DEFINITIONS(-DWITH_PQXX)
 
	include_directories(${PQXX_INCLUDE_DIR})
 
	message("PostgreSQL        : yes")
 
else (PQXX_FOUND)
 
	set(PQXX_LIBRARY "")
 
	set(PQ_LIBRARY "")
 
	if(ENABLE_PQXX)
 
		message("PostgreSQL        : no (install libpqxx-devel)")
 
	else(ENABLE_PQXX)
 
		message("PostgreSQL        : no (user disabled)")
ChangeLog
Show inline comments
 
Version 2.0.4 (2017-08-xx):
 
Version 2.0.4 (2017-08-03):
 
	General:
 
	* Add support for Swiften 4.0rc2. Swiften 3.x and 2.x are still supported.
 
	* Add support for passwordless libpurple backends (e.g. purple-hangouts).
 
	* Partial support for groupchats with case-sensitive names.
 
	* Various small bugfixes, see Git commit descriptions for full list of changes.
 
	* Partial support for groupchats with case-sensitive names (e.g. purple-telegram).
 
	* Various small bugfixes, see Git commit descriptions for the full list of changes.
 
	
 
Version 2.0.3 (2016-02-29):
 
	General:
 
	* Swift 3.0rc2 is now minimum Swift 3.x version needed to compile Spectrum2,
 
	  Swith 2.x remains supported.
 
	* Rename user when he tries to connect to room from the second client
 
	  with different nickname than he used with the first client.
 
	* Send self presence as the first presence from the MUC room.
 
	* Send the icon hash to the backend with other buddies information.
 
	* Send unavailable presence as a response to presence for exiting
 
	  the room. Fixes room rejoin in Pidgin.
 
	* Fix memory leak in HTTPRequest - currently used only in Slack frontend.
 

	
 
	Slack frontend:
 
	* For IRC allow registering without providing account name/password.
 
	* Do not reconnect to Slack RTM when no URL is available after disconnect.
 
	* Handle "account_inactive" Slack error.
 

	
 
	Web interface:
 
	* Show warning when trying to register already registered username.
 
	* Allow registering with empty password for networks like IRC where
 
	  password is not needed.
 
	* Allow showing examples of username or server in registration form. This
 
	  is configured in config file.
 
	* Fix `service.base_location` setting for register.shtml page.
 

	
 
	Libpurple backend:
 
	* Make the conversation active according to chatstates notifications.
 
	  Should fix the issue with repeating messages with prpl-facebook.
 
	* When `service.web_directory` and `service.web_url` is set, images sent
 
	  in messages are stored to `service.web_directory` and link is forwarded
 
	  to the user. Tested only with prpl-facebook for now.
 
	* Treat empty password as fatal error - do no try to reconnect
 
	  automatically in that case.
 

	
 
	Libcommuni backend:
 
	* Latest libcommuni 3.4.0 is now needed.
 
	* Libcommuni backend has been improved to use the newest libcommuni
 
	  features.
 
	* Ports can now be set in `service.irc_server` option and in the JID. When
 
	  '+' character is used before the port number, SSL is used automatically.
 
	  When port 6697 is used, SSL is used automatically too.
 

	
 
	Swiften backend:
 
	* Respect the resource when connecting to 3rd-party XMPP network.
 

	
 
Version 2.0.2 (2016-02-09):
 
	General:
0 comments (0 inline, 0 general)